source: imaps-frontend/node_modules/@babel/plugin-transform-duplicate-named-capturing-groups-regex/lib/index.js@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 838 bytes
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = void 0;
7var _helperCreateRegexpFeaturesPlugin = require("@babel/helper-create-regexp-features-plugin");
8var _helperPluginUtils = require("@babel/helper-plugin-utils");
9var _default = exports.default = (0, _helperPluginUtils.declare)((api, options) => {
10 api.assertVersion("^7.19.0 || >8.0.0-alpha <8.0.0-beta");
11 const {
12 runtime
13 } = options;
14 if (runtime !== undefined && typeof runtime !== "boolean") {
15 throw new Error("The 'runtime' option must be boolean");
16 }
17 return (0, _helperCreateRegexpFeaturesPlugin.createRegExpFeaturePlugin)({
18 name: "transform-duplicate-named-capturing-groups-regex",
19 feature: "duplicateNamedCaptureGroups",
20 options: {
21 runtime
22 }
23 });
24});
25
26//# sourceMappingURL=index.js.map
Note: See TracBrowser for help on using the repository browser.