| 1 |
export const FEATURESscip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`features.ts`/FEATURES. = Objectscip-typescript npm typescript 5.9.3 lib/`lib.es5.d.ts`/Object#.freezescip-typescript npm typescript 5.9.3 lib/`lib.es5.d.ts`/ObjectConstructor#freeze().({ |
| 2 |
unicodeFlagscip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`features.ts`/unicodeFlag0:: 1 << 0, |
| 3 |
dotAllFlagscip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`features.ts`/dotAllFlag0:: 1 << 1, |
| 4 |
unicodePropertyEscapescip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`features.ts`/unicodePropertyEscape0:: 1 << 2, |
| 5 |
namedCaptureGroupsscip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`features.ts`/namedCaptureGroups0:: 1 << 3, |
| 6 |
unicodeSetsFlag_syntaxscip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`features.ts`/unicodeSetsFlag_syntax0:: 1 << 4, |
| 7 |
unicodeSetsFlagscip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`features.ts`/unicodeSetsFlag0:: 1 << 5, |
| 8 |
duplicateNamedCaptureGroupsscip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`features.ts`/duplicateNamedCaptureGroups0:: 1 << 6, |
| 9 |
}); |
| 10 |
|
| 11 |
// We can't use a symbol because this needs to always be the same, even if |
| 12 |
// this package isn't deduped by npm. e.g. |
| 13 |
// - node_modules/ |
| 14 |
// - @babel/plugin-regexp-features |
| 15 |
// - @babel/plugin-proposal-unicode-property-regex |
| 16 |
// - node_modules |
| 17 |
// - @babel-plugin-regexp-features |
| 18 |
export const featuresKeyscip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`features.ts`/featuresKey. = "@babel/plugin-regexp-features/featuresKey"; |
| 19 |
export const runtimeKeyscip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`features.ts`/runtimeKey. = "@babel/plugin-regexp-features/runtimeKey"; |
| 20 |
|
| •21 |
type FeatureTypescip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`features.ts`/FeatureType# = (typeof FEATURESscip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`features.ts`/FEATURES.)[keyof typeof FEATURESscip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`features.ts`/FEATURES.]; |
| 22 |
|
| 23 |
export function enableFeaturescip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`features.ts`/enableFeature().(featuresscip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`features.ts`/enableFeature().(features): number, featurescip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`features.ts`/enableFeature().(feature): FeatureTypescip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`features.ts`/FeatureType#): number { |
| 24 |
return featuresscip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`features.ts`/enableFeature().(features) | featurescip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`features.ts`/enableFeature().(feature); |
| 25 |
} |
| 26 |
|
| 27 |
export function hasFeaturescip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`features.ts`/hasFeature().(featuresscip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`features.ts`/hasFeature().(features): number, featurescip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`features.ts`/hasFeature().(feature): FeatureTypescip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`features.ts`/FeatureType#) { |
| 28 |
return !!(featuresscip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`features.ts`/hasFeature().(features) & featurescip-typescript npm @babel/helper-create-regexp-features-plugin 7.20.5 src/`features.ts`/hasFeature().(feature)); |
| 29 |
} |