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

@ts-common/iterator

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ts-common/iterator - npm Package Compare versions

Comparing version 0.0.34 to 0.0.35

1

index.d.ts

@@ -32,1 +32,2 @@ import { Tuple2 } from "@ts-common/tuple";

export declare const toArray: <T>(i: Iterable<T> | undefined) => ReadonlyArray<T>;
export declare const reverse: <T>(i: Iterable<T> | undefined) => ReadonlyArray<T>;

@@ -158,1 +158,2 @@ "use strict";

exports.toArray = (i) => i === undefined ? [] : Array.from(i);
exports.reverse = (i) => exports.fold(i, (a, b) => [b, ...a], new Array());

4

package.json
{
"name": "@ts-common/iterator",
"version": "0.0.34",
"version": "0.0.35",
"description": "Iterator library for JavaScript and TypeScript",

@@ -36,3 +36,3 @@ "main": "index.js",

"@types/chai": "^4.1.4",
"@types/mocha": "^5.2.4",
"@types/mocha": "^5.2.5",
"chai": "^4.1.2",

@@ -39,0 +39,0 @@ "mocha": "^5.2.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