v1.2.1 – 2024-01-16
- update tests (da00c2ad)
- readme: update and fix typos and grammar (19e0dbb7)
- package: update package within dependencies (2a825757)
- deps-dev: bump chai from 4.3.8 to 4.3.10 (a0f02551)
- deps-dev: bump chai from 4.3.7 to 4.3.8 (e5d80951)
- deps-dev: bump mocha from 10.1.0 to 10.2.0 (367897bb)
- deps: bump decode-uri-component from 0.2.0 to 0.2.2 (4252fa92)
- codestyle (515d18d4)
-
Updated core
- Imposed restrictions on accessing external directories.
- There is no need to pass the config data to GulpJsonLoader, now it's optional and defined from defaults. But if you want to change them, you might tune it in both ways: using an old-style passing an object with options to GulpJsonLoader factory or just pass the settings into a package.json. See package.json.
-
Updated dependencies
- gulp-load-plugins: ^2.0.7
- gulp-pug: ^5.0.0
-
Improvement of variables names
-
To distinguish variables from stylistic PAG syntax it is preferable to name variables in a different way as opposed to decoration text. That's why I name variables with a capital letter and a dollar sign at the beginning. See PUG files to find out more about it.
-
The entry name of the Data loaded from the JSON file is defined in a global space as a "data" entry, now you can change this name as you like. See package.json and PUG files to find out more about it.
-
-
Implemented data caching
- The data that has already been loaded will be getting from the cache
-
Added tests