@atlaspack/feature-flags 2.13.2-dev.3666 → 2.13.2-dev.3674

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 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.3666+0afd6de27",
3
+ "version": "2.13.2-dev.3674+d7732a10a",
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": "0afd6de27cde19f2c9377e864bce83da5c098a54"
23
+ "gitHead": "d7732a10a9a123de06d5eedcf9800d621e740229"
24
24
  }
package/src/index.js CHANGED
@@ -16,6 +16,7 @@ export const DEFAULT_FEATURE_FLAGS: FeatureFlags = {
16
16
  conditionalBundlingApi: false,
17
17
  vcsMode: 'OLD',
18
18
  loadableSideEffects: false,
19
+ reduceResolverStringCreation: false,
19
20
  };
20
21
 
21
22
  let featureFlagValues: FeatureFlags = {...DEFAULT_FEATURE_FLAGS};
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 =