@heroku/ember-backboard
Advanced tools
Comparing version 1.6.0 to 1.7.0
@@ -51,4 +51,4 @@ import { getOwner } from '@ember/application'; | ||
// attempt to retrieve and pass along the current path | ||
const application = getOwner(this).lookup('controller:application'); | ||
properties.route = application ? application.currentPath : window.location.pathname; | ||
const routerService = getOwner(this).lookup('service:router'); | ||
properties.route = routerService ? routerService.currentPath : window.location.pathname; | ||
@@ -55,0 +55,0 @@ const url = this._sanitize(window.location.href); // this includes proto and domain |
{ | ||
"name": "@heroku/ember-backboard", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"description": "Ember backboard", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
7387
1