diff options
Diffstat (limited to 'node_modules/@babel/plugin-transform-dynamic-import')
3 files changed, 7 insertions, 7 deletions
diff --git a/node_modules/@babel/plugin-transform-dynamic-import/lib/index.js b/node_modules/@babel/plugin-transform-dynamic-import/lib/index.js index 4bef54f2..f3e7f3c4 100644 --- a/node_modules/@babel/plugin-transform-dynamic-import/lib/index.js +++ b/node_modules/@babel/plugin-transform-dynamic-import/lib/index.js @@ -22,9 +22,9 @@ var _default = exports.default = (0, _helperPluginUtils.declare)(api => { api.assertVersion(7); return { name: "transform-dynamic-import", - inherits: require("@babel/plugin-syntax-dynamic-import").default, + inherits: api.version[0] === "8" ? undefined : require("@babel/plugin-syntax-dynamic-import").default, pre() { - this.file.set("@babel/plugin-proposal-dynamic-import", "7.23.4"); + this.file.set("@babel/plugin-proposal-dynamic-import", "7.24.1"); }, visitor: { Program() { diff --git a/node_modules/@babel/plugin-transform-dynamic-import/lib/index.js.map b/node_modules/@babel/plugin-transform-dynamic-import/lib/index.js.map index 7bfbaca0..acc35764 100644 --- a/node_modules/@babel/plugin-transform-dynamic-import/lib/index.js.map +++ b/node_modules/@babel/plugin-transform-dynamic-import/lib/index.js.map @@ -1 +1 @@ -{"version":3,"names":["_helperPluginUtils","require","SUPPORTED_MODULES","MODULES_NOT_FOUND","_default","exports","default","declare","api","assertVersion","name","inherits","pre","file","set","visitor","Program","modules","get","includes","Error"],"sources":["../src/index.ts"],"sourcesContent":["import { declare } from \"@babel/helper-plugin-utils\";\n\nconst SUPPORTED_MODULES = [\"commonjs\", \"amd\", \"systemjs\"];\n\nconst MODULES_NOT_FOUND = `\\\n@babel/plugin-transform-dynamic-import depends on a modules\ntransform plugin. Supported plugins are:\n - @babel/plugin-transform-modules-commonjs ^7.4.0\n - @babel/plugin-transform-modules-amd ^7.4.0\n - @babel/plugin-transform-modules-systemjs ^7.4.0\n\nIf you are using Webpack or Rollup and thus don't want\nBabel to transpile your imports and exports, you can use\nthe @babel/plugin-syntax-dynamic-import plugin and let your\nbundler handle dynamic imports.\n`;\n\nexport default declare(api => {\n api.assertVersion(\n process.env.BABEL_8_BREAKING && process.env.IS_PUBLISH\n ? PACKAGE_JSON.version\n : 7,\n );\n\n return {\n name: \"transform-dynamic-import\",\n inherits: USE_ESM\n ? undefined\n : IS_STANDALONE\n ? undefined\n : // eslint-disable-next-line no-restricted-globals\n require(\"@babel/plugin-syntax-dynamic-import\").default,\n\n pre() {\n // We keep using the old name, for compatibility with older\n // version of the CommonJS transform.\n this.file.set(\n \"@babel/plugin-proposal-dynamic-import\",\n PACKAGE_JSON.version,\n );\n },\n\n visitor: {\n Program() {\n const modules = this.file.get(\"@babel/plugin-transform-modules-*\");\n\n if (!SUPPORTED_MODULES.includes(modules)) {\n throw new Error(MODULES_NOT_FOUND);\n }\n },\n },\n };\n});\n"],"mappings":";;;;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AAEA,MAAMC,iBAAiB,GAAG,CAAC,UAAU,EAAE,KAAK,EAAE,UAAU,CAAC;AAEzD,MAAMC,iBAAiB,GAAI;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEa,IAAAC,0BAAO,EAACC,GAAG,IAAI;EAC5BA,GAAG,CAACC,aAAa,CAGX,CACN,CAAC;EAED,OAAO;IACLC,IAAI,EAAE,0BAA0B;IAChCC,QAAQ,EAKFV,OAAO,CAAC,qCAAqC,CAAC,CAACK,OAAO;IAE5DM,GAAGA,CAAA,EAAG;MAGJ,IAAI,CAACC,IAAI,CAACC,GAAG,CACX,uCAAuC,UAEzC,CAAC;IACH,CAAC;IAEDC,OAAO,EAAE;MACPC,OAAOA,CAAA,EAAG;QACR,MAAMC,OAAO,GAAG,IAAI,CAACJ,IAAI,CAACK,GAAG,CAAC,mCAAmC,CAAC;QAElE,IAAI,CAAChB,iBAAiB,CAACiB,QAAQ,CAACF,OAAO,CAAC,EAAE;UACxC,MAAM,IAAIG,KAAK,CAACjB,iBAAiB,CAAC;QACpC;MACF;IACF;EACF,CAAC;AACH,CAAC,CAAC"}
\ No newline at end of file +{"version":3,"names":["_helperPluginUtils","require","SUPPORTED_MODULES","MODULES_NOT_FOUND","_default","exports","default","declare","api","assertVersion","name","inherits","version","undefined","pre","file","set","visitor","Program","modules","get","includes","Error"],"sources":["../src/index.ts"],"sourcesContent":["import { declare } from \"@babel/helper-plugin-utils\";\n\nconst SUPPORTED_MODULES = [\"commonjs\", \"amd\", \"systemjs\"];\n\nconst MODULES_NOT_FOUND = `\\\n@babel/plugin-transform-dynamic-import depends on a modules\ntransform plugin. Supported plugins are:\n - @babel/plugin-transform-modules-commonjs ^7.4.0\n - @babel/plugin-transform-modules-amd ^7.4.0\n - @babel/plugin-transform-modules-systemjs ^7.4.0\n\nIf you are using Webpack or Rollup and thus don't want\nBabel to transpile your imports and exports, you can use\nthe @babel/plugin-syntax-dynamic-import plugin and let your\nbundler handle dynamic imports.\n`;\n\nexport default declare(api => {\n api.assertVersion(REQUIRED_VERSION(7));\n\n return {\n name: \"transform-dynamic-import\",\n inherits:\n USE_ESM || IS_STANDALONE || api.version[0] === \"8\"\n ? undefined\n : // eslint-disable-next-line no-restricted-globals\n require(\"@babel/plugin-syntax-dynamic-import\").default,\n\n pre() {\n // We keep using the old name, for compatibility with older\n // version of the CommonJS transform.\n this.file.set(\n \"@babel/plugin-proposal-dynamic-import\",\n PACKAGE_JSON.version,\n );\n },\n\n visitor: {\n Program() {\n const modules = this.file.get(\"@babel/plugin-transform-modules-*\");\n\n if (!SUPPORTED_MODULES.includes(modules)) {\n throw new Error(MODULES_NOT_FOUND);\n }\n },\n },\n };\n});\n"],"mappings":";;;;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AAEA,MAAMC,iBAAiB,GAAG,CAAC,UAAU,EAAE,KAAK,EAAE,UAAU,CAAC;AAEzD,MAAMC,iBAAiB,GAAI;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEa,IAAAC,0BAAO,EAACC,GAAG,IAAI;EAC5BA,GAAG,CAACC,aAAa,CAAkB,CAAE,CAAC;EAEtC,OAAO;IACLC,IAAI,EAAE,0BAA0B;IAChCC,QAAQ,EACsBH,GAAG,CAACI,OAAO,CAAC,CAAC,CAAC,KAAK,GAAG,GAC9CC,SAAS,GAETZ,OAAO,CAAC,qCAAqC,CAAC,CAACK,OAAO;IAE5DQ,GAAGA,CAAA,EAAG;MAGJ,IAAI,CAACC,IAAI,CAACC,GAAG,CACX,uCAAuC,UAEzC,CAAC;IACH,CAAC;IAEDC,OAAO,EAAE;MACPC,OAAOA,CAAA,EAAG;QACR,MAAMC,OAAO,GAAG,IAAI,CAACJ,IAAI,CAACK,GAAG,CAAC,mCAAmC,CAAC;QAElE,IAAI,CAAClB,iBAAiB,CAACmB,QAAQ,CAACF,OAAO,CAAC,EAAE;UACxC,MAAM,IAAIG,KAAK,CAACnB,iBAAiB,CAAC;QACpC;MACF;IACF;EACF,CAAC;AACH,CAAC,CAAC","ignoreList":[]}
\ No newline at end of file diff --git a/node_modules/@babel/plugin-transform-dynamic-import/package.json b/node_modules/@babel/plugin-transform-dynamic-import/package.json index cd29f79b..152df201 100644 --- a/node_modules/@babel/plugin-transform-dynamic-import/package.json +++ b/node_modules/@babel/plugin-transform-dynamic-import/package.json @@ -1,6 +1,6 @@ { "name": "@babel/plugin-transform-dynamic-import", - "version": "7.23.4", + "version": "7.24.1", "description": "Transform import() expressions", "repository": { "type": "git", @@ -16,15 +16,15 @@ "babel-plugin" ], "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-plugin-utils": "^7.24.0", "@babel/plugin-syntax-dynamic-import": "^7.8.3" }, "peerDependencies": { "@babel/core": "^7.0.0-0" }, "devDependencies": { - "@babel/core": "^7.23.3", - "@babel/helper-plugin-test-runner": "^7.22.5" + "@babel/core": "^7.24.1", + "@babel/helper-plugin-test-runner": "^7.24.1" }, "engines": { "node": ">=6.9.0" |
