From 05c817502c7980c22506136aa0ebac1b1bd6ed1d Mon Sep 17 00:00:00 2001 From: Simon Ihmig Date: Thu, 4 Jul 2024 17:18:31 +0200 Subject: [PATCH 01/10] Update TypeScript to 4.4 --- package-lock.json | 18 ++++++++++++++++-- packages/ember-auto-import/package.json | 2 +- packages/ember-auto-import/ts/analyzer.ts | 2 +- .../ts/tests/analyzer-test.ts | 2 +- .../ts/tests/splitter-test.ts | 6 +++--- packages/ember-auto-import/ts/webpack.ts | 2 +- 6 files changed, 23 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 560aeeb66..4fc6bb6cb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36008,6 +36008,7 @@ "version": "4.3.5", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.5.tgz", "integrity": "sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA==", + "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -37950,7 +37951,7 @@ } }, "packages/ember-auto-import": { - "version": "2.7.2", + "version": "2.7.4", "license": "MIT", "dependencies": { "@babel/core": "^7.16.7", @@ -38017,7 +38018,7 @@ "quick-temp": "^0.1.8", "qunit": "^2.17.2", "qunit-assertions-extra": "^0.8.5", - "typescript": "4.3.5" + "typescript": "4.4.4" }, "engines": { "node": "12.* || 14.* || >= 16" @@ -38160,6 +38161,19 @@ "node": ">= 12" } }, + "packages/ember-auto-import/node_modules/typescript": { + "version": "4.4.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.4.tgz", + "integrity": "sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + } + }, "packages/v2-addon-template": { "name": "@ef4/v2-addon-template", "version": "0.0.1", diff --git a/packages/ember-auto-import/package.json b/packages/ember-auto-import/package.json index 850458740..d15d54401 100644 --- a/packages/ember-auto-import/package.json +++ b/packages/ember-auto-import/package.json @@ -97,7 +97,7 @@ "quick-temp": "^0.1.8", "qunit": "^2.17.2", "qunit-assertions-extra": "^0.8.5", - "typescript": "4.3.5" + "typescript": "4.4.4" }, "engines": { "node": "12.* || 14.* || >= 16" diff --git a/packages/ember-auto-import/ts/analyzer.ts b/packages/ember-auto-import/ts/analyzer.ts index 3bdb3d403..420381e3a 100644 --- a/packages/ember-auto-import/ts/analyzer.ts +++ b/packages/ember-auto-import/ts/analyzer.ts @@ -192,7 +192,7 @@ export default class Analyzer extends Funnel { try { transformSync(source, options); } catch (err) { - if (err.name !== 'SyntaxError') { + if (err instanceof Error && err.name !== 'SyntaxError') { throw err; } debug('Ignoring an unparseable file'); diff --git a/packages/ember-auto-import/ts/tests/analyzer-test.ts b/packages/ember-auto-import/ts/tests/analyzer-test.ts index a7717d146..327e820c0 100644 --- a/packages/ember-auto-import/ts/tests/analyzer-test.ts +++ b/packages/ember-auto-import/ts/tests/analyzer-test.ts @@ -454,7 +454,7 @@ Qmodule('analyzer', function (hooks) { throw new Error(`expected not to get here, build was supposed to fail`); } catch (err) { assert.contains( - err.message, + err instanceof Error ? err.message : String(err), 'import() is only allowed to contain string literals or template string literals' ); } diff --git a/packages/ember-auto-import/ts/tests/splitter-test.ts b/packages/ember-auto-import/ts/tests/splitter-test.ts index 13f39f3ac..383012f4b 100644 --- a/packages/ember-auto-import/ts/tests/splitter-test.ts +++ b/packages/ember-auto-import/ts/tests/splitter-test.ts @@ -317,7 +317,7 @@ Qmodule('splitter', function (hooks) { throw new Error(`expected not to get here, build was supposed to fail`); } catch (err) { assert.contains( - err.message, + err instanceof Error ? err.message : String(err), 'Dynamic imports must target unambiguous package names' ); } @@ -333,7 +333,7 @@ Qmodule('splitter', function (hooks) { throw new Error(`expected not to get here, build was supposed to fail`); } catch (err) { assert.contains( - err.message, + err instanceof Error ? err.message : String(err), 'Dynamic imports must target unambiguous package names' ); } @@ -349,7 +349,7 @@ Qmodule('splitter', function (hooks) { throw new Error(`expected not to get here, build was supposed to fail`); } catch (err) { assert.contains( - err.message, + err instanceof Error ? err.message : String(err), `ember-auto-import does not support dynamic relative imports. "./thing" is relative. To make this work, you need to upgrade to Embroider.` ); } diff --git a/packages/ember-auto-import/ts/webpack.ts b/packages/ember-auto-import/ts/webpack.ts index 68b745184..9bd13f42d 100644 --- a/packages/ember-auto-import/ts/webpack.ts +++ b/packages/ember-auto-import/ts/webpack.ts @@ -441,7 +441,7 @@ export default class WebpackBundler extends Plugin implements Bundler { return callback(undefined, 'commonjs ' + request); } } catch (err) { - if (err.code !== 'MODULE_NOT_FOUND') { + if ((err as NodeJS.ErrnoException).code !== 'MODULE_NOT_FOUND') { throw err; } // real package doesn't exist, so externalize it From 37553e88395e68a8149f962010c68206aa7d92ae Mon Sep 17 00:00:00 2001 From: Simon Ihmig Date: Thu, 4 Jul 2024 18:20:23 +0200 Subject: [PATCH 02/10] Update TypeScript to 4.8 --- package-lock.json | 8 ++++---- packages/ember-auto-import/package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4fc6bb6cb..d642f6244 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38018,7 +38018,7 @@ "quick-temp": "^0.1.8", "qunit": "^2.17.2", "qunit-assertions-extra": "^0.8.5", - "typescript": "4.4.4" + "typescript": "4.8.4" }, "engines": { "node": "12.* || 14.* || >= 16" @@ -38162,9 +38162,9 @@ } }, "packages/ember-auto-import/node_modules/typescript": { - "version": "4.4.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.4.tgz", - "integrity": "sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA==", + "version": "4.8.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz", + "integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==", "dev": true, "bin": { "tsc": "bin/tsc", diff --git a/packages/ember-auto-import/package.json b/packages/ember-auto-import/package.json index d15d54401..3cc82031c 100644 --- a/packages/ember-auto-import/package.json +++ b/packages/ember-auto-import/package.json @@ -97,7 +97,7 @@ "quick-temp": "^0.1.8", "qunit": "^2.17.2", "qunit-assertions-extra": "^0.8.5", - "typescript": "4.4.4" + "typescript": "4.8.4" }, "engines": { "node": "12.* || 14.* || >= 16" From d9dc521f21f7e3a7765690eb2ea7e508ea91a7c3 Mon Sep 17 00:00:00 2001 From: Simon Ihmig Date: Fri, 5 Jul 2024 09:30:47 +0200 Subject: [PATCH 03/10] Update ts-node for compatibility with newer TS --- package-lock.json | 152 ++++++++++++++++++++++++++++-------- test-scenarios/package.json | 2 +- 2 files changed, 119 insertions(+), 35 deletions(-) diff --git a/package-lock.json b/package-lock.json index d642f6244..47b3dc6a6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1855,6 +1855,26 @@ "node": ">=0.1.90" } }, + "node_modules/@cspotcode/source-map-support": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", + "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", + "dependencies": { + "@jridgewell/trace-mapping": "0.3.9" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", + "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", + "dependencies": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, "node_modules/@ef4/addon-template": { "resolved": "packages/addon-template", "link": true @@ -4080,6 +4100,26 @@ "node": ">= 10" } }, + "node_modules/@tsconfig/node10": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.11.tgz", + "integrity": "sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw==" + }, + "node_modules/@tsconfig/node12": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", + "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==" + }, + "node_modules/@tsconfig/node14": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", + "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==" + }, + "node_modules/@tsconfig/node16": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", + "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==" + }, "node_modules/@types/babel__core": { "version": "7.20.3", "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.3.tgz", @@ -35809,39 +35849,6 @@ "node": ">=0.10.0" } }, - "node_modules/ts-node": { - "version": "9.1.1", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-9.1.1.tgz", - "integrity": "sha512-hPlt7ZACERQGf03M253ytLY3dHbGNGrAq9qIHWUY9XHYl1z7wYngSr3OQ5xmui8o2AaxsONxIzjafLUiWBo1Fg==", - "dependencies": { - "arg": "^4.1.0", - "create-require": "^1.1.0", - "diff": "^4.0.1", - "make-error": "^1.1.1", - "source-map-support": "^0.5.17", - "yn": "3.1.1" - }, - "bin": { - "ts-node": "dist/bin.js", - "ts-node-script": "dist/bin-script.js", - "ts-node-transpile-only": "dist/bin-transpile.js", - "ts-script": "dist/bin-script-deprecated.js" - }, - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "typescript": ">=2.7" - } - }, - "node_modules/ts-node/node_modules/diff": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", - "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", - "engines": { - "node": ">=0.3.1" - } - }, "node_modules/tslib": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", @@ -36468,6 +36475,11 @@ "integrity": "sha512-ocyWc3bAHBB/guyqJQVI5o4BZkPhznPYUG2ea80Gond/BgNWpap8TOmLSeeQG7bnh2KMISxskdADG59j7zruhw==", "dev": true }, + "node_modules/v8-compile-cache-lib": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", + "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==" + }, "node_modules/validate-npm-package-license": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", @@ -38190,7 +38202,7 @@ "jsdom": "^11.11.0", "qunit": "^2.6.1", "scenario-tester": "^2.1.2", - "ts-node": "^9.1.1" + "ts-node": "^10.9.2" }, "devDependencies": { "@ef4/addon-template": "*", @@ -38241,6 +38253,28 @@ "node": ">=6.9.0" } }, + "test-scenarios/node_modules/acorn": { + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", + "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "test-scenarios/node_modules/acorn-walk": { + "version": "8.3.3", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.3.tgz", + "integrity": "sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw==", + "dependencies": { + "acorn": "^8.11.0" + }, + "engines": { + "node": ">=0.4.0" + } + }, "test-scenarios/node_modules/anymatch": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", @@ -39039,6 +39073,56 @@ "matcher-collection": "^1.0.0" } }, + "test-scenarios/node_modules/ts-node": { + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", + "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", + "dependencies": { + "@cspotcode/source-map-support": "^0.8.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "v8-compile-cache-lib": "^3.0.1", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-cwd": "dist/bin-cwd.js", + "ts-node-esm": "dist/bin-esm.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "peerDependencies": { + "@swc/core": ">=1.2.50", + "@swc/wasm": ">=1.2.50", + "@types/node": "*", + "typescript": ">=2.7" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "@swc/wasm": { + "optional": true + } + } + }, + "test-scenarios/node_modules/ts-node/node_modules/diff": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", + "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", + "engines": { + "node": ">=0.3.1" + } + }, "test-scenarios/node_modules/validate-npm-package-name": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-5.0.0.tgz", diff --git a/test-scenarios/package.json b/test-scenarios/package.json index df37a2c52..0f3165ff0 100644 --- a/test-scenarios/package.json +++ b/test-scenarios/package.json @@ -5,7 +5,7 @@ "dependencies": { "@types/qunit": "^2.11.1", "qunit": "^2.6.1", - "ts-node": "^9.1.1", + "ts-node": "^10.9.2", "scenario-tester": "^2.1.2", "jsdom": "^11.11.0" }, From 39a46e863fba74378269b1163a994297d05ded75 Mon Sep 17 00:00:00 2001 From: Simon Ihmig Date: Mon, 8 Jul 2024 09:44:32 +0200 Subject: [PATCH 04/10] Fix Handlebars calls --- packages/ember-auto-import/ts/webpack.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/ember-auto-import/ts/webpack.ts b/packages/ember-auto-import/ts/webpack.ts index 9bd13f42d..1b49480bc 100644 --- a/packages/ember-auto-import/ts/webpack.ts +++ b/packages/ember-auto-import/ts/webpack.ts @@ -11,7 +11,7 @@ import { join, dirname, resolve, relative, posix, isAbsolute } from 'path'; import { createHash } from 'crypto'; import { mergeWith, flatten, zip } from 'lodash'; import { writeFileSync, realpathSync, readFileSync } from 'fs'; -import { compile, registerHelper } from 'handlebars'; +import Handlebars from 'handlebars'; import jsStringEscape from 'js-string-escape'; import { BundleDependencies, ResolvedTemplateImport } from './splitter'; import { BuildResult, Bundler, BundlerOptions } from './bundler'; @@ -32,8 +32,8 @@ const EXTENSIONS = ['.js', '.ts', '.json']; const debug = makeDebug('ember-auto-import:webpack'); -registerHelper('js-string-escape', jsStringEscape); -registerHelper('join', function (list, connector) { +Handlebars.registerHelper('js-string-escape', jsStringEscape); +Handlebars.registerHelper('join', function (list, connector) { return list.join(connector); }); @@ -56,9 +56,9 @@ function idToModule(id: string) { return moduleIdMap.get(id) ?? id; } -registerHelper('module-to-id', moduleToId); +Handlebars.registerHelper('module-to-id', moduleToId); -const entryTemplate = compile( +const entryTemplate = Handlebars.compile( ` module.exports = (function(){ var d = _eai_d; From 567e930257e10a218d7ceeb5afb55806e9c57780 Mon Sep 17 00:00:00 2001 From: Simon Ihmig Date: Mon, 8 Jul 2024 10:03:20 +0200 Subject: [PATCH 05/10] Update TypeScript to 5.0 --- package-lock.json | 10 +++++----- packages/ember-auto-import/package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 47b3dc6a6..609cd71e9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38030,7 +38030,7 @@ "quick-temp": "^0.1.8", "qunit": "^2.17.2", "qunit-assertions-extra": "^0.8.5", - "typescript": "4.8.4" + "typescript": "5.0.4" }, "engines": { "node": "12.* || 14.* || >= 16" @@ -38174,16 +38174,16 @@ } }, "packages/ember-auto-import/node_modules/typescript": { - "version": "4.8.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz", - "integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==", + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz", + "integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==", "dev": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=4.2.0" + "node": ">=12.20" } }, "packages/v2-addon-template": { diff --git a/packages/ember-auto-import/package.json b/packages/ember-auto-import/package.json index 3cc82031c..39c7950a9 100644 --- a/packages/ember-auto-import/package.json +++ b/packages/ember-auto-import/package.json @@ -97,7 +97,7 @@ "quick-temp": "^0.1.8", "qunit": "^2.17.2", "qunit-assertions-extra": "^0.8.5", - "typescript": "4.8.4" + "typescript": "5.0.4" }, "engines": { "node": "12.* || 14.* || >= 16" From 1af0019f2d1aaab392c805693e4129bbe34f91e0 Mon Sep 17 00:00:00 2001 From: Simon Ihmig Date: Mon, 8 Jul 2024 10:33:12 +0200 Subject: [PATCH 06/10] Update TypeScript to 5.1 --- package-lock.json | 10 +++++----- packages/ember-auto-import/package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 609cd71e9..16ddba6d5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38030,7 +38030,7 @@ "quick-temp": "^0.1.8", "qunit": "^2.17.2", "qunit-assertions-extra": "^0.8.5", - "typescript": "5.0.4" + "typescript": "5.1.6" }, "engines": { "node": "12.* || 14.* || >= 16" @@ -38174,16 +38174,16 @@ } }, "packages/ember-auto-import/node_modules/typescript": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz", - "integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==", + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz", + "integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==", "dev": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=12.20" + "node": ">=14.17" } }, "packages/v2-addon-template": { diff --git a/packages/ember-auto-import/package.json b/packages/ember-auto-import/package.json index 39c7950a9..a1fdd313e 100644 --- a/packages/ember-auto-import/package.json +++ b/packages/ember-auto-import/package.json @@ -97,7 +97,7 @@ "quick-temp": "^0.1.8", "qunit": "^2.17.2", "qunit-assertions-extra": "^0.8.5", - "typescript": "5.0.4" + "typescript": "5.1.6" }, "engines": { "node": "12.* || 14.* || >= 16" From 70d58df57d9ae48b2f84697d2755978c02b6b98a Mon Sep 17 00:00:00 2001 From: Simon Ihmig Date: Mon, 8 Jul 2024 10:38:20 +0200 Subject: [PATCH 07/10] Update TypeScript to 5.2 --- package-lock.json | 8 ++++---- packages/ember-auto-import/package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 16ddba6d5..d58e30f10 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38030,7 +38030,7 @@ "quick-temp": "^0.1.8", "qunit": "^2.17.2", "qunit-assertions-extra": "^0.8.5", - "typescript": "5.1.6" + "typescript": "5.2.2" }, "engines": { "node": "12.* || 14.* || >= 16" @@ -38174,9 +38174,9 @@ } }, "packages/ember-auto-import/node_modules/typescript": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz", - "integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==", + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", + "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", "dev": true, "bin": { "tsc": "bin/tsc", diff --git a/packages/ember-auto-import/package.json b/packages/ember-auto-import/package.json index a1fdd313e..9504e72f8 100644 --- a/packages/ember-auto-import/package.json +++ b/packages/ember-auto-import/package.json @@ -97,7 +97,7 @@ "quick-temp": "^0.1.8", "qunit": "^2.17.2", "qunit-assertions-extra": "^0.8.5", - "typescript": "5.1.6" + "typescript": "5.2.2" }, "engines": { "node": "12.* || 14.* || >= 16" From 1c33b1b034c83f7e4a50a665c47e03571f327f91 Mon Sep 17 00:00:00 2001 From: Simon Ihmig Date: Mon, 8 Jul 2024 11:05:14 +0200 Subject: [PATCH 08/10] Update TypeScript to 5.3 --- package-lock.json | 8 ++++---- packages/ember-auto-import/package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index d58e30f10..ddec68a21 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38030,7 +38030,7 @@ "quick-temp": "^0.1.8", "qunit": "^2.17.2", "qunit-assertions-extra": "^0.8.5", - "typescript": "5.2.2" + "typescript": "5.3.3" }, "engines": { "node": "12.* || 14.* || >= 16" @@ -38174,9 +38174,9 @@ } }, "packages/ember-auto-import/node_modules/typescript": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", - "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", + "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", "dev": true, "bin": { "tsc": "bin/tsc", diff --git a/packages/ember-auto-import/package.json b/packages/ember-auto-import/package.json index 9504e72f8..0c4e06a46 100644 --- a/packages/ember-auto-import/package.json +++ b/packages/ember-auto-import/package.json @@ -97,7 +97,7 @@ "quick-temp": "^0.1.8", "qunit": "^2.17.2", "qunit-assertions-extra": "^0.8.5", - "typescript": "5.2.2" + "typescript": "5.3.3" }, "engines": { "node": "12.* || 14.* || >= 16" From 9181e6209e23ed3a5ecfae98abf5e1e1b949dfae Mon Sep 17 00:00:00 2001 From: Simon Ihmig Date: Mon, 8 Jul 2024 11:09:01 +0200 Subject: [PATCH 09/10] Update TypeScript to 5.4 --- package-lock.json | 8 ++++---- packages/ember-auto-import/package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index ddec68a21..3e4fe31b1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38030,7 +38030,7 @@ "quick-temp": "^0.1.8", "qunit": "^2.17.2", "qunit-assertions-extra": "^0.8.5", - "typescript": "5.3.3" + "typescript": "5.4.5" }, "engines": { "node": "12.* || 14.* || >= 16" @@ -38174,9 +38174,9 @@ } }, "packages/ember-auto-import/node_modules/typescript": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", - "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", + "version": "5.4.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", + "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", "dev": true, "bin": { "tsc": "bin/tsc", diff --git a/packages/ember-auto-import/package.json b/packages/ember-auto-import/package.json index 0c4e06a46..096faf45a 100644 --- a/packages/ember-auto-import/package.json +++ b/packages/ember-auto-import/package.json @@ -97,7 +97,7 @@ "quick-temp": "^0.1.8", "qunit": "^2.17.2", "qunit-assertions-extra": "^0.8.5", - "typescript": "5.3.3" + "typescript": "5.4.5" }, "engines": { "node": "12.* || 14.* || >= 16" From 6a3673c3e639335d29523309b76ca6cb55531a10 Mon Sep 17 00:00:00 2001 From: Simon Ihmig Date: Mon, 8 Jul 2024 11:15:02 +0200 Subject: [PATCH 10/10] Update TypeScript to 5.5 --- package-lock.json | 8 ++++---- packages/ember-auto-import/package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3e4fe31b1..9fbe3b638 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38030,7 +38030,7 @@ "quick-temp": "^0.1.8", "qunit": "^2.17.2", "qunit-assertions-extra": "^0.8.5", - "typescript": "5.4.5" + "typescript": "5.5.3" }, "engines": { "node": "12.* || 14.* || >= 16" @@ -38174,9 +38174,9 @@ } }, "packages/ember-auto-import/node_modules/typescript": { - "version": "5.4.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", - "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", + "version": "5.5.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.3.tgz", + "integrity": "sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==", "dev": true, "bin": { "tsc": "bin/tsc", diff --git a/packages/ember-auto-import/package.json b/packages/ember-auto-import/package.json index 096faf45a..795582639 100644 --- a/packages/ember-auto-import/package.json +++ b/packages/ember-auto-import/package.json @@ -97,7 +97,7 @@ "quick-temp": "^0.1.8", "qunit": "^2.17.2", "qunit-assertions-extra": "^0.8.5", - "typescript": "5.4.5" + "typescript": "5.5.3" }, "engines": { "node": "12.* || 14.* || >= 16"