Socket
Socket
Sign inDemoInstall

@thi.ng/checks

Package Overview
Dependencies
Maintainers
1
Versions
164
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/checks - npm Package Compare versions

Comparing version 1.1.6 to 1.2.0

has-max-length.d.ts

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

<a name="1.2.0"></a>
# [1.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.1.6...@thi.ng/checks@1.2.0) (2018-02-08)
### Features
* **checks:** add new predicates, refactor existing ([68f8fc2](https://github.com/thi-ng/umbrella/commit/68f8fc2))
<a name="1.1.6"></a>

@@ -8,0 +19,0 @@ ## [1.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@1.1.5...@thi.ng/checks@1.1.6) (2018-02-02)

2

exists-not-null.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function existsAndNotNull(x) {
return !(x === undefined || x === null);
return x != null;
}
exports.existsAndNotNull = existsAndNotNull;
export * from "./exists-not-null";
export * from "./exists";
export * from "./has-crypto";
export * from "./has-max-length";
export * from "./has-min-length";
export * from "./has-wasm";

@@ -10,8 +12,12 @@ export * from "./has-webgl";

export * from "./is-arraylike";
export * from "./is-blob";
export * from "./is-boolean";
export * from "./is-chrome";
export * from "./is-even";
export * from "./is-false";
export * from "./is-file";
export * from "./is-firefox";
export * from "./is-function";
export * from "./is-ie";
export * from "./is-in-range";
export * from "./is-int32";

@@ -25,4 +31,6 @@ export * from "./is-iterable";

export * from "./is-object";
export * from "./is-odd";
export * from "./is-plain-object";
export * from "./is-positive";
export * from "./is-regexp";
export * from "./is-safari";

@@ -29,0 +37,0 @@ export * from "./is-string";

@@ -9,2 +9,4 @@ "use strict";

__export(require("./has-crypto"));
__export(require("./has-max-length"));
__export(require("./has-min-length"));
__export(require("./has-wasm"));

@@ -16,8 +18,12 @@ __export(require("./has-webgl"));

__export(require("./is-arraylike"));
__export(require("./is-blob"));
__export(require("./is-boolean"));
__export(require("./is-chrome"));
__export(require("./is-even"));
__export(require("./is-false"));
__export(require("./is-file"));
__export(require("./is-firefox"));
__export(require("./is-function"));
__export(require("./is-ie"));
__export(require("./is-in-range"));
__export(require("./is-int32"));

@@ -31,4 +37,6 @@ __export(require("./is-iterable"));

__export(require("./is-object"));
__export(require("./is-odd"));
__export(require("./is-plain-object"));
__export(require("./is-positive"));
__export(require("./is-regexp"));
__export(require("./is-safari"));

@@ -35,0 +43,0 @@ __export(require("./is-string"));

@@ -1,1 +0,1 @@

export declare function isArray(x: any): x is Array<any>;
export declare const isArray: (arg: any) => arg is any[];
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function isArray(x) {
return x != null && x.constructor === Array;
}
exports.isArray = isArray;
exports.isArray = Array.isArray;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function isArrayLike(x) {
return x != null && (x.constructor === Array || x.length !== undefined);
return Array.isArray(x) || (x != null && x.length !== undefined);
}
exports.isArrayLike = isArrayLike;
{
"name": "@thi.ng/checks",
"version": "1.1.6",
"version": "1.2.0",
"description": "Single-function sub-modules for type, feature & value checks",

@@ -5,0 +5,0 @@ "main": "./index.js",

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