oxlint-plugin-anthropic-security 2.0.0 → 2.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-anthropic-security",
3
- "version": "2.0.0",
4
- "description": "The anthropic-security rules for oxlint and Vite+. Same rules and rule IDs as eslint-plugin-anthropic-security.",
3
+ "version": "2.0.2",
4
+ "description": "Oxlint Anthropic SDK security rules — catches hardcoded Claude API keys, the browser escape hatch that ships them to every visitor, and system prompts assembled from untrusted input. Same rules and rule IDs as eslint-plugin-anthropic-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",
@@ -50,14 +62,10 @@
50
62
  "engines": {
51
63
  "node": ">=22.13.0"
52
64
  },
53
- "funding": {
54
- "type": "github",
55
- "url": "https://github.com/ofri-peretz/eslint"
56
- },
57
65
  "publishConfig": {
58
66
  "access": "public"
59
67
  },
60
68
  "dependencies": {
61
- "eslint-plugin-anthropic-security": "2.0.0"
69
+ "eslint-plugin-anthropic-security": "2.0.2"
62
70
  }
63
71
  }