Skip to content

@metalsmith/default-values 4.0.0

Latest
Compare
Choose a tag to compare
@webketje webketje released this 19 Mar 23:29
v4.0.0
4f79941
  • 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