eslint-plugin-baseline-js 0.3.0 → 0.4.0

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 (5) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +18 -4
  3. package/dist/index.cjs +30872 -30411
  4. package/dist/index.mjs +30872 -30411
  5. package/package.json +19 -13
package/package.json CHANGED
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "name": "eslint-plugin-baseline-js",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Enforce JavaScript Baseline (widely/newly/year) browser compatibility with a single ESLint rule. Prevent runtime errors by catching unsupported JavaScript features during development.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "exports": {
8
8
  ".": {
9
- "types": "./dist/index.d.mts",
10
9
  "import": "./dist/index.mjs",
11
10
  "require": "./dist/index.cjs"
12
11
  }
@@ -27,33 +26,35 @@
27
26
  "format": "biome format --write .",
28
27
  "format:check": "biome check --formatter-enabled=true --linter-enabled=false .",
29
28
  "format:imports": "biome check --fix --unsafe .",
29
+ "gen:data": "pnpm gen:features && pnpm gen:features:api && pnpm gen:features:jsbi && pnpm gen:descriptors",
30
30
  "gen:coverage": "node scripts/coverage/generate-coverage.mjs",
31
31
  "gen:features": "node scripts/data/build-features.mjs",
32
32
  "gen:features:api": "node scripts/data/build-features-api.mjs",
33
33
  "gen:features:jsbi": "node scripts/data/build-features-jsbi.mjs",
34
34
  "gen:descriptors": "node scripts/data/build-descriptors.mjs",
35
- "pretest": "pnpm -s build",
35
+ "update:baseline": "pnpm gen:data && pnpm gen:coverage && pnpm format",
36
+ "pretest": "pnpm build",
36
37
  "test": "vitest run",
37
- "test:watch": "pnpm -s build && vitest",
38
+ "test:watch": "pnpm build && vitest",
38
39
  "typecheck": "tsc -p tsconfig.json --noEmit",
39
40
  "verify:features": "node scripts/data/verify-features.mjs"
40
41
  },
41
42
  "dependencies": {
42
- "eslint-plugin-es-x": "^9.1.0"
43
+ "eslint-plugin-es-x": "^9.1.1"
43
44
  },
44
45
  "devDependencies": {
45
- "eslint": "^9.12.0",
46
- "@biomejs/biome": "^2.2.4",
46
+ "@biomejs/biome": "^2.2.6",
47
47
  "@semantic-release/changelog": "^6.0.3",
48
48
  "@semantic-release/git": "^10.0.1",
49
49
  "@types/eslint": "^9.6.1",
50
- "@types/node": "^24.4.0",
51
- "@typescript-eslint/parser": "^8.43.0",
52
- "semantic-release": "^24.2.7",
53
- "tsdown": "v0.15.1",
54
- "typescript": "^5.4.0",
50
+ "@types/node": "^24.8.1",
51
+ "@typescript-eslint/parser": "^8.46.1",
52
+ "eslint": "^9.37.0",
53
+ "semantic-release": "^24.2.9",
54
+ "tsdown": "0.15.1",
55
+ "typescript": "^5.9.3",
55
56
  "vitest": "^3.2.4",
56
- "web-features": "3.0.0"
57
+ "web-features": "3.5.0"
57
58
  },
58
59
  "peerDependencies": {
59
60
  "eslint": ">=8.57.0 <10"
@@ -83,5 +84,10 @@
83
84
  "repository": {
84
85
  "type": "git",
85
86
  "url": "git+https://github.com/3ru/eslint-plugin-baseline-js.git"
87
+ },
88
+ "publishConfig": {
89
+ "registry": "https://registry.npmjs.org/",
90
+ "provenance": true,
91
+ "access": "public"
86
92
  }
87
93
  }