Etienne

Results 90 comments of Etienne

with this ```better-assert-bug-es6.js```` file: ```javascript import assert from "better-assert"; assert(false); ``` ```$babel-node better-assert-bug-es6.js``` produces: ``` [...]\node_modules\better-assert\index.js:30 var src = line.match(/assert\((.*)\)/)[1]; ^ TypeError: Cannot read property 'match' of undefined at assert...

here is my patch ```javascript function assert(expr) { if (expr) return; var a = new Error(); var errorline = a.stack.split("\n")[2]; var m = errorline.match(/.*(\w)*\((.*):([0-9]*):([0-9]*)\)/); var func = m[1]; var file...

You can get a translated copy of an existing shape using the translate method. ``` javascript var aPnt1 = [0, 0.0, 0]; var aPnt2 = [10, 1.0, 0]; var aPnt3...

You should not kill the client but rather properly close the session and disconnect the client using the provided API. Abruptly killing the client will cause the server to keep...

* you have to make sure that the client certificate is added to the trusted certificate list of the server.

you can use the node-opcua-pki package, it comes with a command line tool to facilitate PKI and certificate creation.

It works on linux,windows and mac , The easiest way is to start it using npx, like this: ``` npx node-opcua-pki --help npx node-opcua-pki certificate --help ```

feel free to provide a PR with the suggested change