ember-source 4.12.2 → 4.12.4

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.
@@ -5,5 +5,5 @@
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 4.12.2
8
+ * @version 4.12.4
9
9
  */
@@ -1 +1 @@
1
- export default "4.12.2";
1
+ export default "4.12.4";
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": "4.12.2"
6
+ "version": "4.12.4"
7
7
  },
8
8
  "files": {
9
9
  "node_modules/rsvp/lib/rsvp/promise/all.js": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-source",
3
- "version": "4.12.2",
3
+ "version": "4.12.4",
4
4
  "description": "A JavaScript framework for creating ambitious web applications",
5
5
  "keywords": [
6
6
  "ember-addon"
@@ -58,6 +58,7 @@
58
58
  "@babel/helper-module-imports": "^7.16.7",
59
59
  "@babel/plugin-transform-block-scoping": "^7.20.5",
60
60
  "@ember/edition-utils": "^1.2.0",
61
+ "@simple-dom/interface": "^1.4.0",
61
62
  "@glimmer/vm-babel-plugins": "0.84.2",
62
63
  "babel-plugin-debug-macros": "^0.3.4",
63
64
  "babel-plugin-filter-imports": "^4.0.0",
@@ -182,7 +183,7 @@
182
183
  ]
183
184
  }
184
185
  },
185
- "_originalVersion": "4.12.2",
186
+ "_originalVersion": "4.12.4",
186
187
  "_versionPreviouslyCalculated": true,
187
188
  "publishConfig": {
188
189
  "tag": "old"
@@ -1,14 +1,12 @@
1
1
  declare module '@ember/application' {
2
2
  import Engine from '@ember/engine';
3
- import ApplicationInstance from '@ember/application/instance';
3
+ import ApplicationInstance, { BootOptions } from '@ember/application/instance';
4
4
  import EventDispatcher from '@ember/application/-private/event-dispatcher';
5
5
  import { EventDispatcherEvents } from '@ember/application/types';
6
6
  import Router from '@ember/routing/router';
7
7
  import Registry from '@ember/application/-private/registry';
8
8
  import { AnyFn } from 'ember/-private/type-utils';
9
- import Owner, { Resolver } from '@ember/owner';
10
- import type GlimmerComponent from '@glimmer/component';
11
- import EmberObject from '@ember/object';
9
+ import Owner from '@ember/owner';
12
10
 
13
11
  // Shut off default exporting; we don't want anything but the *intended*
14
12
  // public API present.
@@ -82,10 +80,6 @@ declare module '@ember/application' {
82
80
  * The Ember.EventDispatcher responsible for delegating events to this application's views.
83
81
  */
84
82
  eventDispatcher: EventDispatcher;
85
- /**
86
- * Set this to provide an alternate class to `DefaultResolver`
87
- */
88
- resolver: Resolver | null;
89
83
  /**
90
84
  * The root DOM element of the Application. This can be specified as an
91
85
  * element or a jQuery-compatible selector string.
@@ -114,6 +108,8 @@ declare module '@ember/application' {
114
108
  * Create an ApplicationInstance for this Application.
115
109
  */
116
110
  buildInstance(options?: object): ApplicationInstance;
111
+
112
+ visit(url: string, options: BootOptions): Promise<ApplicationInstance>;
117
113
  }
118
114
 
119
115
  /**
@@ -1,5 +1,17 @@
1
1
  declare module '@ember/application/instance' {
2
2
  import EngineInstance from '@ember/engine/instance';
3
+ import { SimpleElement } from '@simple-dom/interface';
4
+
5
+ export interface BootOptions {
6
+ isBrowser?: boolean;
7
+ shouldRender?: boolean;
8
+ document?: Document | null;
9
+ rootElement?: string | Element | SimpleElement | null;
10
+ location?: string | null;
11
+ // Private?
12
+ isInteractive?: boolean;
13
+ _renderMode?: string;
14
+ }
3
15
 
4
16
  /**
5
17
  * The `ApplicationInstance` encapsulates all of the stateful aspects of a