Skip to content

Commit

Permalink
fix(compat): update patch for typescript@4.9.4 (#5127)
Browse files Browse the repository at this point in the history
  • Loading branch information
merceyz committed Dec 9, 2022
1 parent 97f5ae1 commit 2e625d5
Show file tree
Hide file tree
Showing 15 changed files with 3,126 additions and 40 deletions.
28 changes: 14 additions & 14 deletions .pnp.cjs

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

Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion .yarn/sdks/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typescript",
"version": "4.9.2-rc-sdk",
"version": "4.9.4-sdk",
"main": "./lib/typescript.js",
"type": "commonjs"
}
23 changes: 23 additions & 0 deletions .yarn/versions/34615a3d.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
releases:
"@yarnpkg/cli": patch
"@yarnpkg/plugin-compat": patch

declined:
- "@yarnpkg/plugin-constraints"
- "@yarnpkg/plugin-dlx"
- "@yarnpkg/plugin-essentials"
- "@yarnpkg/plugin-init"
- "@yarnpkg/plugin-interactive-tools"
- "@yarnpkg/plugin-nm"
- "@yarnpkg/plugin-npm-cli"
- "@yarnpkg/plugin-pack"
- "@yarnpkg/plugin-patch"
- "@yarnpkg/plugin-pnp"
- "@yarnpkg/plugin-pnpm"
- "@yarnpkg/plugin-stage"
- "@yarnpkg/plugin-typescript"
- "@yarnpkg/plugin-version"
- "@yarnpkg/plugin-workspace-tools"
- "@yarnpkg/builder"
- "@yarnpkg/core"
- "@yarnpkg/doctor"
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ Yarn now accepts sponsorships! Please give a look at our [OpenCollective](https:

- The `pnpm` linker no longer reports duplicate "incompatible virtual" warnings.

### Compatibility

- Updates the PnP compatibility layer for TypeScript v4.9.4.

## 3.3.0

### Installs
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"jest-junit": "^10.0.0",
"micromatch": "^4.0.2",
"tslib": "^1.13.0",
"typescript": "4.9.2-rc"
"typescript": "4.9.4"
},
"resolutions": {
"yoga-layout-prebuilt": "patch:yoga-layout-prebuilt@1.10.0#./.yarn/patches/yoga-layout-prebuilt.patch"
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"typedoc": "next",
"typedoc-neo-theme": "^1.0.7",
"typedoc-plugin-yarn": "portal:./typedoc-plugin-yarn",
"typescript": "4.9.2-rc",
"typescript": "4.9.4",
"unescape-html": "^1.1.0",
"unfetch": "^4.1.0",
"unified": "^7.1.0",
Expand Down
11 changes: 9 additions & 2 deletions packages/plugin-compat/extra/typescript/gen-typescript-patch.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,19 @@ const SLICES = [
onto: `549b5429d4837344e8c99657109bb6538fd2dbb5`,
range: `>=4.9.1-beta <4.9.2-rc`,
},
// https://github.com/merceyz/TypeScript/tree/merceyz/pnp-4.9
// https://github.com/merceyz/TypeScript/tree/merceyz/pnp-4.9-rc
{
from: `5613f8d8e30dfa9fb3da15e2b8432ed7e2347a12`,
to: `5613f8d8e30dfa9fb3da15e2b8432ed7e2347a12`,
onto: `107f832b80df2dc97748021cb00af2b6813db75b`,
range: `>=4.9.2-rc`,
range: `>=4.9.2-rc <4.9.4`,
},
// https://github.com/merceyz/TypeScript/tree/merceyz/pnp-4.9
{
from: `a0859a75a408ec95222a3f0175ba0644d60396f1`,
to: `a0859a75a408ec95222a3f0175ba0644d60396f1`,
onto: `e2868216f637e875a74c675845625eb15dcfe9a2`,
range: `>=4.9.4`,
},
];

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
diff --git a/lib/tsc.js b/lib/tsc.js
index c2c5c03f3..e0fe07b55 100644
semver exclusivity >=4.9.2-rc
semver exclusivity >=4.9.2-rc <4.9.4
--- a/lib/tsc.js
+++ b/lib/tsc.js
@@ -4691,6 +4691,9 @@ var ts;
Expand Down Expand Up @@ -306,7 +306,7 @@ semver exclusivity >=4.9.2-rc
synchronizeProgram();
diff --git a/lib/tsserver.js b/lib/tsserver.js
index fc48171a6..cf705f299 100644
semver exclusivity >=4.9.2-rc
semver exclusivity >=4.9.2-rc <4.9.4
--- a/lib/tsserver.js
+++ b/lib/tsserver.js
@@ -7303,6 +7303,11 @@ var ts;
Expand Down Expand Up @@ -977,7 +977,7 @@ semver exclusivity >=4.9.2-rc
// We have to schedule this event to the next tick
diff --git a/lib/tsserverlibrary.js b/lib/tsserverlibrary.js
index ec521e9cc..aed501c4c 100644
semver exclusivity >=4.9.2-rc
semver exclusivity >=4.9.2-rc <4.9.4
--- a/lib/tsserverlibrary.js
+++ b/lib/tsserverlibrary.js
@@ -7302,6 +7302,11 @@ var ts;
Expand Down Expand Up @@ -1624,7 +1624,7 @@ semver exclusivity >=4.9.2-rc
var watchers = this.packageJsonFilesMap || (this.packageJsonFilesMap = new ts.Map());
diff --git a/lib/typescript.js b/lib/typescript.js
index 530b87683..78b127f0a 100644
semver exclusivity >=4.9.2-rc
semver exclusivity >=4.9.2-rc <4.9.4
--- a/lib/typescript.js
+++ b/lib/typescript.js
@@ -7293,6 +7293,11 @@ var ts;
Expand Down Expand Up @@ -2167,7 +2167,7 @@ semver exclusivity >=4.9.2-rc
});
diff --git a/lib/typescriptServices.js b/lib/typescriptServices.js
index 59e716a7b..86a522796 100644
semver exclusivity >=4.9.2-rc
semver exclusivity >=4.9.2-rc <4.9.4
--- a/lib/typescriptServices.js
+++ b/lib/typescriptServices.js
@@ -7293,6 +7293,11 @@ var ts;
Expand Down Expand Up @@ -2710,7 +2710,7 @@ semver exclusivity >=4.9.2-rc
});
diff --git a/lib/typingsInstaller.js b/lib/typingsInstaller.js
index ed96b5050..8d8200f20 100644
semver exclusivity >=4.9.2-rc
semver exclusivity >=4.9.2-rc <4.9.4
--- a/lib/typingsInstaller.js
+++ b/lib/typingsInstaller.js
@@ -7283,6 +7283,11 @@ var ts;
Expand Down

0 comments on commit 2e625d5

Please sign in to comment.