scandirectory
Advanced tools
Comparing version 6.18.0 to 7.0.0-next.1699957460.94e2ea04ce53356ba60fa31722a11f1d51a44a9a
115
package.json
{ | ||
"name": "scandirectory", | ||
"version": "6.18.0", | ||
"version": "7.0.0-next.1699957460.94e2ea04ce53356ba60fa31722a11f1d51a44a9a", | ||
"description": "Scan a directory recursively with a lot of control and power", | ||
@@ -61,2 +61,3 @@ "homepage": "https://github.com/bevry/scandirectory", | ||
"Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)", | ||
"Bohdan (https://github.com/bohdanly)", | ||
"Bohdan Lysenko <lysenkobv@gmail.com> (https://github.com/lysenkobv)", | ||
@@ -73,7 +74,7 @@ "Sean Fridman <mail@seanfridman.com> (https://github.com/sfrdmn)" | ||
"engines": { | ||
"node": ">=10" | ||
"node": ">=4" | ||
}, | ||
"editions": [ | ||
{ | ||
"description": "ESNext source code for Node.js 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", | ||
@@ -88,27 +89,62 @@ "entry": "index.js", | ||
"engines": { | ||
"node": "10 || 12 || 14 || 16 || 18 || 20 || 21" | ||
"node": "8 || 10 || 12 || 14 || 16 || 18 || 20 || 21" | ||
} | ||
}, | ||
{ | ||
"description": "ESNext compiled for Node.js 21 with Require for modules", | ||
"directory": "edition-node-21", | ||
"entry": "index.js", | ||
"tags": [ | ||
"compiled", | ||
"javascript", | ||
"require" | ||
], | ||
"engines": { | ||
"node": "6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21", | ||
"browsers": false | ||
} | ||
}, | ||
{ | ||
"description": "ESNext compiled for Node.js 4 with Require for modules", | ||
"directory": "edition-node-4", | ||
"entry": "index.js", | ||
"tags": [ | ||
"compiled", | ||
"javascript", | ||
"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": { | ||
"ignorefs": "^3.18.0", | ||
"readdir-cluster": "^3.18.0" | ||
"editions": "^6.11.0", | ||
"ignorefs": "^4.0.0", | ||
"readdir-cluster": "^4.0.0" | ||
}, | ||
"devDependencies": { | ||
"@bevry/update-contributors": "^1.22.0", | ||
"assert-helpers": "^8.4.0", | ||
"eslint": "^8.52.0", | ||
"eslint-config-bevry": "^3.28.0", | ||
"@babel/cli": "^7.23.0", | ||
"@babel/core": "^7.23.3", | ||
"@babel/plugin-proposal-object-rest-spread": "^7.20.7", | ||
"@babel/preset-env": "^7.23.3", | ||
"@bevry/update-contributors": "^1.23.0", | ||
"assert-helpers": "^11.2.0", | ||
"eslint": "^8.53.0", | ||
"eslint-config-bevry": "^4.0.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-plugin-prettier": "^5.0.1", | ||
"kava": "^5.17.0", | ||
"prettier": "^3.0.3", | ||
"projectz": "^2.23.0", | ||
"valid-directory": "^4.0.0" | ||
"kava": "^7.1.0", | ||
"prettier": "^3.1.0", | ||
"projectz": "^3.0.0", | ||
"valid-directory": "^4.1.0" | ||
}, | ||
"scripts": { | ||
"our:clean": "rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next", | ||
"our:compile": "printf '%s\n' 'no need for this project'", | ||
"our:clean": "rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next", | ||
"our:compile": "npm run our:compile:edition-node-21 && npm run our:compile:edition-node-4", | ||
"our:compile:edition-node-21": "env BABEL_ENV=edition-node-21 babel --out-dir ./edition-node-21 ./source && printf '%s' '{\"type\": \"commonjs\"}' > edition-node-21/package.json", | ||
"our:compile:edition-node-4": "env BABEL_ENV=edition-node-4 babel --out-dir ./edition-node-4 ./source && printf '%s' '{\"type\": \"commonjs\"}' > edition-node-4/package.json", | ||
"our:deploy": "printf '%s\n' 'no need for this project'", | ||
@@ -131,3 +167,3 @@ "our:meta": "npm run our:meta:contributors && npm run our:meta:projectz", | ||
"our:verify:prettier": "prettier --write .", | ||
"test": "node ./source/test.js" | ||
"test": "node ./test.cjs" | ||
}, | ||
@@ -141,4 +177,43 @@ "eslintConfig": { | ||
"semi": false, | ||
"singleQuote": true | ||
"singleQuote": true, | ||
"trailingComma": "es5" | ||
}, | ||
"babel": { | ||
"env": { | ||
"edition-node-21": { | ||
"sourceType": "script", | ||
"presets": [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"targets": { | ||
"node": "21" | ||
}, | ||
"modules": "commonjs" | ||
} | ||
] | ||
], | ||
"plugins": [ | ||
"@babel/proposal-object-rest-spread" | ||
] | ||
}, | ||
"edition-node-4": { | ||
"sourceType": "script", | ||
"presets": [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"targets": { | ||
"node": "4" | ||
}, | ||
"modules": "commonjs" | ||
} | ||
] | ||
], | ||
"plugins": [ | ||
"@babel/proposal-object-rest-spread" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
@@ -118,4 +118,6 @@ <!-- TITLE/ --> | ||
<ul><li><code>scandirectory</code> aliases <code>scandirectory/source/index.js</code></li> | ||
<li><code>scandirectory/source/index.js</code> is <a href="https://en.wikipedia.org/wiki/ECMAScript#ES.Next" title="ECMAScript Next">ESNext</a> source code for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 10 || 12 || 14 || 16 || 18 || 20 || 21 with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li></ul> | ||
<ul><li><code>scandirectory</code> aliases <code>scandirectory/index.cjs</code> which uses the <a href="https://github.com/bevry/editions" title="You can use the Editions Autoloader to autoload the appropriate edition for your consumers environment">Editions Autoloader</a> to automatically select the correct edition for the consumer's environment</li> | ||
<li><code>scandirectory/source/index.js</code> is <a href="https://en.wikipedia.org/wiki/ECMAScript#ES.Next" title="ECMAScript Next">ESNext</a> source code for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li> | ||
<li><code>scandirectory/edition-node-21/index.js</code> is <a href="https://en.wikipedia.org/wiki/ECMAScript#ES.Next" title="ECMAScript Next">ESNext</a> compiled for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 21 with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li> | ||
<li><code>scandirectory/edition-node-4/index.js</code> is <a href="https://en.wikipedia.org/wiki/ECMAScript#ES.Next" title="ECMAScript Next">ESNext</a> compiled for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 4 with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li></ul> | ||
@@ -164,2 +166,3 @@ <!-- /INSTALL --> | ||
<ul><li><a href="https://balupton.com">Benjamin Lupton</a> — <a href="https://github.com/bevry/scandirectory/commits?author=balupton" title="View the GitHub contributions of Benjamin Lupton on repository bevry/scandirectory">view contributions</a></li> | ||
<li><a href="https://github.com/bohdanly">Bohdan</a> — <a href="https://github.com/bevry/scandirectory/commits?author=bohdanly" title="View the GitHub contributions of Bohdan on repository bevry/scandirectory">view contributions</a></li> | ||
<li><a href="https://github.com/lysenkobv">Bohdan Lysenko</a> — <a href="https://github.com/bevry/scandirectory/commits?author=lysenkobv" title="View the GitHub contributions of Bohdan Lysenko on repository bevry/scandirectory">view contributions</a></li> | ||
@@ -166,0 +169,0 @@ <li><a href="https://github.com/sfrdmn">Sean Fridman</a> — <a href="https://github.com/bevry/scandirectory/commits?author=sfrdmn" title="View the GitHub contributions of Sean Fridman on repository bevry/scandirectory">view contributions</a></li></ul> |
@@ -65,3 +65,3 @@ /* eslint no-inner-declarations:0 */ | ||
const err = new Error( | ||
'scandirectory: readFiles is set but not enough completion callback arguments to receive the data', | ||
'scandirectory: readFiles is set but not enough completion callback arguments to receive the data' | ||
) | ||
@@ -68,0 +68,0 @@ return next(err) |
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
42591
11
425
188
3
14
1
3
1
+ Addededitions@^6.11.0
+ Addededitions@6.21.0(transitive)
+ Addedignorefs@4.8.0(transitive)
+ Addedignorepatterns@5.6.0(transitive)
+ Addedreaddir-cluster@4.0.0(transitive)
+ Addedversion-range@4.14.0(transitive)
- Removedignorefs@3.18.0(transitive)
- Removedignorepatterns@4.18.0(transitive)
- Removedreaddir-cluster@3.18.0(transitive)
Updatedignorefs@^4.0.0
Updatedreaddir-cluster@^4.0.0