@automattic/eslint-config-target-es 4.0.0 → 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.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [4.0.1] - 2025-10-13
9
+ ### Changed
10
+ - Update package dependencies. [#44677] [#44701] [#44892] [#45027] [#45229] [#45242]
11
+
8
12
  ## [4.0.0] - 2025-08-06
9
13
  ### Added
10
14
  - Enable new rules from `eslint-plugin-es-x'. [#44288]
@@ -98,6 +102,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
98
102
  ### Added
99
103
  - Initial release.
100
104
 
105
+ [4.0.1]: https://github.com/Automattic/eslint-config-target-es/compare/4.0.0...4.0.1
101
106
  [4.0.0]: https://github.com/Automattic/eslint-config-target-es/compare/3.0.0...4.0.0
102
107
  [3.0.0]: https://github.com/Automattic/eslint-config-target-es/compare/2.2.2...3.0.0
103
108
  [2.2.2]: https://github.com/Automattic/eslint-config-target-es/compare/2.2.1...2.2.2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/eslint-config-target-es",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "ESLint sharable config to activate eslint-plugin-es-x checks based on browserslist targets.",
5
5
  "keywords": [
6
6
  "eslint",
@@ -38,15 +38,15 @@
38
38
  "test-coverage": "pnpm run test --coverage"
39
39
  },
40
40
  "dependencies": {
41
- "@mdn/browser-compat-data": "6.0.31",
41
+ "@mdn/browser-compat-data": "6.1.4",
42
42
  "browserslist": "^4.17.6",
43
43
  "debug": "^4.3.2",
44
44
  "semver": "^7.3.5"
45
45
  },
46
46
  "devDependencies": {
47
- "@wordpress/browserslist-config": "6.26.0",
48
- "eslint": "9.32.0",
49
- "eslint-plugin-es-x": "9.0.0",
47
+ "@wordpress/browserslist-config": "6.31.0",
48
+ "eslint": "9.35.0",
49
+ "eslint-plugin-es-x": "9.1.0",
50
50
  "globals": "16.0.0",
51
51
  "jest": "30.0.4"
52
52
  },
package/src/rulesMap.js CHANGED
@@ -211,6 +211,12 @@ module.exports = {
211
211
  'javascript.statements.function.trailing_comma_in_parameters',
212
212
  'javascript.statements.generator_function.trailing_comma_in_parameters',
213
213
  ],
214
+ 'no-uint8array-frombase64': 'javascript.builtins.Uint8Array.fromBase64',
215
+ 'no-uint8array-fromhex': 'javascript.builtins.Uint8Array.fromHex',
216
+ 'no-uint8array-prototype-setfrombase64': 'javascript.builtins.Uint8Array.setFromBase64',
217
+ 'no-uint8array-prototype-setfromhex': 'javascript.builtins.Uint8Array.setFromHex',
218
+ 'no-uint8array-prototype-tobase64': 'javascript.builtins.Uint8Array.toBase64',
219
+ 'no-uint8array-prototype-tohex': 'javascript.builtins.Uint8Array.toHex',
214
220
 
215
221
  // ES2016
216
222
  'no-array-prototype-includes': 'javascript.builtins.Array.includes',
@@ -261,6 +267,7 @@ module.exports = {
261
267
  'no-math-log2': 'javascript.builtins.Math.log2',
262
268
  'no-math-sign': 'javascript.builtins.Math.sign',
263
269
  'no-math-sinh': 'javascript.builtins.Math.sinh',
270
+ 'no-math-sumprecise': 'javascript.builtins.Math.sumPrecise',
264
271
  'no-math-tanh': 'javascript.builtins.Math.tanh',
265
272
  'no-math-trunc': 'javascript.builtins.Math.trunc',
266
273
  'no-modules': [ 'javascript.statements.import', 'javascript.statements.export' ],