fs-extra
Advanced tools
Comparing version 8.0.1 to 8.1.0
@@ -0,1 +1,8 @@ | ||
8.1.0 / 2019-06-28 | ||
------------------ | ||
- Add support for promisified `fs.realpath.native` in Node v9.2+ ([#650](https://github.com/jprichardson/node-fs-extra/issues/650), [#682](https://github.com/jprichardson/node-fs-extra/pull/682)) | ||
- Update `graceful-fs` dependency ([#700](https://github.com/jprichardson/node-fs-extra/pull/700)) | ||
- Use `graceful-fs` everywhere ([#700](https://github.com/jprichardson/node-fs-extra/pull/700)) | ||
8.0.1 / 2019-05-13 | ||
@@ -2,0 +9,0 @@ ------------------ |
'use strict' | ||
// TODO: enable this once graceful-fs supports bigint option. | ||
// const fs = require('graceful-fs') | ||
const fs = require('fs') | ||
const fs = require('graceful-fs') | ||
const path = require('path') | ||
@@ -13,3 +11,3 @@ const mkdirpSync = require('../mkdirs').mkdirsSync | ||
if (typeof opts === 'function') { | ||
opts = {filter: opts} | ||
opts = { filter: opts } | ||
} | ||
@@ -16,0 +14,0 @@ |
'use strict' | ||
// TODO: enable this once graceful-fs supports bigint option. | ||
// const fs = require('graceful-fs') | ||
const fs = require('fs') | ||
const fs = require('graceful-fs') | ||
const path = require('path') | ||
@@ -17,3 +15,3 @@ const mkdirp = require('../mkdirs').mkdirs | ||
} else if (typeof opts === 'function') { | ||
opts = {filter: opts} | ||
opts = { filter: opts } | ||
} | ||
@@ -20,0 +18,0 @@ |
'use strict' | ||
const u = require('universalify').fromCallback | ||
const fs = require('fs') | ||
const fs = require('graceful-fs') | ||
const path = require('path') | ||
@@ -6,0 +6,0 @@ const mkdir = require('../mkdirs') |
@@ -105,1 +105,6 @@ 'use strict' | ||
} | ||
// fs.realpath.native only available in Node v9.2+ | ||
if (typeof fs.realpath.native === 'function') { | ||
exports.realpath.native = u(fs.realpath.native) | ||
} |
'use strict' | ||
// TODO: enable this once graceful-fs supports bigint option. | ||
// const fs = require('graceful-fs') | ||
const fs = require('fs') | ||
const fs = require('graceful-fs') | ||
const path = require('path') | ||
@@ -7,0 +5,0 @@ const copySync = require('../copy-sync').copySync |
'use strict' | ||
// TODO: enable this once graceful-fs supports bigint option. | ||
// const fs = require('graceful-fs') | ||
const fs = require('fs') | ||
const fs = require('graceful-fs') | ||
const path = require('path') | ||
@@ -7,0 +5,0 @@ const copy = require('../copy').copy |
'use strict' | ||
// TODO: enable this once graceful-fs supports bigint option. | ||
// const fs = require('graceful-fs') | ||
const fs = require('fs') | ||
const fs = require('graceful-fs') | ||
const path = require('path') | ||
@@ -7,0 +5,0 @@ |
{ | ||
"name": "fs-extra", | ||
"version": "8.0.1", | ||
"version": "8.1.0", | ||
"description": "fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as mkdir -p, cp -r, and rm -rf.", | ||
@@ -39,3 +39,3 @@ "engines": { | ||
"dependencies": { | ||
"graceful-fs": "^4.1.2", | ||
"graceful-fs": "^4.2.0", | ||
"jsonfile": "^4.0.0", | ||
@@ -54,5 +54,9 @@ "universalify": "^0.1.0" | ||
"semver": "^5.3.0", | ||
"standard": "^11.0.1" | ||
"standard": "^12.0.1" | ||
}, | ||
"main": "./lib/index.js", | ||
"files": [ | ||
"lib/", | ||
"!lib/**/__tests__/" | ||
], | ||
"scripts": { | ||
@@ -59,0 +63,0 @@ "full-ci": "npm run lint && npm run coverage", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
127504
1
0
1646
Updatedgraceful-fs@^4.2.0