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

to-array

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

to-array - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

4

index.js
module.exports = toArray
function toArray(list) {
function toArray(list, index) {
var array = []
for (var i = 0; i < list.length; i++) {
for (var i = index || 0; i < list.length; i++) {
array[i] = list[i]

@@ -8,0 +8,0 @@ }

{
"name": "to-array",
"version": "0.1.0",
"version": "0.1.1",
"description": "Turn an array like into an array",

@@ -19,4 +19,3 @@ "keywords": [],

},
"dependencies": {
},
"dependencies": {},
"devDependencies": {

@@ -23,0 +22,0 @@ "tap": "~0.3.1"

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