oxlint-plugin-node-security 5.8.4 → 6.0.1

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/README.md +1 -1
  2. package/package.json +15 -7
package/README.md CHANGED
@@ -135,7 +135,7 @@ Install [`eslint-plugin-node-security`](https://www.npmjs.com/package/eslint-plu
135
135
  | :------ | :--------------------------------------------------------------- |
136
136
  | oxlint | verified on `1.90.0`: CI loads every rule ID through `jsPlugins` |
137
137
  | Vite+ | `lint.jsPlugins` in `vite.config.ts` |
138
- | Node.js | `>=18.0.0` |
138
+ | Node.js | `>=22.13.0` |
139
139
 
140
140
  ## Rules
141
141
 
package/package.json CHANGED
@@ -1,10 +1,22 @@
1
1
  {
2
2
  "name": "oxlint-plugin-node-security",
3
- "version": "5.8.4",
3
+ "version": "6.0.1",
4
4
  "description": "The node-security rules for oxlint and Vite+. Same rules and rule IDs as eslint-plugin-node-security.",
5
5
  "type": "commonjs",
6
+ "sideEffects": false,
6
7
  "main": "./index.js",
7
8
  "types": "./index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./index.d.ts",
12
+ "default": "./index.js"
13
+ },
14
+ "./index.js": {
15
+ "types": "./index.d.ts",
16
+ "default": "./index.js"
17
+ },
18
+ "./package.json": "./package.json"
19
+ },
8
20
  "files": [
9
21
  "index.js",
10
22
  "index.d.ts",
@@ -60,16 +72,12 @@
60
72
  "author": "Ofri Peretz <ofriperetzdev@gmail.com>",
61
73
  "license": "MIT",
62
74
  "engines": {
63
- "node": ">=18.0.0"
64
- },
65
- "funding": {
66
- "type": "github",
67
- "url": "git+https://github.com/ofri-peretz/eslint.git"
75
+ "node": ">=22.13.0"
68
76
  },
69
77
  "publishConfig": {
70
78
  "access": "public"
71
79
  },
72
80
  "dependencies": {
73
- "eslint-plugin-node-security": "5.8.4"
81
+ "eslint-plugin-node-security": "6.0.1"
74
82
  }
75
83
  }