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 | 9 |
1 files changed, 3 insertions, 6 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 index 988a6d54..2769a1b2 100644 --- a/node_modules/@babel/helper-create-regexp-features-plugin/lib/features.js +++ b/node_modules/@babel/helper-create-regexp-features-plugin/lib/features.js @@ -8,7 +8,7 @@ exports.enableFeature = enableFeature; exports.featuresKey = void 0; exports.hasFeature = hasFeature; exports.runtimeKey = void 0; -const FEATURES = Object.freeze({ +const FEATURES = exports.FEATURES = Object.freeze({ unicodeFlag: 1 << 0, dotAllFlag: 1 << 1, unicodePropertyEscape: 1 << 2, @@ -18,11 +18,8 @@ const FEATURES = Object.freeze({ duplicateNamedCaptureGroups: 1 << 6, modifiers: 1 << 7 }); -exports.FEATURES = FEATURES; -const featuresKey = "@babel/plugin-regexp-features/featuresKey"; -exports.featuresKey = featuresKey; -const runtimeKey = "@babel/plugin-regexp-features/runtimeKey"; -exports.runtimeKey = runtimeKey; +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; } |
