Skip to content

Commit ecae53a

Browse files
renovate[bot]renovate-botJLHwung
authored
chore(deps): update dependency typescript to ~4.5.0 (#14018)
Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
1 parent 029cd15 commit ecae53a

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"rollup-plugin-terser": "^7.0.2",
7474
"test262-stream": "^1.4.0",
7575
"through2": "^4.0.0",
76-
"typescript": "~4.2.3"
76+
"typescript": "~4.5.0"
7777
},
7878
"workspaces": [
7979
"codemods/*",

packages/babel-core/src/config/caching.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,6 @@ export function assertSimpleType(value: unknown): SimpleType {
395395
"Cache keys must be either string, boolean, number, null, or undefined.",
396396
);
397397
}
398-
// @ts-expect-error todo(flow->ts) value is still typed as unknown, also assert function typically should not return a value
399398
return value;
400399
}
401400

packages/babel-plugin-proposal-optional-chaining/src/transform.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ export function transform(
160160
}
161161

162162
node.arguments.unshift(t.cloneNode(context));
163+
// @ts-expect-error node.callee can not be an V8IntrinsicIdentifier: V8 intrinsic is disallowed in optional chain
163164
node.callee = t.memberExpression(node.callee, t.identifier("call"));
164165
}
165166
}

yarn.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5817,7 +5817,7 @@ __metadata:
58175817
rollup-plugin-terser: ^7.0.2
58185818
test262-stream: ^1.4.0
58195819
through2: ^4.0.0
5820-
typescript: ~4.2.3
5820+
typescript: ~4.5.0
58215821
dependenciesMeta:
58225822
core-js:
58235823
built: false
@@ -14900,23 +14900,23 @@ fsevents@^1.2.7:
1490014900
languageName: node
1490114901
linkType: hard
1490214902

14903-
"typescript@patch:typescript@~4.2.3#~builtin<compat/typescript>":
14904-
version: 4.2.3
14905-
resolution: "typescript@patch:typescript@npm%3A4.2.3#~builtin<compat/typescript>::version=4.2.3&hash=ddd1e8"
14903+
"typescript@npm:~4.5.0":
14904+
version: 4.5.2
14905+
resolution: "typescript@npm:4.5.2"
1490614906
bin:
1490714907
tsc: bin/tsc
1490814908
tsserver: bin/tsserver
14909-
checksum: f97b1f885444f13c340127a0918b17d0c4e5c248f99203a22712b3b43d7129c9c7b95437e4f1de99edf79d3046fa9e15356fb5d27d9d94e47a98158c8b18fda5
14909+
checksum: 74f9ce65d532bdf5d0214b3f60cf37992180023388c87a11ee6f838a803067ef0b63c600fa501b0deb07f989257dce1e244c9635ed79feca40bbccf6e0aa1ebc
1491014910
languageName: node
1491114911
linkType: hard
1491214912

14913-
typescript@~4.2.3:
14914-
version: 4.2.3
14915-
resolution: "typescript@npm:4.2.3"
14913+
"typescript@patch:typescript@~4.5.0#~builtin<compat/typescript>":
14914+
version: 4.5.2
14915+
resolution: "typescript@patch:typescript@npm%3A4.5.2#~builtin<compat/typescript>::version=4.5.2&hash=ddd1e8"
1491614916
bin:
1491714917
tsc: bin/tsc
1491814918
tsserver: bin/tsserver
14919-
checksum: b4a2020c021211184ac15caf59936b2089c13e79685f340a31aaa839c9de2f73b44a5e3757292de6cdad2ed967aef80d4592161b814cc29c0570f261850c4bca
14919+
checksum: 24a439e062a05e3285a4f0e8a40644116ecdca89f3e908bed01e5a01b9aee747e3bcf0e85fe9e017e5ebf0c0863437c39479f2616f55a244c2d82d37022cdc4f
1492014920
languageName: node
1492114921
linkType: hard
1492214922

0 commit comments

Comments
 (0)