@parcel/feature-flags 2.12.1-dev.3195 → 2.12.1-dev.3198
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/index.js +2 -1
- package/lib/types.d.ts +5 -0
- package/package.json +2 -2
- package/src/index.js +1 -0
- package/src/types.js +4 -0
package/lib/index.js
CHANGED
@@ -10,7 +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
|
13
|
+
configKeyInvalidation: false,
|
14
|
+
dfsFasterRefactor: false
|
14
15
|
};
|
15
16
|
let featureFlagValues = {
|
16
17
|
...DEFAULT_FEATURE_FLAGS
|
package/lib/types.d.ts
CHANGED
@@ -8,4 +8,9 @@ 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
|
+
* Refactors dfsNew to use an iterative approach.
|
14
|
+
*/
|
15
|
+
readonly dfsFasterRefactor: boolean;
|
11
16
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@parcel/feature-flags",
|
3
|
-
"version": "2.12.1-dev.
|
3
|
+
"version": "2.12.1-dev.3198+507fb5b10",
|
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": "507fb5b101d8563900af0da395b47bd6116850bd"
|
28
28
|
}
|
package/src/index.js
CHANGED
package/src/types.js
CHANGED
@@ -9,4 +9,8 @@ export type FeatureFlags = {|
|
|
9
9
|
* `config.getConfigFrom(..., {packageKey: '...'})` and the value itself hasn't changed.
|
10
10
|
*/
|
11
11
|
+configKeyInvalidation: boolean,
|
12
|
+
/**
|
13
|
+
* Refactors dfsNew to use an iterative approach.
|
14
|
+
*/
|
15
|
+
+dfsFasterRefactor: boolean,
|
12
16
|
|};
|