Socket
Socket
Sign inDemoInstall

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.0.0-alpha.8 to 2.0.0-alpha.9

3

dist/index.d.ts

@@ -1,2 +0,3 @@

export declare function assert(cond: boolean | object | null | undefined | Function, message?: string): void;
declare type func = (...args: any[]) => any;
export declare function assert(cond: boolean | object | null | undefined | func, message?: string): void;
export default assert;
{
"name": "node-opcua-assert",
"version": "2.0.0-alpha.8",
"version": "2.0.0-alpha.9",
"description": "pure nodejs OPCUA SDK - module -assert",

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

"homepage": "http://node-opcua.github.io/",
"gitHead": "7bbf38d5a3cd29cb6aed6ca38078f4d89d3f956a"
"gitHead": "cd7120d1840593757f0f3c9e53be4e85883dc0e6"
}

@@ -8,3 +8,5 @@ /***

export function assert(cond: boolean | object | null | undefined | Function, message?: string): void {
type func = (...args: any[]) => any;
export function assert(cond: boolean | object | null | undefined | func , message?: string): void {
if (!cond) {

@@ -11,0 +13,0 @@ const err = new Error(message);

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