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

tarry

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tarry - npm Package Compare versions

Comparing version 0.3.4 to 0.4.0

7

index.d.ts

@@ -53,3 +53,3 @@ /**

*/
export declare function asArray<T>(value: T | T[]): T[];
export declare function asArray<T>(value?: T | T[]): T[];
/**

@@ -64,6 +64,3 @@ Take anything that can be indexed by number (`iterable`) and return a new Array

*/
export declare function toArray<T>(iterable: {
[index: number]: T;
length: number;
}): T[];
export declare function toArray<T>(iterable: ArrayLike<T>): T[];
/**

@@ -70,0 +67,0 @@ Sum all items in `xs`

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**

@@ -3,0 +4,0 @@ Push each item in `items` onto the end of `array`.

{
"name": "tarry",
"version": "0.3.4",
"version": "0.4.0",
"description": "Utility library for manipulating JavaScript Arrays",

@@ -19,12 +19,15 @@ "keywords": [

"devDependencies": {
"babel-core": "^5.0.0",
"coveralls": "*",
"istanbul": "*",
"mocha": "*",
"mocha-lcov-reporter": "*",
"typescript": "*"
"@types/mocha": "5.2.4",
"@types/node": "10.5.2",
"coveralls": "3.0.2",
"mocha": "5.2.0",
"nyc": "12.0.2",
"typescript": "2.9.2"
},
"scripts": {
"test": "make test"
"prepare": "tsc -d",
"pretest": "tsc",
"test": "nyc mocha",
"posttest": "nyc report --reporter=text-lcov | coveralls || true"
}
}
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