diff options
Diffstat (limited to 'node_modules/@babel/plugin-syntax-import-attributes')
4 files changed, 5 insertions, 6 deletions
diff --git a/node_modules/@babel/plugin-syntax-import-attributes/README.md b/node_modules/@babel/plugin-syntax-import-attributes/README.md index ad81ef5a..91f56a02 100644 --- a/node_modules/@babel/plugin-syntax-import-attributes/README.md +++ b/node_modules/@babel/plugin-syntax-import-attributes/README.md @@ -2,7 +2,7 @@ > Allow parsing of the module attributes in the import statement -See our website [@babel/plugin-syntax-import-attributes](https://babeljs.io/docs/en/babel-plugin-syntax-import-attributes) for more information. +See our website [@babel/plugin-syntax-import-attributes](https://babeljs.io/docs/babel-plugin-syntax-import-attributes) for more information. ## Install diff --git a/node_modules/@babel/plugin-syntax-import-attributes/lib/index.js b/node_modules/@babel/plugin-syntax-import-attributes/lib/index.js index 6e78b9a0..dd591457 100644 --- a/node_modules/@babel/plugin-syntax-import-attributes/lib/index.js +++ b/node_modules/@babel/plugin-syntax-import-attributes/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, { deprecatedAssertSyntax }) => { api.assertVersion("^7.22.0"); @@ -26,6 +26,5 @@ var _default = (0, _helperPluginUtils.declare)((api, { } }; }); -exports.default = _default; //# sourceMappingURL=index.js.map diff --git a/node_modules/@babel/plugin-syntax-import-attributes/lib/index.js.map b/node_modules/@babel/plugin-syntax-import-attributes/lib/index.js.map index 678a35c5..1685bf0f 100644 --- a/node_modules/@babel/plugin-syntax-import-attributes/lib/index.js.map +++ b/node_modules/@babel/plugin-syntax-import-attributes/lib/index.js.map @@ -1 +1 @@ -{"version":3,"names":["_helperPluginUtils","require","_default","declare","api","deprecatedAssertSyntax","assertVersion","Error","name","manipulateOptions","parserOpts","generatorOpts","_generatorOpts$import","importAttributesKeyword","plugins","push","Boolean","exports","default"],"sources":["../src/index.ts"],"sourcesContent":["import { declare } from \"@babel/helper-plugin-utils\";\n\nexport interface Options {\n deprecatedAssertSyntax?: boolean;\n}\n\nexport default declare((api, { deprecatedAssertSyntax }: Options) => {\n api.assertVersion(\"^7.22.0\");\n\n if (\n deprecatedAssertSyntax != null &&\n typeof deprecatedAssertSyntax !== \"boolean\"\n ) {\n throw new Error(\n \"'deprecatedAssertSyntax' must be a boolean, if specified.\",\n );\n }\n\n return {\n name: \"syntax-import-attributes\",\n\n manipulateOptions({ parserOpts, generatorOpts }) {\n generatorOpts.importAttributesKeyword ??= \"with\";\n parserOpts.plugins.push([\n \"importAttributes\",\n { deprecatedAssertSyntax: Boolean(deprecatedAssertSyntax) },\n ]);\n },\n };\n});\n"],"mappings":";;;;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAMtC,IAAAC,0BAAO,EAAC,CAACC,GAAG,EAAE;EAAEC;AAAgC,CAAC,KAAK;EACnED,GAAG,CAACE,aAAa,CAAC,SAAS,CAAC;EAE5B,IACED,sBAAsB,IAAI,IAAI,IAC9B,OAAOA,sBAAsB,KAAK,SAAS,EAC3C;IACA,MAAM,IAAIE,KAAK,CACb,2DACF,CAAC;EACH;EAEA,OAAO;IACLC,IAAI,EAAE,0BAA0B;IAEhCC,iBAAiBA,CAAC;MAAEC,UAAU;MAAEC;IAAc,CAAC,EAAE;MAAA,IAAAC,qBAAA;MAC/C,CAAAA,qBAAA,GAAAD,aAAa,CAACE,uBAAuB,YAAAD,qBAAA,GAArCD,aAAa,CAACE,uBAAuB,GAAK,MAAM;MAChDH,UAAU,CAACI,OAAO,CAACC,IAAI,CAAC,CACtB,kBAAkB,EAClB;QAAEV,sBAAsB,EAAEW,OAAO,CAACX,sBAAsB;MAAE,CAAC,CAC5D,CAAC;IACJ;EACF,CAAC;AACH,CAAC,CAAC;AAAAY,OAAA,CAAAC,OAAA,GAAAhB,QAAA"}
\ No newline at end of file +{"version":3,"names":["_helperPluginUtils","require","_default","exports","default","declare","api","deprecatedAssertSyntax","assertVersion","Error","name","manipulateOptions","parserOpts","generatorOpts","_generatorOpts$import","importAttributesKeyword","plugins","push","Boolean"],"sources":["../src/index.ts"],"sourcesContent":["import { declare } from \"@babel/helper-plugin-utils\";\n\nexport interface Options {\n deprecatedAssertSyntax?: boolean;\n}\n\nexport default declare((api, { deprecatedAssertSyntax }: Options) => {\n api.assertVersion(\n process.env.BABEL_8_BREAKING && process.env.IS_PUBLISH\n ? PACKAGE_JSON.version\n : \"^7.22.0\",\n );\n\n if (\n deprecatedAssertSyntax != null &&\n typeof deprecatedAssertSyntax !== \"boolean\"\n ) {\n throw new Error(\n \"'deprecatedAssertSyntax' must be a boolean, if specified.\",\n );\n }\n\n return {\n name: \"syntax-import-attributes\",\n\n manipulateOptions({ parserOpts, generatorOpts }) {\n generatorOpts.importAttributesKeyword ??= \"with\";\n parserOpts.plugins.push([\n \"importAttributes\",\n { deprecatedAssertSyntax: Boolean(deprecatedAssertSyntax) },\n ]);\n },\n };\n});\n"],"mappings":";;;;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AAAqD,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAMtC,IAAAC,0BAAO,EAAC,CAACC,GAAG,EAAE;EAAEC;AAAgC,CAAC,KAAK;EACnED,GAAG,CAACE,aAAa,CAGX,SACN,CAAC;EAED,IACED,sBAAsB,IAAI,IAAI,IAC9B,OAAOA,sBAAsB,KAAK,SAAS,EAC3C;IACA,MAAM,IAAIE,KAAK,CACb,2DACF,CAAC;EACH;EAEA,OAAO;IACLC,IAAI,EAAE,0BAA0B;IAEhCC,iBAAiBA,CAAC;MAAEC,UAAU;MAAEC;IAAc,CAAC,EAAE;MAAA,IAAAC,qBAAA;MAC/C,CAAAA,qBAAA,GAAAD,aAAa,CAACE,uBAAuB,YAAAD,qBAAA,GAArCD,aAAa,CAACE,uBAAuB,GAAK,MAAM;MAChDH,UAAU,CAACI,OAAO,CAACC,IAAI,CAAC,CACtB,kBAAkB,EAClB;QAAEV,sBAAsB,EAAEW,OAAO,CAACX,sBAAsB;MAAE,CAAC,CAC5D,CAAC;IACJ;EACF,CAAC;AACH,CAAC,CAAC"}
\ No newline at end of file diff --git a/node_modules/@babel/plugin-syntax-import-attributes/package.json b/node_modules/@babel/plugin-syntax-import-attributes/package.json index 2239fa8e..d932acdd 100644 --- a/node_modules/@babel/plugin-syntax-import-attributes/package.json +++ b/node_modules/@babel/plugin-syntax-import-attributes/package.json @@ -1,6 +1,6 @@ { "name": "@babel/plugin-syntax-import-attributes", - "version": "7.22.5", + "version": "7.23.3", "description": "Allow parsing of the module attributes in the import statement", "repository": { "type": "git", @@ -22,7 +22,7 @@ "@babel/core": "^7.0.0-0" }, "devDependencies": { - "@babel/core": "^7.22.5" + "@babel/core": "^7.23.3" }, "engines": { "node": ">=6.9.0" |
