Socket
Socket
Sign inDemoInstall

proto-list

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proto-list - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

2

package.json
{
"name": "proto-list",
"version": "1.2.1",
"version": "1.2.2",
"description": "A utility for managing a prototype chain",

@@ -5,0 +5,0 @@ "main": "./proto-list.js",

@@ -54,3 +54,3 @@

, shift : function () {
if (this.list.length >= 1) {
if (this.list.length === 1) {
this.list[0].__proto__ = this.root

@@ -57,0 +57,0 @@ }

@@ -52,3 +52,11 @@ var tap = require("tap")

p.push({red:'blue'})
p.push({red:'blue'})
p.push({red:'blue'})
while (p.length) {
t.equal(p.get('default'), 'monkey')
p.shift()
}
t.end()
})
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