Skip to content

Commit

Permalink
[core] Upgrade tshy to ^1.13.0 (Azure#29111)
Browse files Browse the repository at this point in the history
### 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).
  • Loading branch information
timovv authored Mar 28, 2024
1 parent 7d80b35 commit 0725abe
Show file tree
Hide file tree
Showing 42 changed files with 71 additions and 58 deletions.
61 changes: 31 additions & 30 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion sdk/core/abort-controller/.tshy/build.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "../tsconfig.json",
"compilerOptions": {
"rootDir": "../src",
"target": "es2022",
"module": "nodenext",
"moduleResolution": "nodenext"
}
Expand Down
2 changes: 2 additions & 0 deletions sdk/core/abort-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

### Other Changes

- Revert TypeScript output target to ES2017.

## 2.1.1 (2024-03-20)

### Other Changes
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/abort-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"playwright": "^1.41.2",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"tshy": "^1.11.1",
"tshy": "^1.13.0",
"typescript": "~5.3.3",
"vitest": "^1.3.1"
},
Expand Down
1 change: 0 additions & 1 deletion sdk/core/core-auth/.tshy/build.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "../tsconfig.json",
"compilerOptions": {
"rootDir": "../src",
"target": "es2022",
"module": "nodenext",
"moduleResolution": "nodenext"
}
Expand Down
2 changes: 2 additions & 0 deletions sdk/core/core-auth/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

### Other Changes

- Revert TypeScript output target to ES2017.

## 1.7.1 (2024-03-20)

### Other Changes
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/core-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"playwright": "^1.41.2",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"tshy": "^1.11.1",
"tshy": "^1.13.0",
"typescript": "~5.3.3",
"vitest": "^1.3.1"
},
Expand Down
1 change: 0 additions & 1 deletion sdk/core/core-client-rest/.tshy/build.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "../tsconfig.json",
"compilerOptions": {
"rootDir": "../src",
"target": "es2022",
"module": "nodenext",
"moduleResolution": "nodenext"
}
Expand Down
2 changes: 2 additions & 0 deletions sdk/core/core-client-rest/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

### Other Changes

- Revert TypeScript output target to ES2017.

## 1.3.1 (2024-03-20)

### Other Changes
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/core-client-rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"playwright": "^1.41.2",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"tshy": "^1.11.1",
"tshy": "^1.13.0",
"typescript": "~5.3.3",
"vitest": "^1.3.1"
},
Expand Down
1 change: 0 additions & 1 deletion sdk/core/core-client/.tshy/build.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "../tsconfig.json",
"compilerOptions": {
"rootDir": "../src",
"target": "es2022",
"module": "nodenext",
"moduleResolution": "nodenext"
}
Expand Down
2 changes: 2 additions & 0 deletions sdk/core/core-client/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

### Other Changes

- Revert TypeScript output target to ES2017.

## 1.9.1 (2024-03-20)

### Bugs Fixed
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/core-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"playwright": "^1.41.2",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"tshy": "^1.11.1",
"tshy": "^1.13.0",
"typescript": "~5.3.3",
"vitest": "^1.3.1"
},
Expand Down
1 change: 0 additions & 1 deletion sdk/core/core-http-compat/.tshy/build.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "../tsconfig.json",
"compilerOptions": {
"rootDir": "../src",
"target": "es2022",
"module": "nodenext",
"moduleResolution": "nodenext"
}
Expand Down
2 changes: 2 additions & 0 deletions sdk/core/core-http-compat/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

### Other Changes

- Revert TypeScript output target to ES2017.

## 2.1.1 (2024-03-20)

### Other Changes
Expand Down
Loading

0 comments on commit 0725abe

Please sign in to comment.