ember-source 6.11.0 → 6.11.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/build-metadata.json +3 -3
- package/dist/ember-template-compiler.js +2 -2
- package/dist/ember-template-compiler.js.map +1 -1
- package/dist/ember-testing.js +1 -1
- package/dist/ember.debug.js +16 -8
- package/dist/ember.debug.js.map +1 -1
- package/dist/ember.prod.js +15 -7
- package/dist/ember.prod.js.map +1 -1
- package/dist/packages/@ember/-internals/glimmer/index.js +2 -2
- package/dist/packages/@ember/-internals/metal/index.js +1 -1
- package/dist/packages/@ember/application/index.js +2 -2
- package/dist/packages/@ember/application/instance.js +2 -4
- package/dist/packages/@ember/application/namespace.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/engine/index.js +2 -2
- package/dist/packages/@ember/helper/index.js +1 -1
- package/dist/packages/@ember/modifier/index.js +1 -1
- package/dist/packages/@ember/object/mixin.js +1 -1
- package/dist/packages/@ember/renderer/index.js +1 -1
- package/dist/packages/@ember/routing/index.js +1 -1
- package/dist/packages/@ember/runloop/index.js +1 -1
- package/dist/packages/@ember/template/index.js +1 -1
- package/dist/packages/ember/barrel.js +2 -2
- package/dist/packages/ember/version.js +1 -1
- package/dist/packages/ember-testing/lib/initializers.js +1 -1
- package/dist/packages/shared-chunks/{index-DaCZcoCY.js → index-BYG--K5l.js} +11 -1
- package/dist/packages/shared-chunks/{namespace_search-Dh_YNV5f.js → namespace_search--Ia0-sY3.js} +1 -1
- package/dist/packages/shared-chunks/{setup-registry-DktVPnKH.js → setup-registry-A4OqqnFT.js} +1 -1
- package/docs/data.json +36 -36
- package/lib/index.js +20 -20
- package/package.json +3 -3
- package/types/stable/@ember/application/instance.d.ts +2 -1
|
@@ -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, d as Renderer, R as RootTemplate, S as SafeString, T as Textarea, a as TrustedHTML, _ as _resetRenderers, h as helper, b as htmlSafe, c as isHTMLSafe, i as isTrustedHTML, e as renderComponent, r as renderSettled, t as trustHTML, u as uniqueId } from '../../../shared-chunks/index-
|
|
2
|
+
export { C as Component, H as Helper, I as Input, L as LinkTo, O as OutletView, d as Renderer, R as RootTemplate, S as SafeString, T as Textarea, a as TrustedHTML, _ as _resetRenderers, h as helper, b as htmlSafe, c as isHTMLSafe, i as isTrustedHTML, e as renderComponent, r as renderSettled, t as trustHTML, u as uniqueId } from '../../../shared-chunks/index-BYG--K5l.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-A4OqqnFT.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';
|
|
@@ -10,7 +10,7 @@ export { d as addArrayObserver, c as arrayContentDidChange, b as arrayContentWil
|
|
|
10
10
|
export { g as getProperties, s as setProperties } from '../../../shared-chunks/set_properties-D2_u0phU.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--Ia0-sY3.js';
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
@module ember
|
|
@@ -43,8 +43,8 @@ import ApplicationInstance from './instance.js';
|
|
|
43
43
|
import Engine, { buildInitializerMethod } from '../engine/index.js';
|
|
44
44
|
import { p as privatize } from '../../shared-chunks/registry-BJpQx6hv.js';
|
|
45
45
|
import '../../@glimmer/opcode-compiler/index.js';
|
|
46
|
-
import '../../shared-chunks/index-
|
|
47
|
-
import { a as setupApplicationRegistry } from '../../shared-chunks/setup-registry-
|
|
46
|
+
import '../../shared-chunks/index-BYG--K5l.js';
|
|
47
|
+
import { a as setupApplicationRegistry } from '../../shared-chunks/setup-registry-A4OqqnFT.js';
|
|
48
48
|
import '../../@glimmer/runtime/index.js';
|
|
49
49
|
import '../../@glimmer/reference/index.js';
|
|
50
50
|
import RouterService from '../routing/router-service.js';
|
|
@@ -2,7 +2,7 @@ import '../object/index.js';
|
|
|
2
2
|
import { h as hasDOM, e as environment } from '../../shared-chunks/index-BGP1rw3B.js';
|
|
3
3
|
import EngineInstance from '../engine/instance.js';
|
|
4
4
|
import '../../@glimmer/opcode-compiler/index.js';
|
|
5
|
-
import { r as renderSettled } from '../../shared-chunks/index-
|
|
5
|
+
import { r as renderSettled } from '../../shared-chunks/index-BYG--K5l.js';
|
|
6
6
|
import '../../shared-chunks/registry-BJpQx6hv.js';
|
|
7
7
|
import '../debug/index.js';
|
|
8
8
|
import '../../@glimmer/runtime/index.js';
|
|
@@ -234,8 +234,6 @@ class ApplicationInstance extends EngineInstance {
|
|
|
234
234
|
let handleTransitionReject = error => {
|
|
235
235
|
if (error.error && error.error instanceof Error) {
|
|
236
236
|
throw error.error;
|
|
237
|
-
} else if (error.name === 'TransitionAborted' && router._routerMicrolib.activeTransition) {
|
|
238
|
-
return router._routerMicrolib.activeTransition.then(handleTransitionResolve, handleTransitionReject);
|
|
239
237
|
} else if (error.name === 'TransitionAborted') {
|
|
240
238
|
throw new Error(error.message);
|
|
241
239
|
} else {
|
|
@@ -247,7 +245,7 @@ class ApplicationInstance extends EngineInstance {
|
|
|
247
245
|
location.setURL(url);
|
|
248
246
|
|
|
249
247
|
// getURL returns the set url with the rootURL stripped off
|
|
250
|
-
return router.handleURL(location.getURL()).then(handleTransitionResolve, handleTransitionReject);
|
|
248
|
+
return router.handleURL(location.getURL()).followRedirects().then(handleTransitionResolve, handleTransitionReject);
|
|
251
249
|
}
|
|
252
250
|
willDestroy() {
|
|
253
251
|
super.willDestroy();
|
|
@@ -7,7 +7,7 @@ import '../../@glimmer/destroyable/index.js';
|
|
|
7
7
|
import '../../@glimmer/validator/index.js';
|
|
8
8
|
import '../../@glimmer/manager/index.js';
|
|
9
9
|
import { g as get } from '../../shared-chunks/cache-DtDz7X5V.js';
|
|
10
|
-
import { N as NAMESPACES, a as NAMESPACES_BY_ID, p as processAllNamespaces, f as findNamespace, b as addNamespace, c as findNamespaces, d as processNamespace, r as removeNamespace } from '../../shared-chunks/namespace_search-
|
|
10
|
+
import { N as NAMESPACES, a as NAMESPACES_BY_ID, p as processAllNamespaces, f as findNamespace, b as addNamespace, c as findNamespaces, d as processNamespace, r as removeNamespace } from '../../shared-chunks/namespace_search--Ia0-sY3.js';
|
|
11
11
|
import EmberObject from '../object/index.js';
|
|
12
12
|
import { assert } from '../debug/lib/assert.js';
|
|
13
13
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../../@glimmer/opcode-compiler/index.js';
|
|
2
|
-
export { H as default, h as helper } from '../../shared-chunks/index-
|
|
2
|
+
export { H as default, h as helper } from '../../shared-chunks/index-BYG--K5l.js';
|
|
3
3
|
import '../../shared-chunks/registry-BJpQx6hv.js';
|
|
4
4
|
import '../debug/index.js';
|
|
5
5
|
import '../../@glimmer/runtime/index.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { componentCapabilities as capabilities, getComponentTemplate, setComponentTemplate } from '../../@glimmer/manager/index.js';
|
|
2
2
|
import '../../@glimmer/opcode-compiler/index.js';
|
|
3
|
-
export { I as Input, T as Textarea, C as default } from '../../shared-chunks/index-
|
|
3
|
+
export { I as Input, T as Textarea, C as default } from '../../shared-chunks/index-BYG--K5l.js';
|
|
4
4
|
import '../../shared-chunks/registry-BJpQx6hv.js';
|
|
5
5
|
import '../debug/index.js';
|
|
6
6
|
import '../../@glimmer/runtime/index.js';
|
|
@@ -26,8 +26,8 @@ import '../-internals/views/lib/views/core_view.js';
|
|
|
26
26
|
import '../-internals/views/lib/mixins/action_support.js';
|
|
27
27
|
import '../-internals/views/lib/views/states.js';
|
|
28
28
|
import '../../@glimmer/opcode-compiler/index.js';
|
|
29
|
-
import '../../shared-chunks/index-
|
|
30
|
-
import { s as setupEngineRegistry } from '../../shared-chunks/setup-registry-
|
|
29
|
+
import '../../shared-chunks/index-BYG--K5l.js';
|
|
30
|
+
import { s as setupEngineRegistry } from '../../shared-chunks/setup-registry-A4OqqnFT.js';
|
|
31
31
|
import '../../@glimmer/runtime/index.js';
|
|
32
32
|
import '../runloop/index.js';
|
|
33
33
|
import '../../@glimmer/reference/index.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { helperCapabilities, setHelperManager as setHelperManager$1 } from '../../@glimmer/manager/index.js';
|
|
2
2
|
import { invokeHelper as invokeHelper$1, hash as hash$1, array as array$1, concat as concat$1, get as get$1, fn as fn$1 } from '../../@glimmer/runtime/index.js';
|
|
3
3
|
import '../../@glimmer/opcode-compiler/index.js';
|
|
4
|
-
import { u as uniqueId$1 } from '../../shared-chunks/index-
|
|
4
|
+
import { u as uniqueId$1 } from '../../shared-chunks/index-BYG--K5l.js';
|
|
5
5
|
import '../../shared-chunks/registry-BJpQx6hv.js';
|
|
6
6
|
import '../debug/index.js';
|
|
7
7
|
import '../runloop/index.js';
|
|
@@ -2,7 +2,7 @@ import { setModifierManager as setModifierManager$1 } from '../../@glimmer/manag
|
|
|
2
2
|
export { modifierCapabilities as capabilities } from '../../@glimmer/manager/index.js';
|
|
3
3
|
export { on } from './on.js';
|
|
4
4
|
import '../../@glimmer/opcode-compiler/index.js';
|
|
5
|
-
import '../../shared-chunks/index-
|
|
5
|
+
import '../../shared-chunks/index-BYG--K5l.js';
|
|
6
6
|
import '../../shared-chunks/registry-BJpQx6hv.js';
|
|
7
7
|
import '../debug/index.js';
|
|
8
8
|
import '../../@glimmer/runtime/index.js';
|
|
@@ -7,7 +7,7 @@ import { y as nativeDescDecorator, z as defineValue, A as defineDecorator, B as
|
|
|
7
7
|
import '../../@glimmer/validator/index.js';
|
|
8
8
|
import '../../@glimmer/destroyable/index.js';
|
|
9
9
|
import '../../@glimmer/manager/index.js';
|
|
10
|
-
import { s as setUnprocessedMixins } from '../../shared-chunks/namespace_search-
|
|
10
|
+
import { s as setUnprocessedMixins } from '../../shared-chunks/namespace_search--Ia0-sY3.js';
|
|
11
11
|
import { assert } from '../debug/lib/assert.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../../@glimmer/opcode-compiler/index.js';
|
|
2
|
-
export { e as renderComponent, r as renderSettled } from '../../shared-chunks/index-
|
|
2
|
+
export { e as renderComponent, r as renderSettled } from '../../shared-chunks/index-BYG--K5l.js';
|
|
3
3
|
import '../../shared-chunks/registry-BJpQx6hv.js';
|
|
4
4
|
import '../debug/index.js';
|
|
5
5
|
import '../../@glimmer/runtime/index.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../../@glimmer/opcode-compiler/index.js';
|
|
2
|
-
export { L as LinkTo } from '../../shared-chunks/index-
|
|
2
|
+
export { L as LinkTo } from '../../shared-chunks/index-BYG--K5l.js';
|
|
3
3
|
import '../../shared-chunks/registry-BJpQx6hv.js';
|
|
4
4
|
import '../debug/index.js';
|
|
5
5
|
import '../../@glimmer/runtime/index.js';
|
|
@@ -234,7 +234,7 @@ function bind(...curried) {
|
|
|
234
234
|
methodOrTarget !== null && typeof methodOrArg === 'string' && methodOrArg in methodOrTarget ||
|
|
235
235
|
// second argument is the name of a method in first argument
|
|
236
236
|
typeof methodOrTarget === 'function' //first argument is a function
|
|
237
|
-
|
|
237
|
+
;
|
|
238
238
|
}
|
|
239
239
|
// @ts-expect-error TS doesn't like our spread args
|
|
240
240
|
}(...curried)) && assert('could not find a suitable method to bind', function (methodOrTarget, methodOrArg) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../../@glimmer/opcode-compiler/index.js';
|
|
2
|
-
export { b as htmlSafe, c as isHTMLSafe, i as isTrustedHTML, t as trustHTML } from '../../shared-chunks/index-
|
|
2
|
+
export { b as htmlSafe, c as isHTMLSafe, i as isTrustedHTML, t as trustHTML } from '../../shared-chunks/index-BYG--K5l.js';
|
|
3
3
|
import '../../shared-chunks/registry-BJpQx6hv.js';
|
|
4
4
|
import '../debug/index.js';
|
|
5
5
|
import '../../@glimmer/runtime/index.js';
|
|
@@ -14,7 +14,7 @@ import { assertDestroyablesDestroyed, associateDestroyableChild, enableDestroyab
|
|
|
14
14
|
import { componentCapabilities, modifierCapabilities, getComponentTemplate, helperCapabilities, setComponentTemplate, setHelperManager, setModifierManager } from '../@glimmer/manager/index.js';
|
|
15
15
|
import { s as set, t as trySet } from '../shared-chunks/property_set-n9lAuzYY.js';
|
|
16
16
|
import { g as getProperties, s as setProperties } from '../shared-chunks/set_properties-D2_u0phU.js';
|
|
17
|
-
import { e as setSearchDisabled, i as isSearchDisabled } from '../shared-chunks/namespace_search-
|
|
17
|
+
import { e as setSearchDisabled, i as isSearchDisabled } from '../shared-chunks/namespace_search--Ia0-sY3.js';
|
|
18
18
|
import { FEATURES, isEnabled } from '../@ember/canary-features/index.js';
|
|
19
19
|
import Backburner from '../backburner.js/index.js';
|
|
20
20
|
import Controller, { ControllerMixin, inject } from '../@ember/controller/index.js';
|
|
@@ -39,7 +39,7 @@ import MutableEnumerable from '../@ember/enumerable/mutable.js';
|
|
|
39
39
|
import '../@ember/-internals/runtime/lib/mixins/target_action_support.js';
|
|
40
40
|
import '../@ember/-internals/runtime/lib/ext/rsvp.js';
|
|
41
41
|
import { templateFactory } from '../@glimmer/opcode-compiler/index.js';
|
|
42
|
-
import { I as Input, C as Component, H as Helper } from '../shared-chunks/index-
|
|
42
|
+
import { I as Input, C as Component, H as Helper } from '../shared-chunks/index-BYG--K5l.js';
|
|
43
43
|
import { b as setTemplates, a as getTemplates } from '../shared-chunks/template_registry-DigcUg9m.js';
|
|
44
44
|
import { isSerializationFirstNode, templateOnlyComponent, invokeHelper, hash, array, concat, get as get$1, on as on$1, fn } from '../@glimmer/runtime/index.js';
|
|
45
45
|
import { run } from '../@ember/runloop/index.js';
|
|
@@ -31,7 +31,7 @@ import '../../shared-chunks/unrecognized-url-error-Csk7hcJF.js';
|
|
|
31
31
|
import '../../@ember/routing/lib/routing-service.js';
|
|
32
32
|
import '../../@ember/controller/index.js';
|
|
33
33
|
import '../../@glimmer/opcode-compiler/index.js';
|
|
34
|
-
import '../../shared-chunks/index-
|
|
34
|
+
import '../../shared-chunks/index-BYG--K5l.js';
|
|
35
35
|
import '../../shared-chunks/registry-BJpQx6hv.js';
|
|
36
36
|
import '../../@glimmer/runtime/index.js';
|
|
37
37
|
import '../../@glimmer/reference/index.js';
|
|
@@ -5205,7 +5205,17 @@ class ClassicRootState {
|
|
|
5205
5205
|
nextSibling: null
|
|
5206
5206
|
}), layout, dynamicScope);
|
|
5207
5207
|
let result = this.result = iterator.sync();
|
|
5208
|
-
|
|
5208
|
+
|
|
5209
|
+
// Associate the result with the root state (not the owner) so that
|
|
5210
|
+
// destruction cascades through:
|
|
5211
|
+
// Owner → Container → Renderer → RendererState → ClassicRootState → result
|
|
5212
|
+
// This ensures the container is still alive when component destructors
|
|
5213
|
+
// run (e.g. willDestroy looking up the renderer via injection).
|
|
5214
|
+
// Previously, associating with the owner made the result a sibling of
|
|
5215
|
+
// the Container, causing the Container to be destroyed first — which
|
|
5216
|
+
// broke FastBoot where the container was already dead by the time
|
|
5217
|
+
// component teardown tried to do lookups. (See: emberjs/ember.js#20984)
|
|
5218
|
+
associateDestroyableChild(this, result);
|
|
5209
5219
|
this.render = errorLoopTransaction(() => {
|
|
5210
5220
|
if (isDestroying(result) || isDestroyed(result)) return;
|
|
5211
5221
|
return result.rerender({
|
package/dist/packages/shared-chunks/{setup-registry-DktVPnKH.js → setup-registry-A4OqqnFT.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as privatize } from './registry-BJpQx6hv.js';
|
|
2
2
|
import { getOwner } from '../@ember/-internals/owner/index.js';
|
|
3
3
|
import '../@ember/debug/index.js';
|
|
4
|
-
import { O as OutletView, f as OutletTemplate, I as Input, L as LinkTo, T as Textarea, R as RootTemplate, d as Renderer } from './index-
|
|
4
|
+
import { O as OutletView, f as OutletTemplate, I as Input, L as LinkTo, T as Textarea, R as RootTemplate, d as Renderer } from './index-BYG--K5l.js';
|
|
5
5
|
import { clientBuilder, rehydrationBuilder } from '../@glimmer/runtime/index.js';
|
|
6
6
|
import { serializeBuilder } from '../@glimmer/node/index.js';
|
|
7
7
|
import { isDevelopingApp } from '@embroider/macros';
|
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": "6.11.
|
|
6
|
+
"version": "6.11.1"
|
|
7
7
|
},
|
|
8
8
|
"files": {
|
|
9
9
|
"node_modules/rsvp/lib/rsvp/promise/all.js": {
|
|
@@ -2195,7 +2195,7 @@
|
|
|
2195
2195
|
},
|
|
2196
2196
|
"tag": "module",
|
|
2197
2197
|
"file": "packages/@ember/application/instance.ts",
|
|
2198
|
-
"line":
|
|
2198
|
+
"line": 311
|
|
2199
2199
|
},
|
|
2200
2200
|
"@ember/application/namespace": {
|
|
2201
2201
|
"name": "@ember/application/namespace",
|
|
@@ -3642,7 +3642,7 @@
|
|
|
3642
3642
|
"module": "@ember/application",
|
|
3643
3643
|
"namespace": "ApplicationInstance",
|
|
3644
3644
|
"file": "packages/@ember/application/instance.ts",
|
|
3645
|
-
"line":
|
|
3645
|
+
"line": 311,
|
|
3646
3646
|
"description": "A list of boot-time configuration options for customizing the behavior of\nan `ApplicationInstance`.\n\nThis is an interface class that exists purely to document the available\noptions; you do not need to construct it manually. Simply pass a regular\nJavaScript object containing the desired options into methods that require\none of these options object:\n\n```javascript\nMyApp.visit(\"/\", { location: \"none\", rootElement: \"#container\" });\n```\n\nNot all combinations of the supported options are valid. See the documentation\non `Application#visit` for the supported configurations.\n\nInternal, experimental or otherwise unstable flags are marked as private.",
|
|
3647
3647
|
"access": "public",
|
|
3648
3648
|
"tagname": ""
|
|
@@ -7152,14 +7152,14 @@
|
|
|
7152
7152
|
},
|
|
7153
7153
|
{
|
|
7154
7154
|
"file": "packages/@ember/-internals/glimmer/lib/renderer.ts",
|
|
7155
|
-
"line":
|
|
7155
|
+
"line": 559,
|
|
7156
7156
|
"description": "Destroys the render tree and removes all rendered content from the element rendered into",
|
|
7157
7157
|
"class": "@ember/renderer",
|
|
7158
7158
|
"module": "@ember/renderer"
|
|
7159
7159
|
},
|
|
7160
7160
|
{
|
|
7161
7161
|
"file": "packages/@ember/-internals/glimmer/lib/renderer.ts",
|
|
7162
|
-
"line":
|
|
7162
|
+
"line": 573,
|
|
7163
7163
|
"description": "Render a component into a DOM element.",
|
|
7164
7164
|
"itemtype": "method",
|
|
7165
7165
|
"name": "renderComponent",
|
|
@@ -7208,77 +7208,77 @@
|
|
|
7208
7208
|
},
|
|
7209
7209
|
{
|
|
7210
7210
|
"file": "packages/@ember/-internals/glimmer/lib/renderer.ts",
|
|
7211
|
-
"line":
|
|
7211
|
+
"line": 588,
|
|
7212
7212
|
"description": "The component definition to render.\n\nAny component that has had its manager registered is valid.\nFor the component-types that ship with ember, manager registration\ndoes not need to be worried about.",
|
|
7213
7213
|
"class": "@ember/renderer",
|
|
7214
7214
|
"module": "@ember/renderer"
|
|
7215
7215
|
},
|
|
7216
7216
|
{
|
|
7217
7217
|
"file": "packages/@ember/-internals/glimmer/lib/renderer.ts",
|
|
7218
|
-
"line":
|
|
7218
|
+
"line": 602,
|
|
7219
7219
|
"description": "The element to render the component in to.",
|
|
7220
7220
|
"class": "@ember/renderer",
|
|
7221
7221
|
"module": "@ember/renderer"
|
|
7222
7222
|
},
|
|
7223
7223
|
{
|
|
7224
7224
|
"file": "packages/@ember/-internals/glimmer/lib/renderer.ts",
|
|
7225
|
-
"line":
|
|
7225
|
+
"line": 607,
|
|
7226
7226
|
"description": "Optional owner. Defaults to `{}`, can be any object, but will need to implement the [Owner](https://api.emberjs.com/ember/release/classes/Owner) API for components within this render tree to access services.",
|
|
7227
7227
|
"class": "@ember/renderer",
|
|
7228
7228
|
"module": "@ember/renderer"
|
|
7229
7229
|
},
|
|
7230
7230
|
{
|
|
7231
7231
|
"file": "packages/@ember/-internals/glimmer/lib/renderer.ts",
|
|
7232
|
-
"line":
|
|
7232
|
+
"line": 611,
|
|
7233
7233
|
"description": "Optionally configure the rendering environment",
|
|
7234
7234
|
"class": "@ember/renderer",
|
|
7235
7235
|
"module": "@ember/renderer"
|
|
7236
7236
|
},
|
|
7237
7237
|
{
|
|
7238
7238
|
"file": "packages/@ember/-internals/glimmer/lib/renderer.ts",
|
|
7239
|
-
"line":
|
|
7239
|
+
"line": 615,
|
|
7240
7240
|
"description": "When false, modifiers will not run.",
|
|
7241
7241
|
"class": "@ember/renderer",
|
|
7242
7242
|
"module": "@ember/renderer"
|
|
7243
7243
|
},
|
|
7244
7244
|
{
|
|
7245
7245
|
"file": "packages/@ember/-internals/glimmer/lib/renderer.ts",
|
|
7246
|
-
"line":
|
|
7246
|
+
"line": 619,
|
|
7247
7247
|
"description": "All other options are forwarded to the underlying renderer.\n(its API is currently private and out of scope for this RFC,\n so passing additional things here is also considered private API)",
|
|
7248
7248
|
"class": "@ember/renderer",
|
|
7249
7249
|
"module": "@ember/renderer"
|
|
7250
7250
|
},
|
|
7251
7251
|
{
|
|
7252
7252
|
"file": "packages/@ember/-internals/glimmer/lib/renderer.ts",
|
|
7253
|
-
"line":
|
|
7253
|
+
"line": 627,
|
|
7254
7254
|
"description": "These args get passed to the rendered component\n\nIf your args are reactive, re-rendering will happen automatically.",
|
|
7255
7255
|
"class": "@ember/renderer",
|
|
7256
7256
|
"module": "@ember/renderer"
|
|
7257
7257
|
},
|
|
7258
7258
|
{
|
|
7259
7259
|
"file": "packages/@ember/-internals/glimmer/lib/renderer.ts",
|
|
7260
|
-
"line":
|
|
7260
|
+
"line": 636,
|
|
7261
7261
|
"description": "SAFETY: we should figure out what we need out of a `document` and narrow the API.\n this exercise should also end up beginning to define what we need for CLI rendering (or to other outputs)",
|
|
7262
7262
|
"class": "@ember/renderer",
|
|
7263
7263
|
"module": "@ember/renderer"
|
|
7264
7264
|
},
|
|
7265
7265
|
{
|
|
7266
7266
|
"file": "packages/@ember/-internals/glimmer/lib/renderer.ts",
|
|
7267
|
-
"line":
|
|
7267
|
+
"line": 650,
|
|
7268
7268
|
"description": "Replace all contents, if we've rendered multiple times.\n\nhttps://github.com/emberjs/rfcs/pull/1099/files#diff-2b962105b9083ca84579cdc957f27f49407440f3c5078083fa369ec18cc46da8R365\n\nWe could later add an option to not do this behavior\n\nNOTE: destruction is async",
|
|
7269
7269
|
"class": "@ember/renderer",
|
|
7270
7270
|
"module": "@ember/renderer"
|
|
7271
7271
|
},
|
|
7272
7272
|
{
|
|
7273
7273
|
"file": "packages/@ember/-internals/glimmer/lib/renderer.ts",
|
|
7274
|
-
"line":
|
|
7274
|
+
"line": 661,
|
|
7275
7275
|
"description": "We can only replace the inner HTML the first time.\nBecause destruction is async, it won't be safe to\ndo this again, and we'll have to rely on the above destroy.",
|
|
7276
7276
|
"class": "@ember/renderer",
|
|
7277
7277
|
"module": "@ember/renderer"
|
|
7278
7278
|
},
|
|
7279
7279
|
{
|
|
7280
7280
|
"file": "packages/@ember/-internals/glimmer/lib/renderer.ts",
|
|
7281
|
-
"line":
|
|
7281
|
+
"line": 717,
|
|
7282
7282
|
"description": "SAFETY: are there consequences for being looser with *this* owner?\n the public API for `owner` is kinda `Partial<InternalOwner>`\n aka: implement only what you need.\n But for actual ember apps, you *need* to implement everything\n an app needs (which will actually change and become less over time)",
|
|
7283
7283
|
"class": "@ember/renderer",
|
|
7284
7284
|
"module": "@ember/renderer"
|
|
@@ -10162,7 +10162,7 @@
|
|
|
10162
10162
|
},
|
|
10163
10163
|
{
|
|
10164
10164
|
"file": "packages/@ember/application/instance.ts",
|
|
10165
|
-
"line":
|
|
10165
|
+
"line": 291,
|
|
10166
10166
|
"access": "private",
|
|
10167
10167
|
"tagname": "",
|
|
10168
10168
|
"itemtype": "method",
|
|
@@ -10184,7 +10184,7 @@
|
|
|
10184
10184
|
},
|
|
10185
10185
|
{
|
|
10186
10186
|
"file": "packages/@ember/application/instance.ts",
|
|
10187
|
-
"line":
|
|
10187
|
+
"line": 334,
|
|
10188
10188
|
"description": "Interactive mode: whether we need to set up event delegation and invoke\nlifecycle callbacks on Components.",
|
|
10189
10189
|
"itemtype": "property",
|
|
10190
10190
|
"name": "isInteractive",
|
|
@@ -10198,7 +10198,7 @@
|
|
|
10198
10198
|
},
|
|
10199
10199
|
{
|
|
10200
10200
|
"file": "packages/@ember/application/instance.ts",
|
|
10201
|
-
"line":
|
|
10201
|
+
"line": 345,
|
|
10202
10202
|
"itemtype": "property",
|
|
10203
10203
|
"name": "_renderMode",
|
|
10204
10204
|
"type": "string",
|
|
@@ -10211,7 +10211,7 @@
|
|
|
10211
10211
|
},
|
|
10212
10212
|
{
|
|
10213
10213
|
"file": "packages/@ember/application/instance.ts",
|
|
10214
|
-
"line":
|
|
10214
|
+
"line": 353,
|
|
10215
10215
|
"description": "Run in a full browser environment.\n\nWhen this flag is set to `false`, it will disable most browser-specific\nand interactive features. Specifically:\n\n* It does not use `jQuery` to append the root view; the `rootElement`\n (either specified as a subsequent option or on the application itself)\n must already be an `Element` in the given `document` (as opposed to a\n string selector).\n\n* It does not set up an `EventDispatcher`.\n\n* It does not run any `Component` lifecycle hooks (such as `didInsertElement`).\n\n* It sets the `location` option to `\"none\"`. (If you would like to use\n the location adapter specified in the app's router instead, you can also\n specify `{ location: null }` to specifically opt-out.)",
|
|
10216
10216
|
"itemtype": "property",
|
|
10217
10217
|
"name": "isBrowser",
|
|
@@ -10225,7 +10225,7 @@
|
|
|
10225
10225
|
},
|
|
10226
10226
|
{
|
|
10227
10227
|
"file": "packages/@ember/application/instance.ts",
|
|
10228
|
-
"line":
|
|
10228
|
+
"line": 379,
|
|
10229
10229
|
"description": "If present, overrides the router's `location` property with this\nvalue. This is useful for environments where trying to modify the\nURL would be inappropriate.",
|
|
10230
10230
|
"itemtype": "property",
|
|
10231
10231
|
"name": "location",
|
|
@@ -10239,7 +10239,7 @@
|
|
|
10239
10239
|
},
|
|
10240
10240
|
{
|
|
10241
10241
|
"file": "packages/@ember/application/instance.ts",
|
|
10242
|
-
"line":
|
|
10242
|
+
"line": 391,
|
|
10243
10243
|
"description": "Disable rendering completely.\n\nWhen this flag is set to `false`, it will disable the entire rendering\npipeline. Essentially, this puts the app into \"routing-only\" mode. No\ntemplates will be rendered, and no Components will be created.",
|
|
10244
10244
|
"itemtype": "property",
|
|
10245
10245
|
"name": "shouldRender",
|
|
@@ -10253,7 +10253,7 @@
|
|
|
10253
10253
|
},
|
|
10254
10254
|
{
|
|
10255
10255
|
"file": "packages/@ember/application/instance.ts",
|
|
10256
|
-
"line":
|
|
10256
|
+
"line": 405,
|
|
10257
10257
|
"description": "If present, render into the given `Document` object instead of the\nglobal `window.document` object.\n\nIn practice, this is only useful in non-browser environment or in\nnon-interactive mode, because Ember's `jQuery` dependency is\nimplicitly bound to the current document, causing event delegation\nto not work properly when the app is rendered into a foreign\ndocument object (such as an iframe's `contentDocument`).\n\nIn non-browser mode, this could be a \"`Document`-like\" object as\nEmber only interact with a small subset of the DOM API in non-\ninteractive mode. While the exact requirements have not yet been\nformalized, the `SimpleDOM` library's implementation is known to\nwork.",
|
|
10258
10258
|
"itemtype": "property",
|
|
10259
10259
|
"name": "document",
|
|
@@ -10267,7 +10267,7 @@
|
|
|
10267
10267
|
},
|
|
10268
10268
|
{
|
|
10269
10269
|
"file": "packages/@ember/application/instance.ts",
|
|
10270
|
-
"line":
|
|
10270
|
+
"line": 428,
|
|
10271
10271
|
"description": "If present, overrides the application's `rootElement` property on\nthe instance. This is useful for testing environment, where you\nmight want to append the root view to a fixture area.\n\nIn non-browser mode, because Ember does not have access to jQuery,\nthis options must be specified as a DOM `Element` object instead of\na selector string.\n\nSee the documentation on `Application`'s `rootElement` for\ndetails.",
|
|
10272
10272
|
"itemtype": "property",
|
|
10273
10273
|
"name": "rootElement",
|
|
@@ -20421,51 +20421,51 @@
|
|
|
20421
20421
|
},
|
|
20422
20422
|
{
|
|
20423
20423
|
"message": "Missing item type\nDestroys the render tree and removes all rendered content from the element rendered into",
|
|
20424
|
-
"line": " packages/@ember/-internals/glimmer/lib/renderer.ts:
|
|
20424
|
+
"line": " packages/@ember/-internals/glimmer/lib/renderer.ts:559"
|
|
20425
20425
|
},
|
|
20426
20426
|
{
|
|
20427
20427
|
"message": "Missing item type\nThe component definition to render.\n\nAny component that has had its manager registered is valid.\nFor the component-types that ship with ember, manager registration\ndoes not need to be worried about.",
|
|
20428
|
-
"line": " packages/@ember/-internals/glimmer/lib/renderer.ts:
|
|
20428
|
+
"line": " packages/@ember/-internals/glimmer/lib/renderer.ts:588"
|
|
20429
20429
|
},
|
|
20430
20430
|
{
|
|
20431
20431
|
"message": "Missing item type\nThe element to render the component in to.",
|
|
20432
|
-
"line": " packages/@ember/-internals/glimmer/lib/renderer.ts:
|
|
20432
|
+
"line": " packages/@ember/-internals/glimmer/lib/renderer.ts:602"
|
|
20433
20433
|
},
|
|
20434
20434
|
{
|
|
20435
20435
|
"message": "Missing item type\nOptional owner. Defaults to `{}`, can be any object, but will need to implement the [Owner](https://api.emberjs.com/ember/release/classes/Owner) API for components within this render tree to access services.",
|
|
20436
|
-
"line": " packages/@ember/-internals/glimmer/lib/renderer.ts:
|
|
20436
|
+
"line": " packages/@ember/-internals/glimmer/lib/renderer.ts:607"
|
|
20437
20437
|
},
|
|
20438
20438
|
{
|
|
20439
20439
|
"message": "Missing item type\nOptionally configure the rendering environment",
|
|
20440
|
-
"line": " packages/@ember/-internals/glimmer/lib/renderer.ts:
|
|
20440
|
+
"line": " packages/@ember/-internals/glimmer/lib/renderer.ts:611"
|
|
20441
20441
|
},
|
|
20442
20442
|
{
|
|
20443
20443
|
"message": "Missing item type\nWhen false, modifiers will not run.",
|
|
20444
|
-
"line": " packages/@ember/-internals/glimmer/lib/renderer.ts:
|
|
20444
|
+
"line": " packages/@ember/-internals/glimmer/lib/renderer.ts:615"
|
|
20445
20445
|
},
|
|
20446
20446
|
{
|
|
20447
20447
|
"message": "Missing item type\nAll other options are forwarded to the underlying renderer.\n(its API is currently private and out of scope for this RFC,\n so passing additional things here is also considered private API)",
|
|
20448
|
-
"line": " packages/@ember/-internals/glimmer/lib/renderer.ts:
|
|
20448
|
+
"line": " packages/@ember/-internals/glimmer/lib/renderer.ts:619"
|
|
20449
20449
|
},
|
|
20450
20450
|
{
|
|
20451
20451
|
"message": "Missing item type\nThese args get passed to the rendered component\n\nIf your args are reactive, re-rendering will happen automatically.",
|
|
20452
|
-
"line": " packages/@ember/-internals/glimmer/lib/renderer.ts:
|
|
20452
|
+
"line": " packages/@ember/-internals/glimmer/lib/renderer.ts:627"
|
|
20453
20453
|
},
|
|
20454
20454
|
{
|
|
20455
20455
|
"message": "Missing item type\nSAFETY: we should figure out what we need out of a `document` and narrow the API.\n this exercise should also end up beginning to define what we need for CLI rendering (or to other outputs)",
|
|
20456
|
-
"line": " packages/@ember/-internals/glimmer/lib/renderer.ts:
|
|
20456
|
+
"line": " packages/@ember/-internals/glimmer/lib/renderer.ts:636"
|
|
20457
20457
|
},
|
|
20458
20458
|
{
|
|
20459
20459
|
"message": "Missing item type\nReplace all contents, if we've rendered multiple times.\n\nhttps://github.com/emberjs/rfcs/pull/1099/files#diff-2b962105b9083ca84579cdc957f27f49407440f3c5078083fa369ec18cc46da8R365\n\nWe could later add an option to not do this behavior\n\nNOTE: destruction is async",
|
|
20460
|
-
"line": " packages/@ember/-internals/glimmer/lib/renderer.ts:
|
|
20460
|
+
"line": " packages/@ember/-internals/glimmer/lib/renderer.ts:650"
|
|
20461
20461
|
},
|
|
20462
20462
|
{
|
|
20463
20463
|
"message": "Missing item type\nWe can only replace the inner HTML the first time.\nBecause destruction is async, it won't be safe to\ndo this again, and we'll have to rely on the above destroy.",
|
|
20464
|
-
"line": " packages/@ember/-internals/glimmer/lib/renderer.ts:
|
|
20464
|
+
"line": " packages/@ember/-internals/glimmer/lib/renderer.ts:661"
|
|
20465
20465
|
},
|
|
20466
20466
|
{
|
|
20467
20467
|
"message": "Missing item type\nSAFETY: are there consequences for being looser with *this* owner?\n the public API for `owner` is kinda `Partial<InternalOwner>`\n aka: implement only what you need.\n But for actual ember apps, you *need* to implement everything\n an app needs (which will actually change and become less over time)",
|
|
20468
|
-
"line": " packages/@ember/-internals/glimmer/lib/renderer.ts:
|
|
20468
|
+
"line": " packages/@ember/-internals/glimmer/lib/renderer.ts:717"
|
|
20469
20469
|
},
|
|
20470
20470
|
{
|
|
20471
20471
|
"message": "Missing item type\nTest skipped because when an error occurs,\nwe mess up the cache used by renderComponent.",
|
package/lib/index.js
CHANGED
|
@@ -175,31 +175,31 @@ const shim = addonV1Shim(path.join(__dirname, '..'), {
|
|
|
175
175
|
'./dist/packages/@ember/utils/lib/is_present.js',
|
|
176
176
|
'./dist/packages/@ember/utils/lib/type-of.js',
|
|
177
177
|
'./dist/packages/@ember/version/index.js',
|
|
178
|
-
'./dist/packages/@glimmer/destroyable.js',
|
|
179
|
-
'./dist/packages/@glimmer/encoder.js',
|
|
180
|
-
'./dist/packages/@glimmer/env.js',
|
|
181
|
-
'./dist/packages/@glimmer/global-context.js',
|
|
182
|
-
'./dist/packages/@glimmer/manager.js',
|
|
183
|
-
'./dist/packages/@glimmer/node.js',
|
|
184
|
-
'./dist/packages/@glimmer/opcode-compiler.js',
|
|
185
|
-
'./dist/packages/@glimmer/owner.js',
|
|
186
|
-
'./dist/packages/@glimmer/program.js',
|
|
187
|
-
'./dist/packages/@glimmer/reference.js',
|
|
188
|
-
'./dist/packages/@glimmer/runtime.js',
|
|
178
|
+
'./dist/packages/@glimmer/destroyable/index.js',
|
|
179
|
+
'./dist/packages/@glimmer/encoder/index.js',
|
|
180
|
+
'./dist/packages/@glimmer/env/index.js',
|
|
181
|
+
'./dist/packages/@glimmer/global-context/index.js',
|
|
182
|
+
'./dist/packages/@glimmer/manager/index.js',
|
|
183
|
+
'./dist/packages/@glimmer/node/index.js',
|
|
184
|
+
'./dist/packages/@glimmer/opcode-compiler/index.js',
|
|
185
|
+
'./dist/packages/@glimmer/owner/index.js',
|
|
186
|
+
'./dist/packages/@glimmer/program/index.js',
|
|
187
|
+
'./dist/packages/@glimmer/reference/index.js',
|
|
188
|
+
'./dist/packages/@glimmer/runtime/index.js',
|
|
189
189
|
'./dist/packages/@glimmer/tracking/index.js',
|
|
190
190
|
'./dist/packages/@glimmer/tracking/primitives/cache.js',
|
|
191
|
-
'./dist/packages/@glimmer/util.js',
|
|
192
|
-
'./dist/packages/@glimmer/validator.js',
|
|
193
|
-
'./dist/packages/@glimmer/vm.js',
|
|
194
|
-
'./dist/packages/@glimmer/wire-format.js',
|
|
195
|
-
'./dist/packages/@simple-dom/document.js',
|
|
191
|
+
'./dist/packages/@glimmer/util/index.js',
|
|
192
|
+
'./dist/packages/@glimmer/validator/index.js',
|
|
193
|
+
'./dist/packages/@glimmer/vm/index.js',
|
|
194
|
+
'./dist/packages/@glimmer/wire-format/index.js',
|
|
195
|
+
'./dist/packages/@simple-dom/document/index.js',
|
|
196
196
|
'./dist/packages/backburner.js/index.js',
|
|
197
|
-
'./dist/packages/dag-map.js',
|
|
197
|
+
'./dist/packages/dag-map/index.js',
|
|
198
198
|
'./dist/packages/ember/index.js',
|
|
199
199
|
'./dist/packages/ember/version.js',
|
|
200
|
-
'./dist/packages/route-recognizer.js',
|
|
201
|
-
'./dist/packages/router_js.js',
|
|
202
|
-
'./dist/packages/rsvp.js',
|
|
200
|
+
'./dist/packages/route-recognizer/index.js',
|
|
201
|
+
'./dist/packages/router_js/index.js',
|
|
202
|
+
'./dist/packages/rsvp/index.js',
|
|
203
203
|
],
|
|
204
204
|
'implicit-test-modules': [
|
|
205
205
|
'./dist/packages/ember-testing/index.js',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-source",
|
|
3
|
-
"version": "6.11.
|
|
3
|
+
"version": "6.11.1",
|
|
4
4
|
"description": "A JavaScript framework for creating ambitious web applications",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"ember-router-generator": "^2.0.0",
|
|
102
102
|
"inflection": "^2.0.1",
|
|
103
103
|
"route-recognizer": "^0.3.4",
|
|
104
|
-
"router_js": "^8.0.
|
|
104
|
+
"router_js": "^8.0.6",
|
|
105
105
|
"semver": "^7.5.2",
|
|
106
106
|
"silent-error": "^1.1.1",
|
|
107
107
|
"simple-html-tokenizer": "^0.5.11"
|
|
@@ -400,6 +400,6 @@
|
|
|
400
400
|
}
|
|
401
401
|
},
|
|
402
402
|
"packageManager": "pnpm@10.5.0",
|
|
403
|
-
"_originalVersion": "6.11.
|
|
403
|
+
"_originalVersion": "6.11.1",
|
|
404
404
|
"_versionPreviouslyCalculated": true
|
|
405
405
|
}
|
|
@@ -2,6 +2,7 @@ declare module '@ember/application/instance' {
|
|
|
2
2
|
/**
|
|
3
3
|
@module @ember/application
|
|
4
4
|
*/
|
|
5
|
+
/// <reference types="rsvp" />
|
|
5
6
|
import EngineInstance from "@ember/engine/instance";
|
|
6
7
|
import type { BootOptions } from "@ember/engine/instance";
|
|
7
8
|
import type Application from "@ember/application";
|
|
@@ -141,7 +142,7 @@ declare module '@ember/application/instance' {
|
|
|
141
142
|
@param url {String} the destination URL
|
|
142
143
|
@return {Promise<ApplicationInstance>}
|
|
143
144
|
*/
|
|
144
|
-
visit(url: string): import("rsvp").Promise<unknown>;
|
|
145
|
+
visit(url: string): import("rsvp").default.Promise<unknown>;
|
|
145
146
|
willDestroy(): void;
|
|
146
147
|
/**
|
|
147
148
|
@private
|