oxlint-plugin-jwt-security 3.6.1 → 4.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
@@ -101,7 +101,7 @@ Install [`eslint-plugin-jwt-security`](https://www.npmjs.com/package/eslint-plug
101
101
  | :------ | :--------------------------------------------------------------- |
102
102
  | oxlint | verified on `1.90.0`: CI loads every rule ID through `jsPlugins` |
103
103
  | Vite+ | `lint.jsPlugins` in `vite.config.ts` |
104
- | Node.js | `>=18.0.0` |
104
+ | Node.js | `>=22.13.0` |
105
105
 
106
106
  ## Rules
107
107
 
package/package.json CHANGED
@@ -1,10 +1,22 @@
1
1
  {
2
2
  "name": "oxlint-plugin-jwt-security",
3
- "version": "3.6.1",
3
+ "version": "4.0.1",
4
4
  "description": "The jwt-security rules for oxlint and Vite+. Same rules and rule IDs as eslint-plugin-jwt-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",
@@ -61,16 +73,12 @@
61
73
  "author": "Ofri Peretz <ofriperetzdev@gmail.com>",
62
74
  "license": "MIT",
63
75
  "engines": {
64
- "node": ">=18.0.0"
65
- },
66
- "funding": {
67
- "type": "github",
68
- "url": "https://github.com/ofri-peretz/eslint"
76
+ "node": ">=22.13.0"
69
77
  },
70
78
  "publishConfig": {
71
79
  "access": "public"
72
80
  },
73
81
  "dependencies": {
74
- "eslint-plugin-jwt-security": "3.6.1"
82
+ "eslint-plugin-jwt-security": "4.0.1"
75
83
  }
76
84
  }