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.14 to 0.0.15

14

dist/lazily.js

@@ -21,2 +21,3 @@ "use strict";

exports.some = some;
exports.sort = sort;
exports.toArray = toArray;

@@ -87,2 +88,6 @@ class Seq {

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

@@ -263,2 +268,11 @@ return new Seq(slice(this.seq, begin, end));

function sort(seq, fn) {
return function* () {
const all = toArray(seq).sort(fn);
for (const item of all) {
yield item;
}
};
}
function toArray(seq) {

@@ -265,0 +279,0 @@ const results = [];

2

package.json
{
"name": "lazily",
"version": "0.0.14",
"version": "0.0.15",
"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