abstract-state-router
Advanced tools
Comparing version 7.1.0 to 7.2.0
@@ -662,3 +662,3 @@ 'use strict'; | ||
return stateNameMatches | ||
&& (parametersWereNotPassedIn || Object.keys(parameters).every(key => parameters[key] === currentState.parameters[key])) | ||
&& (parametersWereNotPassedIn || Object.keys(parameters).every(key => parameters[key] + `` === currentState.parameters[key])) | ||
}; | ||
@@ -665,0 +665,0 @@ |
{ | ||
"name": "abstract-state-router", | ||
"version": "7.1.0", | ||
"version": "7.2.0", | ||
"description": "Like ui-router, but without all the Angular. The best way to structure a single-page webapp.", | ||
@@ -5,0 +5,0 @@ "main": "bundle.js", |
@@ -27,5 +27,5 @@ **[Changelog](./changelog.md) • [Join the chat on Discord](https://discord.gg/G8FrErC) • [API documentation](#api)** | ||
This project is currently published as CommonJS ES5-compatible code. | ||
This project is currently published as CommonJS with modern JS syntax. | ||
If you're supporting old browsers, you'll need to use polyfills for `Promise` and `Object.assign`. Check out [polyfill.io](https://polyfill.io/), it makes life super-easy. | ||
If you're supporting old browsers, you'll need to compile to whatever older syntax you target and use polyfills for `Promise` and `Object.assign`. Check out [polyfill.io](https://polyfill.io/) for automatic polyfills, it makes life super-easy. | ||
@@ -272,3 +272,3 @@ # Current renderer implementations | ||
## stateRouter.makePath(stateName, [stateParameters], options) | ||
## stateRouter.makePath(stateName, [stateParameters, [options]]) | ||
@@ -275,0 +275,0 @@ Returns a path to the state, starting with an [optional](#options) octothorpe `#`, suitable for inserting straight into the `href` attribute of a link. |
Sorry, the diff of this file is not supported yet
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
90596