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

lazily

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lazily - npm Package Compare versions

Comparing version 0.0.15 to 0.0.16

12

dist/lazily.js

@@ -26,3 +26,3 @@ "use strict";

static of(list) {
return new Seq(sequence(list));
return list instanceof Array ? new Seq(sequence(list)) : list instanceof Seq ? list : new Seq(list);
}

@@ -41,3 +41,3 @@

concat(seq) {
return new Seq(concat(this.seq, seq.seq));
return new Seq(concat(this.seq, Array.isArray(seq) ? sequence(seq) : seq.seq));
}

@@ -89,6 +89,2 @@

sort(fn) {
return new Seq(sort(this.seq, fn));
}
slice(begin, end) {

@@ -102,2 +98,6 @@ return new Seq(slice(this.seq, begin, end));

sort(fn) {
return new Seq(sort(this.seq, fn));
}
toArray() {

@@ -104,0 +104,0 @@ return toArray(this.seq);

{
"name": "lazily",
"version": "0.0.15",
"version": "0.0.16",
"author": "Jeswin<jeswinpk@agilehead.com>",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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