@atlaskit/eslint-plugin-platform 0.5.0 → 0.6.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.
- package/CHANGELOG.md +6 -0
- package/dist/cjs/rules/ensure-critical-dependency-resolutions/index.js +1 -1
- package/dist/es2019/rules/ensure-critical-dependency-resolutions/index.js +1 -1
- package/dist/esm/rules/ensure-critical-dependency-resolutions/index.js +1 -1
- package/package.json +2 -2
- package/src/rules/ensure-critical-dependency-resolutions/index.tsx +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/eslint-plugin-platform
|
|
2
2
|
|
|
3
|
+
## 0.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#82550](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/82550) [`f0948af9e586`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f0948af9e586) - Allow typescript upgrade to 5.x
|
|
8
|
+
|
|
3
9
|
## 0.5.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -13,7 +13,7 @@ var _handleAstObject = require("../util/handle-ast-object");
|
|
|
13
13
|
// Here we only need to specify the major and minor versions
|
|
14
14
|
// In matchMinorVersion, we will check if the versions in resolutions fall in the right ranges.
|
|
15
15
|
var DESIRED_PKG_VERSIONS = {
|
|
16
|
-
typescript: ['4.9'],
|
|
16
|
+
typescript: ['4.9', '5.4'],
|
|
17
17
|
'@types/react': ['16.14', '18.2']
|
|
18
18
|
};
|
|
19
19
|
var matchMinorVersion = function matchMinorVersion(desiredVersion, versionInResolutions) {
|
|
@@ -6,7 +6,7 @@ import { getObjectPropertyAsObject } from '../util/handle-ast-object';
|
|
|
6
6
|
// Here we only need to specify the major and minor versions
|
|
7
7
|
// In matchMinorVersion, we will check if the versions in resolutions fall in the right ranges.
|
|
8
8
|
const DESIRED_PKG_VERSIONS = {
|
|
9
|
-
typescript: ['4.9'],
|
|
9
|
+
typescript: ['4.9', '5.4'],
|
|
10
10
|
'@types/react': ['16.14', '18.2']
|
|
11
11
|
};
|
|
12
12
|
const matchMinorVersion = (desiredVersion, versionInResolutions) => {
|
|
@@ -7,7 +7,7 @@ import { getObjectPropertyAsObject } from '../util/handle-ast-object';
|
|
|
7
7
|
// Here we only need to specify the major and minor versions
|
|
8
8
|
// In matchMinorVersion, we will check if the versions in resolutions fall in the right ranges.
|
|
9
9
|
var DESIRED_PKG_VERSIONS = {
|
|
10
|
-
typescript: ['4.9'],
|
|
10
|
+
typescript: ['4.9', '5.4'],
|
|
11
11
|
'@types/react': ['16.14', '18.2']
|
|
12
12
|
};
|
|
13
13
|
var matchMinorVersion = function matchMinorVersion(desiredVersion, versionInResolutions) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/eslint-plugin-platform",
|
|
3
3
|
"description": "The essential plugin for use with Atlassian frontend platform tools",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.6.0",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"atlassian": {
|
|
7
7
|
"team": "UIP - Platform Integration Trust (PITa)",
|
|
@@ -42,4 +42,4 @@
|
|
|
42
42
|
"tsconfig-paths": "^4.2.0"
|
|
43
43
|
},
|
|
44
44
|
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
|
|
45
|
-
}
|
|
45
|
+
}
|
|
@@ -7,7 +7,7 @@ import { getObjectPropertyAsObject } from '../util/handle-ast-object';
|
|
|
7
7
|
// Here we only need to specify the major and minor versions
|
|
8
8
|
// In matchMinorVersion, we will check if the versions in resolutions fall in the right ranges.
|
|
9
9
|
const DESIRED_PKG_VERSIONS: Record<string, string[]> = {
|
|
10
|
-
typescript: ['4.9'],
|
|
10
|
+
typescript: ['4.9', '5.4'],
|
|
11
11
|
'@types/react': ['16.14', '18.2'],
|
|
12
12
|
};
|
|
13
13
|
|