source: imaps-frontend/node_modules/@babel/plugin-transform-unicode-property-regex/lib/index.js

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

F4 Finalna Verzija

  • Property mode set to 100644
File size: 831 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.0.0-0 || >8.0.0-alpha <8.0.0-beta");
11 const {
12 useUnicodeFlag = true
13 } = options;
14 if (typeof useUnicodeFlag !== "boolean") {
15 throw new Error(".useUnicodeFlag must be a boolean, or undefined");
16 }
17 return (0, _helperCreateRegexpFeaturesPlugin.createRegExpFeaturePlugin)({
18 name: "transform-unicode-property-regex",
19 feature: "unicodePropertyEscape",
20 options: {
21 useUnicodeFlag
22 }
23 });
24});
25
26//# sourceMappingURL=index.js.map
Note: See TracBrowser for help on using the repository browser.