@parcel/feature-flags 2.12.1-canary.3344 → 2.12.1-canary.3350
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/index.js +1 -3
- package/lib/types.d.ts +0 -10
- package/package.json +2 -2
- package/src/index.js +0 -2
- package/src/types.js +0 -8
package/lib/index.js
CHANGED
@@ -10,10 +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
|
-
parcelV3: false,
|
14
13
|
useWatchmanWatcher: false,
|
15
|
-
importRetry: false
|
16
|
-
ownedResolverStructures: false
|
14
|
+
importRetry: false
|
17
15
|
};
|
18
16
|
let featureFlagValues = {
|
19
17
|
...DEFAULT_FEATURE_FLAGS
|
package/lib/types.d.ts
CHANGED
@@ -2,11 +2,6 @@ export type FeatureFlags = {
|
|
2
2
|
// This feature flag mostly exists to test the feature flag system, and doesn't have any build/runtime effect
|
3
3
|
readonly exampleFeature: boolean;
|
4
4
|
|
5
|
-
/**
|
6
|
-
* Rust backed requests
|
7
|
-
*/
|
8
|
-
readonly parcelV3: boolean;
|
9
|
-
|
10
5
|
/**
|
11
6
|
* Use node.js implementation of @parcel/watcher watchman backend
|
12
7
|
*/
|
@@ -16,9 +11,4 @@ export type FeatureFlags = {
|
|
16
11
|
* Configure runtime to enable retriable dynamic imports
|
17
12
|
*/
|
18
13
|
importRetry: boolean;
|
19
|
-
|
20
|
-
/**
|
21
|
-
* Enable resolver refactor into owned data structures.
|
22
|
-
*/
|
23
|
-
ownedResolverStructures: boolean;
|
24
14
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@parcel/feature-flags",
|
3
|
-
"version": "2.12.1-canary.
|
3
|
+
"version": "2.12.1-canary.3350+5ecb1316c",
|
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": "
|
27
|
+
"gitHead": "5ecb1316c23d22b89bd3e2fbb44137761cecfc70"
|
28
28
|
}
|
package/src/index.js
CHANGED
@@ -7,10 +7,8 @@ export type FeatureFlags = _FeatureFlags;
|
|
7
7
|
|
8
8
|
export const DEFAULT_FEATURE_FLAGS: FeatureFlags = {
|
9
9
|
exampleFeature: false,
|
10
|
-
parcelV3: false,
|
11
10
|
useWatchmanWatcher: false,
|
12
11
|
importRetry: false,
|
13
|
-
ownedResolverStructures: false,
|
14
12
|
};
|
15
13
|
|
16
14
|
let featureFlagValues: FeatureFlags = {...DEFAULT_FEATURE_FLAGS};
|
package/src/types.js
CHANGED
@@ -3,10 +3,6 @@
|
|
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
|
-
* Rust backed requests
|
8
|
-
*/
|
9
|
-
+parcelV3: boolean,
|
10
6
|
/**
|
11
7
|
* Use node.js implementation of @parcel/watcher watchman backend
|
12
8
|
*/
|
@@ -15,8 +11,4 @@ export type FeatureFlags = {|
|
|
15
11
|
* Configure runtime to enable retriable dynamic imports
|
16
12
|
*/
|
17
13
|
importRetry: boolean,
|
18
|
-
/**
|
19
|
-
* Enable resolver refactor into owned data structures.
|
20
|
-
*/
|
21
|
-
ownedResolverStructures: boolean,
|
22
14
|
|};
|