@storeon/router
Advanced tools
Comparing version 0.3.0 to 0.3.1
# Change Log | ||
This project adheres to [Semantic Versioning](http://semver.org/). | ||
## 0.3.1 | ||
* Reduce size | ||
## 0.3.0 | ||
@@ -5,0 +8,0 @@ * Add ignore link |
@@ -78,5 +78,4 @@ var loc = location | ||
event.target.target !== '_blank' && | ||
event.target.dataset['ignoreRouter'] == null && | ||
event.target.dataset.ignoreRouter == null && | ||
event.button === 0 && | ||
event.which === 1 && | ||
!event.metaKey && | ||
@@ -125,3 +124,3 @@ !event.ctrlKey && | ||
var prepareRe = checkPath | ||
.replace(/[[\]{}()+!<=:?.\\^$|#\s,]/g, '\\$&') | ||
.replace(/[\s!#$()+,.:<=?[\\\]^{|}]/g, '\\$&') | ||
.replace(/\*/g, '([^/]*)') | ||
@@ -128,0 +127,0 @@ var re = RegExp('^' + prepareRe + '$', 'i') |
{ | ||
"name": "@storeon/router", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Storeon module for URL routing", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -5,7 +5,7 @@ # Storeon Router | ||
alt="Storeon logo by Anton Lovchikov" width="160" height="142"> | ||
[Storeon] Router which solves the problem of routing your application, providing full control over the route. | ||
It size is 657 bytes (minified and gzipped) and uses [Size Limit] to control size. | ||
[Storeon] Router which solves the problem of routing your application, providing full control over the route. | ||
It size is 650 bytes (minified and gzipped) and uses [Size Limit] to control size. | ||
[Storeon]: https://github.com/storeon/storeon | ||
@@ -19,3 +19,3 @@ [Size Limit]: https://github.com/ai/size-limit | ||
npm install @storeon/router | ||
# or | ||
# or | ||
yarn add @storeon/router | ||
@@ -127,3 +127,3 @@ ``` | ||
<a href="https://evrone.com/?utm_source=storeon-router"> | ||
<img src="https://solovev.one/static/evrone-sponsored-300.png" | ||
<img src="https://solovev.one/static/evrone-sponsored-300.png" | ||
alt="Sponsored by Evrone" width="210"> | ||
@@ -130,0 +130,0 @@ </a> |
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
8530
155