@warp-drive/build-config 5.6.0-beta.1 → 5.6.0-beta.3
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/README.md +1 -1
- package/declarations/canary-features.d.ts +12 -1
- package/declarations/debugging.d.ts +5 -1
- package/declarations/deprecation-versions.d.ts +1 -0
- package/declarations/deprecations.d.ts +13 -1
- package/declarations/env.d.ts +6 -6
- package/declarations/macros.d.ts +1 -1
- package/dist/babel-macros.js +3 -3
- package/dist/{canary-features-CuKgaVtX.js → canary-features-BM0to_ys.js} +15 -2
- package/dist/canary-features.js +1 -1
- package/dist/cjs-set-config.cjs +23 -2
- package/dist/{debugging-VdsvkNjX.js → debugging-DgRWKeE4.js} +8 -2
- package/dist/debugging.js +1 -1
- package/dist/{deprecations-BNNGFAiG.js → deprecations-DitCVLCo.js} +16 -2
- package/dist/deprecations.js +1 -1
- package/dist/env.js +6 -6
- package/dist/index.js +4 -2
- package/dist/macros.js +1 -1
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
/**
|
|
120
120
|
* We use this for some tests etc.
|
|
121
121
|
*
|
|
122
|
-
* @
|
|
122
|
+
* @private
|
|
123
123
|
*/
|
|
124
124
|
export declare const SAMPLE_FEATURE_FLAG: boolean | null;
|
|
125
125
|
/**
|
|
@@ -134,3 +134,14 @@ export declare const SAMPLE_FEATURE_FLAG: boolean | null;
|
|
|
134
134
|
* @public
|
|
135
135
|
*/
|
|
136
136
|
export declare const JSON_API_CACHE_VALIDATION_ERRORS: boolean | null;
|
|
137
|
+
/**
|
|
138
|
+
* This upcoming feature adds a validation step when `schema.fields({ type })`
|
|
139
|
+
* is called for the first time for a resource.
|
|
140
|
+
*
|
|
141
|
+
* When active, if any trait specified by the resource or one of its traits is
|
|
142
|
+
* missing an error will be thrown in development.
|
|
143
|
+
*
|
|
144
|
+
* @since 5.7
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
147
|
+
export declare const ENFORCE_STRICT_RESOURCE_FINALIZATION: boolean | null;
|
|
@@ -167,6 +167,10 @@ export declare const DEBUG_RELATIONSHIP_NOTIFICATIONS: boolean;
|
|
|
167
167
|
*
|
|
168
168
|
* LOG_METRIC_COUNTS must also be enabled.
|
|
169
169
|
*
|
|
170
|
-
* @
|
|
170
|
+
* @private
|
|
171
171
|
*/
|
|
172
172
|
export declare const __INTERNAL_LOG_NATIVE_MAP_SET_COUNTS: boolean;
|
|
173
|
+
/**
|
|
174
|
+
* Helps when debugging React specific reactivity issues.
|
|
175
|
+
*/
|
|
176
|
+
export declare const LOG_REACT_SIGNAL_INTEGRATION: boolean;
|
|
@@ -28,3 +28,4 @@ export declare const ENABLE_LEGACY_SCHEMA_SERVICE = "5.4";
|
|
|
28
28
|
export declare const DEPRECATE_EMBER_INFLECTOR = "5.3";
|
|
29
29
|
export declare const DISABLE_7X_DEPRECATIONS = "7.0";
|
|
30
30
|
export declare const DEPRECATE_TRACKING_PACKAGE = "5.5";
|
|
31
|
+
export declare const ENABLE_LEGACY_REQUEST_METHODS = "5.6";
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
*
|
|
102
102
|
* @module
|
|
103
103
|
*/
|
|
104
|
-
/** @
|
|
104
|
+
/** @private */
|
|
105
105
|
export declare const DEPRECATE_CATCH_ALL: boolean;
|
|
106
106
|
/**
|
|
107
107
|
* <Badge type="danger" text="no-id-assigned" />
|
|
@@ -500,6 +500,18 @@ export declare const DEPRECATE_EMBER_INFLECTOR: boolean;
|
|
|
500
500
|
*/
|
|
501
501
|
export declare const DEPRECATE_TRACKING_PACKAGE: boolean;
|
|
502
502
|
/**
|
|
503
|
+
* <Badge type="warning" text="warp-drive:deprecate-legacy-request-methods" />
|
|
504
|
+
*
|
|
505
|
+
* Deprecates all the non request-manager mechanisms of making requests.
|
|
506
|
+
*
|
|
507
|
+
* FIXME link the big guide
|
|
508
|
+
*
|
|
509
|
+
* @since 5.6
|
|
510
|
+
* @until 6.0
|
|
511
|
+
* @public
|
|
512
|
+
*/
|
|
513
|
+
export declare const ENABLE_LEGACY_REQUEST_METHODS: boolean;
|
|
514
|
+
/**
|
|
503
515
|
* This is a special flag that can be used to opt-in early to receiving deprecations introduced in 6.x
|
|
504
516
|
* which have had their infra backported to 5.x versions of ***Warp*Drive**.
|
|
505
517
|
*
|
package/declarations/env.d.ts
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
* }
|
|
33
33
|
* ```
|
|
34
34
|
*
|
|
35
|
-
* @
|
|
35
|
+
* @private
|
|
36
36
|
*/
|
|
37
37
|
export declare const DEBUG: boolean;
|
|
38
38
|
/**
|
|
@@ -63,7 +63,7 @@ export declare const DEBUG: boolean;
|
|
|
63
63
|
* }
|
|
64
64
|
* ```
|
|
65
65
|
*
|
|
66
|
-
* @
|
|
66
|
+
* @private
|
|
67
67
|
*/
|
|
68
68
|
export declare const PRODUCTION: boolean;
|
|
69
69
|
/**
|
|
@@ -101,13 +101,13 @@ export declare const PRODUCTION: boolean;
|
|
|
101
101
|
* }
|
|
102
102
|
* ```
|
|
103
103
|
*
|
|
104
|
-
* @
|
|
104
|
+
* @private
|
|
105
105
|
*/
|
|
106
106
|
export declare const TESTING: boolean;
|
|
107
107
|
/**
|
|
108
108
|
* Indicates whether Holodeck is in a forced global recording mode.
|
|
109
109
|
*
|
|
110
|
-
* @
|
|
110
|
+
* @private
|
|
111
111
|
*/
|
|
112
112
|
export declare const IS_RECORDING: boolean;
|
|
113
113
|
/**
|
|
@@ -115,7 +115,7 @@ export declare const IS_RECORDING: boolean;
|
|
|
115
115
|
*
|
|
116
116
|
* This is determined by the presence of the `CI` environment variable.
|
|
117
117
|
*
|
|
118
|
-
* @
|
|
118
|
+
* @private
|
|
119
119
|
*/
|
|
120
120
|
export declare const IS_CI: boolean;
|
|
121
121
|
/**
|
|
@@ -124,6 +124,6 @@ export declare const IS_CI: boolean;
|
|
|
124
124
|
* This is always true in a non-CI environment, and is true if
|
|
125
125
|
* `IS_RECORDING` is true.
|
|
126
126
|
*
|
|
127
|
-
* @
|
|
127
|
+
* @private
|
|
128
128
|
*/
|
|
129
129
|
export declare const SHOULD_RECORD: boolean;
|
package/declarations/macros.d.ts
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Asserts are removed from production builds, making this a "zero cost abstraction"
|
|
13
13
|
* so liberal usage of this function to ensure runtime correctness is encouraged.
|
|
14
14
|
*
|
|
15
|
-
* @
|
|
15
|
+
* @private
|
|
16
16
|
*/
|
|
17
17
|
export declare function assert(message: string, condition: unknown): asserts condition;
|
|
18
18
|
export declare function assert(message: string): never;
|
package/dist/babel-macros.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { L as LOGGING } from './debugging-
|
|
2
|
-
import { C as CURRENT_FEATURES } from './canary-features-
|
|
3
|
-
import { C as CURRENT_DEPRECATIONS } from './deprecations-
|
|
1
|
+
import { L as LOGGING } from './debugging-DgRWKeE4.js';
|
|
2
|
+
import { C as CURRENT_FEATURES } from './canary-features-BM0to_ys.js';
|
|
3
|
+
import { C as CURRENT_DEPRECATIONS } from './deprecations-DitCVLCo.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Babel plugins that convert constants and expressions into [macroConditions](https://www.npmjs.com/package/@embroider/macros#the-macros)
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
/**
|
|
121
121
|
* We use this for some tests etc.
|
|
122
122
|
*
|
|
123
|
-
* @
|
|
123
|
+
* @private
|
|
124
124
|
*/
|
|
125
125
|
const SAMPLE_FEATURE_FLAG = null;
|
|
126
126
|
|
|
@@ -137,10 +137,23 @@ const SAMPLE_FEATURE_FLAG = null;
|
|
|
137
137
|
*/
|
|
138
138
|
const JSON_API_CACHE_VALIDATION_ERRORS = false;
|
|
139
139
|
|
|
140
|
+
/**
|
|
141
|
+
* This upcoming feature adds a validation step when `schema.fields({ type })`
|
|
142
|
+
* is called for the first time for a resource.
|
|
143
|
+
*
|
|
144
|
+
* When active, if any trait specified by the resource or one of its traits is
|
|
145
|
+
* missing an error will be thrown in development.
|
|
146
|
+
*
|
|
147
|
+
* @since 5.7
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
const ENFORCE_STRICT_RESOURCE_FINALIZATION = false;
|
|
151
|
+
|
|
140
152
|
const CURRENT_FEATURES = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
141
153
|
__proto__: null,
|
|
154
|
+
ENFORCE_STRICT_RESOURCE_FINALIZATION,
|
|
142
155
|
JSON_API_CACHE_VALIDATION_ERRORS,
|
|
143
156
|
SAMPLE_FEATURE_FLAG
|
|
144
157
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
145
158
|
|
|
146
|
-
export { CURRENT_FEATURES as C, JSON_API_CACHE_VALIDATION_ERRORS as J, SAMPLE_FEATURE_FLAG as S };
|
|
159
|
+
export { CURRENT_FEATURES as C, ENFORCE_STRICT_RESOURCE_FINALIZATION as E, JSON_API_CACHE_VALIDATION_ERRORS as J, SAMPLE_FEATURE_FLAG as S };
|
package/dist/canary-features.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { J as JSON_API_CACHE_VALIDATION_ERRORS, S as SAMPLE_FEATURE_FLAG } from './canary-features-
|
|
1
|
+
export { E as ENFORCE_STRICT_RESOURCE_FINALIZATION, J as JSON_API_CACHE_VALIDATION_ERRORS, S as SAMPLE_FEATURE_FLAG } from './canary-features-BM0to_ys.js';
|
package/dist/cjs-set-config.cjs
CHANGED
|
@@ -65,6 +65,7 @@ const ENABLE_LEGACY_SCHEMA_SERVICE = '5.4';
|
|
|
65
65
|
const DEPRECATE_EMBER_INFLECTOR = '5.3';
|
|
66
66
|
const DISABLE_7X_DEPRECATIONS = '7.0';
|
|
67
67
|
const DEPRECATE_TRACKING_PACKAGE = '5.5';
|
|
68
|
+
const ENABLE_LEGACY_REQUEST_METHODS = '5.6';
|
|
68
69
|
|
|
69
70
|
const CURRENT_DEPRECATIONS = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
70
71
|
__proto__: null,
|
|
@@ -80,6 +81,7 @@ const CURRENT_DEPRECATIONS = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defi
|
|
|
80
81
|
DEPRECATE_STORE_EXTENDS_EMBER_OBJECT,
|
|
81
82
|
DEPRECATE_TRACKING_PACKAGE,
|
|
82
83
|
DISABLE_7X_DEPRECATIONS,
|
|
84
|
+
ENABLE_LEGACY_REQUEST_METHODS,
|
|
83
85
|
ENABLE_LEGACY_SCHEMA_SERVICE
|
|
84
86
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
85
87
|
|
|
@@ -247,7 +249,7 @@ function getDeprecations(compatVersion, deprecations) {
|
|
|
247
249
|
/**
|
|
248
250
|
* We use this for some tests etc.
|
|
249
251
|
*
|
|
250
|
-
* @
|
|
252
|
+
* @private
|
|
251
253
|
*/
|
|
252
254
|
const SAMPLE_FEATURE_FLAG = null;
|
|
253
255
|
|
|
@@ -264,8 +266,21 @@ const SAMPLE_FEATURE_FLAG = null;
|
|
|
264
266
|
*/
|
|
265
267
|
const JSON_API_CACHE_VALIDATION_ERRORS = false;
|
|
266
268
|
|
|
269
|
+
/**
|
|
270
|
+
* This upcoming feature adds a validation step when `schema.fields({ type })`
|
|
271
|
+
* is called for the first time for a resource.
|
|
272
|
+
*
|
|
273
|
+
* When active, if any trait specified by the resource or one of its traits is
|
|
274
|
+
* missing an error will be thrown in development.
|
|
275
|
+
*
|
|
276
|
+
* @since 5.7
|
|
277
|
+
* @public
|
|
278
|
+
*/
|
|
279
|
+
const ENFORCE_STRICT_RESOURCE_FINALIZATION = false;
|
|
280
|
+
|
|
267
281
|
const CURRENT_FEATURES = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
268
282
|
__proto__: null,
|
|
283
|
+
ENFORCE_STRICT_RESOURCE_FINALIZATION,
|
|
269
284
|
JSON_API_CACHE_VALIDATION_ERRORS,
|
|
270
285
|
SAMPLE_FEATURE_FLAG
|
|
271
286
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
@@ -500,10 +515,15 @@ const DEBUG_RELATIONSHIP_NOTIFICATIONS = false;
|
|
|
500
515
|
*
|
|
501
516
|
* LOG_METRIC_COUNTS must also be enabled.
|
|
502
517
|
*
|
|
503
|
-
* @
|
|
518
|
+
* @private
|
|
504
519
|
*/
|
|
505
520
|
const __INTERNAL_LOG_NATIVE_MAP_SET_COUNTS = false;
|
|
506
521
|
|
|
522
|
+
/**
|
|
523
|
+
* Helps when debugging React specific reactivity issues.
|
|
524
|
+
*/
|
|
525
|
+
const LOG_REACT_SIGNAL_INTEGRATION = false;
|
|
526
|
+
|
|
507
527
|
const LOGGING = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
508
528
|
__proto__: null,
|
|
509
529
|
DEBUG_RELATIONSHIP_NOTIFICATIONS,
|
|
@@ -517,6 +537,7 @@ const LOGGING = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
|
517
537
|
LOG_NOTIFICATIONS,
|
|
518
538
|
LOG_OPERATIONS,
|
|
519
539
|
LOG_PAYLOADS,
|
|
540
|
+
LOG_REACT_SIGNAL_INTEGRATION,
|
|
520
541
|
LOG_REQUESTS,
|
|
521
542
|
LOG_REQUEST_STATUS,
|
|
522
543
|
__INTERNAL_LOG_NATIVE_MAP_SET_COUNTS
|
|
@@ -173,10 +173,15 @@ const DEBUG_RELATIONSHIP_NOTIFICATIONS = false;
|
|
|
173
173
|
*
|
|
174
174
|
* LOG_METRIC_COUNTS must also be enabled.
|
|
175
175
|
*
|
|
176
|
-
* @
|
|
176
|
+
* @private
|
|
177
177
|
*/
|
|
178
178
|
const __INTERNAL_LOG_NATIVE_MAP_SET_COUNTS = false;
|
|
179
179
|
|
|
180
|
+
/**
|
|
181
|
+
* Helps when debugging React specific reactivity issues.
|
|
182
|
+
*/
|
|
183
|
+
const LOG_REACT_SIGNAL_INTEGRATION = false;
|
|
184
|
+
|
|
180
185
|
const LOGGING = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
181
186
|
__proto__: null,
|
|
182
187
|
DEBUG_RELATIONSHIP_NOTIFICATIONS,
|
|
@@ -190,9 +195,10 @@ const LOGGING = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
|
190
195
|
LOG_NOTIFICATIONS,
|
|
191
196
|
LOG_OPERATIONS,
|
|
192
197
|
LOG_PAYLOADS,
|
|
198
|
+
LOG_REACT_SIGNAL_INTEGRATION,
|
|
193
199
|
LOG_REQUESTS,
|
|
194
200
|
LOG_REQUEST_STATUS,
|
|
195
201
|
__INTERNAL_LOG_NATIVE_MAP_SET_COUNTS
|
|
196
202
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
197
203
|
|
|
198
|
-
export { DEBUG_RELATIONSHIP_NOTIFICATIONS as D, LOGGING as L, __INTERNAL_LOG_NATIVE_MAP_SET_COUNTS as _, LOG_CACHE as a, LOG_PAYLOADS as b, LOG_OPERATIONS as c, LOG_MUTATIONS as d, LOG_CACHE_POLICY as e, LOG_NOTIFICATIONS as f, LOG_REQUESTS as g, LOG_REQUEST_STATUS as h, LOG_IDENTIFIERS as i, LOG_GRAPH as j, LOG_INSTANCE_CACHE as k, LOG_METRIC_COUNTS as l };
|
|
204
|
+
export { DEBUG_RELATIONSHIP_NOTIFICATIONS as D, LOGGING as L, __INTERNAL_LOG_NATIVE_MAP_SET_COUNTS as _, LOG_CACHE as a, LOG_PAYLOADS as b, LOG_OPERATIONS as c, LOG_MUTATIONS as d, LOG_CACHE_POLICY as e, LOG_NOTIFICATIONS as f, LOG_REQUESTS as g, LOG_REQUEST_STATUS as h, LOG_IDENTIFIERS as i, LOG_GRAPH as j, LOG_INSTANCE_CACHE as k, LOG_METRIC_COUNTS as l, LOG_REACT_SIGNAL_INTEGRATION as m };
|
package/dist/debugging.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { D as DEBUG_RELATIONSHIP_NOTIFICATIONS, a as LOG_CACHE, e as LOG_CACHE_POLICY, j as LOG_GRAPH, i as LOG_IDENTIFIERS, k as LOG_INSTANCE_CACHE, l as LOG_METRIC_COUNTS, d as LOG_MUTATIONS, f as LOG_NOTIFICATIONS, c as LOG_OPERATIONS, b as LOG_PAYLOADS, g as LOG_REQUESTS, h as LOG_REQUEST_STATUS, _ as __INTERNAL_LOG_NATIVE_MAP_SET_COUNTS } from './debugging-
|
|
1
|
+
export { D as DEBUG_RELATIONSHIP_NOTIFICATIONS, a as LOG_CACHE, e as LOG_CACHE_POLICY, j as LOG_GRAPH, i as LOG_IDENTIFIERS, k as LOG_INSTANCE_CACHE, l as LOG_METRIC_COUNTS, d as LOG_MUTATIONS, f as LOG_NOTIFICATIONS, c as LOG_OPERATIONS, b as LOG_PAYLOADS, m as LOG_REACT_SIGNAL_INTEGRATION, g as LOG_REQUESTS, h as LOG_REQUEST_STATUS, _ as __INTERNAL_LOG_NATIVE_MAP_SET_COUNTS } from './debugging-DgRWKeE4.js';
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
* @module
|
|
103
103
|
*/
|
|
104
104
|
|
|
105
|
-
/** @
|
|
105
|
+
/** @private */
|
|
106
106
|
const DEPRECATE_CATCH_ALL = true;
|
|
107
107
|
|
|
108
108
|
/**
|
|
@@ -512,6 +512,19 @@ const DEPRECATE_EMBER_INFLECTOR = true;
|
|
|
512
512
|
*/
|
|
513
513
|
const DEPRECATE_TRACKING_PACKAGE = true;
|
|
514
514
|
|
|
515
|
+
/**
|
|
516
|
+
* <Badge type="warning" text="warp-drive:deprecate-legacy-request-methods" />
|
|
517
|
+
*
|
|
518
|
+
* Deprecates all the non request-manager mechanisms of making requests.
|
|
519
|
+
*
|
|
520
|
+
* FIXME link the big guide
|
|
521
|
+
*
|
|
522
|
+
* @since 5.6
|
|
523
|
+
* @until 6.0
|
|
524
|
+
* @public
|
|
525
|
+
*/
|
|
526
|
+
const ENABLE_LEGACY_REQUEST_METHODS = true;
|
|
527
|
+
|
|
515
528
|
/**
|
|
516
529
|
* This is a special flag that can be used to opt-in early to receiving deprecations introduced in 6.x
|
|
517
530
|
* which have had their infra backported to 5.x versions of ***Warp*Drive**.
|
|
@@ -542,7 +555,8 @@ const CURRENT_DEPRECATIONS = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defi
|
|
|
542
555
|
DEPRECATE_STORE_EXTENDS_EMBER_OBJECT,
|
|
543
556
|
DEPRECATE_TRACKING_PACKAGE,
|
|
544
557
|
DISABLE_7X_DEPRECATIONS,
|
|
558
|
+
ENABLE_LEGACY_REQUEST_METHODS,
|
|
545
559
|
ENABLE_LEGACY_SCHEMA_SERVICE
|
|
546
560
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
547
561
|
|
|
548
|
-
export { CURRENT_DEPRECATIONS as C, DEPRECATE_CATCH_ALL as D, ENABLE_LEGACY_SCHEMA_SERVICE as E, DEPRECATE_COMPUTED_CHAINS as a, DEPRECATE_NON_STRICT_TYPES as b, DEPRECATE_NON_STRICT_ID as c, DEPRECATE_LEGACY_IMPORTS as d, DEPRECATE_NON_UNIQUE_PAYLOADS as e, DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE as f, DEPRECATE_MANY_ARRAY_DUPLICATES as g, DEPRECATE_STORE_EXTENDS_EMBER_OBJECT as h, DEPRECATE_EMBER_INFLECTOR as i, DEPRECATE_TRACKING_PACKAGE as j,
|
|
562
|
+
export { CURRENT_DEPRECATIONS as C, DEPRECATE_CATCH_ALL as D, ENABLE_LEGACY_SCHEMA_SERVICE as E, DEPRECATE_COMPUTED_CHAINS as a, DEPRECATE_NON_STRICT_TYPES as b, DEPRECATE_NON_STRICT_ID as c, DEPRECATE_LEGACY_IMPORTS as d, DEPRECATE_NON_UNIQUE_PAYLOADS as e, DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE as f, DEPRECATE_MANY_ARRAY_DUPLICATES as g, DEPRECATE_STORE_EXTENDS_EMBER_OBJECT as h, DEPRECATE_EMBER_INFLECTOR as i, DEPRECATE_TRACKING_PACKAGE as j, ENABLE_LEGACY_REQUEST_METHODS as k, DISABLE_7X_DEPRECATIONS as l };
|
package/dist/deprecations.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { D as DEPRECATE_CATCH_ALL, a as DEPRECATE_COMPUTED_CHAINS, i as DEPRECATE_EMBER_INFLECTOR, d as DEPRECATE_LEGACY_IMPORTS, g as DEPRECATE_MANY_ARRAY_DUPLICATES, c as DEPRECATE_NON_STRICT_ID, b as DEPRECATE_NON_STRICT_TYPES, e as DEPRECATE_NON_UNIQUE_PAYLOADS, f as DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE, h as DEPRECATE_STORE_EXTENDS_EMBER_OBJECT, j as DEPRECATE_TRACKING_PACKAGE,
|
|
1
|
+
export { D as DEPRECATE_CATCH_ALL, a as DEPRECATE_COMPUTED_CHAINS, i as DEPRECATE_EMBER_INFLECTOR, d as DEPRECATE_LEGACY_IMPORTS, g as DEPRECATE_MANY_ARRAY_DUPLICATES, c as DEPRECATE_NON_STRICT_ID, b as DEPRECATE_NON_STRICT_TYPES, e as DEPRECATE_NON_UNIQUE_PAYLOADS, f as DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE, h as DEPRECATE_STORE_EXTENDS_EMBER_OBJECT, j as DEPRECATE_TRACKING_PACKAGE, l as DISABLE_7X_DEPRECATIONS, k as ENABLE_LEGACY_REQUEST_METHODS, E as ENABLE_LEGACY_SCHEMA_SERVICE } from './deprecations-DitCVLCo.js';
|
package/dist/env.js
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
* }
|
|
34
34
|
* ```
|
|
35
35
|
*
|
|
36
|
-
* @
|
|
36
|
+
* @private
|
|
37
37
|
*/
|
|
38
38
|
const DEBUG = true;
|
|
39
39
|
/**
|
|
@@ -64,7 +64,7 @@ const DEBUG = true;
|
|
|
64
64
|
* }
|
|
65
65
|
* ```
|
|
66
66
|
*
|
|
67
|
-
* @
|
|
67
|
+
* @private
|
|
68
68
|
*/
|
|
69
69
|
const PRODUCTION = true;
|
|
70
70
|
/**
|
|
@@ -102,13 +102,13 @@ const PRODUCTION = true;
|
|
|
102
102
|
* }
|
|
103
103
|
* ```
|
|
104
104
|
*
|
|
105
|
-
* @
|
|
105
|
+
* @private
|
|
106
106
|
*/
|
|
107
107
|
const TESTING = true;
|
|
108
108
|
/**
|
|
109
109
|
* Indicates whether Holodeck is in a forced global recording mode.
|
|
110
110
|
*
|
|
111
|
-
* @
|
|
111
|
+
* @private
|
|
112
112
|
*/
|
|
113
113
|
const IS_RECORDING = true;
|
|
114
114
|
/**
|
|
@@ -116,7 +116,7 @@ const IS_RECORDING = true;
|
|
|
116
116
|
*
|
|
117
117
|
* This is determined by the presence of the `CI` environment variable.
|
|
118
118
|
*
|
|
119
|
-
* @
|
|
119
|
+
* @private
|
|
120
120
|
*/
|
|
121
121
|
const IS_CI = true;
|
|
122
122
|
/**
|
|
@@ -125,7 +125,7 @@ const IS_CI = true;
|
|
|
125
125
|
* This is always true in a non-CI environment, and is true if
|
|
126
126
|
* `IS_RECORDING` is true.
|
|
127
127
|
*
|
|
128
|
-
* @
|
|
128
|
+
* @private
|
|
129
129
|
*/
|
|
130
130
|
const SHOULD_RECORD = true;
|
|
131
131
|
|
package/dist/index.js
CHANGED
|
@@ -3,8 +3,8 @@ import semver from 'semver';
|
|
|
3
3
|
import fs from 'fs';
|
|
4
4
|
import path from 'path';
|
|
5
5
|
import { fileURLToPath } from 'url';
|
|
6
|
-
import { C as CURRENT_FEATURES } from './canary-features-
|
|
7
|
-
import { L as LOGGING } from './debugging-
|
|
6
|
+
import { C as CURRENT_FEATURES } from './canary-features-BM0to_ys.js';
|
|
7
|
+
import { L as LOGGING } from './debugging-DgRWKeE4.js';
|
|
8
8
|
|
|
9
9
|
function getEnv(forceMode) {
|
|
10
10
|
const FORCE_TESTING = forceMode === 'testing' || forceMode === 'development' || forceMode === 'debug';
|
|
@@ -62,6 +62,7 @@ const ENABLE_LEGACY_SCHEMA_SERVICE = '5.4';
|
|
|
62
62
|
const DEPRECATE_EMBER_INFLECTOR = '5.3';
|
|
63
63
|
const DISABLE_7X_DEPRECATIONS = '7.0';
|
|
64
64
|
const DEPRECATE_TRACKING_PACKAGE = '5.5';
|
|
65
|
+
const ENABLE_LEGACY_REQUEST_METHODS = '5.6';
|
|
65
66
|
|
|
66
67
|
const CURRENT_DEPRECATIONS = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
67
68
|
__proto__: null,
|
|
@@ -77,6 +78,7 @@ const CURRENT_DEPRECATIONS = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defi
|
|
|
77
78
|
DEPRECATE_STORE_EXTENDS_EMBER_OBJECT,
|
|
78
79
|
DEPRECATE_TRACKING_PACKAGE,
|
|
79
80
|
DISABLE_7X_DEPRECATIONS,
|
|
81
|
+
ENABLE_LEGACY_REQUEST_METHODS,
|
|
80
82
|
ENABLE_LEGACY_SCHEMA_SERVICE
|
|
81
83
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
82
84
|
|
package/dist/macros.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@warp-drive/build-config",
|
|
3
|
-
"version": "5.6.0-beta.
|
|
3
|
+
"version": "5.6.0-beta.3",
|
|
4
4
|
"description": "Provides Build Configuration for projects using WarpDrive or EmberData",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-data",
|
|
@@ -36,20 +36,20 @@
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@embroider/macros": "^1.
|
|
40
|
-
"@embroider/addon-shim": "^1.
|
|
39
|
+
"@embroider/macros": "^1.18.1",
|
|
40
|
+
"@embroider/addon-shim": "^1.10.0",
|
|
41
41
|
"babel-import-util": "^2.1.1",
|
|
42
|
-
"semver": "^7.7.
|
|
42
|
+
"semver": "^7.7.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@warp-drive/internal-config": "5.6.0-beta.
|
|
45
|
+
"@warp-drive/internal-config": "5.6.0-beta.3",
|
|
46
46
|
"@types/babel__core": "^7.20.5",
|
|
47
47
|
"@types/node": "^20.17.32",
|
|
48
|
-
"@babel/plugin-transform-typescript": "^7.
|
|
49
|
-
"@babel/preset-typescript": "^7.27.
|
|
50
|
-
"@babel/core": "^7.
|
|
51
|
-
"typescript": "^5.
|
|
52
|
-
"vite": "^7.
|
|
48
|
+
"@babel/plugin-transform-typescript": "^7.28.0",
|
|
49
|
+
"@babel/preset-typescript": "^7.27.1",
|
|
50
|
+
"@babel/core": "^7.28.0",
|
|
51
|
+
"typescript": "^5.9.2",
|
|
52
|
+
"vite": "^7.1.3"
|
|
53
53
|
},
|
|
54
54
|
"volta": {
|
|
55
55
|
"extends": "../../package.json"
|