write-json5-file
Advanced tools
Comparing version 3.0.0 to 3.0.1
# write-json5-file | ||
## 3.0.1 | ||
### Patch Changes | ||
- 0a21c77: Update write-file-atomic to v3. | ||
## 3.0.0 | ||
### Major Changes | ||
- 674dc01: Use native fs.mkdir instead of make-dir. | ||
BREAKING CHANGE: | ||
Node.js 8 support is dropped. |
@@ -5,3 +5,3 @@ 'use strict' | ||
const { promisify } = require('util') | ||
const writeFileAtomic = promisify(require('write-file-atomic')) | ||
const writeFileAtomic = require('write-file-atomic') | ||
const sortKeys = require('sort-keys') | ||
@@ -8,0 +8,0 @@ const JSON5 = require('json5') |
108
package.json
{ | ||
"name": "write-json5-file", | ||
"version": "3.0.0", | ||
"description": "Stringify and write JSON to a file atomically", | ||
"main": "index.js", | ||
"engines": { | ||
"node": ">=10.12" | ||
}, | ||
"files": [ | ||
"index.js", | ||
"index.d.ts" | ||
], | ||
"scripts": { | ||
"test": "standard && tape test.js", | ||
"md": "mos" | ||
}, | ||
"repository": "https://github.com/zkochan/packages/tree/master/write-json5-file", | ||
"mos": { | ||
"plugins": [ | ||
"readme" | ||
], | ||
"installation": { | ||
"useShortAlias": true | ||
} | ||
}, | ||
"keywords": [ | ||
"write", | ||
"json5", | ||
"stringify", | ||
"file", | ||
"fs", | ||
"graceful", | ||
"atomic", | ||
"atomically" | ||
], | ||
"author": { | ||
"name": "Zoltan Kochan", | ||
"email": "z@kochan.io", | ||
"url": "https://www.kochan.io" | ||
}, | ||
"license": "MIT", | ||
"homepage": "https://github.com/zkochan/packages/tree/master/write-json5-file#readme", | ||
"dependencies": { | ||
"graceful-fs": "^4.2.3", | ||
"json5": "^2.1.2", | ||
"sort-keys": "^4.0.0", | ||
"write-file-atomic": "^2.4.3" | ||
}, | ||
"devDependencies": { | ||
"mos": "^2.0.0-alpha.3", | ||
"mos-plugin-readme": "^1.0.4", | ||
"standard": "14.3.3", | ||
"tape": "^5.0.0", | ||
"tempfile": "^3.0.0" | ||
} | ||
"name": "write-json5-file", | ||
"version": "3.0.1", | ||
"description": "Stringify and write JSON to a file atomically", | ||
"main": "index.js", | ||
"engines": { | ||
"node": ">=10.12" | ||
}, | ||
"files": [ | ||
"index.js", | ||
"index.d.ts" | ||
], | ||
"scripts": { | ||
"test": "standard && tape test.js", | ||
"md": "mos" | ||
}, | ||
"repository": "https://github.com/zkochan/packages/tree/master/write-json5-file", | ||
"mos": { | ||
"plugins": [ | ||
"readme" | ||
], | ||
"installation": { | ||
"useShortAlias": true | ||
} | ||
}, | ||
"keywords": [ | ||
"write", | ||
"json5", | ||
"stringify", | ||
"file", | ||
"fs", | ||
"graceful", | ||
"atomic", | ||
"atomically" | ||
], | ||
"author": { | ||
"name": "Zoltan Kochan", | ||
"email": "z@kochan.io", | ||
"url": "https://www.kochan.io" | ||
}, | ||
"license": "MIT", | ||
"homepage": "https://github.com/zkochan/packages/tree/master/write-json5-file#readme", | ||
"dependencies": { | ||
"graceful-fs": "^4.2.4", | ||
"json5": "^2.1.3", | ||
"sort-keys": "^4.1.0", | ||
"write-file-atomic": "^3.0.3" | ||
}, | ||
"devDependencies": { | ||
"mos": "2.0.0-alpha.3", | ||
"mos-plugin-readme": "^1.0.4", | ||
"standard": "^16.0.1", | ||
"tape": "^5.0.1", | ||
"tempfile": "^3.0.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6707
+ Addedis-typedarray@1.0.0(transitive)
+ Addedtypedarray-to-buffer@3.1.5(transitive)
+ Addedwrite-file-atomic@3.0.3(transitive)
- Removedwrite-file-atomic@2.4.3(transitive)
Updatedgraceful-fs@^4.2.4
Updatedjson5@^2.1.3
Updatedsort-keys@^4.1.0
Updatedwrite-file-atomic@^3.0.3