node-opcua-assert
Advanced tools
Comparing version 2.51.0 to 2.52.0
declare type func = (...args: any[]) => any; | ||
export declare function assert(cond: boolean | object | null | undefined | func, message?: string): void; | ||
export declare function assert(cond: boolean | unknown | null | undefined | func, message?: string): void; | ||
export default assert; |
{ | ||
"name": "node-opcua-assert", | ||
"version": "2.51.0", | ||
"version": "2.52.0", | ||
"description": "pure nodejs OPCUA SDK - module -assert", | ||
@@ -11,3 +11,3 @@ "main": "./dist/index.js", | ||
"clean": "node -e \"require('rimraf').sync('dist');\"", | ||
"lint": "tslint source/**/*.ts" | ||
"lint": "eslint source/**/*.ts" | ||
}, | ||
@@ -34,3 +34,3 @@ "dependencies": { | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "75feb111daf7ec65fa0111e4fa5beb8987fd4945" | ||
"gitHead": "3ec6296e8fd4df0e05b9d887f0b7dd20113a9ce1" | ||
} |
@@ -12,3 +12,3 @@ /*** | ||
export function assert(cond: boolean | object | null | undefined | func, message?: string): void { | ||
export function assert(cond: boolean | unknown | null | undefined | func, message?: string): void { | ||
if (!cond) { | ||
@@ -15,0 +15,0 @@ const err = new Error(message); |
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
4860