@atlaspack/feature-flags 2.13.2-dev.3666 → 2.13.2-dev.3682
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +2 -1
- package/lib/types.d.ts +6 -0
- package/package.json +2 -2
- package/src/index.js +1 -0
- package/src/types.js +5 -0
package/lib/index.js
CHANGED
|
@@ -20,7 +20,8 @@ const DEFAULT_FEATURE_FLAGS = exports.DEFAULT_FEATURE_FLAGS = {
|
|
|
20
20
|
useLmdbJsLite: false,
|
|
21
21
|
conditionalBundlingApi: false,
|
|
22
22
|
vcsMode: 'OLD',
|
|
23
|
-
loadableSideEffects: false
|
|
23
|
+
loadableSideEffects: false,
|
|
24
|
+
reduceResolverStringCreation: false
|
|
24
25
|
};
|
|
25
26
|
let featureFlagValues = {
|
|
26
27
|
...DEFAULT_FEATURE_FLAGS
|
package/lib/types.d.ts
CHANGED
|
@@ -47,5 +47,11 @@ export type FeatureFlags = {
|
|
|
47
47
|
* Enable scanning for the presence of loadable to determine side effects
|
|
48
48
|
*/
|
|
49
49
|
loadableSideEffects: boolean;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Enable performance optimization for the resolver specifier to_string
|
|
53
|
+
* conversions
|
|
54
|
+
*/
|
|
55
|
+
reduceResolverStringCreation: boolean;
|
|
50
56
|
};
|
|
51
57
|
export type ConsistencyCheckFeatureFlagValue = "NEW" | "OLD" | "NEW_AND_CHECK" | "OLD_AND_CHECK";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/feature-flags",
|
|
3
|
-
"version": "2.13.2-dev.
|
|
3
|
+
"version": "2.13.2-dev.3682+e6c0286ea",
|
|
4
4
|
"description": "Provides internal feature-flags for the atlaspack codebase.",
|
|
5
5
|
"license": "(MIT OR Apache-2.0)",
|
|
6
6
|
"publishConfig": {
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">= 16.0.0"
|
|
22
22
|
},
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "e6c0286ea2a77c6a41c6c0f38d51caf420d61aae"
|
|
24
24
|
}
|
package/src/index.js
CHANGED
package/src/types.js
CHANGED
|
@@ -41,6 +41,11 @@ export type FeatureFlags = {|
|
|
|
41
41
|
* Enable scanning for the presence of loadable to determine side effects
|
|
42
42
|
*/
|
|
43
43
|
loadableSideEffects: boolean,
|
|
44
|
+
/**
|
|
45
|
+
* Enable performance optimization for the resolver specifier to_string
|
|
46
|
+
* conversions
|
|
47
|
+
*/
|
|
48
|
+
reduceResolverStringCreation: boolean,
|
|
44
49
|
|};
|
|
45
50
|
|
|
46
51
|
export type ConsistencyCheckFeatureFlagValue =
|