summaryrefslogtreecommitdiff
path: root/node_modules/@babel/plugin-syntax-import-assertions/lib
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-12-21 22:46:53 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-12-21 22:46:53 +0800
commitf06956efd2dc4bf77244a9fcce2b883a00b925af (patch)
tree0123cb73ce67f1f4b17e1d6cbabff076ee44e31b /node_modules/@babel/plugin-syntax-import-assertions/lib
parent8d980c13970c15b6d2312b6fc4ac51698dd0d220 (diff)
updated node modules
Diffstat (limited to 'node_modules/@babel/plugin-syntax-import-assertions/lib')
-rw-r--r--node_modules/@babel/plugin-syntax-import-assertions/lib/index.js3
-rw-r--r--node_modules/@babel/plugin-syntax-import-assertions/lib/index.js.map2
2 files changed, 2 insertions, 3 deletions
diff --git a/node_modules/@babel/plugin-syntax-import-assertions/lib/index.js b/node_modules/@babel/plugin-syntax-import-assertions/lib/index.js
index 2aad5b28..fe508b4e 100644
--- a/node_modules/@babel/plugin-syntax-import-assertions/lib/index.js
+++ b/node_modules/@babel/plugin-syntax-import-assertions/lib/index.js
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
});
exports.default = void 0;
var _helperPluginUtils = require("@babel/helper-plugin-utils");
-var _default = (0, _helperPluginUtils.declare)(api => {
+var _default = exports.default = (0, _helperPluginUtils.declare)(api => {
api.assertVersion(7);
return {
name: "syntax-import-assertions",
@@ -14,6 +14,5 @@ var _default = (0, _helperPluginUtils.declare)(api => {
}
};
});
-exports.default = _default;
//# sourceMappingURL=index.js.map
diff --git a/node_modules/@babel/plugin-syntax-import-assertions/lib/index.js.map b/node_modules/@babel/plugin-syntax-import-assertions/lib/index.js.map
index af3ffd73..0f594536 100644
--- a/node_modules/@babel/plugin-syntax-import-assertions/lib/index.js.map
+++ b/node_modules/@babel/plugin-syntax-import-assertions/lib/index.js.map
@@ -1 +1 @@
-{"version":3,"names":["_helperPluginUtils","require","_default","declare","api","assertVersion","name","manipulateOptions","opts","parserOpts","plugins","push","exports","default"],"sources":["../src/index.ts"],"sourcesContent":["import { declare } from \"@babel/helper-plugin-utils\";\n\nexport default declare(api => {\n api.assertVersion(7);\n\n return {\n name: \"syntax-import-assertions\",\n\n manipulateOptions(opts, parserOpts) {\n parserOpts.plugins.push(\"importAssertions\");\n },\n };\n});\n"],"mappings":";;;;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAEtC,IAAAC,0BAAO,EAACC,GAAG,IAAI;EAC5BA,GAAG,CAACC,aAAa,CAAC,CAAC,CAAC;EAEpB,OAAO;IACLC,IAAI,EAAE,0BAA0B;IAEhCC,iBAAiBA,CAACC,IAAI,EAAEC,UAAU,EAAE;MAClCA,UAAU,CAACC,OAAO,CAACC,IAAI,CAAC,kBAAkB,CAAC;IAC7C;EACF,CAAC;AACH,CAAC,CAAC;AAAAC,OAAA,CAAAC,OAAA,GAAAX,QAAA"} \ No newline at end of file
+{"version":3,"names":["_helperPluginUtils","require","_default","exports","default","declare","api","assertVersion","name","manipulateOptions","opts","parserOpts","plugins","push"],"sources":["../src/index.ts"],"sourcesContent":["import { declare } from \"@babel/helper-plugin-utils\";\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: \"syntax-import-assertions\",\n\n manipulateOptions(opts, parserOpts) {\n parserOpts.plugins.push(\"importAssertions\");\n },\n };\n});\n"],"mappings":";;;;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEtC,IAAAC,0BAAO,EAACC,GAAG,IAAI;EAC5BA,GAAG,CAACC,aAAa,CAGX,CACN,CAAC;EAED,OAAO;IACLC,IAAI,EAAE,0BAA0B;IAEhCC,iBAAiBA,CAACC,IAAI,EAAEC,UAAU,EAAE;MAClCA,UAAU,CAACC,OAAO,CAACC,IAAI,CAAC,kBAAkB,CAAC;IAC7C;EACF,CAAC;AACH,CAAC,CAAC"} \ No newline at end of file