Comparing version 0.3.4 to 0.4.0
@@ -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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19963
4
569