@parcel/feature-flags 2.12.1-canary.3310 → 2.12.1-canary.3313

Sign up to get free protection for your applications and to get access to all the features.
package/lib/index.js CHANGED
@@ -10,8 +10,8 @@ exports.setFeatureFlags = setFeatureFlags;
10
10
  // but we want to export FeatureFlags for Flow
11
11
  const DEFAULT_FEATURE_FLAGS = exports.DEFAULT_FEATURE_FLAGS = {
12
12
  exampleFeature: false,
13
- configKeyInvalidation: false,
14
- parcelV3: false
13
+ parcelV3: false,
14
+ importRetry: false
15
15
  };
16
16
  let featureFlagValues = {
17
17
  ...DEFAULT_FEATURE_FLAGS
package/lib/types.d.ts CHANGED
@@ -3,14 +3,12 @@ export type FeatureFlags = {
3
3
  readonly exampleFeature: boolean;
4
4
 
5
5
  /**
6
- * Enables content hash based invalidation for config keys used in plugins.
7
- * This allows Assets not to be invalidated when using
8
- * `config.getConfigFrom(..., {packageKey: '...'})` and the value itself hasn't changed.
6
+ * Rust backed requests
9
7
  */
10
- readonly configKeyInvalidation: boolean;
8
+ readonly parcelV3: boolean;
11
9
 
12
10
  /**
13
- * Rust backed requests
11
+ * Configure runtime to enable retriable dynamic imports
14
12
  */
15
- readonly parcelV3: boolean;
13
+ importRetry: boolean;
16
14
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcel/feature-flags",
3
- "version": "2.12.1-canary.3310+f58a5e89f",
3
+ "version": "2.12.1-canary.3313+29778a2f4",
4
4
  "description": "Provides internal feature-flags for the parcel codebase.",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -24,5 +24,5 @@
24
24
  "engines": {
25
25
  "node": ">= 16.0.0"
26
26
  },
27
- "gitHead": "f58a5e89ff6a75c6b3601b33f69ea22ec20e5a52"
27
+ "gitHead": "29778a2f4737b191b727882a0f97653344b70368"
28
28
  }
package/src/index.js CHANGED
@@ -7,8 +7,8 @@ export type FeatureFlags = _FeatureFlags;
7
7
 
8
8
  export const DEFAULT_FEATURE_FLAGS: FeatureFlags = {
9
9
  exampleFeature: false,
10
- configKeyInvalidation: false,
11
10
  parcelV3: false,
11
+ importRetry: false,
12
12
  };
13
13
 
14
14
  let featureFlagValues: FeatureFlags = {...DEFAULT_FEATURE_FLAGS};
package/src/types.js CHANGED
@@ -3,14 +3,12 @@
3
3
  export type FeatureFlags = {|
4
4
  // This feature flag mostly exists to test the feature flag system, and doesn't have any build/runtime effect
5
5
  +exampleFeature: boolean,
6
- /**
7
- * Enables content hash based invalidation for config keys used in plugins.
8
- * This allows Assets not to be invalidated when using
9
- * `config.getConfigFrom(..., {packageKey: '...'})` and the value itself hasn't changed.
10
- */
11
- +configKeyInvalidation: boolean,
12
6
  /**
13
7
  * Rust backed requests
14
8
  */
15
9
  +parcelV3: boolean,
10
+ /**
11
+ * Configure runtime to enable retriable dynamic imports
12
+ */
13
+ importRetry: boolean,
16
14
  |};