@automattic/eslint-config-target-es 1.0.2 → 1.0.4

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,16 @@ 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
+ ## [1.0.4] - 2022-11-01
9
+ ### Changed
10
+ - Updated package dependencies.
11
+
12
+ ## [1.0.3] - 2022-07-06
13
+ ### Changed
14
+ - Reorder JS imports for `import/order` eslint rule. [#24601]
15
+ - Update package.json metadata. [#23990]
16
+ - Updated package dependencies.
17
+
8
18
  ## [1.0.2] - 2022-04-05
9
19
  ### Removed
10
20
  - Removed eslint from devDependencies
@@ -18,5 +28,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
18
28
  ### Added
19
29
  - Initial release.
20
30
 
31
+ [1.0.4]: https://github.com/Automattic/eslint-config-target-es/compare/1.0.3...1.0.4
32
+ [1.0.3]: https://github.com/Automattic/eslint-config-target-es/compare/1.0.2...1.0.3
21
33
  [1.0.2]: https://github.com/Automattic/eslint-config-target-es/compare/1.0.1...1.0.2
22
34
  [1.0.1]: https://github.com/Automattic/eslint-config-target-es/compare/1.0.0...1.0.1
package/package.json CHANGED
@@ -1,14 +1,15 @@
1
1
  {
2
2
  "name": "@automattic/eslint-config-target-es",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "ESLint sharable config to activate eslint-plugin-es checks based on browserslist targets.",
5
5
  "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/eslint-config-target-es/README.md#readme",
6
6
  "bugs": {
7
- "url": "https://github.com/Automattic/jetpack/issues"
7
+ "url": "https://github.com/Automattic/jetpack/labels/[JS Package] Eslint Config Target Es"
8
8
  },
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "https://github.com/Automattic/jetpack.git"
11
+ "url": "https://github.com/Automattic/jetpack.git",
12
+ "directory": "projects/js-packages/eslint-config-target-es"
12
13
  },
13
14
  "license": "GPL-2.0-or-later",
14
15
  "author": "Automattic",
@@ -17,15 +18,16 @@
17
18
  "test-coverage": "jest tests --coverage --collectCoverageFrom='src/**/*.js' --coverageDirectory=\"$COVERAGE_DIR\" --coverageReporters=clover"
18
19
  },
19
20
  "dependencies": {
20
- "@mdn/browser-compat-data": "4.1.14",
21
+ "@mdn/browser-compat-data": "4.2.1",
21
22
  "browserslist": "^4.17.6",
22
23
  "debug": "^4.3.2",
23
24
  "semver": "^7.3.5"
24
25
  },
25
26
  "devDependencies": {
26
- "@wordpress/browserslist-config": "4.1.2",
27
+ "@wordpress/browserslist-config": "5.3.0",
28
+ "eslint": "8.22.0",
27
29
  "eslint-plugin-es": "4.1.0",
28
- "jest": "27.3.1"
30
+ "jest": "28.1.0"
29
31
  },
30
32
  "peerDependencies": {
31
33
  "eslint": ">=4.19.1",
package/src/funcs.js CHANGED
@@ -1,8 +1,8 @@
1
+ const mdn = require( '@mdn/browser-compat-data' );
1
2
  const browserslist = require( 'browserslist' );
2
3
  const debug = require( 'debug' );
3
- const mdn = require( '@mdn/browser-compat-data' );
4
- const semver = require( 'semver' );
5
4
  const { rules: esRules } = require( 'eslint-plugin-es' );
5
+ const semver = require( 'semver' );
6
6
  const browsersMap = require( './browsersMap.js' );
7
7
  const rulesMap = require( './rulesMap.js' );
8
8