conf

Simple config handling for your app or module

MIT License

Downloads
3.6M
Stars
1.2K
Committers
48

Bot releases are hidden (Show)

conf - Latest Release

Published by sindresorhus 12 months ago

conf -

Published by sindresorhus over 1 year ago

  • Fix types for .delete() to allow access by dot notation (#182) 5b9a6e3

https://github.com/sindresorhus/conf/compare/v11.0.1...v11.0.2

conf -

Published by sindresorhus almost 2 years ago

  • Fix paths in package.json's exports (#172) 99732a0

https://github.com/sindresorhus/conf/compare/v11.0.0...v11.0.1

conf -

Published by sindresorhus almost 2 years ago

Breaking

  • Require Node.js 14 cea3d68
  • This package is now pure ESM. Please read this.
  • The projectName option is now required unless you use the cwd option.
    • Previously, the package fetched the package name from the closest package.json, but this is no longer possible with ESM.
    • If you target Node.js 18 or later, it's quite easy to read package.json.
  • The projectVersion option is now required if you use the migration option.
  • Remove encryption migration 80e1ff0
    • Make sure to upgrade to v10 first if you upgrade from a version earlier than v5.

https://github.com/sindresorhus/conf/compare/v10.2.0...v11.0.0

conf -

Published by sindresorhus about 2 years ago

conf -

Published by sindresorhus over 2 years ago

  • Fix types for the upcoming TS 4.7 (#163) eb1da20

https://github.com/sindresorhus/conf/compare/v10.1.1...v10.1.2

conf -

Published by sindresorhus almost 3 years ago

  • Fix the configFileMode option for TypeScript (#159) 07d275b

https://github.com/sindresorhus/conf/compare/v10.1.0...v10.1.1

conf -

Published by sindresorhus almost 3 years ago

conf -

Published by sindresorhus about 3 years ago

conf -

Published by sindresorhus about 3 years ago

  • Minor performance improvement (#153) 1ea9b28

https://github.com/sindresorhus/conf/compare/v10.0.1...v10.0.2

conf -

Published by sindresorhus over 3 years ago

  • Fix issue with onDidChange not always being called (#143) 3a53356

https://github.com/sindresorhus/conf/compare/v10.0.0...v10.0.1

conf -

Published by sindresorhus over 3 years ago

Breaking

  • Require Node.js 12 4fa57ef
  • Upgrade from Ajv 7 to Ajv 8

https://github.com/sindresorhus/conf/compare/v9.0.2...v10.0.0

conf -

Published by sindresorhus over 3 years ago

  • Add ajv-formats when a schema is used (#144) 094ac38

https://github.com/sindresorhus/conf/compare/v9.0.1...v9.0.2

conf -

Published by sindresorhus over 3 years ago

  • Fix .reset() to correctly handle falsy default values (#141) 735225e

https://github.com/sindresorhus/conf/compare/v9.0.0...v9.0.1

conf -

Published by sindresorhus over 3 years ago

  • Make the clearInvalidConfig option false by default b291021
    A lot of people found the previous default surprising.

https://github.com/sindresorhus/conf/compare/v8.0.0...v9.0.0

conf -

Published by sindresorhus almost 4 years ago

Breaking

  • Fix .clear() behavior (#136) 259ba9b
    Previously, it would not reset the values back to the default ones specified in the defaults or schema option. It correctly does this now.
  • Update ajv to version 7. This might affect user using the schema option.

https://github.com/sindresorhus/conf/compare/v7.1.2...v8.0.0

conf -

Published by sindresorhus about 4 years ago

  • Fix the .get() TypeScript return type (#117) 526002e

https://github.com/sindresorhus/conf/compare/v7.1.1...v7.1.2

conf -

Published by sindresorhus over 4 years ago

  • Export Options TypeScript type 71477a7

https://github.com/sindresorhus/conf/compare/v7.1.0...v7.1.1

conf -

Published by sindresorhus over 4 years ago

  • Use atomically package instead of write-file-atomic (#115) 6c624a0

https://github.com/sindresorhus/conf/compare/v7.0.1...v7.1.0

conf -

Published by sindresorhus over 4 years ago