🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

formidable

Package Overview
Dependencies
Maintainers
5
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

formidable - npm Package Compare versions

Comparing version

to
3.5.4

61

package.json
{
"name": "formidable",
"version": "3.5.3",
"version": "3.5.4",
"license": "MIT",

@@ -51,20 +51,19 @@ "description": "A node.js module for parsing form data, especially file uploads.",

"build-package": "rollup --config ./tool/rollup.config.js",
"prepublishOnly": "npm run build-package",
"prepublishOnly": "pnpm run build-package",
"bench": "node benchmark",
"bench2prep": "node benchmark/server.js",
"bench2": "bombardier --body-file=\"./README.md\" --method=POST --duration=10s --connections=100 http://localhost:3000/api/upload",
"fmt": "yarn run fmt:prepare '**/*'",
"fmt": "pnpm run fmt:prepare '**/*'",
"fmt:prepare": "prettier --write",
"lint": "yarn run lint:prepare .",
"lint": "pnpm run lint:prepare .",
"lint:prepare": "eslint --cache --fix --quiet --format codeframe",
"reinstall": "del-cli ./node_modules ./yarn.lock",
"postreinstall": "yarn setup",
"setup": "yarn",
"pretest": "del-cli ./test/tmp && make-dir ./test/tmp",
"fresh": "rm -rf ./node_modules",
"test-specific": "node --disable-warning=ExperimentalWarning --experimental-vm-modules ./node_modules/jest/bin/jest.js --testPathPattern=test/standalone/keep-alive-error.test.js",
"test": "npm run test-specific && npm run test-jest && npm run test-node",
"test-jest": "node --disable-warning=ExperimentalWarning --experimental-vm-modules ./node_modules/jest/bin/jest.js --testPathPattern=test/ --coverage",
"test-node": "node --disable-warning=ExperimentalWarning --test --experimental-test-coverage test-node/**/*.test.js",
"pretest:ci": "yarn run pretest",
"test:ci": "node --disable-warning=ExperimentalWarning --experimental-vm-modules node_modules/.bin/nyc jest --testPathPattern=test/ --coverage && node --disable-warning=ExperimentalWarning --experimental-vm-modules node_modules/.bin/nyc node --test test-node/"
"test-node": "node --disable-warning=ExperimentalWarning --test ./test-node/**/*.test.js",
"test-jest:ci": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --testPathPattern=test/ --coverage",
"test:local": "pnpm run test-node && pnpm run test-jest",
"audit": "pnpm audit --prod --fix",
"pretest": "rm -rf ./test/tmp && mkdir ./test/tmp",
"test": "pnpm run audit && node --test ./test-node/**/*.test.js && pnpm run test-jest:ci"
},

@@ -76,5 +75,4 @@ "dependencies": {

},
"packageManager": "pnpm@10.8.1",
"devDependencies": {
"@commitlint/cli": "8.3.5",
"@commitlint/config-conventional": "8.3.4",
"@rollup/plugin-commonjs": "^25.0.2",

@@ -84,3 +82,2 @@ "@rollup/plugin-node-resolve": "^15.1.0",

"@tunnckocore/prettier-config": "1.3.8",
"del-cli": "3.0.0",
"eslint": "6.8.0",

@@ -93,7 +90,4 @@ "eslint-config-airbnb-base": "14.1.0",

"formdata-polyfill": "^4.0.10",
"husky": "4.2.5",
"jest": "27.2.4",
"koa": "2.11.0",
"lint-staged": "10.2.7",
"make-dir-cli": "2.0.0",
"koa": "2.16.1",
"nyc": "15.1.0",

@@ -105,31 +99,8 @@ "prettier": "2.0.5",

},
"engines": {
"node": ">=14.0.0"
},
"jest": {
"verbose": true
},
"husky": {
"hooks": {
"pre-commit": "git status --porcelain && yarn lint-staged",
"commit-msg": "yarn commitlint -E HUSKY_GIT_PARAMS"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"!*.{js,jsx,ts,tsx}": [
"yarn run fmt:prepare"
],
"*.{js,jsx,ts,tsx}": [
"yarn run lint"
]
},
"renovate": {
"extends": [
"@tunnckocore",
":pinAllExceptPeerDependencies"
]
},
"packageManager": "yarn@1.22.17",
"keywords": [

@@ -136,0 +107,0 @@ "multipart",

@@ -19,3 +19,3 @@ /* eslint-disable class-methods-use-this */

const CUID2_FINGERPRINT = `${process.env.NODE_ENV}-${os.platform()}-${os.hostname()}-${os.machine()}`
const CUID2_FINGERPRINT = `${process.env.NODE_ENV}-${os.platform()}-${os.hostname()}`
const createId = cuid2init({ length: 25, fingerprint: CUID2_FINGERPRINT.toLowerCase() });

@@ -22,0 +22,0 @@

Sorry, the diff of this file is not supported yet