Socket
Socket
Sign inDemoInstall

fs-extra

Package Overview
Dependencies
2
Maintainers
2
Versions
96
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.0 to 2.1.1

8

CHANGELOG.md

@@ -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 @@ ------------------

2

lib/copy-sync/copy-file-sync.js

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc