From 3b24d7148f81455403189b20357821bfb6b9e38e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 25 Jun 2024 05:41:20 +0000 Subject: [PATCH 1/2] build(deps): bump typescript from 5.4.5 to 5.5.2 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.4.5 to 5.5.2. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](https://github.com/Microsoft/TypeScript/compare/v5.4.5...v5.5.2) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- packages/icons-scripts/package.json | 2 +- packages/icons-sprite/package.json | 2 +- packages/icons/package.json | 2 +- yarn.lock | 22 +++++++++++----------- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/packages/icons-scripts/package.json b/packages/icons-scripts/package.json index 55a9859b..1a35e2c7 100644 --- a/packages/icons-scripts/package.json +++ b/packages/icons-scripts/package.json @@ -19,7 +19,7 @@ "glob": "^10.4.2", "svg-baker": "^1.7.0", "svgo": "^3.3.2", - "typescript": "^5.4.5" + "typescript": "^5.5.2" }, "packageManager": "yarn@3.6.0", "engines": { diff --git a/packages/icons-sprite/package.json b/packages/icons-sprite/package.json index d30e91bb..fbb5f7c6 100644 --- a/packages/icons-sprite/package.json +++ b/packages/icons-sprite/package.json @@ -38,7 +38,7 @@ "react": "16.10.0", "size-limit": "^11.1.4", "ts-node": "^10.9.2", - "typescript": "^5.4.5" + "typescript": "^5.5.2" }, "peerDependencies": { "react": "^16.9.34 || ^17 || ^18" diff --git a/packages/icons/package.json b/packages/icons/package.json index 4aef0ebb..e7695b7b 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -46,7 +46,7 @@ "size-limit": "^11.1.4", "style-loader": "^4.0.0", "swc-loader": "0.2.6", - "typescript": "^5.4.5", + "typescript": "^5.5.2", "webpack": "^5.92.1" }, "peerDependencies": { diff --git a/yarn.lock b/yarn.lock index ed6ab1cc..e476e72b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1399,7 +1399,7 @@ __metadata: glob: ^10.4.2 svg-baker: ^1.7.0 svgo: ^3.3.2 - typescript: ^5.4.5 + typescript: ^5.5.2 languageName: unknown linkType: soft @@ -1421,7 +1421,7 @@ __metadata: react: 16.10.0 size-limit: ^11.1.4 ts-node: ^10.9.2 - typescript: ^5.4.5 + typescript: ^5.5.2 peerDependencies: react: ^16.9.34 || ^17 || ^18 languageName: unknown @@ -1448,7 +1448,7 @@ __metadata: size-limit: ^11.1.4 style-loader: ^4.0.0 swc-loader: 0.2.6 - typescript: ^5.4.5 + typescript: ^5.5.2 webpack: ^5.92.1 peerDependencies: react: ^16.9.34 || ^17 || ^18 @@ -7582,23 +7582,23 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^5.4.5": - version: 5.4.5 - resolution: "typescript@npm:5.4.5" +"typescript@npm:^5.5.2": + version: 5.5.2 + resolution: "typescript@npm:5.5.2" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 53c879c6fa1e3bcb194b274d4501ba1985894b2c2692fa079db03c5a5a7140587a1e04e1ba03184605d35f439b40192d9e138eb3279ca8eee313c081c8bcd9b0 + checksum: 9c5a7982dadcb2d38d129c575dd38645ae11588ae0d4a12852fb04482bbc5a1660b2371e48fd5b33b6b605cc57cefe777670054546856945a05e77bd22c8c2cd languageName: node linkType: hard -"typescript@patch:typescript@^5.4.5#~builtin": - version: 5.4.5 - resolution: "typescript@patch:typescript@npm%3A5.4.5#~builtin::version=5.4.5&hash=5da071" +"typescript@patch:typescript@^5.5.2#~builtin": + version: 5.5.2 + resolution: "typescript@patch:typescript@npm%3A5.5.2#~builtin::version=5.5.2&hash=5da071" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 2373c693f3b328f3b2387c3efafe6d257b057a142f9a79291854b14ff4d5367d3d730810aee981726b677ae0fd8329b23309da3b6aaab8263dbdccf1da07a3ba + checksum: 9d89bac0de650e15d6846485f238d1e65f1013f2c260d9e53e86a1da6ecf8109d9fad9402575c5c36a6592dc5d4370db090e12971c8630ae84453654baabb6b4 languageName: node linkType: hard From b0b364a569e14d5d1c161da86b9cbb42b6af763f Mon Sep 17 00:00:00 2001 From: Andrey Medvedev Date: Tue, 25 Jun 2024 13:18:46 +0300 Subject: [PATCH 2/2] Use enum for jsx option otherwise compiler throws error because 'react' value is a string --- packages/icons-scripts/scripts/tsc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/icons-scripts/scripts/tsc.js b/packages/icons-scripts/scripts/tsc.js index 6813b8fc..cf9620d7 100644 --- a/packages/icons-scripts/scripts/tsc.js +++ b/packages/icons-scripts/scripts/tsc.js @@ -23,7 +23,7 @@ function compile(rootNames, outDir) { outDir, emitDeclarationOnly: true, declaration: true, - jsx: 'react', + jsx: ts.JsxEmit.React, esModuleInterop: true, skipLibCheck: true, };