@halsp/cors
Advanced tools
Comparing version 2.3.0 to 2.3.1
{ | ||
"name": "@halsp/cors", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "Halsp 跨域插件", | ||
"engines": { | ||
"node": ">=12.14.0" | ||
"node": ">=16" | ||
}, | ||
@@ -25,6 +25,18 @@ "homepage": "https://halsp.org", | ||
}, | ||
"main": "dist/index.js", | ||
"type": "module", | ||
"main": "./dist-cjs/index.cjs", | ||
"module": "./dist-mjs/index.mjs", | ||
"types": "./dist-mjs/index.d.ts", | ||
"exports": { | ||
".": { | ||
"require": "./dist-cjs/index.cjs", | ||
"import": "./dist-mjs/index.mjs", | ||
"types": "./dist-mjs/index.d.ts" | ||
} | ||
}, | ||
"scripts": { | ||
"build:cjs": "halsp build --tsconfigPath tsconfig.cjs.json --moduleType cjs --cleanDist", | ||
"build:mjs": "halsp build --tsconfigPath tsconfig.mjs.json --moduleType mjs --cleanDist", | ||
"prebuild": "npm run lint", | ||
"build": "sh ../../scripts/clean-dist.sh && tsc", | ||
"build": "npm run build:mjs && npm run build:cjs", | ||
"lint": "eslint src test --ext .ts", | ||
@@ -37,4 +49,4 @@ "pretest": "npm run build", | ||
"dependencies": { | ||
"@halsp/core": "^2.3.0", | ||
"@halsp/http": "^2.3.0" | ||
"@halsp/core": "^2.3.1", | ||
"@halsp/http": "^2.3.1" | ||
}, | ||
@@ -53,3 +65,3 @@ "files": [ | ||
], | ||
"gitHead": "7603f851a6416e593944805b328ecc7163a42a03" | ||
"gitHead": "7f92de45c4b4a015b1c6f71af9fcf5091d48a4e4" | ||
} |
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
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
Yes
15219
9
303
Updated@halsp/core@^2.3.1
Updated@halsp/http@^2.3.1