diff --git a/crates/next-dev/benches/bundlers/turbopack.rs b/crates/next-dev/benches/bundlers/turbopack.rs index 348727475d1ed..a29ac40ca1252 100644 --- a/crates/next-dev/benches/bundlers/turbopack.rs +++ b/crates/next-dev/benches/bundlers/turbopack.rs @@ -50,9 +50,8 @@ impl Bundler for Turbopack { NpmPackage::new("react-refresh", "^0.12.0"), NpmPackage::new("next", "^12.3.1"), NpmPackage::new("@next/react-refresh-utils", "^12.3.1"), - // Dependencies on these are inserted by swc's preset_env + // Dependency on this is inserted by swc's preset_env NpmPackage::new("@swc/helpers", "^0.4.11"), - NpmPackage::new("core-js", "^3.25.3"), ], ) .context("failed to install from npm")?; diff --git a/crates/turbopack-ecmascript/src/transform/mod.rs b/crates/turbopack-ecmascript/src/transform/mod.rs index 400cac8377456..e3c1398f29572 100644 --- a/crates/turbopack-ecmascript/src/transform/mod.rs +++ b/crates/turbopack-ecmascript/src/transform/mod.rs @@ -6,7 +6,7 @@ use swc_core::{ common::{chain, util::take::Take, FileName, Mark, SourceMap}, ecma::{ ast::{Module, ModuleItem, Program}, - preset_env::{self, Mode, Targets}, + preset_env::{self, Targets}, transforms::{ base::{feature::FeatureFlag, helpers::inject_helpers, Assumptions}, react::react, @@ -89,9 +89,10 @@ impl EcmascriptInputTransform { } EcmascriptInputTransform::PresetEnv(env) => { let versions = env.runtime_versions().await?; + println!("versions {:?}", versions); let config = swc_core::ecma::preset_env::Config { targets: Some(Targets::Versions(*versions)), - mode: Some(Mode::Usage), + mode: None, // Don't insert core-js polyfills ..Default::default() }; diff --git a/crates/turbopack/tests/snapshot/integration/preset_env/input/index.js b/crates/turbopack/tests/snapshot/integration/preset_env/input/index.js index c9fa2766e1bfd..0aad75fade63b 100644 --- a/crates/turbopack/tests/snapshot/integration/preset_env/input/index.js +++ b/crates/turbopack/tests/snapshot/integration/preset_env/input/index.js @@ -1,3 +1,3 @@ class Foo {} -console.log(Foo); +console.log(Foo, [].includes("foo")); diff --git a/crates/turbopack/tests/snapshot/integration/preset_env/output/3f8b2_@swc_helpers_src__class_call_check.mjs.js b/crates/turbopack/tests/snapshot/integration/preset_env/output/3f8b2_@swc_helpers_src__class_call_check.mjs.js new file mode 100644 index 0000000000000..c0d2a53e99ed6 --- /dev/null +++ b/crates/turbopack/tests/snapshot/integration/preset_env/output/3f8b2_@swc_helpers_src__class_call_check.mjs.js @@ -0,0 +1,18 @@ +(self.TURBOPACK = self.TURBOPACK || []).push(["[workspace]/crates/turbopack/tests/snapshot/integration/preset_env/output/3f8b2_@swc_helpers_src__class_call_check.mjs.js", { + +"[project]/node_modules/.pnpm/@swc+helpers@0.4.11/node_modules/@swc/helpers/src/_class_call_check.mjs (ecmascript)": (({ r: __turbopack_require__, x: __turbopack_external_require__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, c: __turbopack_cache__, l: __turbopack_load__, p: process }) => (() => { + +__turbopack_esm__({ + "default": ()=>_classCallCheck +}); +function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } +} + +})()), +}]); + + +//# sourceMappingURL=3f8b2_@swc_helpers_src__class_call_check.mjs.js.8bcaf458ac88e308.map \ No newline at end of file diff --git a/crates/turbopack/tests/snapshot/integration/preset_env/output/3f8b2_@swc_helpers_src__class_call_check.mjs.js.8bcaf458ac88e308.map b/crates/turbopack/tests/snapshot/integration/preset_env/output/3f8b2_@swc_helpers_src__class_call_check.mjs.js.8bcaf458ac88e308.map new file mode 100644 index 0000000000000..5bea95fc03647 --- /dev/null +++ b/crates/turbopack/tests/snapshot/integration/preset_env/output/3f8b2_@swc_helpers_src__class_call_check.mjs.js.8bcaf458ac88e308.map @@ -0,0 +1,6 @@ +{ + "version": 3, + "sections": [ + {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["/[project]/node_modules/.pnpm/@swc+helpers@0.4.11/node_modules/@swc/helpers/src/_class_call_check.mjs"],"sourcesContent":["export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}"],"names":[],"mappings":"AAAA;;;AAAe,SAAS,gBAAgB,QAAQ,EAAE,WAAW,EAAE;IAC7D,IAAI,CAAC,CAAC,oBAAoB,WAAW,GAAG;QACtC,MAAM,IAAI,UAAU,qCAAqC;IAC3D,CAAC;AACH"}}, + {"offset": {"line": 12, "column": 0}, "map": {"version": 3, "names": [], "sources": [], "mappings": "A"}}] +} \ No newline at end of file diff --git a/crates/turbopack/tests/snapshot/integration/preset_env/output/3f8b2_@swc_helpers_src__class_call_check.mjs.js.8c683f.map b/crates/turbopack/tests/snapshot/integration/preset_env/output/3f8b2_@swc_helpers_src__class_call_check.mjs.js.8c683f.map new file mode 100644 index 0000000000000..f6733aded2cb5 --- /dev/null +++ b/crates/turbopack/tests/snapshot/integration/preset_env/output/3f8b2_@swc_helpers_src__class_call_check.mjs.js.8c683f.map @@ -0,0 +1,6 @@ +{ + "version": 3, + "sections": [ + {"offset": {"line": 2, "column": 0}, "map": {"version":3,"sources":["/[project]/node_modules/.pnpm/@swc+helpers@0.4.11/node_modules/@swc/helpers/src/_class_call_check.mjs"],"sourcesContent":["export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}"],"names":[],"mappings":"AAAA;;;AAAe,SAAS,gBAAgB,QAAQ,EAAE,WAAW,EAAE;IAC7D,IAAI,CAAC,CAAC,oBAAoB,WAAW,GAAG;QACtC,MAAM,IAAI,UAAU,qCAAqC;IAC3D,CAAC;AACH"}}, + {"offset": {"line": 10, "column": 0}, "map": {"version": 3, "names": [], "sources": [], "mappings": "A"}}] +} \ No newline at end of file diff --git a/crates/turbopack/tests/snapshot/integration/preset_env/output/crates_turbopack_tests_snapshot_integration_preset_env_input_index_17d7e7.js b/crates/turbopack/tests/snapshot/integration/preset_env/output/crates_turbopack_tests_snapshot_integration_preset_env_input_index_56c340.js similarity index 97% rename from crates/turbopack/tests/snapshot/integration/preset_env/output/crates_turbopack_tests_snapshot_integration_preset_env_input_index_17d7e7.js rename to crates/turbopack/tests/snapshot/integration/preset_env/output/crates_turbopack_tests_snapshot_integration_preset_env_input_index_56c340.js index 75d2842814ae5..b9f370628bc0b 100644 --- a/crates/turbopack/tests/snapshot/integration/preset_env/output/crates_turbopack_tests_snapshot_integration_preset_env_input_index_17d7e7.js +++ b/crates/turbopack/tests/snapshot/integration/preset_env/output/crates_turbopack_tests_snapshot_integration_preset_env_input_index_56c340.js @@ -1,19 +1,19 @@ -(self.TURBOPACK = self.TURBOPACK || []).push(["[workspace]/crates/turbopack/tests/snapshot/integration/preset_env/output/crates_turbopack_tests_snapshot_integration_preset_env_input_index_17d7e7.js", { +(self.TURBOPACK = self.TURBOPACK || []).push(["[workspace]/crates/turbopack/tests/snapshot/integration/preset_env/output/crates_turbopack_tests_snapshot_integration_preset_env_input_index_56c340.js", { "[project]/crates/turbopack/tests/snapshot/integration/preset_env/input/index.js (ecmascript)": (({ r: __turbopack_require__, x: __turbopack_external_require__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, c: __turbopack_cache__, l: __turbopack_load__, p: process }) => (() => { -var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$swc$2f$helpers$2f$src$2f$_class_call_check$2e$mjs__ = __turbopack_import__("[project]/node_modules/@swc/helpers/src/_class_call_check.mjs (ecmascript)"); +var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f2e$pnpm$2f40$swc$2b$helpers$40$0$2e$4$2e$11$2f$node_modules$2f40$swc$2f$helpers$2f$src$2f$_class_call_check$2e$mjs__ = __turbopack_import__("[project]/node_modules/.pnpm/@swc+helpers@0.4.11/node_modules/@swc/helpers/src/_class_call_check.mjs (ecmascript)"); "__TURBOPACK__ecmascript__hoisting__location__"; ; var Foo = function Foo() { "use strict"; - __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f40$swc$2f$helpers$2f$src$2f$_class_call_check$2e$mjs__["default"](this, Foo); + __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f2e$pnpm$2f40$swc$2b$helpers$40$0$2e$4$2e$11$2f$node_modules$2f40$swc$2f$helpers$2f$src$2f$_class_call_check$2e$mjs__["default"](this, Foo); }; -console.log(Foo); +console.log(Foo, [].includes("foo")); })()), }, ({ loadedChunks, instantiateRuntimeModule }) => { - if(!(true && loadedChunks.has("[workspace]/crates/turbopack/tests/snapshot/integration/preset_env/output/crates_turbopack_tests_snapshot_integration_preset_env_input_index_ced8cd.js") && loadedChunks.has("[workspace]/crates/turbopack/tests/snapshot/integration/preset_env/output/node_modules_@swc_helpers_src__class_call_check.mjs.js"))) return true; + if(!(true && loadedChunks.has("[workspace]/crates/turbopack/tests/snapshot/integration/preset_env/output/crates_turbopack_tests_snapshot_integration_preset_env_input_index_06a225.js") && loadedChunks.has("[workspace]/crates/turbopack/tests/snapshot/integration/preset_env/output/3f8b2_@swc_helpers_src__class_call_check.mjs.js"))) return true; instantiateRuntimeModule("[project]/crates/turbopack/tests/snapshot/integration/preset_env/input/index.js (ecmascript)"); }]); (() => { @@ -817,4 +817,4 @@ console.log(Foo); })(); -//# sourceMappingURL=crates_turbopack_tests_snapshot_integration_preset_env_input_index_17d7e7.js.b2643f4016b9579d.map \ No newline at end of file +//# sourceMappingURL=crates_turbopack_tests_snapshot_integration_preset_env_input_index_56c340.js.496f26fdbe25baf2.map \ No newline at end of file diff --git a/crates/turbopack/tests/snapshot/integration/preset_env/output/crates_turbopack_tests_snapshot_integration_preset_env_input_index_17d7e7.js.b2643f4016b9579d.map b/crates/turbopack/tests/snapshot/integration/preset_env/output/crates_turbopack_tests_snapshot_integration_preset_env_input_index_56c340.js.496f26fdbe25baf2.map similarity index 68% rename from crates/turbopack/tests/snapshot/integration/preset_env/output/crates_turbopack_tests_snapshot_integration_preset_env_input_index_17d7e7.js.b2643f4016b9579d.map rename to crates/turbopack/tests/snapshot/integration/preset_env/output/crates_turbopack_tests_snapshot_integration_preset_env_input_index_56c340.js.496f26fdbe25baf2.map index 361f56996af43..1f1a4c80c6e69 100644 --- a/crates/turbopack/tests/snapshot/integration/preset_env/output/crates_turbopack_tests_snapshot_integration_preset_env_input_index_17d7e7.js.b2643f4016b9579d.map +++ b/crates/turbopack/tests/snapshot/integration/preset_env/output/crates_turbopack_tests_snapshot_integration_preset_env_input_index_56c340.js.496f26fdbe25baf2.map @@ -1,6 +1,6 @@ { "version": 3, "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["/[project]/crates/turbopack/tests/snapshot/integration/preset_env/input/index.js"],"sourcesContent":["class Foo {}\n\nconsole.log(Foo);\n"],"names":[],"mappings":"AAAA;;;AAAA,IAAA,AAAM,MAAN,SAAM;;2IAAA;;AAEN,QAAQ,GAAG,CAAC"}}, + {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["/[project]/crates/turbopack/tests/snapshot/integration/preset_env/input/index.js"],"sourcesContent":["class Foo {}\n\nconsole.log(Foo, [].includes(\"foo\"));\n"],"names":[],"mappings":"AAAA;;;AAAA,IAAA,AAAM,MAAN,SAAM;;yMAAA;;AAEN,QAAQ,GAAG,CAAC,KAAK,EAAE,CAAC,QAAQ,CAAC"}}, {"offset": {"line": 12, "column": 0}, "map": {"version": 3, "names": [], "sources": [], "mappings": "A"}}] } \ No newline at end of file diff --git a/crates/turbopack/tests/snapshot/integration/preset_env/output/crates_turbopack_tests_snapshot_integration_preset_env_input_index_17d7e7.js.42272d.map b/crates/turbopack/tests/snapshot/integration/preset_env/output/crates_turbopack_tests_snapshot_integration_preset_env_input_index_56c340.js.d5a489.map similarity index 68% rename from crates/turbopack/tests/snapshot/integration/preset_env/output/crates_turbopack_tests_snapshot_integration_preset_env_input_index_17d7e7.js.42272d.map rename to crates/turbopack/tests/snapshot/integration/preset_env/output/crates_turbopack_tests_snapshot_integration_preset_env_input_index_56c340.js.d5a489.map index 50759ca260c0a..933ca4b2edcd1 100644 --- a/crates/turbopack/tests/snapshot/integration/preset_env/output/crates_turbopack_tests_snapshot_integration_preset_env_input_index_17d7e7.js.42272d.map +++ b/crates/turbopack/tests/snapshot/integration/preset_env/output/crates_turbopack_tests_snapshot_integration_preset_env_input_index_56c340.js.d5a489.map @@ -1,6 +1,6 @@ { "version": 3, "sections": [ - {"offset": {"line": 2, "column": 0}, "map": {"version":3,"sources":["/[project]/crates/turbopack/tests/snapshot/integration/preset_env/input/index.js"],"sourcesContent":["class Foo {}\n\nconsole.log(Foo);\n"],"names":[],"mappings":"AAAA;;;AAAA,IAAA,AAAM,MAAN,SAAM;;2IAAA;;AAEN,QAAQ,GAAG,CAAC"}}, + {"offset": {"line": 2, "column": 0}, "map": {"version":3,"sources":["/[project]/crates/turbopack/tests/snapshot/integration/preset_env/input/index.js"],"sourcesContent":["class Foo {}\n\nconsole.log(Foo, [].includes(\"foo\"));\n"],"names":[],"mappings":"AAAA;;;AAAA,IAAA,AAAM,MAAN,SAAM;;yMAAA;;AAEN,QAAQ,GAAG,CAAC,KAAK,EAAE,CAAC,QAAQ,CAAC"}}, {"offset": {"line": 10, "column": 0}, "map": {"version": 3, "names": [], "sources": [], "mappings": "A"}}] } \ No newline at end of file diff --git a/crates/turbopack/tests/snapshot/integration/preset_env/output/node_modules_@swc_helpers_src__class_call_check.mjs.js b/crates/turbopack/tests/snapshot/integration/preset_env/output/node_modules_@swc_helpers_src__class_call_check.mjs.js deleted file mode 100644 index d7188731bc86d..0000000000000 --- a/crates/turbopack/tests/snapshot/integration/preset_env/output/node_modules_@swc_helpers_src__class_call_check.mjs.js +++ /dev/null @@ -1,18 +0,0 @@ -(self.TURBOPACK = self.TURBOPACK || []).push(["[workspace]/crates/turbopack/tests/snapshot/integration/preset_env/output/node_modules_@swc_helpers_src__class_call_check.mjs.js", { - -"[project]/node_modules/@swc/helpers/src/_class_call_check.mjs (ecmascript)": (({ r: __turbopack_require__, x: __turbopack_external_require__, i: __turbopack_import__, s: __turbopack_esm__, v: __turbopack_export_value__, c: __turbopack_cache__, l: __turbopack_load__, p: process }) => (() => { - -__turbopack_esm__({ - "default": ()=>_classCallCheck -}); -function _classCallCheck(instance, Constructor) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); - } -} - -})()), -}]); - - -//# sourceMappingURL=node_modules_@swc_helpers_src__class_call_check.mjs.js.8bcaf458ac88e308.map \ No newline at end of file diff --git a/crates/turbopack/tests/snapshot/integration/preset_env/output/node_modules_@swc_helpers_src__class_call_check.mjs.js.8bcaf458ac88e308.map b/crates/turbopack/tests/snapshot/integration/preset_env/output/node_modules_@swc_helpers_src__class_call_check.mjs.js.8bcaf458ac88e308.map deleted file mode 100644 index 911900b8f7b00..0000000000000 --- a/crates/turbopack/tests/snapshot/integration/preset_env/output/node_modules_@swc_helpers_src__class_call_check.mjs.js.8bcaf458ac88e308.map +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 3, - "sections": [ - {"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["/[project]/node_modules/@swc/helpers/src/_class_call_check.mjs"],"sourcesContent":["export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}"],"names":[],"mappings":"AAAA;;;AAAe,SAAS,gBAAgB,QAAQ,EAAE,WAAW,EAAE;IAC7D,IAAI,CAAC,CAAC,oBAAoB,WAAW,GAAG;QACtC,MAAM,IAAI,UAAU,qCAAqC;IAC3D,CAAC;AACH"}}, - {"offset": {"line": 12, "column": 0}, "map": {"version": 3, "names": [], "sources": [], "mappings": "A"}}] -} \ No newline at end of file diff --git a/crates/turbopack/tests/snapshot/integration/preset_env/output/node_modules_@swc_helpers_src__class_call_check.mjs.js.8c683f.map b/crates/turbopack/tests/snapshot/integration/preset_env/output/node_modules_@swc_helpers_src__class_call_check.mjs.js.8c683f.map deleted file mode 100644 index 2e5557e98ba31..0000000000000 --- a/crates/turbopack/tests/snapshot/integration/preset_env/output/node_modules_@swc_helpers_src__class_call_check.mjs.js.8c683f.map +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 3, - "sections": [ - {"offset": {"line": 2, "column": 0}, "map": {"version":3,"sources":["/[project]/node_modules/@swc/helpers/src/_class_call_check.mjs"],"sourcesContent":["export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}"],"names":[],"mappings":"AAAA;;;AAAe,SAAS,gBAAgB,QAAQ,EAAE,WAAW,EAAE;IAC7D,IAAI,CAAC,CAAC,oBAAoB,WAAW,GAAG;QACtC,MAAM,IAAI,UAAU,qCAAqC;IAC3D,CAAC;AACH"}}, - {"offset": {"line": 10, "column": 0}, "map": {"version": 3, "names": [], "sources": [], "mappings": "A"}}] -} \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1e533eaa0e6e5..8c51f980f0b4a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -570,7 +570,7 @@ importers: eslint: 7.32.0 jest: 27.5.1 strip-ansi: 6.0.1 - ts-jest: 27.1.5_a2w2anxb7tlg3huhq7xv6ky6mu + ts-jest: 27.1.5_ofe3phb7xbpfytwd3was4wpwte tsconfig: link:../tsconfig tsup: 5.12.9_typescript@4.7.4 turbo-types: link:../turbo-types @@ -594,7 +594,7 @@ importers: '@types/node': 16.11.44 eslint: 8.23.0 jest: 27.5.1 - ts-jest: 27.1.5_a2w2anxb7tlg3huhq7xv6ky6mu + ts-jest: 27.1.5_ofe3phb7xbpfytwd3was4wpwte tsconfig: link:../tsconfig tsup: 5.12.9_typescript@4.7.4 turbo-utils: link:../turbo-utils @@ -654,7 +654,7 @@ importers: '@types/node': 16.11.44 eslint: 8.23.0 jest: 27.5.1 - ts-jest: 27.1.5_a2w2anxb7tlg3huhq7xv6ky6mu + ts-jest: 27.1.5_ofe3phb7xbpfytwd3was4wpwte tsconfig: link:../tsconfig tsup: 5.12.9_typescript@4.7.4 typescript: 4.7.4 @@ -10187,7 +10187,7 @@ packages: eslint: 8.23.0 eslint-import-resolver-node: 0.3.6 eslint-import-resolver-typescript: 2.7.1_faomjyrlgqmwswvqymymzkxcqi - eslint-plugin-import: 2.26.0_b2bsdt7xfeq37o2ssm2gsqooum + eslint-plugin-import: 2.26.0_eslint@8.23.0 eslint-plugin-jsx-a11y: 6.6.1_eslint@8.23.0 eslint-plugin-react: 7.31.10_eslint@8.23.0 eslint-plugin-react-hooks: 4.6.0_eslint@8.23.0 @@ -10233,7 +10233,7 @@ packages: dependencies: debug: 4.3.4 eslint: 8.23.0 - eslint-plugin-import: 2.26.0_b2bsdt7xfeq37o2ssm2gsqooum + eslint-plugin-import: 2.26.0_eslint@8.23.0 glob: 7.2.3 is-glob: 4.0.3 resolve: 1.22.1 @@ -10260,7 +10260,7 @@ packages: - supports-color dev: true - /eslint-module-utils/2.7.4_nqlhwbq7emsyq4u7577zgsdrii: + /eslint-module-utils/2.7.4_hihmut27p26kpgmn7hpwbc6idm: resolution: {integrity: sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==} engines: {node: '>=4'} peerDependencies: @@ -10282,13 +10282,13 @@ packages: optional: true dependencies: debug: 3.2.7 - eslint: 8.10.0 + eslint: 8.23.0 eslint-import-resolver-node: 0.3.6 transitivePeerDependencies: - supports-color dev: true - /eslint-module-utils/2.7.4_y3okxxrmsqe4ldsgwnqlzhagbq: + /eslint-module-utils/2.7.4_nqlhwbq7emsyq4u7577zgsdrii: resolution: {integrity: sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==} engines: {node: '>=4'} peerDependencies: @@ -10309,16 +10309,14 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 5.36.0_nwctkcr5uyxf47tw7zkgamxmfq debug: 3.2.7 - eslint: 8.23.0 + eslint: 8.10.0 eslint-import-resolver-node: 0.3.6 - eslint-import-resolver-typescript: 2.7.1_faomjyrlgqmwswvqymymzkxcqi transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-import/2.26.0_b2bsdt7xfeq37o2ssm2gsqooum: + /eslint-plugin-import/2.26.0_eslint@8.10.0: resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==} engines: {node: '>=4'} peerDependencies: @@ -10328,14 +10326,13 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 5.36.0_nwctkcr5uyxf47tw7zkgamxmfq array-includes: 3.1.5 array.prototype.flat: 1.3.0 debug: 2.6.9 doctrine: 2.1.0 - eslint: 8.23.0 + eslint: 8.10.0 eslint-import-resolver-node: 0.3.6 - eslint-module-utils: 2.7.4_y3okxxrmsqe4ldsgwnqlzhagbq + eslint-module-utils: 2.7.4_nqlhwbq7emsyq4u7577zgsdrii has: 1.0.3 is-core-module: 2.9.0 is-glob: 4.0.3 @@ -10349,7 +10346,7 @@ packages: - supports-color dev: true - /eslint-plugin-import/2.26.0_eslint@8.10.0: + /eslint-plugin-import/2.26.0_eslint@8.23.0: resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==} engines: {node: '>=4'} peerDependencies: @@ -10363,9 +10360,9 @@ packages: array.prototype.flat: 1.3.0 debug: 2.6.9 doctrine: 2.1.0 - eslint: 8.10.0 + eslint: 8.23.0 eslint-import-resolver-node: 0.3.6 - eslint-module-utils: 2.7.4_nqlhwbq7emsyq4u7577zgsdrii + eslint-module-utils: 2.7.4_hihmut27p26kpgmn7hpwbc6idm has: 1.0.3 is-core-module: 2.9.0 is-glob: 4.0.3 @@ -22132,41 +22129,6 @@ packages: tslib: 1.14.1 dev: true - /ts-jest/27.1.5_a2w2anxb7tlg3huhq7xv6ky6mu: - resolution: {integrity: sha512-Xv6jBQPoBEvBq/5i2TeSG9tt/nqkbpcurrEG1b+2yfBrcJelOZF9Ml6dmyMh7bcW9JyFbRYpR5rxROSlBLTZHA==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - hasBin: true - peerDependencies: - '@babel/core': '>=7.0.0-beta.0 <8' - '@types/jest': ^27.0.0 - babel-jest: '>=27.0.0 <28' - esbuild: '*' - jest: ^27.0.0 - typescript: '>=3.8 <5.0' - peerDependenciesMeta: - '@babel/core': - optional: true - '@types/jest': - optional: true - babel-jest: - optional: true - esbuild: - optional: true - dependencies: - '@babel/core': 7.19.3 - '@types/jest': 27.5.2 - bs-logger: 0.2.6 - fast-json-stable-stringify: 2.1.0 - jest: 27.5.1 - jest-util: 27.5.1 - json5: 2.2.1 - lodash.memoize: 4.1.2 - make-error: 1.3.6 - semver: 7.3.7 - typescript: 4.7.4 - yargs-parser: 20.2.9 - dev: true - /ts-jest/27.1.5_kf2iyehgjolpzdw2iwnfkbakfe: resolution: {integrity: sha512-Xv6jBQPoBEvBq/5i2TeSG9tt/nqkbpcurrEG1b+2yfBrcJelOZF9Ml6dmyMh7bcW9JyFbRYpR5rxROSlBLTZHA==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0}