eslint-plugin-express-security 1.5.0 → 1.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +8 -13
  2. package/src/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-express-security",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "description": "ESLint plugin for Express.js security — detects permissive CORS, missing CSRF protection, missing helmet headers, insecure cookies, and GraphQL introspection in production.",
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
@@ -77,10 +77,15 @@
77
77
  },
78
78
  "dependencies": {
79
79
  "tslib": "^2.3.0",
80
- "@interlace/eslint-devkit": "^1.6.0"
80
+ "@interlace/eslint-devkit": "^1.7.0"
81
81
  },
82
82
  "peerDependencies": {
83
- "eslint": "^8.0.0 || ^9.0.0 || ^10.0.0"
83
+ "eslint": "^8.0.0 || ^9.0.0 || ^10.0.0",
84
+ "express": "^4.0.0 || ^5.0.0",
85
+ "helmet": "^6.0.0 || ^7.0.0 || ^8.0.0",
86
+ "cors": "^2.0.0",
87
+ "csurf": "^1.0.0",
88
+ "express-rate-limit": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"
84
89
  },
85
90
  "peerDependenciesMeta": {
86
91
  "express": {
@@ -99,16 +104,6 @@
99
104
  "optional": true
100
105
  }
101
106
  },
102
- "devDependencies": {
103
- "@typescript-eslint/parser": "^8.46.2",
104
- "@typescript-eslint/rule-tester": "^8.46.2"
105
- },
106
- "scripts": {
107
- "build": "tsx ../../scripts/build-package.ts",
108
- "test": "vitest run",
109
- "test:coverage": "vitest run --coverage",
110
- "typecheck": "tsc -p tsconfig.lib.json --noEmit"
111
- },
112
107
  "funding": {
113
108
  "type": "github",
114
109
  "url": "git+https://github.com/ofri-peretz/eslint.git"
package/src/index.js CHANGED
@@ -62,7 +62,7 @@ exports.rules = {
62
62
  exports.plugin = {
63
63
  meta: {
64
64
  name: 'eslint-plugin-express-security',
65
- version: '1.5.0',
65
+ version: '1.5.2',
66
66
  },
67
67
  rules: exports.rules,
68
68
  };