Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

safefs

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

safefs - npm Package Compare versions

Comparing version 8.8.0 to 8.9.0

edition-node-6/index.js

59

package.json
{
"title": "Safe FS",
"name": "safefs",
"version": "8.8.0",
"version": "8.9.0",
"license": "Artistic-2.0",

@@ -19,2 +19,3 @@ "description": "Stop getting EMFILE errors! Open only as many files as the operating system supports.",

"emfile",
"es2015",
"esnext",

@@ -121,3 +122,3 @@ "fs",

{
"description": "ESNext source code for Node.js 4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules",
"description": "ESNext source code for Node.js 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules",
"directory": "source",

@@ -132,9 +133,25 @@ "entry": "index.js",

"engines": {
"node": "4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21"
"node": "8 || 10 || 12 || 14 || 16 || 18 || 20 || 21"
}
},
{
"description": "ESNext compiled for Node.js 4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules",
"directory": "edition-node-6",
"entry": "index.js",
"tags": [
"compiled",
"javascript",
"es2015",
"require"
],
"engines": {
"node": "4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21",
"browsers": false
}
}
],
"type": "commonjs",
"main": "source/index.js",
"main": "index.cjs",
"dependencies": {
"editions": "^6.21.0",
"graceful-fs": "^4.2.11",

@@ -144,2 +161,6 @@ "version-compare": "^3.10.0"

"devDependencies": {
"@babel/cli": "^7.23.4",
"@babel/core": "^7.23.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/preset-env": "^7.23.6",
"assert-helpers": "^11.12.0",

@@ -152,3 +173,3 @@ "eslint": "^8.56.0",

"jsdoc": "^4.0.2",
"kava": "^7.6.0",
"kava": "^7.7.0",
"prettier": "^3.1.1",

@@ -160,3 +181,4 @@ "projectz": "^4.1.1",

"our:clean": "rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next",
"our:compile": "printf '%s\n' 'no need for this project'",
"our:compile": "npm run our:compile:edition-node-6",
"our:compile:edition-node-6": "env BABEL_ENV=edition-node-6 babel --out-dir ./edition-node-6 ./source && printf '%s' '{\"type\": \"commonjs\"}' > edition-node-6/package.json",
"our:deploy": "printf '%s\n' 'no need for this project'",

@@ -179,4 +201,25 @@ "our:meta": "npm run our:meta:docs && npm run our:meta:projectz",

"our:verify:prettier": "prettier --write .",
"test": "node ./source/test.js"
"test": "node ./test.cjs"
},
"babel": {
"env": {
"edition-node-6": {
"sourceType": "script",
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "6"
},
"modules": "commonjs"
}
]
],
"plugins": [
"@babel/proposal-object-rest-spread"
]
}
}
},
"eslintConfig": {

@@ -190,5 +233,5 @@ "extends": [

"singleQuote": true,
"trailingComma": "all",
"trailingComma": "es5",
"endOfLine": "lf"
}
}

5

README.md

@@ -85,4 +85,5 @@ <!-- TITLE/ -->

This package is published with the following editions:
- `safefs` aliases `safefs/source/index.js`
- `safefs/source/index.js` is [ESNext](https://en.wikipedia.org/wiki/ECMAScript#ES.Next "ECMAScript Next") source code for [Node.js](https://nodejs.org "Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine") 4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with [Require](https://nodejs.org/dist/latest-v5.x/docs/api/modules.html "Node/CJS Modules") for modules
- `safefs` aliases `safefs/index.cjs` which uses the [Editions Autoloader](https://github.com/bevry/editions "You can use the Editions Autoloader to autoload the appropriate edition for your consumers environment") to automatically select the correct edition for the consumer's environment
- `safefs/source/index.js` is [ESNext](https://en.wikipedia.org/wiki/ECMAScript#ES.Next "ECMAScript Next") source code for [Node.js](https://nodejs.org "Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine") 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with [Require](https://nodejs.org/dist/latest-v5.x/docs/api/modules.html "Node/CJS Modules") for modules
- `safefs/edition-node-6/index.js` is [ESNext](https://en.wikipedia.org/wiki/ECMAScript#ES.Next "ECMAScript Next") compiled for [Node.js](https://nodejs.org "Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine") 4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with [Require](https://nodejs.org/dist/latest-v5.x/docs/api/modules.html "Node/CJS Modules") for modules

@@ -89,0 +90,0 @@ ### [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.")

@@ -219,3 +219,3 @@ /* eslint no-sync:0 */

{ recursive: true, force: true, maxRetries: 2 },
wrappedNext,
wrappedNext
)

@@ -222,0 +222,0 @@ } else if (

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc