Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-opcua-assert

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-assert - npm Package Compare versions

Comparing version 2.98.1 to 2.104.0

11

dist/index.js
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -7,3 +10,3 @@ exports.renderError = exports.assert = void 0;

*/
const chalk = require("chalk");
const chalk_1 = __importDefault(require("chalk"));
const displayAssert = typeof process === "object" ? (process.env.DISPLAY_ASSERT ? true : false) : false;

@@ -16,5 +19,5 @@ function assert(cond, message) {

// tslint:disable:no-console
console.log(chalk.whiteBright.bgRed("-----------------------------------------------------------"));
console.log(chalk.whiteBright.bgRed(message));
console.log(chalk.whiteBright.bgRed("-----------------------------------------------------------"));
console.log(chalk_1.default.whiteBright.bgRed("-----------------------------------------------------------"));
console.log(chalk_1.default.whiteBright.bgRed(message));
console.log(chalk_1.default.whiteBright.bgRed("-----------------------------------------------------------"));
}

@@ -21,0 +24,0 @@ throw err;

{
"name": "node-opcua-assert",
"version": "2.98.1",
"version": "2.104.0",
"description": "pure nodejs OPCUA SDK - module assert",

@@ -31,3 +31,3 @@ "main": "./dist/index.js",

"homepage": "http://node-opcua.github.io/",
"gitHead": "e4d73afdfcccb3491423149d9b9785888f4ebb3c",
"gitHead": "3cd6d355e8b3c66822d08a3ca682659ea5d1a55d",
"files": [

@@ -34,0 +34,0 @@ "dist",

/***
* @module node-opcua-assert
*/
import * as chalk from "chalk";
import chalk from "chalk";

@@ -6,0 +6,0 @@ const displayAssert = typeof process === "object" ? (process.env.DISPLAY_ASSERT ? true : false) : false;

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