From efbc2ffe6a1ee5ec38a4396305561d6515d0943e Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Fri, 30 Aug 2024 17:21:18 +0800 Subject: node fixes, updates --- .../@babel/helper-create-regexp-features-plugin/lib/features.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'node_modules/@babel/helper-create-regexp-features-plugin/lib/features.js') 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; } -- cgit v1.2.3