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

@code-to-json/utils

Package Overview
Dependencies
Maintainers
2
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@code-to-json/utils - npm Package Compare versions

Comparing version 0.4.29 to 0.4.30

8

CHANGELOG.md

@@ -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 @@

2

lib/src/guards/index.d.ts

@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZ3VhcmRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsK0JBQTBCO0FBRTFCLFNBQWdCLFFBQVEsQ0FBbUIsR0FBTztJQUNoRCxPQUFPLE9BQU8sR0FBRyxLQUFLLFdBQVcsQ0FBQztBQUNwQyxDQUFDO0FBRkQsNEJBRUM7QUFRRCxTQUFnQixPQUFPLENBQUMsS0FBVTtJQUNoQyxPQUFPLEtBQUssWUFBWSxLQUFLLENBQUM7QUFDaEMsQ0FBQztBQUZELDBCQUVDO0FBRUQ7Ozs7R0FJRztBQUNILFNBQWdCLGlCQUFpQixDQUFJLEtBQVUsRUFBRSxTQUE2QjtJQUM1RSxJQUFJLENBQUMsT0FBTyxDQUFDLEtBQUssQ0FBQyxFQUFFO1FBQ25CLE9BQU8sS0FBSyxDQUFDO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 +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/)
---
© LinkedIn
© 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

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