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

extract-files

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extract-files - npm Package Compare versions

Comparing version 6.0.0 to 7.0.0

16

changelog.md
# extract-files changelog
## 7.0.0
### Major
- Updated Node.js support from v8.10+ to v10+.
- Replaced [`tap`](https://npm.im/tap) and [`nyc`](https://npm.im/nyc) with [`test-director`](https://npm.im/test-director), [`coverage-node`](https://npm.im/coverage-node) and [`hard-rejection`](https://npm.im/hard-rejection) to improve the dev experience, test ESM natively with Node.js, and reduce the dev install size by ~78.8 MB. These new dev dependencies require Node.js v10+.
### Patch
- Updated dev dependencies.
- Removed the now redundant [`eslint-plugin-import-order-alphabetical`](https://npm.im/eslint-plugin-import-order-alphabetical) dev dependency.
- Stop using [`husky`](https://npm.im/husky) and [`lint-staged`](https://npm.im/lint-staged).
- More thorough tests.
- Use strict mode for scripts.
- Renamed some package scripts.
## 6.0.0

@@ -4,0 +20,0 @@

52

package.json
{
"name": "extract-files",
"version": "6.0.0",
"version": "7.0.0",
"description": "Clones a value, recursively extracting File, Blob and ReactNativeFile instances with their object paths, replacing them with null. FileList instances are treated as File instance arrays.",

@@ -29,3 +29,3 @@ "license": "MIT",

"lib",
"!lib/test.*"
"!lib/test"
],

@@ -36,38 +36,38 @@ "main": "lib",

"engines": {
"node": ">=8.10"
"node": ">=10"
},
"browserslist": "Node >= 8.10, > 0.5%, not OperaMini all, not dead",
"browserslist": "Node >= 10, > 0.5%, not OperaMini all, not dead",
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/cli": "^7.7.7",
"@babel/core": "^7.7.7",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@size-limit/preset-small-lib": "^2.2.1",
"@babel/preset-env": "^7.7.7",
"@size-limit/preset-small-lib": "^2.2.4",
"babel-eslint": "^10.0.2",
"babel-plugin-transform-require-extensions": "^1.0.1",
"eslint": "^6.1.0",
"eslint-config-env": "^11.0.1",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-import-order-alphabetical": "^1.0.0",
"eslint-plugin-jsdoc": "^18.4.1",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-prettier": "^3.1.0",
"husky": "^3.0.2",
"jsdoc-md": "^4.0.1",
"lint-staged": "^9.2.1",
"babel-plugin-transform-require-extensions": "^2.0.0",
"coverage-node": "^2.0.2",
"eslint": "^6.8.0",
"eslint-config-env": "^13.0.2",
"eslint-config-prettier": "^6.9.0",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-jsdoc": "^20.0.0",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.1.2",
"hard-rejection": "^2.1.0",
"jsdoc-md": "^5.0.0",
"prettier": "^1.18.2",
"tap": "^14.6.1"
"test-director": "^3.0.0"
},
"scripts": {
"prepare": "npm run prepare:clean && npm run prepare:mjs && npm run prepare:js && npm run prepare:jsdoc && npm run prepare:prettier",
"prepare": "npm run prepare:clean && npm run prepare:esm && npm run prepare:cjs && npm run prepare:jsdoc && npm run prepare:prettier",
"prepare:clean": "rm -rf lib",
"prepare:mjs": "BABEL_ESM=1 babel src -d lib --keep-file-extension",
"prepare:js": "babel src -d lib",
"prepare:esm": "BABEL_ESM=1 babel src -d lib --keep-file-extension",
"prepare:cjs": "babel src -d lib",
"prepare:jsdoc": "jsdoc-md",
"prepare:prettier": "prettier 'lib/**/*.{mjs,js}' readme.md --write",
"test": "npm run test:eslint && npm run test:prettier && npm run test:tap && npm run test:size",
"test": "npm run test:eslint && npm run test:prettier && npm run test:esm && npm run test:cjs && npm run test:size",
"test:eslint": "eslint . --ext mjs,js",
"test:prettier": "prettier '**/*.{json,yml,md}' -l",
"test:tap": "tap lib/test.{mjs,js} --100 -R classic",
"test:esm": "if node --input-type=module -e '' > /dev/null 2>&1; then coverage-node -r hard-rejection/register lib/test/index.mjs; fi",
"test:cjs": "coverage-node -r hard-rejection/register lib/test",
"test:size": "size-limit",

@@ -74,0 +74,0 @@ "prepublishOnly": "npm test"

@@ -21,3 +21,3 @@ # extract-files

- Node.js v8.10+
- Node.js v10+
- Browsers [`> 0.5%, not OperaMini all, not dead`](https://browserl.ist/?q=%3E+0.5%25%2C+not+OperaMini+all%2C+not+dead)

@@ -24,0 +24,0 @@ - React Native

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