Comparing version 0.5.4 to 0.5.5
@@ -9,3 +9,3 @@ "use strict"; | ||
const log_filter_js_1 = require("../common/log-filter.js"); | ||
const deep_js_1 = require("src/common/deep.js"); | ||
const deep_js_1 = require("../common/deep.js"); | ||
const styleFont = `font-family: "JetBrains Mono", Menlo; font-size: 11px;`; | ||
@@ -112,15 +112,2 @@ const styleDefault = `${styleFont}`; | ||
log.assert = console.assert.bind(console); | ||
// function (cond: any, ...messages: any[]) { | ||
// if (!cond) { | ||
// if (typeof console !== undefined) { | ||
// if (console.assert) { | ||
// // https://developer.mozilla.org/de/docs/Web/API/Console/assert | ||
// console.assert(cond, ...messages) | ||
// } else { | ||
// console.error(`Assert did fail with: ${cond}`, ...messages) | ||
// } | ||
// } | ||
// log.warn(`Assert did fail with: ${cond}`, ...messages) | ||
// } | ||
// } | ||
log.assertEqual = function (value, expected, ...args) { | ||
@@ -127,0 +114,0 @@ let equal = deep_js_1.deepEqual(value, expected); |
@@ -6,3 +6,3 @@ // (C)opyright 2021-07-15 Dirk Holtwick, holtwick.it. All rights reserved. | ||
import { useNamespaceFilter } from "../common/log-filter.js"; | ||
import { deepEqual } from "src/common/deep.js"; | ||
import { deepEqual } from "../common/deep.js"; | ||
const styleFont = `font-family: "JetBrains Mono", Menlo; font-size: 11px;`; | ||
@@ -106,15 +106,2 @@ const styleDefault = `${styleFont}`; | ||
log.assert = console.assert.bind(console); | ||
// function (cond: any, ...messages: any[]) { | ||
// if (!cond) { | ||
// if (typeof console !== undefined) { | ||
// if (console.assert) { | ||
// // https://developer.mozilla.org/de/docs/Web/API/Console/assert | ||
// console.assert(cond, ...messages) | ||
// } else { | ||
// console.error(`Assert did fail with: ${cond}`, ...messages) | ||
// } | ||
// } | ||
// log.warn(`Assert did fail with: ${cond}`, ...messages) | ||
// } | ||
// } | ||
log.assertEqual = function (value, expected, ...args) { | ||
@@ -121,0 +108,0 @@ let equal = deepEqual(value, expected); |
{ | ||
"name": "zeed", | ||
"version": "0.5.4", | ||
"version": "0.5.5", | ||
"description": "🌱 Simple foundation library", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
473150
7460