source: trip-planner-front/node_modules/@babel/plugin-proposal-unicode-property-regex/lib/index.js@ b738035

Last change on this file since b738035 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 773 bytes
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = void 0;
7
8var _helperCreateRegexpFeaturesPlugin = require("@babel/helper-create-regexp-features-plugin");
9
10var _helperPluginUtils = require("@babel/helper-plugin-utils");
11
12var _default = (0, _helperPluginUtils.declare)((api, options) => {
13 api.assertVersion(7);
14 const {
15 useUnicodeFlag = true
16 } = options;
17
18 if (typeof useUnicodeFlag !== "boolean") {
19 throw new Error(".useUnicodeFlag must be a boolean, or undefined");
20 }
21
22 return (0, _helperCreateRegexpFeaturesPlugin.createRegExpFeaturePlugin)({
23 name: "proposal-unicode-property-regex",
24 feature: "unicodePropertyEscape",
25 options: {
26 useUnicodeFlag
27 }
28 });
29});
30
31exports.default = _default;
Note: See TracBrowser for help on using the repository browser.