@angular/router
Advanced tools
Comparing version 4.2.0 to 4.2.1
/** | ||
* @license Angular v4.2.0 | ||
* @license Angular v4.2.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
/** | ||
* @license Angular v4.2.0 | ||
* @license Angular v4.2.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
/** | ||
* @license Angular v4.2.0 | ||
* @license Angular v4.2.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
/** | ||
* @license Angular v4.2.0 | ||
* @license Angular v4.2.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
/** | ||
* @license Angular v4.2.0 | ||
* @license Angular v4.2.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -13,3 +13,3 @@ * License: MIT | ||
/** | ||
* @license Angular v4.2.0 | ||
* @license Angular v4.2.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -16,0 +16,0 @@ * License: MIT |
/** | ||
* @license Angular v4.2.0 | ||
* @license Angular v4.2.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -7,3 +7,3 @@ * License: MIT | ||
!function(global,factory){"object"==typeof exports&&"undefined"!=typeof module?factory(exports,require("@angular/common"),require("@angular/common/testing"),require("@angular/core"),require("@angular/router")):"function"==typeof define&&define.amd?define(["exports","@angular/common","@angular/common/testing","@angular/core","@angular/router"],factory):factory((global.ng=global.ng||{},global.ng.router=global.ng.router||{},global.ng.router.testing=global.ng.router.testing||{}),global.ng.common,global.ng.common.testing,global.ng.core,global.ng.router)}(this,function(exports,_angular_common,_angular_common_testing,_angular_core,_angular_router){"use strict";function setupTestingRouter(urlSerializer,contexts,location,loader,compiler,injector,routes,urlHandlingStrategy){var router=new _angular_router.Router(null,urlSerializer,contexts,location,injector,loader,compiler,_angular_router.ɵflatten(routes));return urlHandlingStrategy&&(router.urlHandlingStrategy=urlHandlingStrategy),router}/** | ||
* @license Angular v4.2.0 | ||
* @license Angular v4.2.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -10,0 +10,0 @@ * License: MIT |
/** | ||
* @license Angular v4.2.0 | ||
* @license Angular v4.2.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -13,3 +13,3 @@ * License: MIT | ||
/** | ||
* @license Angular v4.2.0 | ||
* @license Angular v4.2.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -16,0 +16,0 @@ * License: MIT |
/** | ||
* @license Angular v4.2.0 | ||
* @license Angular v4.2.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -7,3 +7,3 @@ * License: MIT | ||
!function(global,factory){"object"==typeof exports&&"undefined"!=typeof module?factory(exports,require("@angular/core"),require("@angular/router"),require("@angular/upgrade/static")):"function"==typeof define&&define.amd?define(["exports","@angular/core","@angular/router","@angular/upgrade/static"],factory):factory((global.ng=global.ng||{},global.ng.router=global.ng.router||{},global.ng.router.upgrade=global.ng.router.upgrade||{}),global.ng.core,global.ng.router,global.ng.upgrade.static)}(this,function(exports,_angular_core,_angular_router,_angular_upgrade_static){"use strict";function locationSyncBootstrapListener(ngUpgrade){return function(){setUpLocationSync(ngUpgrade)}}function setUpLocationSync(ngUpgrade){if(!ngUpgrade.$injector)throw new Error("\n RouterUpgradeInitializer can be used only after UpgradeModule.bootstrap has been called.\n Remove RouterUpgradeInitializer and call setUpLocationSync after UpgradeModule.bootstrap.\n ");var router=ngUpgrade.injector.get(_angular_router.Router),url=document.createElement("a");ngUpgrade.$injector.get("$rootScope").$on("$locationChangeStart",function(_,next,__){url.href=next,router.navigateByUrl(url.pathname+url.search)})}/** | ||
* @license Angular v4.2.0 | ||
* @license Angular v4.2.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -10,0 +10,0 @@ * License: MIT |
{ | ||
"name": "@angular/router", | ||
"version": "4.2.0", | ||
"version": "4.2.1", | ||
"description": "Angular - the routing library", | ||
@@ -27,7 +27,7 @@ "main": "./bundles/router.umd.js", | ||
"peerDependencies": { | ||
"@angular/core": "4.2.0", | ||
"@angular/common": "4.2.0", | ||
"@angular/platform-browser": "4.2.0", | ||
"@angular/core": "4.2.1", | ||
"@angular/common": "4.2.1", | ||
"@angular/platform-browser": "4.2.1", | ||
"rxjs": "^5.0.1" | ||
} | ||
} |
/** | ||
* @license Angular v4.2.0 | ||
* @license Angular v4.2.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
/** | ||
* @license Angular v4.2.0 | ||
* @license Angular v4.2.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package