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

nebelsbad

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nebelsbad - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

README.md

22

List.js

@@ -25,2 +25,12 @@ function* concat(iterables) {

}
function* skip(count, source) {
let skipped = 0;
for (const value of source) {
if (skipped < count) {
skipped++;
continue;
}
yield value;
}
}
function* map(project, source) {

@@ -57,5 +67,17 @@ for (const value of source) {

}
head() {
for (const value of this.iterable) {
return value;
}
return undefined;
}
tail() {
return this.skip(1);
}
take(count) {
return new List(take(count, this.iterable));
}
skip(count) {
return new List(skip(count, this.iterable));
}
map(project) {

@@ -62,0 +84,0 @@ return new List(map(project, this.iterable));

4

package.json
{
"name": "nebelsbad",
"version": "1.0.0",
"version": "1.1.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"build": "rm -rf dist && tsc && cp -rf package.json dist",
"build": "rm -rf dist && tsc && cp -rf package.json dist && cp -rf README.md dist",
"test": "jest"

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