Comparing version 7.1.0 to 7.1.1
@@ -0,1 +1,10 @@ | ||
## v7.1.1 (2020-11-06) | ||
#### :bug: Bug Fix | ||
* [#308](https://github.com/tildeio/router.js/pull/308) Provide transition to `setupContext` for internal transition ([@rreckonerr](https://github.com/rreckonerr)) | ||
#### Committers: 1 | ||
- Volodymyr Radchenko ([@rreckonerr](https://github.com/rreckonerr)) | ||
## v7.1.0 (2020-09-09) | ||
@@ -2,0 +11,0 @@ |
@@ -169,5 +169,5 @@ "use strict"; | ||
if (isIntermediate) { | ||
let transition = new _transition.default(this, undefined, undefined); | ||
let transition = new _transition.default(this, undefined, newState); | ||
this.toReadOnlyInfos(transition, newState); | ||
this.setupContexts(newState); | ||
this.setupContexts(newState, transition); | ||
this.routeWillChange(transition); | ||
@@ -174,0 +174,0 @@ return this.activeTransition; |
@@ -131,5 +131,5 @@ import RouteRecognizer from 'route-recognizer'; | ||
if (isIntermediate) { | ||
let transition = new InternalTransition(this, undefined, undefined); | ||
let transition = new InternalTransition(this, undefined, newState); | ||
this.toReadOnlyInfos(transition, newState); | ||
this.setupContexts(newState); | ||
this.setupContexts(newState, transition); | ||
this.routeWillChange(transition); | ||
@@ -136,0 +136,0 @@ return this.activeTransition; |
{ | ||
"name": "router_js", | ||
"version": "7.1.0", | ||
"version": "7.1.1", | ||
"description": "A lightweight JavaScript library is built on top of route-recognizer and rsvp.js to provide an API for handling routes", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
356149