Releases: nbarikipoulos/json-cipher-value
v3.0.1
v3.0.0
This release is mainly dedicated to migrate this package to ES modules.
Breaking Changes
Migrate to ESM
The project has been migrated from commonJS module to pure ESM one.
Note CommonJS are not supported anymore (aka requiring this module from a commomJS one).
See #19 and documentation for further details.
Supported node.js release
The releases of node.js lower than 16 are not supported anymore (see #13)
Enhancements & Others
#14, #15, #17: Various update on package (npm scripts, dependencies, gitignore file),
#16, #18, #20: Misc. code and documentation updates
Bug Fixes
#21 Unable to use -d/--dest flag under windows OS.
v2.0.3
Misc. release dedicated to refresh dependencies.
v2.0.1 release
Minor release dedicated to:
- Update dependencies,
- Misc. minor internal code update.
v2.0.0 release
Major release mainly dedicated to:
- Refactoring of internal code (note the facing factory of the module does not change),
- Remove the useless option typed,
- Provide tests 🥳 ,
- Misc. packaging update.
Breaking Changes
Internal Cipher objects have been fully refactored.
In particular, in CipherObject, the 'encrypt' and 'decrypt' functions have been gathered into a new one named perform.
const factory = require('json-cipher-value')
const cipherObject = factory('My secret password')
const object = {}
const cipheredObject = cipherObject.perform('cipher', object) // instead of cipherObject.encrypt
const decipheredObject = cipherObject.perform('decipher', cipheredObject) // instead of cipherObject.decrypt
Check API.md for further details.
v1.2.1 release
Minor release dedicated to update (dev) dependencies.
v1.2.0 release
Append CLI to (de)cipher json files.
v1.1.3 release
Apply standard js style.
v1.1.2 release
Instead of 1.1.1 due to a dummy error introduced.
I should do #2 ...
v1.1.1 release
Edit: DOES NOT WORK. Replaced with the v1.1.2
Jsdoc added (see #1 ).