Socket
Socket
Sign inDemoInstall

@halsp/cors

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@halsp/cors - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

./dist-cjs/index.cjs

26

package.json
{
"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"
}
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