Releases: metalsmith/default-values
Releases · metalsmith/default-values
@metalsmith/default-values 4.0.1
@metalsmith/default-values 4.0.0
- Provides dual ESM/CJS module and aligns repo setup with other core plugins
5d23dbd
- test: migrate test coverage from nyc -> c8, tests from CJS to ESM
e03aacf
- Moves to more permissive LGPL license
294f77f
- Provides access to metalsmith.metadata() within default setter functions
d4a5723
- Swaps out lodash.get/set for resp. dlv/dset & fixes security vulnerability
1c27fd3
- Clarifies default setting at keypaths and buffer conversion
6c363de
- Adds 'strategy' option to allow overwriting existing values
6e61e96
- Transforms default value into buffer if target type is already a buffer
7287c08
- Adds generics for file & global metadata to Typescript types
fb81838
- test: adds TS test
f00280c
- Minor performance enhancement in calling setDefaults
9dd6a84
- Drops support for Node.js < 14.18.0, updates CI
fbfa2c7
- Updates dset 3.1.2 -> 3.1.3
d9a8d1e
@metalsmith/default-values 3.3.0
- Allow setting default contents when buffer is empty
5d41d17
- Docs: Add elaborate example with other plugins + single defaults set usage
bb50253
- Drops support for Metalsmith < 2.5.0, replaces debug with metalsmith.debug
b5191b4
- Adds Typescript support
3b1b438
- Document features in README.md
12102c8
- Log a warning when pattern matches no files
c62cbc9
- Allows passing a single defaults set as shorthand for [defaultsSet]
39df8f7
- Renames default export initDefaultValues -> defaultValues
30fc0c5