@atlaspack/feature-flags 2.18.3-dev.0 → 2.18.4-dev-eae8c193d.0
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/CHANGELOG.md +6 -0
- 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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaspack/feature-flags
|
|
2
2
|
|
|
3
|
+
## 2.18.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#655](https://github.com/atlassian-labs/atlaspack/pull/655) [`5ded263`](https://github.com/atlassian-labs/atlaspack/commit/5ded263c7f11b866e8885b81c73e20dd060b25be) Thanks [@yamadapc](https://github.com/yamadapc)! - Clean-up inline requires multi-threading feature-flag
|
|
8
|
+
|
|
3
9
|
## 2.18.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/lib/index.js
CHANGED
|
@@ -39,7 +39,8 @@ const DEFAULT_FEATURE_FLAGS = exports.DEFAULT_FEATURE_FLAGS = {
|
|
|
39
39
|
condbHtmlPackagerChange: false,
|
|
40
40
|
applyScopeHoistingImprovement: false,
|
|
41
41
|
inlineConstOptimisationFix: false,
|
|
42
|
-
hmrImprovements: false
|
|
42
|
+
hmrImprovements: false,
|
|
43
|
+
atlaspackV3CleanShutdown: false
|
|
43
44
|
};
|
|
44
45
|
let featureFlagValues = {
|
|
45
46
|
...DEFAULT_FEATURE_FLAGS
|
package/lib/types.d.ts
CHANGED
|
@@ -141,6 +141,11 @@ export type FeatureFlags = {
|
|
|
141
141
|
* - Moving the functionality of the react-refresh runtime into the react-refresh-wrap transformer
|
|
142
142
|
*/
|
|
143
143
|
hmrImprovements: boolean;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Adds an end() method to AtlaspckV3 to cleanly shutdown the NAPI worker pool
|
|
147
|
+
*/
|
|
148
|
+
atlaspackV3CleanShutdown: boolean;
|
|
144
149
|
};
|
|
145
150
|
export declare var CONSISTENCY_CHECK_VALUES: ReadonlyArray<string>;
|
|
146
151
|
export type ConsistencyCheckFeatureFlagValue = $ElementType<typeof CONSISTENCY_CHECK_VALUES, number>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/feature-flags",
|
|
3
|
-
"version": "2.18.
|
|
3
|
+
"version": "2.18.4-dev-eae8c193d.0",
|
|
4
4
|
"description": "Provides internal feature-flags for the atlaspack codebase.",
|
|
5
5
|
"license": "(MIT OR Apache-2.0)",
|
|
6
6
|
"publishConfig": {
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
"node": ">= 16.0.0"
|
|
22
22
|
},
|
|
23
23
|
"type": "commonjs",
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "eae8c193d1b12309f6377859a2da6a352b329f3d"
|
|
25
25
|
}
|
package/src/index.js
CHANGED
|
@@ -41,6 +41,7 @@ export const DEFAULT_FEATURE_FLAGS: FeatureFlags = {
|
|
|
41
41
|
applyScopeHoistingImprovement: false,
|
|
42
42
|
inlineConstOptimisationFix: false,
|
|
43
43
|
hmrImprovements: false,
|
|
44
|
+
atlaspackV3CleanShutdown: false,
|
|
44
45
|
};
|
|
45
46
|
|
|
46
47
|
let featureFlagValues: FeatureFlags = {...DEFAULT_FEATURE_FLAGS};
|
package/src/types.js
CHANGED
|
@@ -117,6 +117,10 @@ export type FeatureFlags = {|
|
|
|
117
117
|
* - Moving the functionality of the react-refresh runtime into the react-refresh-wrap transformer
|
|
118
118
|
*/
|
|
119
119
|
hmrImprovements: boolean,
|
|
120
|
+
/**
|
|
121
|
+
* Adds an end() method to AtlaspckV3 to cleanly shutdown the NAPI worker pool
|
|
122
|
+
*/
|
|
123
|
+
atlaspackV3CleanShutdown: boolean,
|
|
120
124
|
|};
|
|
121
125
|
|
|
122
126
|
declare export var CONSISTENCY_CHECK_VALUES: $ReadOnlyArray<string>;
|