nested-proxies
Advanced tools
Comparing version 0.1.5 to 0.1.6
@@ -97,3 +97,3 @@ /* | ||
// Check if this is an array index, if so, cast it to a number | ||
if ( ctx.isArray && ! Number.isNaN( ( index = + property ) ) ) { | ||
if ( ctx.isArray && typeof property !== 'symbol' && ! Number.isNaN( ( index = + property ) ) ) { | ||
return ctx.path.concat( index ) ; | ||
@@ -110,3 +110,3 @@ } | ||
// Check if this is an array index | ||
if ( ctx.isArray && ! Number.isNaN( + property ) ) { | ||
if ( ctx.isArray && typeof property !== 'symbol' && ! Number.isNaN( + property ) ) { | ||
return ctx.path + '[' + property + ']' ; | ||
@@ -113,0 +113,0 @@ } |
{ | ||
"name": "nested-proxies", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "A Deep Proxy!", | ||
@@ -5,0 +5,0 @@ "main": "lib/DeepProxy.js", |
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
23437