Socket
Socket
Sign inDemoInstall

@appliedblockchain/assert-combinators

Package Overview
Dependencies
Maintainers
43
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appliedblockchain/assert-combinators - npm Package Compare versions

Comparing version 5.1.1 to 5.2.0

cjs/false.d.ts

5

Changelog.md
# Changelog
## [v5.2.0](../../compare/v5.1.1...v5.2.0) (2022-03-28)
* Adding true and false.
* Updating changelog.
## [v5.1.1](../../compare/v5.1.0...v5.1.1) (2022-03-28)

@@ -4,0 +9,0 @@

4

cjs/index.d.ts

@@ -10,2 +10,3 @@ import and from './and.js';

import exact from './exact.js';
import false_ from './false.js';
import finite from './finite.js';

@@ -44,2 +45,3 @@ import gt from './gt.js';

import string from './string.js';
import true_ from './true.js';
import tuple from './tuple.js';

@@ -51,2 +53,2 @@ import undefined_ from './undefined.js';

export * from './prelude.js';
export { and, array, boolean, dateString, defined, eq, errorOf, eventually, exact, finite, gt, gte, if_ as if, ignore, implies, in_ as in, instance, keyed, lt, lte, never_ as never, nil, nilOr, nonBlankString, nonNullish, null_ as null, nullOr, number, object, ok, oneOf, or, partial, positive, predicate, record, regexp, rethrow, safeInteger, sequence, strftime, string, tuple, undefined_ as undefined, undefinedOr, unique, unknown };
export { and, array, boolean, dateString, defined, eq, errorOf, eventually, exact, false_ as false, finite, gt, gte, if_ as if, ignore, implies, in_ as in, instance, keyed, lt, lte, never_ as never, nil, nilOr, nonBlankString, nonNullish, null_ as null, nullOr, number, object, ok, oneOf, or, partial, positive, predicate, record, regexp, rethrow, safeInteger, sequence, strftime, string, true_ as true, tuple, undefined_ as undefined, undefinedOr, unique, unknown };

@@ -16,3 +16,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.unknown = exports.unique = exports.undefinedOr = exports.undefined = exports.tuple = exports.string = exports.strftime = exports.sequence = exports.safeInteger = exports.rethrow = exports.regexp = exports.record = exports.predicate = exports.positive = exports.partial = exports.or = exports.oneOf = exports.ok = exports.object = exports.number = exports.nullOr = exports.null = exports.nonNullish = exports.nonBlankString = exports.nilOr = exports.nil = exports.never = exports.lte = exports.lt = exports.keyed = exports.instance = exports.in = exports.implies = exports.ignore = exports.if = exports.gte = exports.gt = exports.finite = exports.exact = exports.eventually = exports.errorOf = exports.eq = exports.defined = exports.dateString = exports.boolean = exports.array = exports.and = void 0;
exports.unknown = exports.unique = exports.undefinedOr = exports.undefined = exports.tuple = exports.true = exports.string = exports.strftime = exports.sequence = exports.safeInteger = exports.rethrow = exports.regexp = exports.record = exports.predicate = exports.positive = exports.partial = exports.or = exports.oneOf = exports.ok = exports.object = exports.number = exports.nullOr = exports.null = exports.nonNullish = exports.nonBlankString = exports.nilOr = exports.nil = exports.never = exports.lte = exports.lt = exports.keyed = exports.instance = exports.in = exports.implies = exports.ignore = exports.if = exports.gte = exports.gt = exports.finite = exports.false = exports.exact = exports.eventually = exports.errorOf = exports.eq = exports.defined = exports.dateString = exports.boolean = exports.array = exports.and = void 0;
const and_js_1 = __importDefault(require("./and.js"));

@@ -36,2 +36,4 @@ exports.and = and_js_1.default;

exports.exact = exact_js_1.default;
const false_js_1 = __importDefault(require("./false.js"));
exports.false = false_js_1.default;
const finite_js_1 = __importDefault(require("./finite.js"));

@@ -103,2 +105,4 @@ exports.finite = finite_js_1.default;

exports.string = string_js_1.default;
const true_js_1 = __importDefault(require("./true.js"));
exports.true = true_js_1.default;
const tuple_js_1 = __importDefault(require("./tuple.js"));

@@ -105,0 +109,0 @@ exports.tuple = tuple_js_1.default;

