Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nested-proxies

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nested-proxies - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

4

lib/DeepProxy.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc