oxlint-plugin-browser-security 3.0.0 → 3.0.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 (1) hide show
  1. package/package.json +15 -7
package/package.json CHANGED
@@ -1,10 +1,22 @@
1
1
  {
2
2
  "name": "oxlint-plugin-browser-security",
3
- "version": "3.0.0",
4
- "description": "The browser-security rules for oxlint and Vite+. Same rules and rule IDs as eslint-plugin-browser-security.",
3
+ "version": "3.0.2",
4
+ "description": "Oxlint browser security and XSS rules — detects DOM XSS, postMessage abuse, tokens in localStorage, insecure cookies, clickjacking, mixed content, and CSP gaps. Same rules and rule IDs as eslint-plugin-browser-security, for oxlint and Vite+.",
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,14 +73,10 @@
61
73
  "engines": {
62
74
  "node": ">=22.13.0"
63
75
  },
64
- "funding": {
65
- "type": "github",
66
- "url": "git+https://github.com/ofri-peretz/eslint.git"
67
- },
68
76
  "publishConfig": {
69
77
  "access": "public"
70
78
  },
71
79
  "dependencies": {
72
- "eslint-plugin-browser-security": "3.0.0"
80
+ "eslint-plugin-browser-security": "3.0.2"
73
81
  }
74
82
  }