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

iterable-operator

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iterable-operator - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

1

lib/pipe/flatten-deep.d.ts

@@ -0,3 +1,4 @@

export declare type NestedIterable<T> = Iterable<NestedIterable<T> | T>;
export declare function flattenDeep<T, U = T>(iterable: NestedIterable<T>): Iterable<U>;
export declare function flattenDeep<T, U = T>(iterable: NestedIterable<T>, depth: number): Iterable<U>;
export declare function flattenDeep<T, U = T>(iterable: NestedIterable<T>, depth: number, exclude: (value: Iterable<unknown>) => boolean): Iterable<U>;

@@ -0,2 +1,3 @@

import { NestedIterable } from './flatten-deep';
export declare function flatten<T, U = T>(iterable: NestedIterable<T>): Iterable<U>;
export declare function flatten<T, U = T>(iterable: NestedIterable<T>, exclude: (value: Iterable<unknown>) => boolean): Iterable<U>;

2

lib/pipe/index.d.ts

@@ -7,3 +7,3 @@ export * from './chunk-by';

export * from './flatten';
export * from './flatten-deep';
export { flattenDeep } from './flatten-deep';
export * from './head';

@@ -10,0 +10,0 @@ export * from './map';

@@ -12,3 +12,4 @@ "use strict";

__export(require("./flatten"));
__export(require("./flatten-deep"));
var flatten_deep_1 = require("./flatten-deep");
exports.flattenDeep = flatten_deep_1.flattenDeep;
__export(require("./head"));

@@ -15,0 +16,0 @@ __export(require("./map"));

{
"name": "iterable-operator",
"version": "0.3.0",
"version": "0.3.1",
"description": "Minimalist utility for JavaScript Iterable.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is not supported yet

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