write-json-file
Advanced tools
Comparing version 4.0.0 to 4.1.0
@@ -11,3 +11,2 @@ 'use strict'; | ||
const readFile = promisify(fs.readFile); | ||
const writeFileAtomicP = promisify(writeFileAtomic); | ||
@@ -55,3 +54,3 @@ const init = (fn, filePath, data, options) => { | ||
return writeFileAtomicP(filePath, `${json}\n`, {mode: options.mode}); | ||
return writeFileAtomic(filePath, `${json}\n`, {mode: options.mode}); | ||
}; | ||
@@ -58,0 +57,0 @@ |
{ | ||
"name": "write-json-file", | ||
"version": "4.0.0", | ||
"version": "4.1.0", | ||
"description": "Stringify and write JSON to a file atomically", | ||
@@ -41,3 +41,3 @@ "license": "MIT", | ||
"sort-keys": "^3.0.0", | ||
"write-file-atomic": "^2.4.2" | ||
"write-file-atomic": "^3.0.0" | ||
}, | ||
@@ -44,0 +44,0 @@ "devDependencies": { |
SPDX disjunction
LicenseSPDX disjunction for an artifact's license information
Found 1 instance in 1 package
SPDX disjunction
LicenseSPDX disjunction for an artifact's license information
Found 1 instance in 1 package
7152
130
+ 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)
Updatedwrite-file-atomic@^3.0.0