generated from actions/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 4
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
chore(deps-dev): bump typescript from 5.6.2 to 5.6.3 in the typescript group #934
Merged
github-actions
merged 1 commit into
main
from
dependabot/npm_and_yarn/typescript-34cd44adba
Oct 14, 2024
Merged
chore(deps-dev): bump typescript from 5.6.2 to 5.6.3 in the typescript group #934
github-actions
merged 1 commit into
main
from
dependabot/npm_and_yarn/typescript-34cd44adba
Oct 14, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependabot
bot
added
dependencies
Pull requests that update a dependency file
javascript
Pull requests that update Javascript code
labels
Oct 14, 2024
Diff between typescript 5.6.2 and 5.6.3diff --git a/lib/tsc.js b/lib/tsc.js
index v5.6.2..v5.6.3 100644
--- a/lib/tsc.js
+++ b/lib/tsc.js
@@ -19,5 +19,5 @@
// src/compiler/corePublic.ts
var versionMajorMinor = "5.6";
-var version = "5.6.2";
+var version = "5.6.3";
// src/compiler/core.ts
@@ -6886,5 +6886,4 @@
Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1: diag(5109, 1 /* Error */, "Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1_5109", "Option 'moduleResolution' must be set to '{0}' (or left unspecified) when option 'module' is set to '{1}'."),
Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1: diag(5110, 1 /* Error */, "Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1_5110", "Option 'module' must be set to '{0}' when option 'moduleResolution' is set to '{1}'."),
- Option_tsBuildInfoFile_cannot_be_specified_without_specifying_option_incremental_or_composite_or_if_not_running_tsc_b: diag(5111, 1 /* Error */, "Option_tsBuildInfoFile_cannot_be_specified_without_specifying_option_incremental_or_composite_or_if__5111", "Option 'tsBuildInfoFile' cannot be specified without specifying option 'incremental' or 'composite' or if not running 'tsc -b'."),
Generates_a_sourcemap_for_each_corresponding_d_ts_file: diag(6e3, 3 /* Message */, "Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000", "Generates a sourcemap for each corresponding '.d.ts' file."),
Concatenate_and_emit_output_to_single_file: diag(6001, 3 /* Message */, "Concatenate_and_emit_output_to_single_file_6001", "Concatenate and emit output to single file."),
@@ -54961,5 +54960,5 @@
false
) : unknownType;
- return addOptionality(widenTypeInferredFromInitializer(element, checkDeclarationInitializer(element, 0 /* Normal */, contextualType)));
+ return addOptionality(getWidenedLiteralTypeForInitializer(element, checkDeclarationInitializer(element, 0 /* Normal */, contextualType)));
}
if (isBindingPattern(element.name)) {
@@ -78756,5 +78755,5 @@
}
function widenTypeInferredFromInitializer(declaration, type) {
- const widened = getCombinedNodeFlagsCached(declaration) & 6 /* Constant */ || isDeclarationReadonly(declaration) ? type : getWidenedLiteralType(type);
+ const widened = getWidenedLiteralTypeForInitializer(declaration, type);
if (isInJSFile(declaration)) {
if (isEmptyLiteralType(widened)) {
@@ -78768,4 +78767,7 @@
return widened;
}
+ function getWidenedLiteralTypeForInitializer(declaration, type) {
+ return getCombinedNodeFlagsCached(declaration) & 6 /* Constant */ || isDeclarationReadonly(declaration) ? type : getWidenedLiteralType(type);
+ }
function isLiteralOfContextualType(candidateType, contextualType) {
if (contextualType) {
@@ -122130,9 +122132,5 @@
}
const outputFile = options.outFile;
- if (options.tsBuildInfoFile) {
- if (!canEmitTsBuildInfo(options)) {
- createDiagnosticForOptionName(Diagnostics.Option_tsBuildInfoFile_cannot_be_specified_without_specifying_option_incremental_or_composite_or_if_not_running_tsc_b, "tsBuildInfoFile");
- }
- } else if (options.incremental && !outputFile && !options.configFilePath) {
+ if (!options.tsBuildInfoFile && options.incremental && !outputFile && !options.configFilePath) {
programDiagnostics.add(createCompilerDiagnostic(Diagnostics.Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified));
}
diff --git a/lib/typescript.js b/lib/typescript.js
index v5.6.2..v5.6.3 100644
--- a/lib/typescript.js
+++ b/lib/typescript.js
@@ -240,5 +240,4 @@
bundlerModuleNameResolver: () => bundlerModuleNameResolver,
canBeConvertedToAsync: () => canBeConvertedToAsync,
- canEmitTsBuildInfo: () => canEmitTsBuildInfo,
canHaveDecorators: () => canHaveDecorators,
canHaveExportModifier: () => canHaveExportModifier,
@@ -2264,5 +2263,5 @@
// src/compiler/corePublic.ts
var versionMajorMinor = "5.6";
-var version = "5.6.2";
+var version = "5.6.3";
var Comparison = /* @__PURE__ */ ((Comparison3) => {
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
@@ -10284,5 +10283,4 @@
Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1: diag(5109, 1 /* Error */, "Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1_5109", "Option 'moduleResolution' must be set to '{0}' (or left unspecified) when option 'module' is set to '{1}'."),
Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1: diag(5110, 1 /* Error */, "Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1_5110", "Option 'module' must be set to '{0}' when option 'moduleResolution' is set to '{1}'."),
- Option_tsBuildInfoFile_cannot_be_specified_without_specifying_option_incremental_or_composite_or_if_not_running_tsc_b: diag(5111, 1 /* Error */, "Option_tsBuildInfoFile_cannot_be_specified_without_specifying_option_incremental_or_composite_or_if__5111", "Option 'tsBuildInfoFile' cannot be specified without specifying option 'incremental' or 'composite' or if not running 'tsc -b'."),
Generates_a_sourcemap_for_each_corresponding_d_ts_file: diag(6e3, 3 /* Message */, "Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000", "Generates a sourcemap for each corresponding '.d.ts' file."),
Concatenate_and_emit_output_to_single_file: diag(6001, 3 /* Message */, "Concatenate_and_emit_output_to_single_file_6001", "Concatenate and emit output to single file."),
@@ -59581,5 +59579,5 @@
false
) : unknownType;
- return addOptionality(widenTypeInferredFromInitializer(element, checkDeclarationInitializer(element, 0 /* Normal */, contextualType)));
+ return addOptionality(getWidenedLiteralTypeForInitializer(element, checkDeclarationInitializer(element, 0 /* Normal */, contextualType)));
}
if (isBindingPattern(element.name)) {
@@ -83376,5 +83374,5 @@
}
function widenTypeInferredFromInitializer(declaration, type) {
- const widened = getCombinedNodeFlagsCached(declaration) & 6 /* Constant */ || isDeclarationReadonly(declaration) ? type : getWidenedLiteralType(type);
+ const widened = getWidenedLiteralTypeForInitializer(declaration, type);
if (isInJSFile(declaration)) {
if (isEmptyLiteralType(widened)) {
@@ -83388,4 +83386,7 @@
return widened;
}
+ function getWidenedLiteralTypeForInitializer(declaration, type) {
+ return getCombinedNodeFlagsCached(declaration) & 6 /* Constant */ || isDeclarationReadonly(declaration) ? type : getWidenedLiteralType(type);
+ }
function isLiteralOfContextualType(candidateType, contextualType) {
if (contextualType) {
@@ -126989,9 +126990,5 @@
}
const outputFile = options.outFile;
- if (options.tsBuildInfoFile) {
- if (!canEmitTsBuildInfo(options)) {
- createDiagnosticForOptionName(Diagnostics.Option_tsBuildInfoFile_cannot_be_specified_without_specifying_option_incremental_or_composite_or_if_not_running_tsc_b, "tsBuildInfoFile");
- }
- } else if (options.incremental && !outputFile && !options.configFilePath) {
+ if (!options.tsBuildInfoFile && options.incremental && !outputFile && !options.configFilePath) {
programDiagnostics.add(createCompilerDiagnostic(Diagnostics.Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified));
}
@@ -179692,5 +179689,4 @@
bundlerModuleNameResolver: () => bundlerModuleNameResolver,
canBeConvertedToAsync: () => canBeConvertedToAsync,
- canEmitTsBuildInfo: () => canEmitTsBuildInfo,
canHaveDecorators: () => canHaveDecorators,
canHaveExportModifier: () => canHaveExportModifier,
@@ -194050,5 +194046,4 @@
bundlerModuleNameResolver,
canBeConvertedToAsync,
- canEmitTsBuildInfo,
canHaveDecorators,
canHaveExportModifier,
diff --git a/lib/typingsInstaller.js b/lib/typingsInstaller.js
index v5.6.2..v5.6.3 100644
--- a/lib/typingsInstaller.js
+++ b/lib/typingsInstaller.js
@@ -183,5 +183,5 @@
}
try {
- const stdout = (0, import_child_process.execFileSync)(command, { ...options, encoding: "utf-8" });
+ const stdout = (0, import_child_process.execSync)(command, { ...options, encoding: "utf-8" });
if (this.log.isEnabled()) {
this.log.writeLine(` Succeeded. stdout:${indent(typescript_exports.sys.newLine, stdout)}`);
diff --git a/package.json b/package.json
index v5.6.2..v5.6.3 100644
--- a/package.json
+++ b/package.json
@@ -3,5 +3,5 @@
"author": "Microsoft Corp.",
"homepage": "https://www.typescriptlang.org/",
- "version": "5.6.2",
+ "version": "5.6.3",
"license": "Apache-2.0",
"description": "TypeScript is a language for application scale JavaScript development",
@@ -118,4 +118,4 @@
"npm": "8.19.4"
},
- "gitHead": "a7e3374f13327483fbe94e32806d65785b0b6cda"
+ "gitHead": "d48a5cf89a62a62d6c6ed53ffa18f070d9458b85"
}
Command detailsnpm diff --diff=typescript@5.6.2 --diff=typescript@5.6.3 --diff-unified=2 See also the Reported by ybiquitous/npm-diff-action@v1.6.0 (Node.js 22.9.0 and npm 10.9.0) |
Bumps the typescript group with 1 update: [typescript](https://github.com/microsoft/TypeScript). Updates `typescript` from 5.6.2 to 5.6.3 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](microsoft/TypeScript@v5.6.2...v5.6.3) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-patch dependency-group: typescript ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot
bot
force-pushed
the
dependabot/npm_and_yarn/typescript-34cd44adba
branch
from
October 14, 2024 21:44
f2185f2
to
1911a67
Compare
github-actions
bot
deleted the
dependabot/npm_and_yarn/typescript-34cd44adba
branch
October 14, 2024 21:45
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
dependencies
Pull requests that update a dependency file
javascript
Pull requests that update Javascript code
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bumps the typescript group with 1 update: typescript.
Updates
typescript
from 5.6.2 to 5.6.3Release notes
Sourced from typescript's releases.
Commits
d48a5cf
Bump version to 5.6.3 and LKGfefa70a
🤖 Pick PR #60083 (Don't issue implicit any when obtai...) into release-5.6 (#...ff71692
[release-5.6] Remove tsbuildInfo specification error now that we need it for ...1f44dcf
🤖 Pick PR #60157 (fix automatic type acquisition) into release-5.6 (#60169)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major version
will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor version
will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>
will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>
will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>
will remove the ignore condition of the specified dependency and ignore conditions