ember-source 3.24.3 → 3.24.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 3.24.3
8
+ * @version 3.24.4
9
9
  */
@@ -1930,7 +1930,7 @@ const LinkComponent = Component.extend({
1930
1930
  init() {
1931
1931
  this._super(...arguments);
1932
1932
 
1933
- assert('You attempted to use the <LinkTo> component within a routeless engine, this is not supported. ' + 'If you are using the ember-engines addon, use the <LinkToExternal> component instead. ' + 'See https://ember-engines.com/docs/links for more info.', !this._isEngine || this._engineMountPoint !== undefined); // Map desired event name to invoke function
1933
+ this.assertLinkToOrigin(); // Map desired event name to invoke function
1934
1934
 
1935
1935
  let {
1936
1936
  eventName
@@ -2042,6 +2042,10 @@ const LinkComponent = Component.extend({
2042
2042
  return this._isActive(target);
2043
2043
  }),
2044
2044
 
2045
+ assertLinkToOrigin() {
2046
+ assert('You attempted to use the <LinkTo> component within a routeless engine, this is not supported. ' + 'If you are using the ember-engines addon, use the <LinkToExternal> component instead. ' + 'See https://ember-engines.com/docs/links for more info.', !this._isEngine || this._engineMountPoint !== undefined);
2047
+ },
2048
+
2045
2049
  _isActive(routerState) {
2046
2050
  if (this.loading) {
2047
2051
  return false;
@@ -1 +1 @@
1
- export default "3.24.3";
1
+ export default "3.24.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": "3.24.3"
6
+ "version": "3.24.4"
7
7
  },
8
8
  "files": {
9
9
  "node_modules/rsvp/lib/rsvp/promise/all.js": {
@@ -6389,7 +6389,7 @@
6389
6389
  },
6390
6390
  {
6391
6391
  "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6392
- "line": 552,
6392
+ "line": 547,
6393
6393
  "description": "Accessed as a classname binding to apply the component's `disabledClass`\nCSS `class` to the element when the link is disabled.\n\nWhen `true`, interactions with the element will not trigger route changes.",
6394
6394
  "itemtype": "property",
6395
6395
  "name": "disabled",
@@ -6400,7 +6400,7 @@
6400
6400
  },
6401
6401
  {
6402
6402
  "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6403
- "line": 575,
6403
+ "line": 570,
6404
6404
  "description": "Accessed as a classname binding to apply the component's `activeClass`\nCSS `class` to the element when the link is active.\n\nThis component is considered active when its `currentWhen` property is `true`\nor the application's current route is the route this component would trigger\ntransitions into.\n\nThe `currentWhen` property can match against multiple routes by separating\nroute names using the ` ` (space) character.",
6405
6405
  "itemtype": "property",
6406
6406
  "name": "active",
@@ -6411,7 +6411,7 @@
6411
6411
  },
6412
6412
  {
6413
6413
  "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6414
- "line": 690,
6414
+ "line": 694,
6415
6415
  "description": "Event handler that invokes the link, activating the associated route.",
6416
6416
  "itemtype": "method",
6417
6417
  "name": "_invoke",
@@ -6429,7 +6429,7 @@
6429
6429
  },
6430
6430
  {
6431
6431
  "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6432
- "line": 769,
6432
+ "line": 773,
6433
6433
  "description": "Sets the element's `href` attribute to the url for\nthe `LinkComponent`'s targeted route.\n\nIf the `LinkComponent`'s `tagName` is changed to a value other\nthan `a`, this property will be ignored.",
6434
6434
  "itemtype": "property",
6435
6435
  "name": "href",
@@ -6440,7 +6440,7 @@
6440
6440
  },
6441
6441
  {
6442
6442
  "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6443
- "line": 852,
6443
+ "line": 856,
6444
6444
  "description": "The default href value to use while a link-to is loading.\nOnly applies when tagName is 'a'",
6445
6445
  "itemtype": "property",
6446
6446
  "name": "loadingHref",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-source",
3
- "version": "3.24.3",
3
+ "version": "3.24.4",
4
4
  "description": "A JavaScript framework for creating ambitious web applications",
5
5
  "keywords": [
6
6
  "ember-addon"
@@ -74,16 +74,16 @@
74
74
  },
75
75
  "devDependencies": {
76
76
  "@babel/preset-env": "^7.9.5",
77
- "@glimmer/compiler": "0.65.2",
77
+ "@glimmer/compiler": "0.65.3",
78
78
  "@glimmer/env": "^0.1.7",
79
- "@glimmer/global-context": "0.65.2",
80
- "@glimmer/interfaces": "0.65.2",
81
- "@glimmer/node": "0.65.2",
82
- "@glimmer/opcode-compiler": "0.65.2",
83
- "@glimmer/program": "0.65.2",
84
- "@glimmer/reference": "0.65.2",
85
- "@glimmer/runtime": "0.65.2",
86
- "@glimmer/validator": "0.65.2",
79
+ "@glimmer/global-context": "0.65.3",
80
+ "@glimmer/interfaces": "0.65.3",
81
+ "@glimmer/node": "0.65.3",
82
+ "@glimmer/opcode-compiler": "0.65.3",
83
+ "@glimmer/program": "0.65.3",
84
+ "@glimmer/reference": "0.65.3",
85
+ "@glimmer/runtime": "0.65.3",
86
+ "@glimmer/validator": "0.65.3",
87
87
  "@simple-dom/document": "^1.4.0",
88
88
  "@types/qunit": "^2.9.1",
89
89
  "@types/rsvp": "^4.0.3",
@@ -151,7 +151,7 @@
151
151
  "ember-addon": {
152
152
  "after": "ember-cli-legacy-blueprints"
153
153
  },
154
- "_originalVersion": "3.24.3",
154
+ "_originalVersion": "3.24.4",
155
155
  "_versionPreviouslyCalculated": true,
156
156
  "publishConfig": {
157
157
  "tag": "old"