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

lists

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lists - npm Package Compare versions

Comparing version 0.2.14 to 0.2.15

0

lists.js

@@ -0,0 +0,0 @@ (function() {

@@ -0,0 +0,0 @@ (function(){var _version="1.0.0",_style="Naive Recursion",root=this,lists={},l=lists,_=l._=undefined,b=bounce=function(f){while(f&&typeof f==="function")f=f.apply(f.context,f.args);return f},clone=function(xs){var arr=typeof xs==="string"?"":[];l.each(xs,function(x){arr.push(x)});return arr},notIt=function(xs,n){var arr=[];l.each(xs,function(x,i){if(i!=n)arr.push(xs[i])});return arr},excludeChar=function(cha,str){var res=[],t="";l.each(str,function(ch,i){if(ch==cha){res.push(t);t=""}else t+=ch});

2

package.json
{
"name": "lists",
"version": "0.2.14",
"version": "0.2.15",
"description": "A library of higher-order functions modeled after Haskell's Data.List module",

@@ -5,0 +5,0 @@ "main": "lists.min.js",

@@ -884,3 +884,3 @@ # [ l [ i [ s ] t ] s ]

lists.dropWhile([1,2,3,4], function(x){ return x < 3 }); /* [3,4] */
lists.dropWhile([1], function(x){ return x < 2 }); /* [2] */
lists.dropWhile([1], function(x){ return x < 2 }); /* [] */
lists.dropWhile('aabc', function(x){ return x =='a' }); /* ["b","c"] */

@@ -887,0 +887,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