falsandtru

Results 22 issues of falsandtru

Can this be possible to use for network and database connections using crates? I'm glad if you add an example of that. Thanks.

Could you support ES2021? ```console $ node_modules/.bin/browserify src/random.js SyntaxError: Unexpected token (3:4) while parsing ...\src\random.js while parsing file: ...\src\random.js at DestroyableTransform.end [as _flush] (...\node_modules\insert-module-globals\index.js:114:21) at DestroyableTransform.prefinish (...\node_modules\readable-stream\lib\_stream_transform.js:138:10) at DestroyableTransform.emit (node:events:394:28)...

Looks like now assertion APIs of Node.js such as `assert.strictEqual` and `assert.deepStrictEqual` can compare NaN but power-assert is not. ```js // Node.js: undefined // power-assert (on browsers): Exception assert.strictEqual(NaN, NaN);...

IDE hangs because of too long output if debug info has large info such as a string of length over 1,000,000.

Can you support? ``` echo 'try{}catch{}' | espower SyntaxError: 1: try{}catch{} ^ ```

Added since Node 10. https://nodejs.org/api/assert.html

power-assert-v2

I want to get details at least the passed expression like `() => shouldThrow()` because I don't know which assertion has failed from assertion messages. ``` AssertionError: Missing expected exception.....

power-assert-v2

In the following case, `o` spread parameter should be expanded in the assertion message. ```js it('Object Rest/Spread', () => { expectPowerAssertMessage (() => { var o = { a: 1,...

So cute :ice_cream: :star2: :heartbeat: ``` js assert("β˜Ίβ›Ίβœ…γŠ—πŸ†˜πŸŒ€πŸŒŸπŸŒΎπŸ¨πŸ¬πŸ°πŸŽƒπŸŽ„πŸŽπŸŽ¨πŸƒπŸ’žπŸ’€πŸ˜­πŸ˜’" === "β˜Ίβ›Ίβœ…γŠ—πŸ†˜πŸŒ€πŸŒŸπŸŒΎπŸ¨πŸ¬πŸ°πŸŽ„πŸŽπŸŽ¨πŸƒπŸ’žπŸ’€πŸ˜­πŸ˜’"); ``` ``` URIError: URI malformed at encodeURI (native) ```

ref: https://github.com/nodejs/node/search?l=JavaScript&q=primordials+Object