diff options
Diffstat (limited to 'node_modules/@babel/helper-create-regexp-features-plugin/lib/features.js')
| -rw-r--r-- | node_modules/@babel/helper-create-regexp-features-plugin/lib/features.js | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/node_modules/@babel/helper-create-regexp-features-plugin/lib/features.js b/node_modules/@babel/helper-create-regexp-features-plugin/lib/features.js deleted file mode 100644 index 2769a1b2..00000000 --- a/node_modules/@babel/helper-create-regexp-features-plugin/lib/features.js +++ /dev/null @@ -1,30 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.FEATURES = void 0; -exports.enableFeature = enableFeature; -exports.featuresKey = void 0; -exports.hasFeature = hasFeature; -exports.runtimeKey = void 0; -const FEATURES = exports.FEATURES = Object.freeze({ - unicodeFlag: 1 << 0, - dotAllFlag: 1 << 1, - unicodePropertyEscape: 1 << 2, - namedCaptureGroups: 1 << 3, - unicodeSetsFlag_syntax: 1 << 4, - unicodeSetsFlag: 1 << 5, - duplicateNamedCaptureGroups: 1 << 6, - modifiers: 1 << 7 -}); -const featuresKey = exports.featuresKey = "@babel/plugin-regexp-features/featuresKey"; -const runtimeKey = exports.runtimeKey = "@babel/plugin-regexp-features/runtimeKey"; -function enableFeature(features, feature) { - return features | feature; -} -function hasFeature(features, feature) { - return !!(features & feature); -} - -//# sourceMappingURL=features.js.map |
