middleware-async
Advanced tools
Comparing version
120
package.json
{ | ||
"name": "middleware-async", | ||
"version": "1.3.8", | ||
"description": "A handy tool to work with async/promise express middleware", | ||
"main": "./index.js", | ||
"repository": "github:tranvansang/middleware-async", | ||
"author": "Tran Sang <me@transa.ng>", | ||
"license": "MIT", | ||
"private": false, | ||
"files": [ | ||
"index.d.ts", | ||
"index.js", | ||
"index.js.map", | ||
"index.mjs", | ||
"index.mjs.map" | ||
], | ||
"scripts": { | ||
"build": "yarn build:es && yarn build:commonjs", | ||
"build:es": "yarn tsc -d --skipLibCheck --target es5 --declaration false --moduleResolution node --module es6 --outDir es --sourceMap index.ts && sed -i '$s/index.js.map/index.mjs.map/' es/index.js && mv es/index.js.map index.mjs.map && mv es/index.js index.mjs && rm -rf es", | ||
"build:commonjs": "yarn tsc -d --skipLibCheck --target es5 --declaration --moduleResolution node --module commonjs --outDir . --sourceMap index.ts", | ||
"test": "yarn jest", | ||
"coverage": "yarn jest --coverage", | ||
"clean": "rm -rf index.d.ts index.js index.js.map index.mjs index.js.map es coverage", | ||
"lint": "yarn eslint index.ts", | ||
"prepublishOnly": "yarn clean && yarn lint && yarn coverage && yarn clean && yarn build" | ||
}, | ||
"exports": { | ||
"import": "./index.mjs", | ||
"require": "./index.js", | ||
"default": "./index.js" | ||
}, | ||
"keywords": [ | ||
"connect", | ||
"express", | ||
"async", | ||
"middleware", | ||
"ES6", | ||
"promise", | ||
"async", | ||
"await" | ||
], | ||
"devDependencies": { | ||
"@babel/core": "^7.21.0", | ||
"@babel/plugin-syntax-object-rest-spread": "^7.8.3", | ||
"@babel/plugin-transform-runtime": "^7.21.0", | ||
"@babel/preset-env": "^7.20.2", | ||
"@babel/preset-typescript": "^7.21.0", | ||
"@babel/runtime": "^7.21.0", | ||
"@types/express": "^4.17.17", | ||
"@types/jest": "^29.4.0", | ||
"@types/node": "^18.14.2", | ||
"@typescript-eslint/eslint-plugin": "^5.54.0", | ||
"@typescript-eslint/parser": "^5.54.0", | ||
"babel-eslint": "^10.1.0", | ||
"babel-jest": "^29.4.3", | ||
"eslint": "^8.35.0", | ||
"eslint-config-airbnb-base": "^15.0.0", | ||
"eslint-plugin-babel": "^5.3.1", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-jest": "^27.2.1", | ||
"flip-promise": "^1.0.4", | ||
"jest": "^29.4.3", | ||
"typescript": "^4.9.5" | ||
}, | ||
"dependencies": {} | ||
} | ||
"name": "middleware-async", | ||
"version": "1.4.0", | ||
"description": "A handy tool to work with async/promise express middleware", | ||
"repository": "github:tranvansang/middleware-async", | ||
"author": "Tran Sang <t@sang.jp>", | ||
"license": "MIT", | ||
"main": "index.cjs", | ||
"exports": { | ||
".": { | ||
"import": "./index.mjs", | ||
"require": "./index.cjs" | ||
} | ||
}, | ||
"scripts": { | ||
"test": "yarn jest", | ||
"coverage": "yarn jest --coverage", | ||
"lint": "yarn eslint index.ts", | ||
"prepublish": "yarn lint && yarn coverage && ./compile.sh" | ||
}, | ||
"files": [ | ||
"index.cjs", | ||
"index.mjs", | ||
"index.d.cts", | ||
"index.d.mts" | ||
], | ||
"keywords": [ | ||
"connect", | ||
"express", | ||
"async", | ||
"middleware", | ||
"ES6", | ||
"promise", | ||
"async", | ||
"await" | ||
], | ||
"devDependencies": { | ||
"@types/express": "^4.17.17", | ||
"@types/express-serve-static-core": "^4.17.35", | ||
"@types/jest": "^29.5.3", | ||
"@types/node": "^20.4.4", | ||
"@typescript-eslint/eslint-plugin": "^6.1.0", | ||
"@typescript-eslint/parser": "^6.1.0", | ||
"babel-eslint": "^10.1.0", | ||
"babel-jest": "^29.6.1", | ||
"eslint": "^8.45.0", | ||
"eslint-config-airbnb-base": "^15.0.0", | ||
"eslint-plugin-babel": "^5.3.1", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-jest": "^27.2.3", | ||
"flip-promise": "^1.0.5", | ||
"jest": "^29.6.1", | ||
"typescript": "^5.1.6" | ||
}, | ||
"packageManager": "yarn@3.6.1" | ||
} |
Sorry, the diff of this file is not supported yet
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
16
-23.81%25398
-17.77%188
-51.17%1
Infinity%