ember-source 5.12.0-beta.2 → 6.0.0-alpha.10
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/build-metadata.json +3 -3
- package/dist/ember-template-compiler.js +33 -34
- package/dist/ember-testing.js +1 -1
- package/dist/ember.debug.js +46 -62
- package/dist/ember.prod.js +24 -39
- package/dist/packages/@ember/-internals/deprecations/index.js +2 -2
- package/dist/packages/@ember/-internals/environment/index.js +1 -1
- package/dist/packages/@ember/-internals/glimmer/index.js +2 -2
- package/dist/packages/@ember/-internals/metal/index.js +8 -8
- package/dist/packages/@ember/-internals/routing/index.js +2 -2
- package/dist/packages/@ember/-internals/runtime/lib/mixins/-proxy.js +3 -3
- package/dist/packages/@ember/-internals/runtime/lib/mixins/action_handler.js +2 -2
- package/dist/packages/@ember/-internals/runtime/lib/mixins/target_action_support.js +2 -2
- package/dist/packages/@ember/-internals/views/lib/mixins/action_support.js +2 -2
- package/dist/packages/@ember/-internals/views/lib/mixins/child_views_support.js +2 -2
- package/dist/packages/@ember/-internals/views/lib/mixins/class_names_support.js +2 -2
- package/dist/packages/@ember/-internals/views/lib/mixins/view_support.js +2 -2
- package/dist/packages/@ember/-internals/views/lib/system/event_dispatcher.js +3 -3
- package/dist/packages/@ember/-internals/views/lib/views/core_view.js +2 -2
- package/dist/packages/@ember/application/index.js +4 -4
- package/dist/packages/@ember/application/instance.js +4 -4
- package/dist/packages/@ember/application/lib/lazy_load.js +1 -1
- package/dist/packages/@ember/application/namespace.js +2 -2
- package/dist/packages/@ember/array/index.js +16 -31
- package/dist/packages/@ember/array/proxy.js +4 -4
- package/dist/packages/@ember/canary-features/index.js +1 -1
- package/dist/packages/@ember/component/helper.js +1 -1
- package/dist/packages/@ember/component/index.js +1 -1
- package/dist/packages/@ember/controller/index.js +2 -2
- package/dist/packages/@ember/debug/container-debug-adapter.js +2 -2
- package/dist/packages/@ember/debug/data-adapter.js +2 -2
- package/dist/packages/@ember/debug/lib/assert.js +21 -21
- package/dist/packages/@ember/debug/lib/deprecate.js +1 -1
- package/dist/packages/@ember/deprecated-features/index.js +2 -3
- package/dist/packages/@ember/engine/index.js +5 -5
- package/dist/packages/@ember/helper/index.js +1 -1
- package/dist/packages/@ember/instrumentation/index.js +1 -1
- package/dist/packages/@ember/modifier/index.js +1 -1
- package/dist/packages/@ember/object/-internals.js +2 -2
- package/dist/packages/@ember/object/compat.js +2 -2
- package/dist/packages/@ember/object/computed.js +3 -3
- package/dist/packages/@ember/object/core.js +2 -2
- package/dist/packages/@ember/object/evented.js +3 -3
- package/dist/packages/@ember/object/events.js +2 -2
- package/dist/packages/@ember/object/index.js +5 -5
- package/dist/packages/@ember/object/lib/computed/computed_macros.js +4 -4
- package/dist/packages/@ember/object/lib/computed/reduce_computed_macros.js +2 -2
- package/dist/packages/@ember/object/mixin.js +2 -2
- package/dist/packages/@ember/object/observable.js +4 -4
- package/dist/packages/@ember/object/observers.js +2 -2
- package/dist/packages/@ember/object/promise-proxy-mixin.js +3 -3
- package/dist/packages/@ember/renderer/index.js +1 -1
- package/dist/packages/@ember/routing/index.js +1 -1
- package/dist/packages/@ember/routing/lib/generate_controller.js +2 -2
- package/dist/packages/@ember/routing/lib/routing-service.js +2 -2
- package/dist/packages/@ember/routing/lib/utils.js +2 -2
- package/dist/packages/@ember/routing/route.js +4 -4
- package/dist/packages/@ember/routing/router-service.js +2 -2
- package/dist/packages/@ember/routing/router.js +3 -3
- package/dist/packages/@ember/runloop/index.js +2 -2
- package/dist/packages/@ember/service/index.js +2 -2
- package/dist/packages/@ember/template/index.js +1 -1
- package/dist/packages/@ember/utils/lib/is_empty.js +2 -2
- package/dist/packages/@glimmer/tracking/index.js +2 -2
- package/dist/packages/@glimmer/tracking/primitives/cache.js +2 -2
- package/dist/packages/ember/barrel.js +6 -6
- package/dist/packages/ember/version.js +1 -1
- package/dist/packages/ember-testing/lib/helpers/current_path.js +2 -2
- package/dist/packages/ember-testing/lib/helpers/current_route_name.js +2 -2
- package/dist/packages/ember-testing/lib/helpers/current_url.js +2 -2
- package/dist/packages/ember-testing/lib/initializers.js +3 -3
- package/dist/packages/shared-chunks/{alias-Dri0koi2.js → alias-sGqO9HFc.js} +2 -2
- package/dist/packages/shared-chunks/{array-3xbmc_4J.js → array-BIqISULL.js} +1 -1
- package/dist/packages/shared-chunks/{cache-BESCGvbE.js → cache-DORQczuy.js} +1 -1
- package/dist/packages/shared-chunks/{env-BJLX2Arx.js → env-mInZ1DuF.js} +8 -8
- package/dist/packages/shared-chunks/{index-Cx6axmzR.js → index-aNnE3pXR.js} +3 -3
- package/dist/packages/shared-chunks/{namespace_search-btMaPM-_.js → namespace_search-DU-a-C1F.js} +1 -1
- package/dist/packages/shared-chunks/{property_set-BapAkp3X.js → property_set-4etrFh8A.js} +1 -1
- package/dist/packages/shared-chunks/{set_properties-BScfxzvI.js → set_properties-BQFOCF2x.js} +2 -2
- package/dist/packages/shared-chunks/{setup-registry-CEsz7P_1.js → setup-registry-MiB1DeH5.js} +1 -1
- package/docs/data.json +162 -143
- package/package.json +187 -5
- package/types/stable/@ember/-internals/environment/lib/env.d.ts +3 -8
- package/types/stable/@ember/array/index.d.ts +2 -9
- package/types/stable/@ember/deprecated-features/index.d.ts +1 -0
package/build-metadata.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "6.0.0-alpha.10",
|
|
3
3
|
"buildType": "tag",
|
|
4
|
-
"SHA": "
|
|
5
|
-
"assetPath": "/tag/shas/
|
|
4
|
+
"SHA": "282e632a3abbdd6bf5de631a9df93f0bec27b5e7",
|
|
5
|
+
"assetPath": "/tag/shas/282e632a3abbdd6bf5de631a9df93f0bec27b5e7.tgz"
|
|
6
6
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Portions Copyright 2008-2011 Apple Inc. All rights reserved.
|
|
6
6
|
* @license Licensed under MIT license
|
|
7
7
|
* See https://raw.github.com/emberjs/ember.js/master/LICENSE
|
|
8
|
-
* @version
|
|
8
|
+
* @version 6.0.0-alpha.10
|
|
9
9
|
*/
|
|
10
10
|
/* eslint-disable no-var */
|
|
11
11
|
/* globals global globalThis self */
|
|
@@ -190,20 +190,16 @@ var define, require;
|
|
|
190
190
|
Determines whether Ember should add to `Array`
|
|
191
191
|
native object prototypes, a few extra methods in order to provide a more
|
|
192
192
|
friendly API.
|
|
193
|
-
|
|
194
|
-
to turn it off, you can add the configuration property
|
|
195
|
-
`EXTEND_PROTOTYPES` to `EmberENV` and set it to `false`.
|
|
196
|
-
Note, when disabled (the default configuration for Ember Addons), you will
|
|
197
|
-
instead have to access all methods and functions from the Ember
|
|
198
|
-
namespace.
|
|
193
|
+
The behavior from setting this option to `true` was deprecated in Ember 5.10.
|
|
199
194
|
@property EXTEND_PROTOTYPES
|
|
200
195
|
@type Boolean
|
|
201
196
|
@default true
|
|
202
197
|
@for EmberENV
|
|
203
|
-
@
|
|
198
|
+
@private
|
|
199
|
+
@deprecated in v5.10
|
|
204
200
|
*/
|
|
205
201
|
EXTEND_PROTOTYPES: {
|
|
206
|
-
Array:
|
|
202
|
+
Array: false
|
|
207
203
|
},
|
|
208
204
|
/**
|
|
209
205
|
The `LOG_STACKTRACE_ON_DEPRECATION` property, when true, tells Ember to log
|
|
@@ -324,6 +320,10 @@ var define, require;
|
|
|
324
320
|
ENV[flag] = EmberENV[flag];
|
|
325
321
|
}
|
|
326
322
|
}
|
|
323
|
+
|
|
324
|
+
// TODO: Remove in Ember 6.5. This setting code for EXTEND_PROTOTYPES
|
|
325
|
+
// should stay for at least an LTS cycle so that users get the explicit
|
|
326
|
+
// deprecation exception when it breaks in >= 6.0.0.
|
|
327
327
|
let {
|
|
328
328
|
EXTEND_PROTOTYPES
|
|
329
329
|
} = EmberENV;
|
|
@@ -861,33 +861,33 @@ var define, require;
|
|
|
861
861
|
}
|
|
862
862
|
{
|
|
863
863
|
/**
|
|
864
|
-
|
|
864
|
+
Verify that a certain expectation is met, or throw a exception otherwise.
|
|
865
865
|
This is useful for communicating assumptions in the code to other human
|
|
866
|
-
|
|
867
|
-
|
|
866
|
+
readers as well as catching bugs that accidentally violates these
|
|
867
|
+
expectations.
|
|
868
868
|
Assertions are removed from production builds, so they can be freely added
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
869
|
+
for documentation and debugging purposes without worries of incuring any
|
|
870
|
+
performance penalty. However, because of that, they should not be used for
|
|
871
|
+
checks that could reasonably fail during normal usage. Furthermore, care
|
|
872
|
+
should be taken to avoid accidentally relying on side-effects produced from
|
|
873
|
+
evaluating the condition itself, since the code will not run in production.
|
|
874
874
|
```javascript
|
|
875
|
-
|
|
875
|
+
import { assert } from '@ember/debug';
|
|
876
876
|
// Test for truthiness
|
|
877
|
-
|
|
877
|
+
assert('Must pass a string', typeof str === 'string');
|
|
878
878
|
// Fail unconditionally
|
|
879
|
-
|
|
880
|
-
|
|
879
|
+
assert('This code path should never be run');
|
|
880
|
+
```
|
|
881
881
|
@method assert
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
882
|
+
@static
|
|
883
|
+
@for @ember/debug
|
|
884
|
+
@param {String} description Describes the expectation. This will become the
|
|
885
|
+
text of the Error thrown if the assertion fails.
|
|
886
|
+
@param {any} condition Must be truthy for the assertion to pass. If
|
|
887
|
+
falsy, an exception will be thrown.
|
|
888
|
+
@public
|
|
889
|
+
@since 1.0.0
|
|
890
|
+
*/
|
|
891
891
|
|
|
892
892
|
// eslint-disable-next-line no-inner-declarations
|
|
893
893
|
function assert(desc, test) {
|
|
@@ -2463,12 +2463,11 @@ var define, require;
|
|
|
2463
2463
|
isEnabled
|
|
2464
2464
|
}, Symbol.toStringTag, { value: 'Module' });
|
|
2465
2465
|
|
|
2466
|
-
/* eslint-disable no-implicit-coercion */
|
|
2467
|
-
|
|
2468
2466
|
// These versions should be the version that the deprecation was _introduced_,
|
|
2469
2467
|
// not the version that the feature will be removed.
|
|
2470
2468
|
|
|
2471
|
-
|
|
2469
|
+
/** Introduced in 4.0.0-beta.1 */
|
|
2470
|
+
const ASSIGN = true;
|
|
2472
2471
|
|
|
2473
2472
|
const emberDeprecatedFeaturesIndex = /*#__PURE__*/Object.defineProperty({
|
|
2474
2473
|
__proto__: null,
|
|
@@ -17754,7 +17753,7 @@ var define, require;
|
|
|
17754
17753
|
}, Symbol.toStringTag, { value: 'Module' });
|
|
17755
17754
|
|
|
17756
17755
|
// this file gets replaced with the real value during the build
|
|
17757
|
-
const version = '
|
|
17756
|
+
const version = '6.0.0-alpha.10';
|
|
17758
17757
|
|
|
17759
17758
|
const emberVersion = /*#__PURE__*/Object.defineProperty({
|
|
17760
17759
|
__proto__: null,
|
package/dist/ember-testing.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Portions Copyright 2008-2011 Apple Inc. All rights reserved.
|
|
6
6
|
* @license Licensed under MIT license
|
|
7
7
|
* See https://raw.github.com/emberjs/ember.js/master/LICENSE
|
|
8
|
-
* @version
|
|
8
|
+
* @version 6.0.0-alpha.10
|
|
9
9
|
*/
|
|
10
10
|
/* eslint-disable no-var */
|
|
11
11
|
/* globals global globalThis self */
|
package/dist/ember.debug.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Portions Copyright 2008-2011 Apple Inc. All rights reserved.
|
|
6
6
|
* @license Licensed under MIT license
|
|
7
7
|
* See https://raw.github.com/emberjs/ember.js/master/LICENSE
|
|
8
|
-
* @version
|
|
8
|
+
* @version 6.0.0-alpha.10
|
|
9
9
|
*/
|
|
10
10
|
/* eslint-disable no-var */
|
|
11
11
|
/* globals global globalThis self */
|
|
@@ -668,20 +668,16 @@ var define, require;
|
|
|
668
668
|
Determines whether Ember should add to `Array`
|
|
669
669
|
native object prototypes, a few extra methods in order to provide a more
|
|
670
670
|
friendly API.
|
|
671
|
-
|
|
672
|
-
to turn it off, you can add the configuration property
|
|
673
|
-
`EXTEND_PROTOTYPES` to `EmberENV` and set it to `false`.
|
|
674
|
-
Note, when disabled (the default configuration for Ember Addons), you will
|
|
675
|
-
instead have to access all methods and functions from the Ember
|
|
676
|
-
namespace.
|
|
671
|
+
The behavior from setting this option to `true` was deprecated in Ember 5.10.
|
|
677
672
|
@property EXTEND_PROTOTYPES
|
|
678
673
|
@type Boolean
|
|
679
674
|
@default true
|
|
680
675
|
@for EmberENV
|
|
681
|
-
@
|
|
676
|
+
@private
|
|
677
|
+
@deprecated in v5.10
|
|
682
678
|
*/
|
|
683
679
|
EXTEND_PROTOTYPES: {
|
|
684
|
-
Array:
|
|
680
|
+
Array: false
|
|
685
681
|
},
|
|
686
682
|
/**
|
|
687
683
|
The `LOG_STACKTRACE_ON_DEPRECATION` property, when true, tells Ember to log
|
|
@@ -802,6 +798,10 @@ var define, require;
|
|
|
802
798
|
ENV[flag] = EmberENV[flag];
|
|
803
799
|
}
|
|
804
800
|
}
|
|
801
|
+
|
|
802
|
+
// TODO: Remove in Ember 6.5. This setting code for EXTEND_PROTOTYPES
|
|
803
|
+
// should stay for at least an LTS cycle so that users get the explicit
|
|
804
|
+
// deprecation exception when it breaks in >= 6.0.0.
|
|
805
805
|
let {
|
|
806
806
|
EXTEND_PROTOTYPES
|
|
807
807
|
} = EmberENV;
|
|
@@ -861,33 +861,33 @@ var define, require;
|
|
|
861
861
|
}
|
|
862
862
|
{
|
|
863
863
|
/**
|
|
864
|
-
|
|
864
|
+
Verify that a certain expectation is met, or throw a exception otherwise.
|
|
865
865
|
This is useful for communicating assumptions in the code to other human
|
|
866
|
-
|
|
867
|
-
|
|
866
|
+
readers as well as catching bugs that accidentally violates these
|
|
867
|
+
expectations.
|
|
868
868
|
Assertions are removed from production builds, so they can be freely added
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
869
|
+
for documentation and debugging purposes without worries of incuring any
|
|
870
|
+
performance penalty. However, because of that, they should not be used for
|
|
871
|
+
checks that could reasonably fail during normal usage. Furthermore, care
|
|
872
|
+
should be taken to avoid accidentally relying on side-effects produced from
|
|
873
|
+
evaluating the condition itself, since the code will not run in production.
|
|
874
874
|
```javascript
|
|
875
|
-
|
|
875
|
+
import { assert } from '@ember/debug';
|
|
876
876
|
// Test for truthiness
|
|
877
|
-
|
|
877
|
+
assert('Must pass a string', typeof str === 'string');
|
|
878
878
|
// Fail unconditionally
|
|
879
|
-
|
|
880
|
-
|
|
879
|
+
assert('This code path should never be run');
|
|
880
|
+
```
|
|
881
881
|
@method assert
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
882
|
+
@static
|
|
883
|
+
@for @ember/debug
|
|
884
|
+
@param {String} description Describes the expectation. This will become the
|
|
885
|
+
text of the Error thrown if the assertion fails.
|
|
886
|
+
@param {any} condition Must be truthy for the assertion to pass. If
|
|
887
|
+
falsy, an exception will be thrown.
|
|
888
|
+
@public
|
|
889
|
+
@since 1.0.0
|
|
890
|
+
*/
|
|
891
891
|
|
|
892
892
|
// eslint-disable-next-line no-inner-declarations
|
|
893
893
|
function assert(desc, test) {
|
|
@@ -3505,7 +3505,7 @@ var define, require;
|
|
|
3505
3505
|
}, Symbol.toStringTag, { value: 'Module' });
|
|
3506
3506
|
|
|
3507
3507
|
// this file gets replaced with the real value during the build
|
|
3508
|
-
const Version = '
|
|
3508
|
+
const Version = '6.0.0-alpha.10';
|
|
3509
3509
|
|
|
3510
3510
|
const emberVersion = /*#__PURE__*/Object.defineProperty({
|
|
3511
3511
|
__proto__: null,
|
|
@@ -3695,7 +3695,7 @@ var define, require;
|
|
|
3695
3695
|
since: {
|
|
3696
3696
|
available: '5.10.0'
|
|
3697
3697
|
},
|
|
3698
|
-
until: '
|
|
3698
|
+
until: '7.0.0',
|
|
3699
3699
|
url: `https://deprecations.emberjs.com/id/import-${dasherize(importName).toLowerCase()}-from-ember`
|
|
3700
3700
|
});
|
|
3701
3701
|
},
|
|
@@ -34277,11 +34277,7 @@ var define, require;
|
|
|
34277
34277
|
|
|
34278
34278
|
/**
|
|
34279
34279
|
Creates an `Ember.NativeArray` from an Array-like object.
|
|
34280
|
-
Does not modify the original object's contents.
|
|
34281
|
-
`EmberENV.EXTEND_PROTOTYPES` is `true` (the default value). However,
|
|
34282
|
-
it is recommended that you use `A()` when creating addons for
|
|
34283
|
-
ember or when you can not guarantee that `EmberENV.EXTEND_PROTOTYPES`
|
|
34284
|
-
will be `true`.
|
|
34280
|
+
Does not modify the original object's contents.
|
|
34285
34281
|
|
|
34286
34282
|
Example
|
|
34287
34283
|
|
|
@@ -34332,10 +34328,7 @@ var define, require;
|
|
|
34332
34328
|
|
|
34333
34329
|
/**
|
|
34334
34330
|
The NativeArray mixin contains the properties needed to make the native
|
|
34335
|
-
Array support MutableArray and all of its dependent APIs.
|
|
34336
|
-
have `EmberENV.EXTEND_PROTOTYPES` or `EmberENV.EXTEND_PROTOTYPES.Array` set to
|
|
34337
|
-
false, this will be applied automatically. Otherwise you can apply the mixin
|
|
34338
|
-
at anytime by calling `Ember.NativeArray.apply(Array.prototype)`.
|
|
34331
|
+
Array support MutableArray and all of its dependent APIs.
|
|
34339
34332
|
|
|
34340
34333
|
@class Ember.NativeArray
|
|
34341
34334
|
@uses MutableArray
|
|
@@ -34365,24 +34358,16 @@ var define, require;
|
|
|
34365
34358
|
});
|
|
34366
34359
|
NativeArray = NativeArray.without(...ignore);
|
|
34367
34360
|
let A;
|
|
34368
|
-
|
|
34369
|
-
|
|
34370
|
-
|
|
34371
|
-
|
|
34372
|
-
return arr
|
|
34373
|
-
}
|
|
34374
|
-
|
|
34375
|
-
|
|
34376
|
-
|
|
34377
|
-
|
|
34378
|
-
// SAFETY: If it's a true native array and it is also an EmberArray then it should be an Ember NativeArray
|
|
34379
|
-
return arr;
|
|
34380
|
-
} else {
|
|
34381
|
-
// SAFETY: This will return an NativeArray but TS can't infer that.
|
|
34382
|
-
return NativeArray.apply(arr ?? []);
|
|
34383
|
-
}
|
|
34384
|
-
};
|
|
34385
|
-
}
|
|
34361
|
+
A = function (arr) {
|
|
34362
|
+
(!(!(this instanceof A)) && assert$1('You cannot create an Ember Array with `new A()`, please update to calling A as a function: `A()`', !(this instanceof A)));
|
|
34363
|
+
if (isEmberArray(arr)) {
|
|
34364
|
+
// SAFETY: If it's a true native array and it is also an EmberArray then it should be an Ember NativeArray
|
|
34365
|
+
return arr;
|
|
34366
|
+
} else {
|
|
34367
|
+
// SAFETY: This will return an NativeArray but TS can't infer that.
|
|
34368
|
+
return NativeArray.apply(arr ?? []);
|
|
34369
|
+
}
|
|
34370
|
+
};
|
|
34386
34371
|
|
|
34387
34372
|
const emberArrayIndex = /*#__PURE__*/Object.defineProperty({
|
|
34388
34373
|
__proto__: null,
|
|
@@ -49606,12 +49591,11 @@ var define, require;
|
|
|
49606
49591
|
default: DataAdapter
|
|
49607
49592
|
}, Symbol.toStringTag, { value: 'Module' });
|
|
49608
49593
|
|
|
49609
|
-
/* eslint-disable no-implicit-coercion */
|
|
49610
|
-
|
|
49611
49594
|
// These versions should be the version that the deprecation was _introduced_,
|
|
49612
49595
|
// not the version that the feature will be removed.
|
|
49613
49596
|
|
|
49614
|
-
|
|
49597
|
+
/** Introduced in 4.0.0-beta.1 */
|
|
49598
|
+
const ASSIGN = true;
|
|
49615
49599
|
|
|
49616
49600
|
const emberDeprecatedFeaturesIndex = /*#__PURE__*/Object.defineProperty({
|
|
49617
49601
|
__proto__: null,
|
package/dist/ember.prod.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Portions Copyright 2008-2011 Apple Inc. All rights reserved.
|
|
6
6
|
* @license Licensed under MIT license
|
|
7
7
|
* See https://raw.github.com/emberjs/ember.js/master/LICENSE
|
|
8
|
-
* @version
|
|
8
|
+
* @version 6.0.0-alpha.10
|
|
9
9
|
*/
|
|
10
10
|
/* eslint-disable no-var */
|
|
11
11
|
/* globals global globalThis self */
|
|
@@ -623,20 +623,16 @@ var define, require;
|
|
|
623
623
|
Determines whether Ember should add to `Array`
|
|
624
624
|
native object prototypes, a few extra methods in order to provide a more
|
|
625
625
|
friendly API.
|
|
626
|
-
|
|
627
|
-
to turn it off, you can add the configuration property
|
|
628
|
-
`EXTEND_PROTOTYPES` to `EmberENV` and set it to `false`.
|
|
629
|
-
Note, when disabled (the default configuration for Ember Addons), you will
|
|
630
|
-
instead have to access all methods and functions from the Ember
|
|
631
|
-
namespace.
|
|
626
|
+
The behavior from setting this option to `true` was deprecated in Ember 5.10.
|
|
632
627
|
@property EXTEND_PROTOTYPES
|
|
633
628
|
@type Boolean
|
|
634
629
|
@default true
|
|
635
630
|
@for EmberENV
|
|
636
|
-
@
|
|
631
|
+
@private
|
|
632
|
+
@deprecated in v5.10
|
|
637
633
|
*/
|
|
638
634
|
EXTEND_PROTOTYPES: {
|
|
639
|
-
Array:
|
|
635
|
+
Array: false
|
|
640
636
|
},
|
|
641
637
|
/**
|
|
642
638
|
The `LOG_STACKTRACE_ON_DEPRECATION` property, when true, tells Ember to log
|
|
@@ -757,6 +753,10 @@ var define, require;
|
|
|
757
753
|
ENV[flag] = EmberENV[flag];
|
|
758
754
|
}
|
|
759
755
|
}
|
|
756
|
+
|
|
757
|
+
// TODO: Remove in Ember 6.5. This setting code for EXTEND_PROTOTYPES
|
|
758
|
+
// should stay for at least an LTS cycle so that users get the explicit
|
|
759
|
+
// deprecation exception when it breaks in >= 6.0.0.
|
|
760
760
|
let {
|
|
761
761
|
EXTEND_PROTOTYPES
|
|
762
762
|
} = EmberENV;
|
|
@@ -2719,7 +2719,7 @@ var define, require;
|
|
|
2719
2719
|
}, Symbol.toStringTag, { value: 'Module' });
|
|
2720
2720
|
|
|
2721
2721
|
// this file gets replaced with the real value during the build
|
|
2722
|
-
const Version = '
|
|
2722
|
+
const Version = '6.0.0-alpha.10';
|
|
2723
2723
|
|
|
2724
2724
|
const emberVersion = /*#__PURE__*/Object.defineProperty({
|
|
2725
2725
|
__proto__: null,
|
|
@@ -2909,7 +2909,7 @@ var define, require;
|
|
|
2909
2909
|
since: {
|
|
2910
2910
|
available: '5.10.0'
|
|
2911
2911
|
},
|
|
2912
|
-
until: '
|
|
2912
|
+
until: '7.0.0',
|
|
2913
2913
|
url: `https://deprecations.emberjs.com/id/import-${dasherize(importName).toLowerCase()}-from-ember`
|
|
2914
2914
|
});
|
|
2915
2915
|
},
|
|
@@ -32142,11 +32142,7 @@ var define, require;
|
|
|
32142
32142
|
|
|
32143
32143
|
/**
|
|
32144
32144
|
Creates an `Ember.NativeArray` from an Array-like object.
|
|
32145
|
-
Does not modify the original object's contents.
|
|
32146
|
-
`EmberENV.EXTEND_PROTOTYPES` is `true` (the default value). However,
|
|
32147
|
-
it is recommended that you use `A()` when creating addons for
|
|
32148
|
-
ember or when you can not guarantee that `EmberENV.EXTEND_PROTOTYPES`
|
|
32149
|
-
will be `true`.
|
|
32145
|
+
Does not modify the original object's contents.
|
|
32150
32146
|
|
|
32151
32147
|
Example
|
|
32152
32148
|
|
|
@@ -32197,10 +32193,7 @@ var define, require;
|
|
|
32197
32193
|
|
|
32198
32194
|
/**
|
|
32199
32195
|
The NativeArray mixin contains the properties needed to make the native
|
|
32200
|
-
Array support MutableArray and all of its dependent APIs.
|
|
32201
|
-
have `EmberENV.EXTEND_PROTOTYPES` or `EmberENV.EXTEND_PROTOTYPES.Array` set to
|
|
32202
|
-
false, this will be applied automatically. Otherwise you can apply the mixin
|
|
32203
|
-
at anytime by calling `Ember.NativeArray.apply(Array.prototype)`.
|
|
32196
|
+
Array support MutableArray and all of its dependent APIs.
|
|
32204
32197
|
|
|
32205
32198
|
@class Ember.NativeArray
|
|
32206
32199
|
@uses MutableArray
|
|
@@ -32229,22 +32222,15 @@ var define, require;
|
|
|
32229
32222
|
});
|
|
32230
32223
|
NativeArray = NativeArray.without(...ignore);
|
|
32231
32224
|
let A;
|
|
32232
|
-
|
|
32233
|
-
|
|
32234
|
-
|
|
32235
|
-
return arr
|
|
32236
|
-
}
|
|
32237
|
-
|
|
32238
|
-
|
|
32239
|
-
|
|
32240
|
-
|
|
32241
|
-
return arr;
|
|
32242
|
-
} else {
|
|
32243
|
-
// SAFETY: This will return an NativeArray but TS can't infer that.
|
|
32244
|
-
return NativeArray.apply(arr ?? []);
|
|
32245
|
-
}
|
|
32246
|
-
};
|
|
32247
|
-
}
|
|
32225
|
+
A = function (arr) {
|
|
32226
|
+
if (isEmberArray(arr)) {
|
|
32227
|
+
// SAFETY: If it's a true native array and it is also an EmberArray then it should be an Ember NativeArray
|
|
32228
|
+
return arr;
|
|
32229
|
+
} else {
|
|
32230
|
+
// SAFETY: This will return an NativeArray but TS can't infer that.
|
|
32231
|
+
return NativeArray.apply(arr ?? []);
|
|
32232
|
+
}
|
|
32233
|
+
};
|
|
32248
32234
|
|
|
32249
32235
|
const emberArrayIndex = /*#__PURE__*/Object.defineProperty({
|
|
32250
32236
|
__proto__: null,
|
|
@@ -46939,12 +46925,11 @@ var define, require;
|
|
|
46939
46925
|
default: DataAdapter
|
|
46940
46926
|
}, Symbol.toStringTag, { value: 'Module' });
|
|
46941
46927
|
|
|
46942
|
-
/* eslint-disable no-implicit-coercion */
|
|
46943
|
-
|
|
46944
46928
|
// These versions should be the version that the deprecation was _introduced_,
|
|
46945
46929
|
// not the version that the feature will be removed.
|
|
46946
46930
|
|
|
46947
|
-
|
|
46931
|
+
/** Introduced in 4.0.0-beta.1 */
|
|
46932
|
+
const ASSIGN = true;
|
|
46948
46933
|
|
|
46949
46934
|
const emberDeprecatedFeaturesIndex = /*#__PURE__*/Object.defineProperty({
|
|
46950
46935
|
__proto__: null,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as ENV } from '../../../shared-chunks/env-
|
|
1
|
+
import { E as ENV } from '../../../shared-chunks/env-mInZ1DuF.js';
|
|
2
2
|
import Version from '../../../ember/version.js';
|
|
3
3
|
import { deprecate } from '../../debug/index.js';
|
|
4
4
|
import { dasherize } from '../string/index.js';
|
|
@@ -89,7 +89,7 @@ const DEPRECATIONS = {
|
|
|
89
89
|
since: {
|
|
90
90
|
available: '5.10.0'
|
|
91
91
|
},
|
|
92
|
-
until: '
|
|
92
|
+
until: '7.0.0',
|
|
93
93
|
url: `https://deprecations.emberjs.com/id/import-${dasherize(importName).toLowerCase()}-from-ember`
|
|
94
94
|
});
|
|
95
95
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { E as ENV, c as context, b as getENV, a as getLookup, g as global, s as setLookup } from '../../../shared-chunks/env-
|
|
1
|
+
export { E as ENV, c as context, b as getENV, a as getLookup, g as global, s as setLookup } from '../../../shared-chunks/env-mInZ1DuF.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { templateFactory as template, templateCacheCounters } from '../../../@glimmer/opcode-compiler/index.js';
|
|
2
|
-
export { C as Component, H as Helper, I as Input, L as LinkTo, O as OutletView, b as Renderer, R as RootTemplate, S as SafeString, T as Textarea, _ as _resetRenderers, e as escapeExpression, h as helper, a as htmlSafe, i as isHTMLSafe, r as renderSettled, u as uniqueId } from '../../../shared-chunks/index-
|
|
2
|
+
export { C as Component, H as Helper, I as Input, L as LinkTo, O as OutletView, b as Renderer, R as RootTemplate, S as SafeString, T as Textarea, _ as _resetRenderers, e as escapeExpression, h as helper, a as htmlSafe, i as isHTMLSafe, r as renderSettled, u as uniqueId } from '../../../shared-chunks/index-aNnE3pXR.js';
|
|
3
3
|
export { g as getTemplate, a as getTemplates, h as hasTemplate, s as setTemplate, b as setTemplates } from '../../../shared-chunks/template_registry-DigcUg9m.js';
|
|
4
|
-
export { a as setupApplicationRegistry, s as setupEngineRegistry } from '../../../shared-chunks/setup-registry-
|
|
4
|
+
export { a as setupApplicationRegistry, s as setupEngineRegistry } from '../../../shared-chunks/setup-registry-MiB1DeH5.js';
|
|
5
5
|
export { DOMChanges, DOMTreeConstruction, isSerializationFirstNode } from '../../../@glimmer/runtime/index.js';
|
|
6
6
|
export { NodeDOMTreeConstruction } from '../../../@glimmer/node/index.js';
|
|
7
7
|
export { s as setComponentManager } from '../../../shared-chunks/managers-CbMgnSoo.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { g as get } from '../../../shared-chunks/cache-
|
|
2
|
-
export { X as ASYNC_OBSERVERS, J as ComputedDescriptor, C as ComputedProperty, D as DEBUG_INJECTION_FUNCTIONS, W as Libraries, Q as PROPERTY_DID_CHANGE, P as PROXY_CONTENT, Y as SYNC_OBSERVERS, $ as TrackedDescriptor, _ as _getPath, V as _getProp, j as activateObserver, G as addListener, v as addObserver, R as autoComputed, m as beginPropertyChanges, T as changeProperties, c as computed, z as defineDecorator, d as defineProperty, y as defineValue, E as descriptorForDecorator, b as descriptorForProperty, l as endPropertyChanges, e as expandProperties, I as flushAsyncObservers, x as hasListeners, h as hasUnknownProperty, p as inject, f as isClassicDecorator, U as isComputed, i as isElementDescriptor, O as libraries, F as makeComputedDecorator, Z as markObjectAsDirty, B as nativeDescDecorator, n as notifyPropertyChange, o as objectAt, N as on, H as removeListener, w as removeObserver, A as revalidateObservers, k as sendEvent, s as setClassicDecorator, t as tagForObject, a as tagForProperty, S as tracked } from '../../../shared-chunks/cache-
|
|
1
|
+
import { g as get } from '../../../shared-chunks/cache-DORQczuy.js';
|
|
2
|
+
export { X as ASYNC_OBSERVERS, J as ComputedDescriptor, C as ComputedProperty, D as DEBUG_INJECTION_FUNCTIONS, W as Libraries, Q as PROPERTY_DID_CHANGE, P as PROXY_CONTENT, Y as SYNC_OBSERVERS, $ as TrackedDescriptor, _ as _getPath, V as _getProp, j as activateObserver, G as addListener, v as addObserver, R as autoComputed, m as beginPropertyChanges, T as changeProperties, c as computed, z as defineDecorator, d as defineProperty, y as defineValue, E as descriptorForDecorator, b as descriptorForProperty, l as endPropertyChanges, e as expandProperties, I as flushAsyncObservers, x as hasListeners, h as hasUnknownProperty, p as inject, f as isClassicDecorator, U as isComputed, i as isElementDescriptor, O as libraries, F as makeComputedDecorator, Z as markObjectAsDirty, B as nativeDescDecorator, n as notifyPropertyChange, o as objectAt, N as on, H as removeListener, w as removeObserver, A as revalidateObservers, k as sendEvent, s as setClassicDecorator, t as tagForObject, a as tagForProperty, S as tracked } from '../../../shared-chunks/cache-DORQczuy.js';
|
|
3
3
|
export { g as getCachedValueFor } from '../../../shared-chunks/computed_cache-DmYKevAP.js';
|
|
4
|
-
export { a as alias } from '../../../shared-chunks/alias-
|
|
4
|
+
export { a as alias } from '../../../shared-chunks/alias-sGqO9HFc.js';
|
|
5
5
|
import { deprecate } from '../../debug/index.js';
|
|
6
|
-
import { s as set } from '../../../shared-chunks/property_set-
|
|
7
|
-
export { _ as _setProp, t as trySet } from '../../../shared-chunks/property_set-
|
|
6
|
+
import { s as set } from '../../../shared-chunks/property_set-4etrFh8A.js';
|
|
7
|
+
export { _ as _setProp, t as trySet } from '../../../shared-chunks/property_set-4etrFh8A.js';
|
|
8
8
|
import { isDevelopingApp } from '@embroider/macros';
|
|
9
|
-
export { d as addArrayObserver, c as arrayContentDidChange, b as arrayContentWillChange, e as removeArrayObserver, a as replace, r as replaceInNativeArray } from '../../../shared-chunks/array-
|
|
10
|
-
export { g as getProperties, s as setProperties } from '../../../shared-chunks/set_properties-
|
|
9
|
+
export { d as addArrayObserver, c as arrayContentDidChange, b as arrayContentWillChange, e as removeArrayObserver, a as replace, r as replaceInNativeArray } from '../../../shared-chunks/array-BIqISULL.js';
|
|
10
|
+
export { g as getProperties, s as setProperties } from '../../../shared-chunks/set_properties-BQFOCF2x.js';
|
|
11
11
|
export { cached } from '../../../@glimmer/tracking/index.js';
|
|
12
12
|
export { createCache, getValue, isConst } from '../../../@glimmer/validator/index.js';
|
|
13
|
-
export { N as NAMESPACES, a as NAMESPACES_BY_ID, b as addNamespace, f as findNamespace, c as findNamespaces, i as isNamespaceSearchDisabled, p as processAllNamespaces, d as processNamespace, r as removeNamespace, e as setNamespaceSearchDisabled, s as setUnprocessedMixins } from '../../../shared-chunks/namespace_search-
|
|
13
|
+
export { N as NAMESPACES, a as NAMESPACES_BY_ID, b as addNamespace, f as findNamespace, c as findNamespaces, i as isNamespaceSearchDisabled, p as processAllNamespaces, d as processNamespace, r as removeNamespace, e as setNamespaceSearchDisabled, s as setUnprocessedMixins } from '../../../shared-chunks/namespace_search-DU-a-C1F.js';
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
@module ember
|
|
@@ -5,8 +5,8 @@ import '../../debug/index.js';
|
|
|
5
5
|
import '../../../@glimmer/destroyable/index.js';
|
|
6
6
|
import '../../../@glimmer/validator/index.js';
|
|
7
7
|
import '../../../@glimmer/manager/index.js';
|
|
8
|
-
import '../../../shared-chunks/cache-
|
|
9
|
-
import '../../../shared-chunks/env-
|
|
8
|
+
import '../../../shared-chunks/cache-DORQczuy.js';
|
|
9
|
+
import '../../../shared-chunks/env-mInZ1DuF.js';
|
|
10
10
|
import '../../engine/instance.js';
|
|
11
11
|
import '../../../route-recognizer/index.js';
|
|
12
12
|
import '../../../shared-chunks/rsvp-DaQAFb0W.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { meta } from '../../../meta/lib/meta.js';
|
|
2
2
|
import Mixin from '../../../../object/mixin.js';
|
|
3
|
-
import { t as tagForObject, c as computed, g as get, d as defineProperty, a as tagForProperty } from '../../../../../shared-chunks/cache-
|
|
3
|
+
import { t as tagForObject, c as computed, g as get, d as defineProperty, a as tagForProperty } from '../../../../../shared-chunks/cache-DORQczuy.js';
|
|
4
4
|
import '../../../../debug/index.js';
|
|
5
5
|
import { updateTag as UPDATE_TAG, tagMetaFor, tagFor, combine } from '../../../../../@glimmer/validator/index.js';
|
|
6
6
|
import { f as setupMandatorySetter, e as isObject } from '../../../../../shared-chunks/mandatory-setter-BiXq-dpN.js';
|
|
7
7
|
import { isDevelopingApp } from '@embroider/macros';
|
|
8
8
|
import { s as setProxy, i as isProxy } from '../../../../../shared-chunks/is_proxy-DjvCKvd5.js';
|
|
9
|
-
import { s as set } from '../../../../../shared-chunks/property_set-
|
|
10
|
-
import '../../../../../shared-chunks/env-
|
|
9
|
+
import { s as set } from '../../../../../shared-chunks/property_set-4etrFh8A.js';
|
|
10
|
+
import '../../../../../shared-chunks/env-mInZ1DuF.js';
|
|
11
11
|
import { setCustomTagFor } from '../../../../../@glimmer/manager/index.js';
|
|
12
12
|
import { assert } from '../../../../debug/lib/assert.js';
|
|
13
13
|
|
|
@@ -6,8 +6,8 @@ import '../../../../debug/index.js';
|
|
|
6
6
|
import '../../../../../@glimmer/destroyable/index.js';
|
|
7
7
|
import '../../../../../@glimmer/validator/index.js';
|
|
8
8
|
import '../../../../../@glimmer/manager/index.js';
|
|
9
|
-
import { g as get } from '../../../../../shared-chunks/cache-
|
|
10
|
-
import '../../../../../shared-chunks/env-
|
|
9
|
+
import { g as get } from '../../../../../shared-chunks/cache-DORQczuy.js';
|
|
10
|
+
import '../../../../../shared-chunks/env-mInZ1DuF.js';
|
|
11
11
|
import { assert } from '../../../../debug/lib/assert.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as context } from '../../../../../shared-chunks/env-
|
|
2
|
-
import { c as computed, g as get } from '../../../../../shared-chunks/cache-
|
|
1
|
+
import { c as context } from '../../../../../shared-chunks/env-mInZ1DuF.js';
|
|
2
|
+
import { c as computed, g as get } from '../../../../../shared-chunks/cache-DORQczuy.js';
|
|
3
3
|
import '../../../meta/lib/meta.js';
|
|
4
4
|
import '../../../../debug/index.js';
|
|
5
5
|
import '../../../../../@glimmer/validator/index.js';
|
|
@@ -5,8 +5,8 @@ import '../../../../debug/index.js';
|
|
|
5
5
|
import '../../../../../@glimmer/destroyable/index.js';
|
|
6
6
|
import '../../../../../@glimmer/validator/index.js';
|
|
7
7
|
import '../../../../../@glimmer/manager/index.js';
|
|
8
|
-
import { g as get } from '../../../../../shared-chunks/cache-
|
|
9
|
-
import '../../../../../shared-chunks/env-
|
|
8
|
+
import { g as get } from '../../../../../shared-chunks/cache-DORQczuy.js';
|
|
9
|
+
import '../../../../../shared-chunks/env-mInZ1DuF.js';
|
|
10
10
|
import Mixin from '../../../../object/mixin.js';
|
|
11
11
|
import { assert } from '../../../../debug/lib/assert.js';
|
|
12
12
|
import inspect from '../../../../debug/lib/inspect.js';
|
|
@@ -5,8 +5,8 @@ import '../../../../debug/index.js';
|
|
|
5
5
|
import '../../../../../@glimmer/destroyable/index.js';
|
|
6
6
|
import '../../../../../@glimmer/validator/index.js';
|
|
7
7
|
import '../../../../../@glimmer/manager/index.js';
|
|
8
|
-
import { B as nativeDescDecorator } from '../../../../../shared-chunks/cache-
|
|
9
|
-
import '../../../../../shared-chunks/env-
|
|
8
|
+
import { B as nativeDescDecorator } from '../../../../../shared-chunks/cache-DORQczuy.js';
|
|
9
|
+
import '../../../../../shared-chunks/env-mInZ1DuF.js';
|
|
10
10
|
import Mixin from '../../../../object/mixin.js';
|
|
11
11
|
import { addChildView, getChildViews } from '../system/utils.js';
|
|
12
12
|
|
|
@@ -5,8 +5,8 @@ import '../../../../debug/index.js';
|
|
|
5
5
|
import '../../../../../@glimmer/destroyable/index.js';
|
|
6
6
|
import '../../../../../@glimmer/validator/index.js';
|
|
7
7
|
import '../../../../../@glimmer/manager/index.js';
|
|
8
|
-
import { b as descriptorForProperty } from '../../../../../shared-chunks/cache-
|
|
9
|
-
import '../../../../../shared-chunks/env-
|
|
8
|
+
import { b as descriptorForProperty } from '../../../../../shared-chunks/cache-DORQczuy.js';
|
|
9
|
+
import '../../../../../shared-chunks/env-mInZ1DuF.js';
|
|
10
10
|
import Mixin from '../../../../object/mixin.js';
|
|
11
11
|
import { assert } from '../../../../debug/lib/assert.js';
|
|
12
12
|
|