@atlaspack/feature-flags 2.23.1 → 2.23.2
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 +1 -6
- package/lib/types/index.d.ts +0 -5
- package/package.json +1 -1
- package/src/index.ts +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaspack/feature-flags
|
|
2
2
|
|
|
3
|
+
## 2.23.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#757](https://github.com/atlassian-labs/atlaspack/pull/757) [`3cfb7cf`](https://github.com/atlassian-labs/atlaspack/commit/3cfb7cfd90b78a5c48ce717e779ff789769825a3) Thanks [@marcins](https://github.com/marcins)! - Clean up the `inlineIsolatedScripts` feature flag
|
|
8
|
+
|
|
3
9
|
## 2.23.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/lib/index.js
CHANGED
|
@@ -132,12 +132,7 @@ const DEFAULT_FEATURE_FLAGS = exports.DEFAULT_FEATURE_FLAGS = {
|
|
|
132
132
|
* Enable the new incremental bundling versioning logic which determines whether
|
|
133
133
|
* a full bundling pass is required based on the AssetGraph's bundlingVersion.
|
|
134
134
|
*/
|
|
135
|
-
incrementalBundlingVersioning: process.env.ATLASPACK_BUILD_ENV === 'test'
|
|
136
|
-
/**
|
|
137
|
-
* Allow for the use of `data-atlaspack-isolated` on script tags in HTML to produce
|
|
138
|
-
* inline scripts that are build as "isolated" bundles.
|
|
139
|
-
*/
|
|
140
|
-
inlineIsolatedScripts: process.env.ATLASPACK_BUILD_ENV === 'test'
|
|
135
|
+
incrementalBundlingVersioning: process.env.ATLASPACK_BUILD_ENV === 'test'
|
|
141
136
|
};
|
|
142
137
|
let featureFlagValues = {
|
|
143
138
|
...DEFAULT_FEATURE_FLAGS
|
package/lib/types/index.d.ts
CHANGED
|
@@ -121,11 +121,6 @@ export declare const DEFAULT_FEATURE_FLAGS: {
|
|
|
121
121
|
* a full bundling pass is required based on the AssetGraph's bundlingVersion.
|
|
122
122
|
*/
|
|
123
123
|
incrementalBundlingVersioning: boolean;
|
|
124
|
-
/**
|
|
125
|
-
* Allow for the use of `data-atlaspack-isolated` on script tags in HTML to produce
|
|
126
|
-
* inline scripts that are build as "isolated" bundles.
|
|
127
|
-
*/
|
|
128
|
-
inlineIsolatedScripts: boolean;
|
|
129
124
|
};
|
|
130
125
|
export type FeatureFlags = typeof DEFAULT_FEATURE_FLAGS;
|
|
131
126
|
export declare function setFeatureFlags(flags: FeatureFlags): void;
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -156,11 +156,6 @@ export const DEFAULT_FEATURE_FLAGS = {
|
|
|
156
156
|
* a full bundling pass is required based on the AssetGraph's bundlingVersion.
|
|
157
157
|
*/
|
|
158
158
|
incrementalBundlingVersioning: process.env.ATLASPACK_BUILD_ENV === 'test',
|
|
159
|
-
/**
|
|
160
|
-
* Allow for the use of `data-atlaspack-isolated` on script tags in HTML to produce
|
|
161
|
-
* inline scripts that are build as "isolated" bundles.
|
|
162
|
-
*/
|
|
163
|
-
inlineIsolatedScripts: process.env.ATLASPACK_BUILD_ENV === 'test',
|
|
164
159
|
};
|
|
165
160
|
|
|
166
161
|
export type FeatureFlags = typeof DEFAULT_FEATURE_FLAGS;
|