Skip to content

Commit

Permalink
chore(all): prepare release 0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Jul 7, 2015
1 parent 9d7565a commit 6d4c68f
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-history-browser",
"version": "0.6.0",
"version": "0.6.1",
"description": "An implementation of the Aurelia history interface based on standard browser hash change and push state mechanisms.",
"keywords": [
"aurelia",
Expand Down
1 change: 1 addition & 0 deletions dist/amd/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ define(['exports', 'core-js', 'aurelia-history'], function (exports, _coreJs, _a
}

if (this._hasPushState) {
url = url.replace('//', '/');
this.history[options.replace ? 'replaceState' : 'pushState']({}, document.title, url);
} else if (this._wantsHashChange) {
updateHash(this.location, fragment, options.replace);
Expand Down
1 change: 1 addition & 0 deletions dist/commonjs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ var BrowserHistory = (function (_History) {
}

if (this._hasPushState) {
url = url.replace('//', '/');
this.history[options.replace ? 'replaceState' : 'pushState']({}, document.title, url);
} else if (this._wantsHashChange) {
updateHash(this.location, fragment, options.replace);
Expand Down
1 change: 1 addition & 0 deletions dist/es6/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ export class BrowserHistory extends History {

// If pushState is available, we use it to set the fragment as a real URL.
if (this._hasPushState) {
url = url.replace('//', '/');
this.history[options.replace ? 'replaceState' : 'pushState']({}, document.title, url);

// If hash changes haven't been explicitly disabled, update the hash
Expand Down
1 change: 1 addition & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ export class BrowserHistory extends History {

// If pushState is available, we use it to set the fragment as a real URL.
if (this._hasPushState) {
url = url.replace('//', '/');
this.history[options.replace ? 'replaceState' : 'pushState']({}, document.title, url);

// If hash changes haven't been explicitly disabled, update the hash
Expand Down
1 change: 1 addition & 0 deletions dist/system/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ System.register(['core-js', 'aurelia-history'], function (_export) {
}

if (this._hasPushState) {
url = url.replace('//', '/');
this.history[options.replace ? 'replaceState' : 'pushState']({}, document.title, url);
} else if (this._wantsHashChange) {
updateHash(this.location, fragment, options.replace);
Expand Down
10 changes: 10 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
### 0.6.1 (2015-07-07)


#### Bug Fixes

* **history:**
* Improved previous pushState security fix by only fixing up double slashes in fra ([9d7565a1](http://github.com/aurelia/history-browser/commit/9d7565a16fe1765eff7d677c22321643c91b3890))
* fixed regression issue which added double slashes to the pushState fragment ([57983341](http://github.com/aurelia/history-browser/commit/579833415f55372def76ccbf5fbbd1ebd939ae7b))


## 0.6.0 (2015-07-01)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-history-browser",
"version": "0.6.0",
"version": "0.6.1",
"description": "An implementation of the Aurelia history interface based on standard browser hash change and push state mechanisms.",
"keywords": [
"aurelia",
Expand Down

0 comments on commit 6d4c68f

Please sign in to comment.