Skip to content

Releases: metalsmith/default-values

@metalsmith/default-values 4.0.0

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

26 Nov 00:49
v3.3.0
39e8ae4
Compare
Choose a tag to compare
  • 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

@metalsmith/default-values 3.2.1

01 Aug 20:27
v3.2.1
b4cfe2e
Compare
Choose a tag to compare
  • Fixes #24: use ms.match(pattern, files) signature for branch/watch compat #24
  • Updates debug 4.3.3 -> 4.3.4. Upgrades package-lock.json to v2 & fixes security issue 67a968b
  • Enhancement: add JSDoc example + better options doc 93b52f2

@metalsmith/default-values 3.2.0

02 May 16:07
v3.2.0
2e0df17
Compare
Choose a tag to compare
  • Removed console log from code #21
  • Drops Node < 12 support, adds metalsmith as peer & devDep 7262bf6
  • Removes multimatch, uses metalsmith.match. Simplified & refactored d6f8407
  • Removed Joi options validation in favor of allowing options to be undefined 19e5f23

@metalsmith/default-values 3.1.0

30 Jan 00:33
v3.1.0
13788f9
Compare
Choose a tag to compare
  • Fix typo's in README, remove obsolete dependencies 66c32b9
  • Align plugin with other core plugins. Update package.json, generate changelog, fix debug namespace cae2058
  • Updated packages #18

v3.0.0

11 Sep 17:25
Compare
Choose a tag to compare

No longer supports Node.js < v6 as they are no longer maintained.