@parcel/feature-flags 2.12.1-dev.3267 → 2.12.1-dev.3275

Sign up to get free protection for your applications and to get access to all the features.
package/lib/index.js CHANGED
@@ -10,7 +10,9 @@ 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
13
+ configKeyInvalidation: false,
14
+ parcelV3: false,
15
+ randomLargeBlobKeys: false
14
16
  };
15
17
  let featureFlagValues = {
16
18
  ...DEFAULT_FEATURE_FLAGS
package/lib/types.d.ts CHANGED
@@ -8,4 +8,14 @@ export type FeatureFlags = {
8
8
  * `config.getConfigFrom(..., {packageKey: '...'})` and the value itself hasn't changed.
9
9
  */
10
10
  readonly configKeyInvalidation: boolean;
11
+
12
+ /**
13
+ * Rust backed requests
14
+ */
15
+ readonly parcelV3: boolean;
16
+
17
+ /**
18
+ * Store large blobs on randomly generated keys
19
+ */
20
+ readonly randomLargeBlobKeys: boolean;
11
21
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@parcel/feature-flags",
3
- "version": "2.12.1-dev.3267+d23374796",
4
- "description": "Blazing fast, zero configuration web application bundler",
3
+ "version": "2.12.1-dev.3275+8b017703f",
4
+ "description": "Provides internal feature-flags for the parcel codebase.",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -24,5 +24,5 @@
24
24
  "engines": {
25
25
  "node": ">= 16.0.0"
26
26
  },
27
- "gitHead": "d23374796ba2b63546910c8b0f3da789579a4d7b"
27
+ "gitHead": "8b017703fdf4a90a643ce0190cdd7482060dc86b"
28
28
  }
package/src/index.js CHANGED
@@ -8,6 +8,8 @@ export type FeatureFlags = _FeatureFlags;
8
8
  export const DEFAULT_FEATURE_FLAGS: FeatureFlags = {
9
9
  exampleFeature: false,
10
10
  configKeyInvalidation: false,
11
+ parcelV3: false,
12
+ randomLargeBlobKeys: false,
11
13
  };
12
14
 
13
15
  let featureFlagValues: FeatureFlags = {...DEFAULT_FEATURE_FLAGS};
package/src/types.js CHANGED
@@ -9,4 +9,12 @@ export type FeatureFlags = {|
9
9
  * `config.getConfigFrom(..., {packageKey: '...'})` and the value itself hasn't changed.
10
10
  */
11
11
  +configKeyInvalidation: boolean,
12
+ /**
13
+ * Rust backed requests
14
+ */
15
+ +parcelV3: boolean,
16
+ /**
17
+ * Store large blobs on randomly generated keys
18
+ */
19
+ +randomLargeBlobKeys: boolean,
12
20
  |};