Comparing version 2.0.0-beta.3 to 2.0.0-beta.4
@@ -47,3 +47,3 @@ 'use strict'; | ||
if (len && len > 0 && array[len - 1] && array[len - 1].hasOwnProperty('queryParams')) { | ||
if (len && len > 0 && array[len - 1] && hasOwnProperty.call(array[len - 1], 'queryParams')) { | ||
queryParams = array[len - 1].queryParams; | ||
@@ -50,0 +50,0 @@ head = slice.call(array, 0, len - 1); |
@@ -36,3 +36,3 @@ export const slice = Array.prototype.slice; | ||
array[len - 1] && | ||
array[len - 1].hasOwnProperty('queryParams') | ||
hasOwnProperty.call(array[len - 1], 'queryParams') | ||
) { | ||
@@ -39,0 +39,0 @@ queryParams = array[len - 1].queryParams; |
{ | ||
"name": "router_js", | ||
"version": "2.0.0-beta.3", | ||
"version": "2.0.0-beta.4", | ||
"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": [ |
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
183771
44233