You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Set here so that commander does the right thingprocess.stdout.columns=120;
I have no idea what it's supposed to do, and it doesn't seem to be documented as writable. However, in Node and Bun, the line doesn't crash, whereas in Deno it throws:
error: Uncaught TypeError: Cannot set property columns of #<Writable> which has only a getter
at Object.<anonymous> (file:///home/csha/.cache/deno/npm/registry.npmjs.org/json-refs/3.0.15/bin/json-refs:29:24)
at Object.<anonymous> (file:///home/csha/.cache/deno/npm/registry.npmjs.org/json-refs/3.0.15/bin/json-refs:173:4)
at Module._compile (node:module:748:34)
at Object.Module._extensions..js (node:module:767:10)
at Module.load (node:module:665:32)
at Function.Module._load (node:module:537:12)
at Object.loadCjsModule (ext:deno_node/02_init.js:64:22)
at loadCjsModule ([ext:ext/node/lib.rs:782:29]:2:32)
at [ext:ext/node/lib.rs:782:29]:3:7
This causes deno run npm:json-ref to crash, while npx json-ref and bunx json-ref work as expected.
Version: Deno 2.0.0
The text was updated successfully, but these errors were encountered:
The NPM package
json-refs
includes the following code:I have no idea what it's supposed to do, and it doesn't seem to be documented as writable. However, in Node and Bun, the line doesn't crash, whereas in Deno it throws:
This causes
deno run npm:json-ref
to crash, whilenpx json-ref
andbunx json-ref
work as expected.Version: Deno 2.0.0
The text was updated successfully, but these errors were encountered: