Chris Veness

Results 15 issues of Chris Veness

If the BitView constructor is invoked with (non-zero) byteOffset and no byteLength, it fails with `Uncaught RangeError: Invalid typed array length` error. To replicate: ````shell $ node > BitView =...

- update middleware signature to (ctx, next) - update examples / comments / docs - update dependencies

- tests: fix ".end() was called twice" in contextstore.test.js - use eslint:recommended rather than Egg config - eslint-disable no-prototype-builtins for hasOwnProperty(CONTEXT_SESSION) (?) - eslint-disable require-yield in cookie.test.js (?) - replace...

I have suddenly started getting the following error: $ npm test > [email protected] test /home/travis/build/chrisveness/geodesy > mocha --exit -r esm test/*.js /home/travis/build/chrisveness/geodesy/node_modules/mocha/lib/mocha.js:1 Error [ERR_REQUIRE_ESM]: Must use import to load ES...

If I put a 'required' attribute on the textarea, I get an error > An invalid form control with name='MyID' is not focusable." when I submit the form.

enhancement
idea

I'm trying to use koa-proxies to proxy requests through to Amazon AWS, but the proxied file is returning with status 500. Investigating, I can see that the call to proxy.web()...

Colin Percival has a 'sanity check' that 0 < logN < 256: see https://github.com/Tarsnap/scrypt/blob/484dc1fb/lib/scryptenc/scryptenc.c#L206. Since the 'N' parameter in node-scrypt is the canonical scrypt logN, it is useful to trap...

It's taken me far longer for the penny to drop than it probably should have, but If I understand well, `scrypt.hash` is misinterpreting the `N` parameter. In the params for...

I believe common ways of storing booleans in MySQL are with `TINYINT(1)` or `BIT(1)`. When I run queries on `TINYINT(1)`, I get `1` or `0` as expected, but on `BIT(1)`...

From the log: ```` 2023-06-08 17:24 - vidcutter.libs.videoservice - INFO - /app/bin/ffprobe -hide_banner -v error -show_packets -select_streams v -show_entries packet=pts_time,flags -of csv "/home/xxxxx/Videos/video.mp4" 2023-06-08 17:24 - root - CRITICAL -...