-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Port of #51626 and #51689 to release-4.9 #51627
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… to determine the version instead of delaying so that new program is not created if file contents have not changed
|
@typescript-bot pack this |
|
Heya @sheetalkamat, I've started to run the tarball bundle task on this PR at 2de171b. You can monitor the build here. |
|
Hey @sheetalkamat, I've packed this into an installable tgz. You can install it for testing by referencing it in your and then running There is also a playground for this build and an npm module you can use via |
|
Apart from my comment, should this be taken out of draft state? |
<h3>Snyk has created this PR to upgrade typescript from 4.9.3 to
4.9.4.</h3>
:information_source: Keep your dependencies up-to-date. This makes it
easier to fix existing vulnerabilities and to more quickly identify and
fix newly disclosed vulnerabilities when they affect your project.
<hr/>
- The recommended version is **1 version** ahead of your current
version.
- The recommended version was released **21 days ago**, on 2022-12-07.
<details>
<summary><b>Release notes</b></summary>
<br/>
<details>
<summary>Package name: <b>typescript</b></summary>
<ul>
<li>
<b>4.9.4</b> - <a
href="https://snyk.io/redirect/github/microsoft/TypeScript/releases/tag/v4.9.4">2022-12-07</a></br><p>For
release notes, check out the <a
href="https://devblogs.microsoft.com/typescript/announcing-typescript-4-9"
rel="nofollow">release announcement</a>.</p>
<p>For the complete list of fixed issues, check out the</p>
<ul>
<li><a
href="https://snyk.io/redirect/github/Microsoft/TypeScript/issues?utf8=%E2%9C%93&q=is%3Aissue+milestone%3A%22TypeScript+4.9.4%22+is%3Aclosed+">fixed
issues query for Typescript v4.9.4</a>.</li>
</ul>
<p>Downloads are available on:</p>
<ul>
<li><a href="https://www.npmjs.com/package/typescript"
rel="nofollow">npm</a></li>
<li><a
href="https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild"
rel="nofollow">NuGet package</a></li>
</ul>
<h2>Changes:</h2>
<ul>
<li><a class="commit-link" data-hovercard-type="commit"
data-hovercard-url="https://github.com/microsoft/TypeScript/commit/e2868216f637e875a74c675845625eb15dcfe9a2/hovercard"
href="https://snyk.io/redirect/github/microsoft/TypeScript/commit/e2868216f637e875a74c675845625eb15dcfe9a2"><tt>e286821</tt></a>
Bump version to 4.9.4 and LKG.</li>
<li><a class="commit-link" data-hovercard-type="commit"
data-hovercard-url="https://github.com/microsoft/TypeScript/commit/eb5419fc8d980859b98553586dfb5f40d811a745/hovercard"
href="https://snyk.io/redirect/github/microsoft/TypeScript/commit/eb5419fc8d980859b98553586dfb5f40d811a745"><tt>eb5419f</tt></a>
Cherry-pick <a class="issue-link js-issue-link" data-error-text="Failed
to load title" data-id="1470241059" data-permission-text="Title is
private" data-url="microsoft/TypeScript#51704"
data-hovercard-type="pull_request"
data-hovercard-url="/microsoft/TypeScript/pull/51704/hovercard"
href="https://snyk.io/redirect/github/microsoft/TypeScript/pull/51704">#51704</a>
to release 4.9 (<a class="issue-link js-issue-link"
data-error-text="Failed to load title" data-id="1471670926"
data-permission-text="Title is private"
data-url="microsoft/TypeScript#51712"
data-hovercard-type="pull_request"
data-hovercard-url="/microsoft/TypeScript/pull/51712/hovercard"
href="https://snyk.io/redirect/github/microsoft/TypeScript/pull/51712">#51712</a>)</li>
<li><a class="commit-link" data-hovercard-type="commit"
data-hovercard-url="https://github.com/microsoft/TypeScript/commit/b4d382b9b12460adf2da4cc0d1429cf19f8dc8be/hovercard"
href="https://snyk.io/redirect/github/microsoft/TypeScript/commit/b4d382b9b12460adf2da4cc0d1429cf19f8dc8be"><tt>b4d382b</tt></a>
Cherry-pick changes for narrowing to tagged literal types.</li>
<li><a class="commit-link" data-hovercard-type="commit"
data-hovercard-url="https://github.com/microsoft/TypeScript/commit/e7a02f43fce47e1a39259ada5460bcc33c8e98b5/hovercard"
href="https://snyk.io/redirect/github/microsoft/TypeScript/commit/e7a02f43fce47e1a39259ada5460bcc33c8e98b5"><tt>e7a02f4</tt></a>
Port of <a class="issue-link js-issue-link" data-error-text="Failed to
load title" data-id="1460570851" data-permission-text="Title is private"
data-url="microsoft/TypeScript#51626"
data-hovercard-type="pull_request"
data-hovercard-url="/microsoft/TypeScript/pull/51626/hovercard"
href="https://snyk.io/redirect/github/microsoft/TypeScript/pull/51626">#51626</a>
and <a class="issue-link js-issue-link" data-error-text="Failed to load
title" data-id="1468824634" data-permission-text="Title is private"
data-url="microsoft/TypeScript#51689"
data-hovercard-type="pull_request"
data-hovercard-url="/microsoft/TypeScript/pull/51689/hovercard"
href="https://snyk.io/redirect/github/microsoft/TypeScript/pull/51689">#51689</a>
to release-4.9 (<a class="issue-link js-issue-link"
data-error-text="Failed to load title" data-id="1460623995"
data-permission-text="Title is private"
data-url="microsoft/TypeScript#51627"
data-hovercard-type="pull_request"
data-hovercard-url="/microsoft/TypeScript/pull/51627/hovercard"
href="https://snyk.io/redirect/github/microsoft/TypeScript/pull/51627">#51627</a>)</li>
<li><a class="commit-link" data-hovercard-type="commit"
data-hovercard-url="https://github.com/microsoft/TypeScript/commit/1727912f0437a7f367d90040fc4b0b4f3efd017a/hovercard"
href="https://snyk.io/redirect/github/microsoft/TypeScript/commit/1727912f0437a7f367d90040fc4b0b4f3efd017a"><tt>1727912</tt></a>
Cherry-pick fix around <code>visitEachChild</code> to release-4.9. (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="1450676017" data-permission-text="Title is private"
data-url="microsoft/TypeScript#51544"
data-hovercard-type="pull_request"
data-hovercard-url="/microsoft/TypeScript/pull/51544/hovercard"
href="https://snyk.io/redirect/github/microsoft/TypeScript/pull/51544">#51544</a>)</li>
</ul>
<p>This list of changes was <a
href="https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_release?releaseId=117&_a=release-summary"
rel="nofollow">auto generated</a>.</p>
</li>
<li>
<b>4.9.3</b> - <a
href="https://snyk.io/redirect/github/microsoft/TypeScript/releases/tag/v4.9.3">2022-11-15</a></br><a
href="https://snyk.io/redirect/github/microsoft/TypeScript/releases/tag/v4.9.3">
Read more </a>
</li>
</ul>
from <a
href="https://snyk.io/redirect/github/Microsoft/TypeScript/releases">typescript
GitHub release notes</a>
</details>
</details>
<hr/>
**Note:** *You are seeing this because you or someone else with access
to this repository has authorized Snyk to open upgrade PRs.*
For more information: <img
src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI3M2VkNGFjNi02YTM0LTQxYzItYWEyZC04Y2JhZmFmZDI1MDciLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjczZWQ0YWM2LTZhMzQtNDFjMi1hYTJkLThjYmFmYWZkMjUwNyJ9fQ=="
width="0" height="0"/>
🧐 [View latest project
report](https://app.snyk.io/org/sandbox-2ba/project/852e6e4f-be96-45c8-b370-1060f5ebee55?utm_source=github&utm_medium=referral&page=upgrade-pr)
🛠 [Adjust upgrade PR
settings](https://app.snyk.io/org/sandbox-2ba/project/852e6e4f-be96-45c8-b370-1060f5ebee55/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr)
🔕 [Ignore this dependency or unsubscribe from future upgrade
PRs](https://app.snyk.io/org/sandbox-2ba/project/852e6e4f-be96-45c8-b370-1060f5ebee55/settings/integration?pkg=typescript&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades)
<!---
(snyk:metadata:{"prId":"73ed4ac6-6a34-41c2-aa2d-8cbafafd2507","prPublicId":"73ed4ac6-6a34-41c2-aa2d-8cbafafd2507","dependencies":[{"name":"typescript","from":"4.9.3","to":"4.9.4"}],"packageManager":"npm","type":"auto","projectUrl":"https://app.snyk.io/org/sandbox-2ba/project/852e6e4f-be96-45c8-b370-1060f5ebee55?utm_source=github&utm_medium=referral&page=upgrade-pr","projectPublicId":"852e6e4f-be96-45c8-b370-1060f5ebee55","env":"prod","prType":"upgrade","vulns":[],"issuesToFix":[],"upgrade":[],"upgradeInfo":{"versionsDiff":1,"publishedDate":"2022-12-07T23:53:20.434Z"},"templateVariants":[],"hasFixes":false,"isMajorUpgrade":false,"isBreakingChange":false,"priorityScoreList":[]})
--->
Co-authored-by: snyk-bot <[email protected]>
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [typescript](https://www.typescriptlang.org/) ([source](https://github.com/Microsoft/TypeScript)) | devDependencies | minor | [`4.8.4` -> `4.9.4`](https://renovatebot.com/diffs/npm/typescript/4.8.4/4.9.4) | --- ### Release Notes <details> <summary>Microsoft/TypeScript</summary> ### [`v4.9.4`](https://github.com/microsoft/TypeScript/releases/tag/v4.9.4): TypeScript 4.9.4 [Compare Source](https://github.com/Microsoft/TypeScript/compare/v4.9.3...v4.9.4) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-4-9). For the complete list of fixed issues, check out the - [fixed issues query for Typescript v4.9.4](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=is%3Aissue+milestone%3A%22TypeScript+4.9.4%22+is%3Aclosed+). Downloads are available on: - [npm](https://www.npmjs.com/package/typescript) - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) #### Changes: - [`e286821`](https://github.com/Microsoft/TypeScript/commit/e2868216f637e875a74c675845625eb15dcfe9a2) Bump version to 4.9.4 and LKG. - [`eb5419f`](https://github.com/Microsoft/TypeScript/commit/eb5419fc8d980859b98553586dfb5f40d811a745) Cherry-pick [#​51704](https://github.com/Microsoft/TypeScript/issues/51704) to release 4.9 ([#​51712](https://github.com/Microsoft/TypeScript/issues/51712)) - [`b4d382b`](https://github.com/Microsoft/TypeScript/commit/b4d382b9b12460adf2da4cc0d1429cf19f8dc8be) Cherry-pick changes for narrowing to tagged literal types. - [`e7a02f4`](https://github.com/Microsoft/TypeScript/commit/e7a02f43fce47e1a39259ada5460bcc33c8e98b5) Port of [#​51626](https://github.com/Microsoft/TypeScript/issues/51626) and [#​51689](https://github.com/Microsoft/TypeScript/issues/51689) to release-4.9 ([#​51627](https://github.com/Microsoft/TypeScript/issues/51627)) - [`1727912`](https://github.com/Microsoft/TypeScript/commit/1727912f0437a7f367d90040fc4b0b4f3efd017a) Cherry-pick fix around `visitEachChild` to release-4.9. ([#​51544](https://github.com/Microsoft/TypeScript/issues/51544)) This list of changes was [auto generated](https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/\_release?releaseId=117&\_a=release-summary). ### [`v4.9.3`](https://github.com/microsoft/TypeScript/releases/tag/v4.9.3): TypeScript 4.9 [Compare Source](https://github.com/Microsoft/TypeScript/compare/v4.8.4...v4.9.3) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-4-9/). Downloads are available on: - [npm](https://www.npmjs.com/package/typescript) - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) #### Changes: - [`93bd577`](https://github.com/Microsoft/TypeScript/commit/93bd577458d55cd720b2677705feab5c91eb12ce) Bump version to 4.9.3 and LKG. - [`107f832`](https://github.com/Microsoft/TypeScript/commit/107f832b80df2dc97748021cb00af2b6813db75b) Update LKG. - [`31bee56`](https://github.com/Microsoft/TypeScript/commit/31bee5682df130a14ffdd5742f994dbe7313dd0e) Cherry-pick PR [#​50977](https://github.com/Microsoft/TypeScript/issues/50977) into release-4.9 ([#​51363](https://github.com/Microsoft/TypeScript/issues/51363)) \[ [#​50872](https://github.com/Microsoft/TypeScript/issues/50872) ] - [`1e2fa7a`](https://github.com/Microsoft/TypeScript/commit/1e2fa7ae15f8530910fef8b916ec8a4ed0b59c45) Update version to 4.9.2-rc and LKG. - [`7ab89e5`](https://github.com/Microsoft/TypeScript/commit/7ab89e5c6e401d161f31f28a6c555a3ba530910e) Merge remote-tracking branch 'origin/main' into release-4.9 - [`e5cd686`](https://github.com/Microsoft/TypeScript/commit/e5cd686defb1a4cbdb36bd012357ba5bed28f371) Update package-lock.json - [`8d40dc1`](https://github.com/Microsoft/TypeScript/commit/8d40dc15d1b9945837e7860320fdccfe27c40cad) Update package-lock.json - [`5cfb3a2`](https://github.com/Microsoft/TypeScript/commit/5cfb3a2fe344a5350734305193e6cc99516285ca) Only call return() for an abrupt completion in user code ([#​51297](https://github.com/Microsoft/TypeScript/issues/51297)) - [`a7a9d15`](https://github.com/Microsoft/TypeScript/commit/a7a9d158e817fcb0e94dc1c24e0a401b21be0cc9) Fix for broken baseline in yieldInForInInDownlevelGenerator ([#​51345](https://github.com/Microsoft/TypeScript/issues/51345)) - [`7f8426f`](https://github.com/Microsoft/TypeScript/commit/7f8426f4df0d0a7dd8b72079dafc3e60164a23b1) fix for-in enumeration containing yield in generator ([#​51295](https://github.com/Microsoft/TypeScript/issues/51295)) <details><summary><b>See More</b></summary> - [`3d2b401`](https://github.com/Microsoft/TypeScript/commit/3d2b4017eb6b9a2b94bc673291e56ae95e8beddd) Fix assertion functions accessed via wildcard imports ([#​51324](https://github.com/Microsoft/TypeScript/issues/51324)) - [`64d0d5a`](https://github.com/Microsoft/TypeScript/commit/64d0d5ae140b7b26a09e75114517b418d6bcaa9f) fix(51301): Fixing an unused import at the end of a line removes the newline ([#​51320](https://github.com/Microsoft/TypeScript/issues/51320)) - [`754eeb2`](https://github.com/Microsoft/TypeScript/commit/754eeb2986bde30d5926e0fa99c87dda9266d01b) Update CodeQL workflow and configuration, fix found bugs ([#​51263](https://github.com/Microsoft/TypeScript/issues/51263)) - [`d8aad26`](https://github.com/Microsoft/TypeScript/commit/d8aad262006ad2d2c91aa7a0e4449b4b83c57f7b) Update package-lock.json - [`d4f26c8`](https://github.com/Microsoft/TypeScript/comm
Porting #51626 and #51689 to release-4.9