@code-to-json/utils
Advanced tools
Comparing version 0.4.29 to 0.4.30
@@ -6,2 +6,10 @@ # Change Log | ||
## 0.4.30 (2018-12-07) | ||
**Note:** Version bump only for package @code-to-json/utils | ||
## 0.4.29 (2018-12-05) | ||
@@ -8,0 +16,0 @@ |
@@ -14,3 +14,3 @@ export * from './ts/node'; | ||
*/ | ||
export declare function isHomogenousArray<T>(value: any, validator: (v: any) => v is T): value is T[]; | ||
export declare function isHomogenousArray<T>(value: any, validator: (v: any) => boolean): value is T[]; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -32,2 +32,2 @@ "use strict"; | ||
exports.isHomogenousArray = isHomogenousArray; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZ3VhcmRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsK0JBQTBCO0FBRTFCLFNBQWdCLFFBQVEsQ0FBbUIsR0FBTztJQUNoRCxPQUFPLE9BQU8sR0FBRyxLQUFLLFdBQVcsQ0FBQztBQUNwQyxDQUFDO0FBRkQsNEJBRUM7QUFRRCxTQUFnQixPQUFPLENBQUMsS0FBVTtJQUNoQyxPQUFPLEtBQUssWUFBWSxLQUFLLENBQUM7QUFDaEMsQ0FBQztBQUZELDBCQUVDO0FBRUQ7Ozs7R0FJRztBQUNILFNBQWdCLGlCQUFpQixDQUFJLEtBQVUsRUFBRSxTQUE2QjtJQUM1RSxJQUFJLENBQUMsT0FBTyxDQUFDLEtBQUssQ0FBQyxFQUFFO1FBQ25CLE9BQU8sS0FBSyxDQUFDO0tBQ2Q7SUFDRCxLQUFLLE1BQU0sQ0FBQyxJQUFJLEtBQUssRUFBRTtRQUNyQixJQUFJLENBQUMsU0FBUyxDQUFDLENBQUMsQ0FBQyxFQUFFO1lBQ2pCLE9BQU8sS0FBSyxDQUFDO1NBQ2Q7S0FDRjtJQUNELE9BQU8sSUFBSSxDQUFDO0FBQ2QsQ0FBQztBQVZELDhDQVVDIn0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZ3VhcmRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsK0JBQTBCO0FBRTFCLFNBQWdCLFFBQVEsQ0FBbUIsR0FBTztJQUNoRCxPQUFPLE9BQU8sR0FBRyxLQUFLLFdBQVcsQ0FBQztBQUNwQyxDQUFDO0FBRkQsNEJBRUM7QUFRRCxTQUFnQixPQUFPLENBQUMsS0FBVTtJQUNoQyxPQUFPLEtBQUssWUFBWSxLQUFLLENBQUM7QUFDaEMsQ0FBQztBQUZELDBCQUVDO0FBRUQ7Ozs7R0FJRztBQUNILFNBQWdCLGlCQUFpQixDQUFJLEtBQVUsRUFBRSxTQUE4QjtJQUM3RSxJQUFJLENBQUMsT0FBTyxDQUFDLEtBQUssQ0FBQyxFQUFFO1FBQ25CLE9BQU8sS0FBSyxDQUFDO0tBQ2Q7SUFDRCxLQUFLLE1BQU0sQ0FBQyxJQUFJLEtBQUssRUFBRTtRQUNyQixJQUFJLENBQUMsU0FBUyxDQUFDLENBQUMsQ0FBQyxFQUFFO1lBQ2pCLE9BQU8sS0FBSyxDQUFDO1NBQ2Q7S0FDRjtJQUNELE9BQU8sSUFBSSxDQUFDO0FBQ2QsQ0FBQztBQVZELDhDQVVDIn0= |
{ | ||
"name": "@code-to-json/utils", | ||
"version": "0.4.29", | ||
"version": "0.4.30", | ||
"description": "", | ||
@@ -21,3 +21,3 @@ "main": "lib/src/index.js", | ||
"devDependencies": { | ||
"@code-to-json/test-helpers": "^0.0.35", | ||
"@code-to-json/test-helpers": "^0.0.36", | ||
"nyc": "13.1.0", | ||
@@ -63,3 +63,3 @@ "snap-shot-it": "6.2.7", | ||
}, | ||
"gitHead": "c834c73c015c61d1f11bc84f519c17e902491cf0" | ||
"gitHead": "2487f5df8e351ab375c4ef8666bac3205c589433" | ||
} |
# @code-to-json/utils | ||
[![Build Status](https://travis-ci.org/mike-north/code-to-json.svg?branch=master)](https://travis-ci.org/mike-north/code-to-json) | ||
[![Build Status](https://dev.azure.com/code-to-json/code-to-json/_apis/build/status/mike-north.code-to-json)](https://dev.azure.com/code-to-json/code-to-json/_build/latest?definitionId=1) | ||
[![Build Status](https://travis-ci.org/code-to-json/code-to-json.svg?branch=master)](https://travis-ci.org/code-to-json/code-to-json) | ||
[![Build Status](https://dev.azure.com/code-to-json/code-to-json/_apis/build/status/code-to-json.code-to-json)](https://dev.azure.com/code-to-json/code-to-json/_build/latest?definitionId=1) | ||
[![Version](https://img.shields.io/npm/v/@code-to-json/utils.svg)](https://www.npmjs.com/package/@code-to-json/utils) | ||
[![codecov](https://codecov.io/gh/mike-north/code-to-json/branch/master/graph/badge.svg)](https://codecov.io/gh/mike-north/code-to-json) | ||
[![Total alerts](https://img.shields.io/lgtm/alerts/g/mike-north/code-to-json.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/mike-north/code-to-json/alerts/) | ||
[![codecov](https://codecov.io/gh/code-to-json/code-to-json/branch/master/graph/badge.svg)](https://codecov.io/gh/code-to-json/code-to-json) | ||
[![Total alerts](https://img.shields.io/lgtm/alerts/g/code-to-json/code-to-json.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/code-to-json/code-to-json/alerts/) | ||
--- | ||
© code-to-json |
@@ -22,3 +22,3 @@ export * from './ts/node'; | ||
*/ | ||
export function isHomogenousArray<T>(value: any, validator: (v: any) => v is T): value is T[] { | ||
export function isHomogenousArray<T>(value: any, validator: (v: any) => boolean): value is T[] { | ||
if (!isArray(value)) { | ||
@@ -25,0 +25,0 @@ return false; |
Sorry, the diff of this file is not supported yet
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
67911