Comparing version 3.2.0 to 3.2.1
@@ -0,4 +1,9 @@ | ||
// September 5, 2015 | ||
// https://github.com/bevry/base | ||
if ( process.env.REQUIRE_ES6 ) { | ||
module.exports = require('./es6/lib/safefs.js') | ||
} | ||
else if ( !process.versions.v8 || process.versions.v8.split('.')[0] < 4 ) { | ||
module.exports = require('./es5/lib/safefs.js') | ||
} | ||
else { | ||
@@ -9,5 +14,5 @@ try { | ||
catch (e) { | ||
// console.error('Downgrading from ES6 to ES5 due to:', e.stack) | ||
// console.log('Downgrading from ES6 to ES5 due to:', e.stack) | ||
module.exports = require('./es5/lib/safefs.js') | ||
} | ||
} |
# History | ||
## v3.2.1 September 5, 2015 | ||
- Fixed node <0.10 support (regression since v3.2.0) | ||
- Unfortunately our dev dependencies don't support this early, so no travis ci tests, manual tests pass | ||
## v3.2.0 September 5, 2015 | ||
@@ -4,0 +8,0 @@ - Moved from CoffeeScript to ES6+ |
{ | ||
"title": "Safe FS", | ||
"name": "safefs", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "Stop getting EMFILE errors! Open only as many files as the operating system supports.", | ||
@@ -47,3 +47,3 @@ "homepage": "https://github.com/bevry/safefs", | ||
"engines": { | ||
"node": ">=0.4" | ||
"node": ">=0.10" | ||
}, | ||
@@ -50,0 +50,0 @@ "dependencies": { |
@@ -46,3 +46,3 @@ | ||
``` javascript | ||
var safefs = require('safefs'); | ||
var safefs = require('safefs') | ||
``` | ||
@@ -63,3 +63,3 @@ | ||
- `ensurePath(path, options, next)` - ensure the full path exists, equivalant to unix's `mdir -p path` | ||
- `ensurePath(path, options, next)` - ensure the full path exists, equivalent to unix's `mdir -p path` | ||
@@ -66,0 +66,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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
51942
743
1