ember-source 5.10.1 → 5.12.0-alpha.1
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/blueprints/component/index.js +2 -2
- package/blueprints/component-class/index.js +2 -2
- package/build-metadata.json +3 -3
- package/dist/ember-template-compiler.js +14 -12
- package/dist/ember-testing.js +8 -6
- package/dist/ember.debug.js +10 -8
- package/dist/ember.prod.js +5 -3
- package/dist/packages/@ember/-internals/container/index.js +1 -1
- package/dist/packages/@ember/-internals/deprecations/index.js +1 -1
- package/dist/packages/@ember/-internals/glimmer/index.js +1 -1
- package/dist/packages/@ember/-internals/meta/lib/meta.js +3 -3
- package/dist/packages/@ember/-internals/metal/index.js +8 -8
- package/dist/packages/@ember/-internals/routing/index.js +4 -4
- package/dist/packages/@ember/-internals/runtime/lib/ext/rsvp.js +2 -2
- package/dist/packages/@ember/-internals/runtime/lib/mixins/-proxy.js +5 -5
- package/dist/packages/@ember/-internals/runtime/lib/mixins/action_handler.js +3 -3
- package/dist/packages/@ember/-internals/runtime/lib/mixins/container_proxy.js +1 -1
- package/dist/packages/@ember/-internals/runtime/lib/mixins/registry_proxy.js +1 -1
- package/dist/packages/@ember/-internals/runtime/lib/mixins/target_action_support.js +3 -3
- package/dist/packages/@ember/-internals/string/index.js +1 -1
- package/dist/packages/@ember/-internals/utils/index.js +4 -4
- package/dist/packages/@ember/-internals/views/index.js +1 -1
- package/dist/packages/@ember/-internals/views/lib/compat/fallback-view-registry.js +1 -1
- package/dist/packages/@ember/-internals/views/lib/component_lookup.js +1 -1
- package/dist/packages/@ember/-internals/views/lib/mixins/action_support.js +3 -3
- package/dist/packages/@ember/-internals/views/lib/mixins/child_views_support.js +3 -3
- package/dist/packages/@ember/-internals/views/lib/mixins/class_names_support.js +3 -3
- package/dist/packages/@ember/-internals/views/lib/mixins/view_support.js +3 -3
- package/dist/packages/@ember/-internals/views/lib/system/event_dispatcher.js +6 -6
- package/dist/packages/@ember/-internals/views/lib/system/utils.js +2 -2
- package/dist/packages/@ember/-internals/views/lib/views/core_view.js +4 -4
- package/dist/packages/@ember/-internals/views/lib/views/states.js +3 -3
- package/dist/packages/@ember/application/index.js +6 -6
- package/dist/packages/@ember/application/instance.js +8 -8
- package/dist/packages/@ember/application/namespace.js +6 -6
- package/dist/packages/@ember/array/index.js +5 -5
- package/dist/packages/@ember/array/mutable.js +1 -1
- package/dist/packages/@ember/array/proxy.js +5 -5
- package/dist/packages/@ember/component/helper.js +4 -4
- package/dist/packages/@ember/component/index.js +4 -4
- package/dist/packages/@ember/controller/index.js +5 -5
- package/dist/packages/@ember/debug/container-debug-adapter.js +4 -4
- package/dist/packages/@ember/debug/data-adapter.js +4 -4
- package/dist/packages/@ember/debug/index.js +1 -1
- package/dist/packages/@ember/debug/lib/deprecate.js +1 -1
- package/dist/packages/@ember/debug/lib/inspect.js +1 -1
- package/dist/packages/@ember/debug/lib/warn.js +1 -1
- package/dist/packages/@ember/engine/index.js +8 -8
- package/dist/packages/@ember/engine/instance.js +5 -5
- package/dist/packages/@ember/helper/index.js +4 -4
- package/dist/packages/@ember/instrumentation/index.js +1 -1
- package/dist/packages/@ember/modifier/index.js +4 -4
- package/dist/packages/@ember/object/-internals.js +5 -5
- package/dist/packages/@ember/object/compat.js +3 -3
- package/dist/packages/@ember/object/computed.js +4 -4
- package/dist/packages/@ember/object/core.js +6 -6
- package/dist/packages/@ember/object/evented.js +4 -4
- package/dist/packages/@ember/object/events.js +3 -3
- package/dist/packages/@ember/object/index.js +7 -7
- package/dist/packages/@ember/object/internals.js +1 -1
- package/dist/packages/@ember/object/lib/computed/computed_macros.js +6 -6
- package/dist/packages/@ember/object/lib/computed/reduce_computed_macros.js +4 -4
- package/dist/packages/@ember/object/mixin.js +5 -5
- package/dist/packages/@ember/object/observable.js +6 -6
- package/dist/packages/@ember/object/observers.js +3 -3
- package/dist/packages/@ember/object/promise-proxy-mixin.js +5 -5
- package/dist/packages/@ember/renderer/index.js +4 -4
- package/dist/packages/@ember/routing/-internals.js +1 -1
- package/dist/packages/@ember/routing/hash-location.js +2 -2
- package/dist/packages/@ember/routing/history-location.js +2 -2
- package/dist/packages/@ember/routing/index.js +4 -4
- package/dist/packages/@ember/routing/lib/dsl.js +1 -1
- package/dist/packages/@ember/routing/lib/generate_controller.js +3 -3
- package/dist/packages/@ember/routing/lib/router_state.js +1 -1
- package/dist/packages/@ember/routing/lib/routing-service.js +5 -5
- package/dist/packages/@ember/routing/lib/utils.js +4 -4
- package/dist/packages/@ember/routing/none-location.js +2 -2
- package/dist/packages/@ember/routing/route.js +10 -10
- package/dist/packages/@ember/routing/router-service.js +6 -6
- package/dist/packages/@ember/routing/router.js +7 -7
- package/dist/packages/@ember/runloop/index.js +3 -3
- package/dist/packages/@ember/service/index.js +3 -3
- package/dist/packages/@ember/template/index.js +4 -4
- package/dist/packages/@ember/utils/index.js +1 -1
- package/dist/packages/@ember/utils/lib/compare.js +2 -2
- package/dist/packages/@ember/utils/lib/is_empty.js +4 -4
- package/dist/packages/@ember/utils/lib/type-of.js +1 -1
- package/dist/packages/@glimmer/tracking/index.js +3 -3
- package/dist/packages/@glimmer/tracking/primitives/cache.js +3 -3
- package/dist/packages/ember/barrel.js +10 -10
- package/dist/packages/ember/version.js +1 -1
- package/dist/packages/ember-testing/lib/adapters/adapter.js +1 -1
- package/dist/packages/ember-testing/lib/adapters/qunit.js +1 -1
- package/dist/packages/ember-testing/lib/ext/application.js +1 -1
- package/dist/packages/ember-testing/lib/ext/rsvp.js +1 -1
- package/dist/packages/ember-testing/lib/helpers/and_then.js +1 -1
- package/dist/packages/ember-testing/lib/helpers/current_path.js +5 -5
- package/dist/packages/ember-testing/lib/helpers/current_route_name.js +5 -5
- package/dist/packages/ember-testing/lib/helpers/current_url.js +5 -5
- package/dist/packages/ember-testing/lib/helpers/pause_test.js +1 -1
- package/dist/packages/ember-testing/lib/helpers/visit.js +3 -3
- package/dist/packages/ember-testing/lib/helpers/wait.js +3 -3
- package/dist/packages/ember-testing/lib/initializers.js +7 -7
- package/dist/packages/ember-testing/lib/setup_for_testing.js +1 -1
- package/dist/packages/ember-testing/lib/test/run.js +1 -1
- package/dist/packages/shared-chunks/{alias-By_2yu5c.js → alias-B9EVm1zl.js} +3 -3
- package/dist/packages/shared-chunks/{cache-gDE3bkXq.js → cache-DfGfGjt9.js} +4 -4
- package/dist/packages/shared-chunks/{core_view-Cxne2_wu.js → core_view-DHH6iT1r.js} +3 -3
- package/dist/packages/shared-chunks/{index-PYiGj1jp.js → index-Bz3vz93m.js} +7 -7
- package/dist/packages/shared-chunks/{index-DTxy4Zgx.js → index-C_0RkUaC.js} +7 -5
- package/dist/packages/shared-chunks/{index-BXPoca1S.js → index-DatiAa_z.js} +10 -10
- package/dist/packages/shared-chunks/{is_proxy-Dmis-70B.js → is_proxy-CUX0IOlR.js} +1 -1
- package/dist/packages/shared-chunks/{mandatory-setter-1UQhiJOb.js → mandatory-setter-CsT0mMvz.js} +1 -1
- package/dist/packages/shared-chunks/{name-z9D9Yibn.js → name-CQZUmrCC.js} +1 -1
- package/dist/packages/shared-chunks/{namespace_search-CBgHTkDh.js → namespace_search-RE2J0tvc.js} +2 -2
- package/dist/packages/shared-chunks/{property_set-CW4q-uo4.js → property_set-_MrrddMM.js} +4 -4
- package/dist/packages/shared-chunks/{registry-DzfcDwii.js → registry-Cf8N12n4.js} +2 -2
- package/dist/packages/shared-chunks/{set_properties-DvalyQdu.js → set_properties-G2fERhV0.js} +2 -2
- package/dist/packages/shared-chunks/{to-string-D8i3mjEU.js → to-string-CyIvmdAn.js} +1 -1
- package/docs/data.json +7 -7
- package/package.json +8 -5
- package/types/stable/@ember/debug/index.d.ts +1 -2
- package/types/stable/ember/barrel.d.ts +1 -1
- package/types/stable/ember/index.d.ts +1 -1
- package/dist/packages/@ember/routing/lib/engines.js +0 -1
- package/dist/packages/@ember/routing/lib/route-info.js +0 -1
- package/dist/packages/@ember/routing/location.js +0 -1
- package/dist/packages/@ember/routing/route-info.js +0 -1
- package/dist/packages/@ember/routing/transition.js +0 -1
- package/dist/packages/@ember/runloop/-private/backburner.js +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import '../../../shared-chunks/index-
|
|
2
|
-
import { a as assert } from '../../../shared-chunks/index-
|
|
3
|
-
import { j as EmberRouter } from '../../../shared-chunks/index-
|
|
1
|
+
import '../../../shared-chunks/index-Bz3vz93m.js';
|
|
2
|
+
import { a as assert } from '../../../shared-chunks/index-C_0RkUaC.js';
|
|
3
|
+
import { j as EmberRouter } from '../../../shared-chunks/index-DatiAa_z.js';
|
|
4
4
|
import { isDevelopingApp } from '@embroider/macros';
|
|
5
|
-
import { g as get } from '../../../shared-chunks/cache-
|
|
5
|
+
import { g as get } from '../../../shared-chunks/cache-DfGfGjt9.js';
|
|
6
6
|
import '../../../@ember/-internals/meta/lib/meta.js';
|
|
7
|
-
import '../../../shared-chunks/mandatory-setter-
|
|
7
|
+
import '../../../shared-chunks/mandatory-setter-CsT0mMvz.js';
|
|
8
8
|
import '../../../@glimmer/destroyable/index.js';
|
|
9
9
|
import '../../../@glimmer/validator/index.js';
|
|
10
10
|
import '../../../@glimmer/manager/index.js';
|
|
@@ -6,7 +6,7 @@ import '../../../@ember/-internals/runtime/lib/mixins/-proxy.js';
|
|
|
6
6
|
import '../../../@ember/enumerable/mutable.js';
|
|
7
7
|
import '../../../@ember/-internals/runtime/lib/mixins/target_action_support.js';
|
|
8
8
|
import '../../../@ember/-internals/runtime/lib/ext/rsvp.js';
|
|
9
|
-
import { a as assert, i as info } from '../../../shared-chunks/index-
|
|
9
|
+
import { a as assert, i as info } from '../../../shared-chunks/index-C_0RkUaC.js';
|
|
10
10
|
import { isDevelopingApp } from '@embroider/macros';
|
|
11
11
|
import { R as RSVP } from '../../../shared-chunks/rsvp-DaQAFb0W.js';
|
|
12
12
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as assert } from '../../../shared-chunks/index-
|
|
2
|
-
import { j as EmberRouter } from '../../../shared-chunks/index-
|
|
3
|
-
import { O as run } from '../../../shared-chunks/cache-
|
|
1
|
+
import { a as assert } from '../../../shared-chunks/index-C_0RkUaC.js';
|
|
2
|
+
import { j as EmberRouter } from '../../../shared-chunks/index-DatiAa_z.js';
|
|
3
|
+
import { O as run } from '../../../shared-chunks/cache-DfGfGjt9.js';
|
|
4
4
|
import { isDevelopingApp } from '@embroider/macros';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -7,10 +7,10 @@ import '../../../@ember/-internals/runtime/lib/mixins/-proxy.js';
|
|
|
7
7
|
import '../../../@ember/enumerable/mutable.js';
|
|
8
8
|
import '../../../@ember/-internals/runtime/lib/mixins/target_action_support.js';
|
|
9
9
|
import '../../../@ember/-internals/runtime/lib/ext/rsvp.js';
|
|
10
|
-
import { $ as _hasScheduledTimers, Z as _getCurrentRunLoop, O as run } from '../../../shared-chunks/cache-
|
|
10
|
+
import { $ as _hasScheduledTimers, Z as _getCurrentRunLoop, O as run } from '../../../shared-chunks/cache-DfGfGjt9.js';
|
|
11
11
|
import { pendingRequests } from '../test/pending_requests.js';
|
|
12
|
-
import { a as assert } from '../../../shared-chunks/index-
|
|
13
|
-
import { j as EmberRouter } from '../../../shared-chunks/index-
|
|
12
|
+
import { a as assert } from '../../../shared-chunks/index-C_0RkUaC.js';
|
|
13
|
+
import { j as EmberRouter } from '../../../shared-chunks/index-DatiAa_z.js';
|
|
14
14
|
import { isDevelopingApp } from '@embroider/macros';
|
|
15
15
|
import { R as RSVP } from '../../../shared-chunks/rsvp-DaQAFb0W.js';
|
|
16
16
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import '../../shared-chunks/mandatory-setter-
|
|
1
|
+
import '../../shared-chunks/mandatory-setter-CsT0mMvz.js';
|
|
2
2
|
import '@embroider/macros';
|
|
3
3
|
import '../../shared-chunks/env-BJLX2Arx.js';
|
|
4
|
-
import '../../shared-chunks/index-
|
|
5
|
-
import '../../shared-chunks/cache-
|
|
4
|
+
import '../../shared-chunks/index-C_0RkUaC.js';
|
|
5
|
+
import '../../shared-chunks/cache-DfGfGjt9.js';
|
|
6
6
|
import '../../@ember/-internals/meta/lib/meta.js';
|
|
7
7
|
import '../../@glimmer/destroyable/index.js';
|
|
8
8
|
import '../../@glimmer/validator/index.js';
|
|
@@ -16,23 +16,23 @@ import '../../@ember/-internals/runtime/lib/mixins/-proxy.js';
|
|
|
16
16
|
import '../../@ember/enumerable/mutable.js';
|
|
17
17
|
import '../../@ember/-internals/runtime/lib/mixins/target_action_support.js';
|
|
18
18
|
import '../../@ember/-internals/runtime/lib/ext/rsvp.js';
|
|
19
|
-
import '../../shared-chunks/index-
|
|
19
|
+
import '../../shared-chunks/index-Bz3vz93m.js';
|
|
20
20
|
import '../../@ember/-internals/views/lib/system/action_manager.js';
|
|
21
21
|
import '../../@ember/-internals/views/lib/component_lookup.js';
|
|
22
|
-
import '../../shared-chunks/core_view-
|
|
22
|
+
import '../../shared-chunks/core_view-DHH6iT1r.js';
|
|
23
23
|
import '../../@ember/-internals/views/lib/mixins/class_names_support.js';
|
|
24
24
|
import '../../@ember/-internals/views/lib/mixins/child_views_support.js';
|
|
25
25
|
import '../../@ember/-internals/views/lib/mixins/view_state_support.js';
|
|
26
26
|
import '../../@ember/-internals/views/lib/mixins/view_support.js';
|
|
27
27
|
import '../../@ember/-internals/views/lib/mixins/action_support.js';
|
|
28
|
-
import '../../shared-chunks/index-
|
|
28
|
+
import '../../shared-chunks/index-DatiAa_z.js';
|
|
29
29
|
import '../../@ember/routing/none-location.js';
|
|
30
30
|
import '../../route-recognizer/index.js';
|
|
31
31
|
import '../../shared-chunks/rsvp-DaQAFb0W.js';
|
|
32
32
|
import '../../shared-chunks/router-B-Q1aYBn.js';
|
|
33
33
|
import '../../@ember/controller/index.js';
|
|
34
34
|
import '../../@glimmer/opcode-compiler/index.js';
|
|
35
|
-
import '../../shared-chunks/registry-
|
|
35
|
+
import '../../shared-chunks/registry-Cf8N12n4.js';
|
|
36
36
|
import '../../@glimmer/runtime/index.js';
|
|
37
37
|
import '../../@glimmer/reference/index.js';
|
|
38
38
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { meta } from '../@ember/-internals/meta/lib/meta.js';
|
|
2
|
-
import { a as assert, b as inspect } from './index-
|
|
2
|
+
import { a as assert, b as inspect } from './index-C_0RkUaC.js';
|
|
3
3
|
import { tagMetaFor, tagFor, untrack, validateTag, updateTag as UPDATE_TAG, valueForTag, consumeTag } from '../@glimmer/validator/index.js';
|
|
4
|
-
import { i as isElementDescriptor, w as makeComputedDecorator, v as descriptorForDecorator, D as ComputedDescriptor, E as CHAIN_PASS_THROUGH, g as get, F as getChainTagsForKey, G as finishLazyChains, d as defineProperty } from './cache-
|
|
5
|
-
import { s as set } from './property_set-
|
|
4
|
+
import { i as isElementDescriptor, w as makeComputedDecorator, v as descriptorForDecorator, D as ComputedDescriptor, E as CHAIN_PASS_THROUGH, g as get, F as getChainTagsForKey, G as finishLazyChains, d as defineProperty } from './cache-DfGfGjt9.js';
|
|
5
|
+
import { s as set } from './property_set-_MrrddMM.js';
|
|
6
6
|
import { isDevelopingApp } from '@embroider/macros';
|
|
7
7
|
|
|
8
8
|
function alias(altKey) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { meta, peekMeta } from '../@ember/-internals/meta/lib/meta.js';
|
|
2
|
-
import { d as setListeners, f as setupMandatorySetter, e as isObject, h as setWithMandatorySetter } from './mandatory-setter-
|
|
2
|
+
import { d as setListeners, f as setupMandatorySetter, e as isObject, h as setWithMandatorySetter } from './mandatory-setter-CsT0mMvz.js';
|
|
3
3
|
import { isDevelopingApp } from '@embroider/macros';
|
|
4
|
-
import { a as assert, b as inspect, w as warn, c as debug } from './index-
|
|
4
|
+
import { a as assert, b as inspect, w as warn, c as debug } from './index-C_0RkUaC.js';
|
|
5
5
|
import { registerDestructor, isDestroyed } from '../@glimmer/destroyable/index.js';
|
|
6
6
|
import { tagMetaFor, valueForTag, CURRENT_TAG, validateTag, tagFor, CONSTANT_TAG, dirtyTagFor, combine, updateTag as UPDATE_TAG, createUpdatableTag, untrack, ALLOW_CYCLES, consumeTag, track, isTracking, trackedData } from '../@glimmer/validator/index.js';
|
|
7
7
|
import { getCustomTagFor } from '../@glimmer/manager/index.js';
|
|
8
8
|
import { E as ENV } from './env-BJLX2Arx.js';
|
|
9
9
|
import { onErrorTarget } from '../@ember/-internals/error-handling/index.js';
|
|
10
|
-
import { t as toString, s as symbol } from './to-string-
|
|
11
|
-
import { s as setProxy } from './is_proxy-
|
|
10
|
+
import { t as toString, s as symbol } from './to-string-CyIvmdAn.js';
|
|
11
|
+
import { s as setProxy } from './is_proxy-CUX0IOlR.js';
|
|
12
12
|
import { isEmberArray } from '../@ember/array/-internals.js';
|
|
13
13
|
import { C as Cache } from './cache-qDyqAcpg.js';
|
|
14
14
|
import Version from '../ember/version.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import '../@ember/-internals/meta/lib/meta.js';
|
|
2
|
-
import './mandatory-setter-
|
|
2
|
+
import './mandatory-setter-CsT0mMvz.js';
|
|
3
3
|
import '@embroider/macros';
|
|
4
|
-
import './index-
|
|
4
|
+
import './index-C_0RkUaC.js';
|
|
5
5
|
import '../@glimmer/destroyable/index.js';
|
|
6
6
|
import '../@glimmer/validator/index.js';
|
|
7
|
-
import { f as inject } from './cache-
|
|
7
|
+
import { f as inject } from './cache-DfGfGjt9.js';
|
|
8
8
|
import '../@glimmer/manager/index.js';
|
|
9
9
|
import './env-BJLX2Arx.js';
|
|
10
10
|
import '../@ember/-internals/runtime/lib/mixins/registry_proxy.js';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { a as assert } from './index-
|
|
1
|
+
import { a as assert } from './index-C_0RkUaC.js';
|
|
2
2
|
import { E as ENV } from './env-BJLX2Arx.js';
|
|
3
|
-
import { g as get, a3 as endPropertyChanges, n as notifyPropertyChange, x as addObserver, y as removeObserver, J as hasListeners, a1 as beginPropertyChanges, R as objectAt, a7 as replaceInNativeArray, S as replace, a5 as PROXY_CONTENT, c as computed, H as hasUnknownProperty, B as descriptorForProperty, ad as DEBUG_INJECTION_FUNCTIONS, u as isClassicDecorator, d as defineProperty, ab as activateObserver, I as sendEvent, L as setClassicDecorator, i as isElementDescriptor, e as expandProperties } from './cache-
|
|
3
|
+
import { g as get, a3 as endPropertyChanges, n as notifyPropertyChange, x as addObserver, y as removeObserver, J as hasListeners, a1 as beginPropertyChanges, R as objectAt, a7 as replaceInNativeArray, S as replace, a5 as PROXY_CONTENT, c as computed, H as hasUnknownProperty, B as descriptorForProperty, ad as DEBUG_INJECTION_FUNCTIONS, u as isClassicDecorator, d as defineProperty, ab as activateObserver, I as sendEvent, L as setClassicDecorator, i as isElementDescriptor, e as expandProperties } from './cache-DfGfGjt9.js';
|
|
4
4
|
import { peekMeta, meta } from '../@ember/-internals/meta/lib/meta.js';
|
|
5
5
|
import '../@glimmer/validator/index.js';
|
|
6
|
-
import { g as guidFor, s as setObservers } from './mandatory-setter-
|
|
6
|
+
import { g as guidFor, s as setObservers } from './mandatory-setter-CsT0mMvz.js';
|
|
7
7
|
import { isDevelopingApp } from '@embroider/macros';
|
|
8
8
|
import { registerDestructor, isDestroyed, isDestroying, destroy } from '../@glimmer/destroyable/index.js';
|
|
9
9
|
import '../@glimmer/manager/index.js';
|
|
10
|
-
import { s as set } from './property_set-
|
|
11
|
-
import { g as getProperties, s as setProperties } from './set_properties-
|
|
12
|
-
import { g as getFactoryFor, s as setFactoryFor } from './registry-
|
|
10
|
+
import { s as set } from './property_set-_MrrddMM.js';
|
|
11
|
+
import { g as getProperties, s as setProperties } from './set_properties-G2fERhV0.js';
|
|
12
|
+
import { g as getFactoryFor, s as setFactoryFor } from './registry-Cf8N12n4.js';
|
|
13
13
|
import { getOwner } from '../@ember/-internals/owner/index.js';
|
|
14
|
-
import { i as isInternalSymbol } from './to-string-
|
|
14
|
+
import { i as isInternalSymbol } from './to-string-CyIvmdAn.js';
|
|
15
15
|
import Mixin, { applyMixin } from '../@ember/object/mixin.js';
|
|
16
16
|
import '../@ember/-internals/runtime/lib/mixins/registry_proxy.js';
|
|
17
17
|
import '../@ember/-internals/runtime/lib/mixins/container_proxy.js';
|
|
@@ -191,7 +191,7 @@ if (isDevelopingApp()) {
|
|
|
191
191
|
invoke('deprecate', message, test, options);
|
|
192
192
|
};
|
|
193
193
|
}
|
|
194
|
-
const
|
|
194
|
+
const defaultDeprecate = deprecate$1;
|
|
195
195
|
|
|
196
196
|
let registerHandler = () => {};
|
|
197
197
|
let warn$1 = () => {};
|
|
@@ -408,7 +408,7 @@ let assert = noop;
|
|
|
408
408
|
let info = noop;
|
|
409
409
|
let warn = noop;
|
|
410
410
|
let debug = noop;
|
|
411
|
-
let
|
|
411
|
+
let currentDeprecate;
|
|
412
412
|
let debugSeal = noop;
|
|
413
413
|
let debugFreeze = noop;
|
|
414
414
|
let runInDebug = noop;
|
|
@@ -417,6 +417,9 @@ let getDebugFunction = noop;
|
|
|
417
417
|
let deprecateFunc = function () {
|
|
418
418
|
return arguments[arguments.length - 1];
|
|
419
419
|
};
|
|
420
|
+
function deprecate(...args) {
|
|
421
|
+
return (currentDeprecate ?? defaultDeprecate)(...args);
|
|
422
|
+
}
|
|
420
423
|
if (isDevelopingApp()) {
|
|
421
424
|
setDebugFunction = function (type, callback) {
|
|
422
425
|
switch (type) {
|
|
@@ -429,7 +432,7 @@ if (isDevelopingApp()) {
|
|
|
429
432
|
case 'debug':
|
|
430
433
|
return debug = callback;
|
|
431
434
|
case 'deprecate':
|
|
432
|
-
return
|
|
435
|
+
return currentDeprecate = callback;
|
|
433
436
|
case 'debugSeal':
|
|
434
437
|
return debugSeal = callback;
|
|
435
438
|
case 'debugFreeze':
|
|
@@ -618,7 +621,6 @@ if (isDevelopingApp()) {
|
|
|
618
621
|
Object.freeze(obj);
|
|
619
622
|
}
|
|
620
623
|
});
|
|
621
|
-
setDebugFunction('deprecate', _deprecate);
|
|
622
624
|
setDebugFunction('warn', _warn);
|
|
623
625
|
}
|
|
624
626
|
let _warnIfUsingStrippedFeatureFlags;
|
|
@@ -638,4 +640,4 @@ if (isDevelopingApp() && !isTesting()) {
|
|
|
638
640
|
}
|
|
639
641
|
}
|
|
640
642
|
|
|
641
|
-
export {
|
|
643
|
+
export { _warn as _, assert as a, inspect as b, debug as c, deprecate as d, deprecateFunc as e, registerHandler$1 as f, registerHandler as g, debugFreeze as h, info as i, defaultDeprecate as j, missingOptionsIdDeprecation$1 as k, missingOptionDeprecation as l, missingOptionsDeprecation$1 as m, missingOptionsIdDeprecation as n, missingOptionsDeprecation as o, debugSeal as p, getDebugFunction as q, runInDebug as r, setDebugFunction as s, _warnIfUsingStrippedFeatureFlags as t, warn as w };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { templateFactory, programCompilationContext } from '../@glimmer/opcode-compiler/index.js';
|
|
2
|
-
import { g as getFactoryFor, p as privatize, R as Registry } from './registry-
|
|
3
|
-
import { a as assert, w as warn, b as inspect, h as debugFreeze, d as deprecate, i as info } from './index-
|
|
2
|
+
import { g as getFactoryFor, p as privatize, R as Registry } from './registry-Cf8N12n4.js';
|
|
3
|
+
import { a as assert, w as warn, b as inspect, h as debugFreeze, d as deprecate, i as info } from './index-C_0RkUaC.js';
|
|
4
4
|
import { on as on$1, reifyPositional, normalizeProperty, EMPTY_ARGS, createCapturedArgs, EMPTY_POSITIONAL, curry, hash, array, concat, fn, get as get$1, templateOnlyComponent, TEMPLATE_ONLY_COMPONENT_MANAGER, runtimeContext, DOMTreeConstruction, DOMChanges, clientBuilder, inTransaction, renderMain, rehydrationBuilder } from '../@glimmer/runtime/index.js';
|
|
5
|
-
import { a0 as tracked, g as get, j as join, Q as PROPERTY_DID_CHANGE, t as tagForObject, R as objectAt, a as tagForProperty, _ as _backburner, a6 as _getProp, s as schedule, Z as _getCurrentRunLoop, ac as flushAsyncObservers, N as once, B as descriptorForProperty, d as defineProperty, x as addObserver, c as computed, O as run, ag as scheduleOnce, ah as cancel } from './cache-
|
|
5
|
+
import { a0 as tracked, g as get, j as join, Q as PROPERTY_DID_CHANGE, t as tagForObject, R as objectAt, a as tagForProperty, _ as _backburner, a6 as _getProp, s as schedule, Z as _getCurrentRunLoop, ac as flushAsyncObservers, N as once, B as descriptorForProperty, d as defineProperty, x as addObserver, c as computed, O as run, ag as scheduleOnce, ah as cancel } from './cache-DfGfGjt9.js';
|
|
6
6
|
import { valueForRef, isConstRef, createConstRef, isUpdatableRef, updateRef, createPrimitiveRef, childRefFor, createComputeRef, childRefFromParts, isInvokableRef, createUnboundRef, createInvokableRef, createReadOnlyRef, createDebugAliasRef, UNDEFINED_REFERENCE } from '../@glimmer/reference/index.js';
|
|
7
7
|
import { untrack, consumeTag, tagFor, createCache, getValue, valueForTag, beginUntrackFrame, endUntrackFrame, beginTrackFrame, endTrackFrame, validateTag, createTag, dirtyTag as DIRTY_TAG$1, CONSTANT_TAG, isTracking, debug, createUpdatableTag, CURRENT_TAG } from '../@glimmer/validator/index.js';
|
|
8
8
|
import { isDevelopingApp } from '@embroider/macros';
|
|
9
9
|
import { setModifierManager as setModifierManager$1, setInternalComponentManager, setComponentTemplate, setInternalHelperManager, setHelperManager, getInternalHelperManager, helperCapabilities, capabilityFlagsFrom, setInternalModifierManager, getInternalComponentManager, getComponentTemplate } from '../@glimmer/manager/index.js';
|
|
10
10
|
import { h as hasDOM } from './index-BGP1rw3B.js';
|
|
11
|
-
import { b as action$1, i as isArray, E as EmberObject, t as typeOf, A } from './index-
|
|
11
|
+
import { b as action$1, i as isArray, E as EmberObject, t as typeOf, A } from './index-Bz3vz93m.js';
|
|
12
12
|
import { isSimpleClick, getViewElement, clearElementView, clearViewElement, addChildView, setViewElement, setElementView, constructStyleDeprecationMessage, getViewId } from '../@ember/-internals/views/lib/system/utils.js';
|
|
13
13
|
import '../@ember/-internals/meta/lib/meta.js';
|
|
14
|
-
import { g as guidFor, a as getDebugName, e as isObject, u as uuid, l as lookupDescriptor } from './mandatory-setter-
|
|
14
|
+
import { g as guidFor, a as getDebugName, e as isObject, u as uuid, l as lookupDescriptor } from './mandatory-setter-CsT0mMvz.js';
|
|
15
15
|
import { registerDestructor, associateDestroyableChild, destroy } from '../@glimmer/destroyable/index.js';
|
|
16
16
|
import { E as ENV } from './env-BJLX2Arx.js';
|
|
17
17
|
import ActionManager from '../@ember/-internals/views/lib/system/action_manager.js';
|
|
18
18
|
import ComponentLookup from '../@ember/-internals/views/lib/component_lookup.js';
|
|
19
|
-
import { d as decorateFieldV2, i as initializeDeferredDecorator, a as decorateMethodV2, C as CoreView } from './core_view-
|
|
19
|
+
import { d as decorateFieldV2, i as initializeDeferredDecorator, a as decorateMethodV2, C as CoreView } from './core_view-DHH6iT1r.js';
|
|
20
20
|
import ClassNamesSupport from '../@ember/-internals/views/lib/mixins/class_names_support.js';
|
|
21
21
|
import ChildViewsSupport from '../@ember/-internals/views/lib/mixins/child_views_support.js';
|
|
22
22
|
import ViewStateSupport from '../@ember/-internals/views/lib/mixins/view_state_support.js';
|
|
@@ -38,7 +38,7 @@ import TargetActionSupport from '../@ember/-internals/runtime/lib/mixins/target_
|
|
|
38
38
|
import '../@ember/-internals/runtime/lib/ext/rsvp.js';
|
|
39
39
|
import { setOwner, getOwner, isFactory } from '../@ember/-internals/owner/index.js';
|
|
40
40
|
import { a as RSVP, R as RSVP$1 } from './rsvp-DaQAFb0W.js';
|
|
41
|
-
import { _ as _setProp, s as set } from './property_set-
|
|
41
|
+
import { _ as _setProp, s as set } from './property_set-_MrrddMM.js';
|
|
42
42
|
import '../route-recognizer/index.js';
|
|
43
43
|
import { S as STATE_SYMBOL, P as PARAMS_SYMBOL, R as Router, l as logAbort } from './router-B-Q1aYBn.js';
|
|
44
44
|
import { readOnly } from '../@ember/object/lib/computed/computed_macros.js';
|
|
@@ -47,14 +47,14 @@ import { getOwner as getOwner$1 } from '../@ember/owner/index.js';
|
|
|
47
47
|
import BucketCache from '../@ember/routing/lib/cache.js';
|
|
48
48
|
import DSLImpl from '../@ember/routing/lib/dsl.js';
|
|
49
49
|
import Evented from '../@ember/object/evented.js';
|
|
50
|
-
import { i as isProxy } from './is_proxy-
|
|
51
|
-
import { g as getProperties, s as setProperties } from './set_properties-
|
|
50
|
+
import { i as isProxy } from './is_proxy-CUX0IOlR.js';
|
|
51
|
+
import { g as getProperties, s as setProperties } from './set_properties-G2fERhV0.js';
|
|
52
52
|
import generateController, { generateControllerFactory } from '../@ember/routing/lib/generate_controller.js';
|
|
53
53
|
import { deprecateUntil, DEPRECATIONS } from '../@ember/-internals/deprecations/index.js';
|
|
54
54
|
import { dependentKeyCompat } from '../@ember/object/compat.js';
|
|
55
55
|
import { isTesting } from '../@ember/debug/lib/testing.js';
|
|
56
56
|
import EventDispatcher from '../@ember/-internals/views/lib/system/event_dispatcher.js';
|
|
57
|
-
import { e as enumerableSymbol } from './to-string-
|
|
57
|
+
import { e as enumerableSymbol } from './to-string-CyIvmdAn.js';
|
|
58
58
|
import { flaggedInstrument, _instrumentStart } from '../@ember/instrumentation/index.js';
|
|
59
59
|
import { unwrapTemplate, EMPTY_ARRAY as EMPTY_ARRAY$1, dict } from '../@glimmer/util/index.js';
|
|
60
60
|
import { dasherize } from '../@ember/-internals/string/index.js';
|
package/dist/packages/shared-chunks/{namespace_search-CBgHTkDh.js → namespace_search-RE2J0tvc.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as context } from './env-BJLX2Arx.js';
|
|
2
|
-
import './mandatory-setter-
|
|
2
|
+
import './mandatory-setter-CsT0mMvz.js';
|
|
3
3
|
import '@embroider/macros';
|
|
4
|
-
import { g as getName, s as setName } from './name-
|
|
4
|
+
import { g as getName, s as setName } from './name-CQZUmrCC.js';
|
|
5
5
|
|
|
6
6
|
const hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
7
7
|
let searchDisabled = false;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as lookupDescriptor, h as setWithMandatorySetter } from './mandatory-setter-
|
|
1
|
+
import { l as lookupDescriptor, h as setWithMandatorySetter } from './mandatory-setter-CsT0mMvz.js';
|
|
2
2
|
import { isDevelopingApp } from '@embroider/macros';
|
|
3
|
-
import { t as toString } from './to-string-
|
|
4
|
-
import { a as assert } from './index-
|
|
5
|
-
import { h as isPath, k as COMPUTED_SETTERS, l as getPossibleMandatoryProxyValue, n as notifyPropertyChange, m as _getPath } from './cache-
|
|
3
|
+
import { t as toString } from './to-string-CyIvmdAn.js';
|
|
4
|
+
import { a as assert } from './index-C_0RkUaC.js';
|
|
5
|
+
import { h as isPath, k as COMPUTED_SETTERS, l as getPossibleMandatoryProxyValue, n as notifyPropertyChange, m as _getPath } from './cache-DfGfGjt9.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
@module @ember/object
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as intern } from './mandatory-setter-
|
|
1
|
+
import { i as intern } from './mandatory-setter-CsT0mMvz.js';
|
|
2
2
|
import { isDevelopingApp } from '@embroider/macros';
|
|
3
3
|
import { m as makeDictionary } from './dictionary-gc5gpyOG.js';
|
|
4
|
-
import { a as assert } from './index-
|
|
4
|
+
import { a as assert } from './index-C_0RkUaC.js';
|
|
5
5
|
import { setOwner } from '../@ember/-internals/owner/index.js';
|
|
6
6
|
|
|
7
7
|
// doesn't work with isolatedModules
|
package/dist/packages/shared-chunks/{set_properties-DvalyQdu.js → set_properties-G2fERhV0.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as get, a2 as changeProperties } from './cache-
|
|
2
|
-
import { s as set } from './property_set-
|
|
1
|
+
import { g as get, a2 as changeProperties } from './cache-DfGfGjt9.js';
|
|
2
|
+
import { s as set } from './property_set-_MrrddMM.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
@module @ember/object
|
package/docs/data.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "The Ember API",
|
|
4
4
|
"description": "The Ember API: a framework for building ambitious web applications",
|
|
5
5
|
"url": "https://emberjs.com/",
|
|
6
|
-
"version": "5.
|
|
6
|
+
"version": "5.12.0-alpha.1"
|
|
7
7
|
},
|
|
8
8
|
"files": {
|
|
9
9
|
"node_modules/rsvp/lib/rsvp/promise/all.js": {
|
|
@@ -2147,7 +2147,7 @@
|
|
|
2147
2147
|
"namespaces": {},
|
|
2148
2148
|
"tag": "module",
|
|
2149
2149
|
"file": "packages/@ember/debug/index.ts",
|
|
2150
|
-
"line":
|
|
2150
|
+
"line": 141,
|
|
2151
2151
|
"access": "public",
|
|
2152
2152
|
"tagname": ""
|
|
2153
2153
|
},
|
|
@@ -12312,7 +12312,7 @@
|
|
|
12312
12312
|
},
|
|
12313
12313
|
{
|
|
12314
12314
|
"file": "packages/@ember/debug/index.ts",
|
|
12315
|
-
"line":
|
|
12315
|
+
"line": 146,
|
|
12316
12316
|
"description": "Verify that a certain expectation is met, or throw a exception otherwise.\n\nThis is useful for communicating assumptions in the code to other human\nreaders as well as catching bugs that accidentally violates these\nexpectations.\n\nAssertions are removed from production builds, so they can be freely added\nfor documentation and debugging purposes without worries of incuring any\nperformance penalty. However, because of that, they should not be used for\nchecks that could reasonably fail during normal usage. Furthermore, care\nshould be taken to avoid accidentally relying on side-effects produced from\nevaluating the condition itself, since the code will not run in production.\n\n```javascript\nimport { assert } from '@ember/debug';\n\n// Test for truthiness\nassert('Must pass a string', typeof str === 'string');\n\n// Fail unconditionally\nassert('This code path should never be run');\n```",
|
|
12317
12317
|
"itemtype": "method",
|
|
12318
12318
|
"name": "assert",
|
|
@@ -12337,7 +12337,7 @@
|
|
|
12337
12337
|
},
|
|
12338
12338
|
{
|
|
12339
12339
|
"file": "packages/@ember/debug/index.ts",
|
|
12340
|
-
"line":
|
|
12340
|
+
"line": 191,
|
|
12341
12341
|
"description": "Display a debug notice.\n\nCalls to this function are not invoked in production builds.\n\n```javascript\nimport { debug } from '@ember/debug';\n\ndebug('I\\'m a debug notice!');\n```",
|
|
12342
12342
|
"itemtype": "method",
|
|
12343
12343
|
"name": "debug",
|
|
@@ -12356,7 +12356,7 @@
|
|
|
12356
12356
|
},
|
|
12357
12357
|
{
|
|
12358
12358
|
"file": "packages/@ember/debug/index.ts",
|
|
12359
|
-
"line":
|
|
12359
|
+
"line": 212,
|
|
12360
12360
|
"description": "Display an info notice.\n\nCalls to this function are removed from production builds, so they can be\nfreely added for documentation and debugging purposes without worries of\nincuring any performance penalty.",
|
|
12361
12361
|
"itemtype": "method",
|
|
12362
12362
|
"name": "info",
|
|
@@ -12367,7 +12367,7 @@
|
|
|
12367
12367
|
},
|
|
12368
12368
|
{
|
|
12369
12369
|
"file": "packages/@ember/debug/index.ts",
|
|
12370
|
-
"line":
|
|
12370
|
+
"line": 231,
|
|
12371
12371
|
"description": "Alias an old, deprecated method with its new counterpart.\n\nDisplay a deprecation warning with the provided message and a stack trace\n(Chrome and Firefox only) when the assigned method is called.\n\nCalls to this function are removed from production builds, so they can be\nfreely added for documentation and debugging purposes without worries of\nincuring any performance penalty.\n\n```javascript\nimport { deprecateFunc } from '@ember/debug';\n\nEmber.oldMethod = deprecateFunc('Please use the new, updated method', options, Ember.newMethod);\n```",
|
|
12372
12372
|
"itemtype": "method",
|
|
12373
12373
|
"name": "deprecateFunc",
|
|
@@ -12401,7 +12401,7 @@
|
|
|
12401
12401
|
},
|
|
12402
12402
|
{
|
|
12403
12403
|
"file": "packages/@ember/debug/index.ts",
|
|
12404
|
-
"line":
|
|
12404
|
+
"line": 276,
|
|
12405
12405
|
"description": "Run a function meant for debugging.\n\nCalls to this function are removed from production builds, so they can be\nfreely added for documentation and debugging purposes without worries of\nincuring any performance penalty.\n\n```javascript\nimport Component from '@ember/component';\nimport { runInDebug } from '@ember/debug';\n\nrunInDebug(() => {\n Component.reopen({\n didInsertElement() {\n console.log(\"I'm happy\");\n }\n });\n});\n```",
|
|
12406
12406
|
"itemtype": "method",
|
|
12407
12407
|
"name": "runInDebug",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-source",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.12.0-alpha.1",
|
|
4
4
|
"description": "A JavaScript framework for creating ambitious web applications",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
"@glimmer/component": "^1.1.2"
|
|
172
172
|
},
|
|
173
173
|
"engines": {
|
|
174
|
-
"node": ">=
|
|
174
|
+
"node": ">= 18.*"
|
|
175
175
|
},
|
|
176
176
|
"ember-addon": {
|
|
177
177
|
"after": "ember-cli-legacy-blueprints"
|
|
@@ -190,6 +190,9 @@
|
|
|
190
190
|
"node": "16.20.0",
|
|
191
191
|
"pnpm": "8.10.0"
|
|
192
192
|
},
|
|
193
|
-
"_originalVersion": "5.
|
|
194
|
-
"_versionPreviouslyCalculated": true
|
|
195
|
-
|
|
193
|
+
"_originalVersion": "5.12.0-alpha.1",
|
|
194
|
+
"_versionPreviouslyCalculated": true,
|
|
195
|
+
"publishConfig": {
|
|
196
|
+
"tag": "alpha"
|
|
197
|
+
}
|
|
198
|
+
}
|
|
@@ -59,20 +59,19 @@ declare module '@ember/debug' {
|
|
|
59
59
|
let info: InfoFunc;
|
|
60
60
|
let warn: WarnFunc;
|
|
61
61
|
let debug: DebugFunc;
|
|
62
|
-
let deprecate: DeprecateFunc;
|
|
63
62
|
let debugSeal: DebugSealFunc;
|
|
64
63
|
let debugFreeze: DebugFreezeFunc;
|
|
65
64
|
let runInDebug: RunInDebugFunc;
|
|
66
65
|
let setDebugFunction: SetDebugFunction;
|
|
67
66
|
let getDebugFunction: GetDebugFunction;
|
|
68
67
|
let deprecateFunc: DeprecateFuncFunc;
|
|
68
|
+
export function deprecate(...args: Parameters<DeprecateFunc>): ReturnType<DeprecateFunc>;
|
|
69
69
|
let _warnIfUsingStrippedFeatureFlags: any;
|
|
70
70
|
export {
|
|
71
71
|
assert,
|
|
72
72
|
info,
|
|
73
73
|
warn,
|
|
74
74
|
debug,
|
|
75
|
-
deprecate,
|
|
76
75
|
debugSeal,
|
|
77
76
|
debugFreeze,
|
|
78
77
|
runInDebug,
|
|
@@ -189,7 +189,7 @@ declare module 'ember/barrel' {
|
|
|
189
189
|
const assert: EmberDebug.AssertFunc;
|
|
190
190
|
const warn: import('@ember/debug/lib/warn').WarnFunc;
|
|
191
191
|
const debug: EmberDebug.DebugFunc;
|
|
192
|
-
const deprecate:
|
|
192
|
+
const deprecate: typeof EmberDebug.deprecate;
|
|
193
193
|
const deprecateFunc: EmberDebug.DeprecateFuncFunc;
|
|
194
194
|
const runInDebug: EmberDebug.RunInDebugFunc;
|
|
195
195
|
const inspect: typeof EmberDebug.inspect;
|
|
@@ -189,7 +189,7 @@ declare module 'ember' {
|
|
|
189
189
|
const assert: EmberDebug.AssertFunc;
|
|
190
190
|
const warn: import('@ember/debug/lib/warn').WarnFunc;
|
|
191
191
|
const debug: EmberDebug.DebugFunc;
|
|
192
|
-
const deprecate:
|
|
192
|
+
const deprecate: typeof EmberDebug.deprecate;
|
|
193
193
|
const deprecateFunc: EmberDebug.DeprecateFuncFunc;
|
|
194
194
|
const runInDebug: EmberDebug.RunInDebugFunc;
|
|
195
195
|
const inspect: typeof EmberDebug.inspect;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|