Skip to content

Commit 0725abe

Browse files
authored
[core] Upgrade tshy to ^1.13.0 (Azure#29111)
### Packages impacted by this PR - Core packages using ESM migration ### Issues associated with this PR - Azure#28940 - Azure#28918 ### Describe the problem that is addressed by this PR Upgrade to new version of `tshy` which does not force `target` to `ES2022` (see [PR](isaacs/tshy#55)). This should resolve some issues for people whose environments do not support newer syntax (e.g. Node 14 and the Webpack 4 bundler).
1 parent 7d80b35 commit 0725abe

File tree

42 files changed

+71
-58
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+71
-58
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 31 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/core/abort-controller/.tshy/build.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"extends": "../tsconfig.json",
33
"compilerOptions": {
44
"rootDir": "../src",
5-
"target": "es2022",
65
"module": "nodenext",
76
"moduleResolution": "nodenext"
87
}

sdk/core/abort-controller/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
### Other Changes
1212

13+
- Revert TypeScript output target to ES2017.
14+
1315
## 2.1.1 (2024-03-20)
1416

1517
### Other Changes

sdk/core/abort-controller/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
"playwright": "^1.41.2",
9292
"prettier": "^3.2.5",
9393
"rimraf": "^5.0.5",
94-
"tshy": "^1.11.1",
94+
"tshy": "^1.13.0",
9595
"typescript": "~5.3.3",
9696
"vitest": "^1.3.1"
9797
},

sdk/core/core-auth/.tshy/build.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"extends": "../tsconfig.json",
33
"compilerOptions": {
44
"rootDir": "../src",
5-
"target": "es2022",
65
"module": "nodenext",
76
"moduleResolution": "nodenext"
87
}

sdk/core/core-auth/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
### Other Changes
1212

13+
- Revert TypeScript output target to ES2017.
14+
1315
## 1.7.1 (2024-03-20)
1416

1517
### Other Changes

sdk/core/core-auth/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"playwright": "^1.41.2",
8888
"prettier": "^3.2.5",
8989
"rimraf": "^5.0.5",
90-
"tshy": "^1.11.1",
90+
"tshy": "^1.13.0",
9191
"typescript": "~5.3.3",
9292
"vitest": "^1.3.1"
9393
},

sdk/core/core-client-rest/.tshy/build.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"extends": "../tsconfig.json",
33
"compilerOptions": {
44
"rootDir": "../src",
5-
"target": "es2022",
65
"module": "nodenext",
76
"moduleResolution": "nodenext"
87
}

sdk/core/core-client-rest/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
### Other Changes
1212

13+
- Revert TypeScript output target to ES2017.
14+
1315
## 1.3.1 (2024-03-20)
1416

1517
### Other Changes

sdk/core/core-client-rest/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
"playwright": "^1.41.2",
9191
"prettier": "^3.2.5",
9292
"rimraf": "^5.0.5",
93-
"tshy": "^1.11.1",
93+
"tshy": "^1.13.0",
9494
"typescript": "~5.3.3",
9595
"vitest": "^1.3.1"
9696
},

0 commit comments

Comments
 (0)