@contember/typesafe
Advanced tools
Comparing version 1.2.0-alpha.18 to 1.2.0-alpha.19
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.valueAt = exports.coalesce = exports.transform = exports.nullable = exports.false_ = exports.true_ = exports.null_ = exports.enumeration = exports.intersection = exports.discriminatedTupleUnion = exports.tuple = exports.discriminatedUnion = exports.union = exports.record = exports.noExtraProps = exports.partial = exports.object = exports.array = exports.literal = exports.anyJsonObject = exports.anyJson = exports.scalar = exports.boolean = exports.integer = exports.number = exports.string = exports.fail = exports.ParseError = void 0; | ||
const util_1 = require("util"); | ||
const node_util_1 = require("node:util"); | ||
class ParseError extends Error { | ||
@@ -221,3 +221,3 @@ constructor(path, reason, expected) { | ||
if (e instanceof ParseError) { | ||
if ((0, util_1.isDeepStrictEqual)(e.path, [...path, field])) { | ||
if ((0, node_util_1.isDeepStrictEqual)(e.path, [...path, field])) { | ||
continue; | ||
@@ -224,0 +224,0 @@ } |
{ | ||
"name": "@contember/typesafe", | ||
"version": "1.2.0-alpha.18", | ||
"version": "1.2.0-alpha.19", | ||
"license": "Apache-2.0", | ||
@@ -10,5 +10,3 @@ "main": "dist/src/index.js", | ||
}, | ||
"dependencies": { | ||
"@contember/schema": "^1.2.0-alpha.18" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
@@ -15,0 +13,0 @@ "@types/node": "^18" |
@@ -1,2 +0,2 @@ | ||
import { isDeepStrictEqual } from 'util' | ||
import { isDeepStrictEqual } from 'node:util' | ||
@@ -3,0 +3,0 @@ type Unpacked<T> = T extends readonly (infer U)[] ? U : never |
Sorry, the diff of this file is not supported yet
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
0
73353
- Removed@contember/schema@^1.2.0-alpha.18
- Removed@contember/schema@1.4.6(transitive)