ember-source 4.3.0-beta.2 → 4.3.0

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.3.0-beta.2
8
+ * @version 4.3.0
9
9
  */
@@ -396,11 +396,6 @@ class FactoryManager {
396
396
  this.normalizedName = normalizedName;
397
397
  this.madeToString = undefined;
398
398
  this.injections = undefined;
399
- setFactoryFor(this, this);
400
-
401
- if (isInstantiatable(container, fullName)) {
402
- setFactoryFor(factory, this);
403
- }
404
399
  }
405
400
 
406
401
  toString() {
@@ -420,14 +415,10 @@ class FactoryManager {
420
415
  throw new Error(`Cannot create new instances after the owner has been destroyed (you attempted to create ${this.fullName})`);
421
416
  }
422
417
 
423
- let props = {};
418
+ let props = options ? Object.assign({}, options) : {};
424
419
  setOwner(props, container.owner);
425
420
  setFactoryFor(props, this);
426
421
 
427
- if (options !== undefined) {
428
- props = Object.assign({}, props, options);
429
- }
430
-
431
422
  if (DEBUG) {
432
423
  let lazyInjections;
433
424
  let validationCache = this.container.validationCache; // Ensure that all lazy injections are valid at instantiation time
@@ -1 +1 @@
1
- export default "4.3.0-beta.2";
1
+ export default "4.3.0";
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.3.0-beta.2"
6
+ "version": "4.3.0"
7
7
  },
8
8
  "files": {
9
9
  "node_modules/rsvp/lib/rsvp/promise/all.js": {
@@ -9248,7 +9248,7 @@
9248
9248
  {
9249
9249
  "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9250
9250
  "line": 372,
9251
- "description": "Configuration hash for this route's queryParams. The possible\nconfiguration options and their defaults are as follows\n(assuming a query param whose controller property is `page`):\n\n```javascript\nqueryParams: {\n page: {\n // By default, controller query param properties don't\n // cause a full transition when they are changed, but\n // rather only cause the URL to update. Setting\n // `refreshModel` to true will cause an \"in-place\"\n // transition to occur, whereby the model hooks for\n // this route (and any child routes) will re-fire, allowing\n // you to reload models (e.g., from the server) using the\n // updated query param values.\n refreshModel: false,\n\n // By default, changes to controller query param properties\n // cause the URL to update via `pushState`, which means an\n // item will be added to the browser's history, allowing\n // you to use the back button to restore the app to the\n // previous state before the query param property was changed.\n // Setting `replace` to true will use `replaceState` (or its\n // hash location equivalent), which causes no browser history\n // item to be added. This options name and default value are\n // the same as the `link-to` helper's `replace` option.\n replace: false,\n\n // By default, the query param URL key is the same name as\n // the controller property name. Use `as` to specify a\n // different URL key.\n as: 'page'\n }\n}\n```",
9251
+ "description": "Configuration hash for this route's queryParams. The possible\nconfiguration options and their defaults are as follows\n(assuming a query param whose controller property is `page`):\n\n```javascript\nqueryParams = {\n page: {\n // By default, controller query param properties don't\n // cause a full transition when they are changed, but\n // rather only cause the URL to update. Setting\n // `refreshModel` to true will cause an \"in-place\"\n // transition to occur, whereby the model hooks for\n // this route (and any child routes) will re-fire, allowing\n // you to reload models (e.g., from the server) using the\n // updated query param values.\n refreshModel: false,\n\n // By default, changes to controller query param properties\n // cause the URL to update via `pushState`, which means an\n // item will be added to the browser's history, allowing\n // you to use the back button to restore the app to the\n // previous state before the query param property was changed.\n // Setting `replace` to true will use `replaceState` (or its\n // hash location equivalent), which causes no browser history\n // item to be added. This options name and default value are\n // the same as the `link-to` helper's `replace` option.\n replace: false,\n\n // By default, the query param URL key is the same name as\n // the controller property name. Use `as` to specify a\n // different URL key.\n as: 'page'\n }\n};\n```",
9252
9252
  "itemtype": "property",
9253
9253
  "name": "queryParams",
9254
9254
  "type": "Object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-source",
3
- "version": "4.3.0-beta.2",
3
+ "version": "4.3.0",
4
4
  "description": "A JavaScript framework for creating ambitious web applications",
5
5
  "keywords": [
6
6
  "ember-addon"
@@ -156,9 +156,6 @@
156
156
  "ember-addon": {
157
157
  "after": "ember-cli-legacy-blueprints"
158
158
  },
159
- "_originalVersion": "4.3.0-beta.2",
160
- "_versionPreviouslyCalculated": true,
161
- "publishConfig": {
162
- "tag": "beta"
163
- }
164
- }
159
+ "_originalVersion": "4.3.0",
160
+ "_versionPreviouslyCalculated": true
161
+ }