Socket
Socket
Sign inDemoInstall

@bunt/util

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bunt/util - npm Package Compare versions

Comparing version 0.24.0 to 0.24.5

6

dist/assert.js

@@ -8,3 +8,5 @@ "use strict";

const description = (0, is_1.isFunction)(message) ? message() : message;
return (0, is_1.isInstanceOf)(description, Error) ? description : new Exception_1.AssertionError(description, details);
return (0, is_1.isInstanceOf)(description, Error)
? description
: new Exception_1.AssertionError(description, details);
}

@@ -18,3 +20,3 @@ function assert(expr, message, details) {

function fails(expr, message, details) {
if (!!expr) {
if (expr) {
throw createAssertionError(message, details);

@@ -21,0 +23,0 @@ }

@@ -15,3 +15,5 @@ "use strict";

async function watch(expected, fn, tries = Infinity) {
while (tries-- > 0 && expected !== await fn()) { }
while (tries-- > 0 && expected !== await fn()) {
// nothing
}
}

@@ -18,0 +20,0 @@ exports.watch = watch;

@@ -24,3 +24,3 @@ import { ILogger, ILoggerTransport, Logable, LogableType, LogFn, LoggerOwner, LogWrapFn, SeverityLevel } from "./interfaces";

message: string;
args: unknown[];
args: any[];
};

@@ -27,0 +27,0 @@ protected static write(logger: Logger, severity: SeverityLevel, message: string, ...args: LogableType[]): void;

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

// @TODO
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
// eslint-disable-next-line
const entriesReverse = (entries = []) => {

@@ -20,0 +20,0 @@ return Object.assign({}, ...entries.map(([key, value]) => ({

{
"name": "@bunt/util",
"version": "0.24.0",
"version": "0.24.5",
"keywords": [

@@ -29,3 +29,3 @@ "typescript"

"license": "MIT",
"gitHead": "870927e58da8dcc164c48be4bb13ddb171c5b1fd"
"gitHead": "4f8c97568f469697b943cad1e5be299b0e08386a"
}

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

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

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

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