fs-extra
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -0,1 +1,9 @@ | ||
2.1.1 / 2017-03-15 | ||
------------------ | ||
### Fixed | ||
- Reverted [`5597bd`](https://github.com/jprichardson/node-fs-extra/commit/5597bd5b67f7d060f5f5bf26e9635be48330f5d7), this broke compatibility with Node.js versions v4+ but less than `v4.5.0`. | ||
- Remove `Buffer.alloc()` usage in `moveSync()`. | ||
2.1.0 / 2017-03-15 | ||
@@ -2,0 +10,0 @@ ------------------ |
@@ -6,3 +6,3 @@ 'use strict' | ||
const BUF_LENGTH = 64 * 1024 | ||
const _buff = Buffer.alloc(BUF_LENGTH) | ||
const _buff = new Buffer(BUF_LENGTH) | ||
@@ -9,0 +9,0 @@ function copyFileSync (srcFile, destFile, options) { |
@@ -63,3 +63,3 @@ 'use strict' | ||
const BUF_LENGTH = 64 * 1024 | ||
const _buff = Buffer.alloc(BUF_LENGTH) | ||
const _buff = new Buffer(BUF_LENGTH) | ||
@@ -66,0 +66,0 @@ const flags = overwrite ? 'w' : 'wx' |
{ | ||
"name": "fs-extra", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"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.", | ||
@@ -60,6 +60,3 @@ "homepage": "https://github.com/jprichardson/node-fs-extra", | ||
"unit": "node test.js" | ||
}, | ||
"engines": { | ||
"node": ">=4.5.0" | ||
} | ||
} |
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
125858
0