import type { Assert } from './prelude.js';
declare const string: Assert<string>;
export default string;
declare const string_: Assert<string>;
export default string_;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const util_1 = require("util");
const string = value => {
const string_ = value => {
if (typeof value !== 'string') {

@@ -10,3 +10,3 @@ throw new TypeError(`Expected string, got ${(0, util_1.inspect)(value)}.`);

};
exports.default = string;
exports.default = string_;
//# sourceMappingURL=string.js.map

@@ -10,2 +10,3 @@ import and from './and.js';

import exact from './exact.js';
import false_ from './false.js';
import finite from './finite.js';

@@ -44,2 +45,3 @@ import gt from './gt.js';

import string from './string.js';
import true_ from './true.js';
import tuple from './tuple.js';

@@ -51,2 +53,2 @@ import undefined_ from './undefined.js';

export * from './prelude.js';
export { and, array, boolean, dateString, defined, eq, errorOf, eventually, exact, finite, gt, gte, if_ as if, ignore, implies, in_ as in, instance, keyed, lt, lte, never_ as never, nil, nilOr, nonBlankString, nonNullish, null_ as null, nullOr, number, object, ok, oneOf, or, partial, positive, predicate, record, regexp, rethrow, safeInteger, sequence, strftime, string, tuple, undefined_ as undefined, undefinedOr, unique, unknown };
export { and, array, boolean, dateString, defined, eq, errorOf, eventually, exact, false_ as false, finite, gt, gte, if_ as if, ignore, implies, in_ as in, instance, keyed, lt, lte, never_ as never, nil, nilOr, nonBlankString, nonNullish, null_ as null, nullOr, number, object, ok, oneOf, or, partial, positive, predicate, record, regexp, rethrow, safeInteger, sequence, strftime, string, true_ as true, tuple, undefined_ as undefined, undefinedOr, unique, unknown };

@@ -10,2 +10,3 @@ import and from './and.js';

import exact from './exact.js';
import false_ from './false.js';
import finite from './finite.js';

@@ -44,2 +45,3 @@ import gt from './gt.js';

import string from './string.js';
import true_ from './true.js';
import tuple from './tuple.js';

@@ -51,3 +53,3 @@ import undefined_ from './undefined.js';

export * from './prelude.js';
export { and, array, boolean, dateString, defined, eq, errorOf, eventually, exact, finite, gt, gte, if_ as if, ignore, implies, in_ as in, instance, keyed, lt, lte, never_ as never, nil, nilOr, nonBlankString, nonNullish, null_ as null, nullOr, number, object, ok, oneOf, or, partial, positive, predicate, record, regexp, rethrow, safeInteger, sequence, strftime, string, tuple, undefined_ as undefined, undefinedOr, unique, unknown };
export { and, array, boolean, dateString, defined, eq, errorOf, eventually, exact, false_ as false, finite, gt, gte, if_ as if, ignore, implies, in_ as in, instance, keyed, lt, lte, never_ as never, nil, nilOr, nonBlankString, nonNullish, null_ as null, nullOr, number, object, ok, oneOf, or, partial, positive, predicate, record, regexp, rethrow, safeInteger, sequence, strftime, string, true_ as true, tuple, undefined_ as undefined, undefinedOr, unique, unknown };
//# sourceMappingURL=index.js.map
import type { Assert } from './prelude.js';
declare const string: Assert<string>;
export default string;
declare const string_: Assert<string>;
export default string_;
import { inspect } from 'util';
const string = value => {
const string_ = value => {
if (typeof value !== 'string') {

@@ -8,3 +8,3 @@ throw new TypeError(`Expected string, got ${inspect(value)}.`);

};
export default string;
export default string_;
//# sourceMappingURL=string.js.map
{
"name": "@appliedblockchain/assert-combinators",
"version": "5.1.1",
"version": "5.2.0",
"description": "Assertion combinators.",

@@ -5,0 +5,0 @@ "type": "module",

@@ -10,2 +10,3 @@ import and from './and.js'

import exact from './exact.js'
import false_ from './false.js'
import finite from './finite.js'

@@ -44,2 +45,3 @@ import gt from './gt.js'

import string from './string.js'
import true_ from './true.js'
import tuple from './tuple.js'

@@ -63,2 +65,3 @@ import undefined_ from './undefined.js'

exact,
false_ as false,
finite,

@@ -97,2 +100,3 @@ gt,

string,
true_ as true,
tuple,

@@ -99,0 +103,0 @@ undefined_ as undefined,

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

import { inspect } from 'util'
import type { Assert } from './prelude.js'
import { inspect } from 'util'
const string: Assert<string> =
const string_: Assert<string> =
value => {

@@ -12,2 +12,2 @@ if (typeof value !== 'string') {

export default string
export default string_

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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