New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@flatten/array

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

@flatten/array - npm Package Compare versions

Comparing version 1.1.7 to 1.1.8

4

lib/index.js

@@ -12,5 +12,5 @@ 'use strict'

// because it won't increment it when the element is an array.
for (var i = 0; i < array.length; ) {
for (let i = 0; i < array.length; ) {
var value = array[i]
const value = array[i]

@@ -17,0 +17,0 @@ // if the element is an array then we'll put its contents

{
"name": "@flatten/array",
"version": "1.1.7",
"version": "1.1.8",
"description": "Fastest array flatten.",

@@ -13,3 +13,6 @@ "main": "lib/index.js",

"array flatten",
"array"
"array",
"fast",
"fastest",
"best"
],

@@ -21,12 +24,12 @@ "author": "Eli Doran <eli+npm@elidoran.com>",

"test": "_mocha --require coffee-script/register --reporter spec --check-leaks test/lib/*.coffee",
"test4": "nave use 4.9 npm test",
"test6": "nave use 6.14 npm test",
"test8": "nave use 8.11 npm test",
"test10": "nave use 10.6 npm test",
"test-all": "npm run test4 && npm run test6 && npm run test8 && npm run test10",
"test4": "nave use 4 npm test",
"test6": "nave use 6 npm test",
"test8": "nave use 8 npm test",
"test10": "nave use 10 npm test",
"test12": "nave use 12 npm test",
"tests": "npm run test4 && npm run test6 && npm run test8 && npm run test10 && npm run test12",
"coverage": "istanbul cover -x 'build/**' _mocha -- --require coffee-script/register -R spec test/lib/*.coffee",
"publish-coverage": "npm run coverage && cat coverage/lcov.info | coveralls",
"coverage-lcov": "istanbul cover -x 'build/**' _mocha --report lcovonly -- --require coffee-script/register -R spec test/lib/*.coffee",
"coverage-clean": "rm -rf ./coverage",
"perf": "node benchmark/index.js --turbo"
"perf": "node benchmark/index.js"
},

@@ -41,11 +44,11 @@ "repository": {

"arr-flatten": "^1.1.0",
"array-flatten": "^2.1.1",
"array-flatten": "^2.1.2",
"array_flatten": "^1.0.0",
"benchmarked": "^2.0.0",
"chalk": "^2.4.1",
"chalk": "^2.4.2",
"coffee-script": "^1.12.7",
"comma-number": "^2.0.0",
"compute-flatten": "^1.0.0",
"coveralls": "^3.0.2",
"eslint": "^5.1.0",
"coveralls": "^3.0.3",
"eslint": "^5.16.0",
"flatten": "^1.0.2",

@@ -55,8 +58,8 @@ "flatten-array": "^1.0.0",

"istanbul": "^0.4.5",
"just-flatten-it": "^2.0.0",
"just-flatten-it": "^2.1.0",
"mocha": "^5.2.0",
"mocha-lcov-reporter": "^1.3.0",
"nave": "^2.2.3",
"nave": "^2.2.4",
"npm-array-flatten": "^1.0.4",
"pad": "^2.1.0",
"pad": "^2.3.0",
"reduce-flatten": "^2.0.0"

@@ -63,0 +66,0 @@ },

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