eslint-plugin-package-json 0.43.0 → 0.43.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.
package/CHANGELOG.md CHANGED
@@ -1,11 +1,23 @@
1
1
  # Changelog
2
2
 
3
- # [0.43.0](https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/compare/v0.42.1...v0.43.0) (2025-07-02)
3
+ ## [0.43.2](https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/compare/v0.43.1...v0.43.2) (2025-07-04)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **deps:** update dependency package-json-validator to ~0.18.0 ([#1160](https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/issues/1160)) ([dfebe75](https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/commit/dfebe75f2fa7778ba188580a0d33ce0d8e151413))
4
9
 
10
+ ## [0.43.1](https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/compare/v0.43.0...v0.43.1) (2025-07-03)
11
+
12
+ ### Bug Fixes
13
+
14
+ - disallow extra properties in rule options ([#1156](https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/issues/1156)) ([4186e96](https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/commit/4186e960c17a5397ac916184fc4341f9b26fc3d0))
15
+
16
+ # [0.43.0](https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/compare/v0.42.1...v0.43.0) (2025-07-02)
5
17
 
6
18
  ### Features
7
19
 
8
- * **valid-scripts:** add new rule for validating scripts ([#1138](https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/issues/1138)) ([99cc2a5](https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/commit/99cc2a5d069bfff53885f0717b8a635767cb2c19)), closes [#839](https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/issues/839)
20
+ - **valid-scripts:** add new rule for validating scripts ([#1138](https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/issues/1138)) ([99cc2a5](https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/commit/99cc2a5d069bfff53885f0717b8a635767cb2c19)), closes [#839](https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/issues/839)
9
21
 
10
22
  ## [0.42.1](https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/compare/v0.42.0...v0.42.1) (2025-07-01)
11
23
 
@@ -96,6 +96,7 @@ const rule = createRule({
96
96
  },
97
97
  schema: [
98
98
  {
99
+ additionalProperties: false,
99
100
  properties: {
100
101
  order: {
101
102
  anyOf: [
@@ -101,6 +101,7 @@ const rule = createRule({
101
101
  },
102
102
  schema: [
103
103
  {
104
+ additionalProperties: false,
104
105
  properties: {
105
106
  form: {
106
107
  enum: ["object", "shorthand"],
@@ -64,6 +64,7 @@ const rule = createRule({
64
64
  },
65
65
  schema: [
66
66
  {
67
+ additionalProperties: false,
67
68
  properties: {
68
69
  enforceCase: {
69
70
  default: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-package-json",
3
- "version": "0.43.0",
3
+ "version": "0.43.2",
4
4
  "description": "Rules for consistent, readable, and valid package.json files. 🗂️",
5
5
  "homepage": "https://github.com/JoshuaKGoldberg/eslint-plugin-package-json#readme",
6
6
  "bugs": {
@@ -49,7 +49,7 @@
49
49
  "detect-indent": "^7.0.1",
50
50
  "detect-newline": "^4.0.1",
51
51
  "eslint-fix-utils": "~0.4.0",
52
- "package-json-validator": "~0.17.0",
52
+ "package-json-validator": "~0.18.0",
53
53
  "semver": "^7.5.4",
54
54
  "sort-object-keys": "^1.1.3",
55
55
  "sort-package-json": "^3.0.0",
@@ -57,7 +57,7 @@
57
57
  },
58
58
  "devDependencies": {
59
59
  "@eslint-community/eslint-plugin-eslint-comments": "4.5.0",
60
- "@eslint/js": "9.29.0",
60
+ "@eslint/js": "9.30.0",
61
61
  "@release-it/conventional-changelog": "10.0.0",
62
62
  "@types/eslint-plugin-markdown": "2.0.2",
63
63
  "@types/estree": "1.0.7",
@@ -66,10 +66,10 @@
66
66
  "@types/sort-object-keys": "1.1.3",
67
67
  "@types/validate-npm-package-name": "4.0.2",
68
68
  "@vitest/coverage-v8": "3.2.0",
69
- "@vitest/eslint-plugin": "1.2.0",
69
+ "@vitest/eslint-plugin": "1.3.3",
70
70
  "console-fail-test": "0.5.0",
71
- "create-typescript-app": "2.42.0",
72
- "eslint": "9.29.0",
71
+ "create-typescript-app": "2.46.1",
72
+ "eslint": "9.30.0",
73
73
  "eslint-doc-generator": "2.2.0",
74
74
  "eslint-plugin-eslint-plugin": "6.5.0",
75
75
  "eslint-plugin-jsdoc": "51.2.1",
@@ -89,7 +89,7 @@
89
89
  "prettier": "3.6.0",
90
90
  "prettier-plugin-curly": "0.3.1",
91
91
  "prettier-plugin-packagejson": "2.5.10",
92
- "prettier-plugin-sh": "0.17.1",
92
+ "prettier-plugin-sh": "0.18.0",
93
93
  "release-it": "19.0.1",
94
94
  "sentences-per-line": "0.3.0",
95
95
  "tsup": "8.5.0",