1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-27 16:10:57 -05:00
denoland-deno/tests
Marvin Hagemeister 50538ba35d
fix(node/fs): missing uv error context for readFile (#27011)
Dart's Node wrapper code in `npm:sass` does string slicing on the thrown
error message which broke because of our missing uv error context.

Code in question:

```js
_systemErrorToFileSystemException0(callback) {
  var error, t1, exception, t2;
  try {
    t1 = callback.call$0();
    return t1;
  } catch (exception) {
    error = A.unwrapException(exception);
    if (!type$.JsSystemError._is(error))
      throw exception;
    t1 = error;
    t2 = J.getInterceptor$x(t1);
    throw A.wrapException(new A.FileSystemException0(J.substring$2$s(t2.get$message(t1), (A.S(t2.get$code(t1)) + ": ").length, J.get$length$asx(t2.get$message(t1)) - (", " + A.S(t2.get$syscall(t1)) + " '" + A.S(t2.get$path(t1)) + "'").length), J.get$path$x(error)));
  }
}
```

Fixes https://github.com/denoland/deno/issues/26994
2024-11-22 22:42:27 +01:00
..
config chore: use @std prefix for internal module specifiers (#24543) 2024-07-25 10:26:54 +10:00
ffi fix(ext/ffi): return u64/i64 as bigints from nonblocking ffi calls (#26486) 2024-10-24 09:41:38 +05:30
integration fix(cli): Fix typo in doc subcommand help output (#26321) 2024-11-21 07:54:20 -08:00
napi chore: upgrade to rust 1.82 and LLVM 19 (#26615) 2024-11-01 16:13:02 +05:30
node_compat chore: temporarily disable dns tests for Node compat (#26915) 2024-11-18 19:27:44 +00:00
registry fix(install/global): do not error if path is an npm pkg and relative file (#26975) 2024-11-21 17:00:10 +00:00
specs fix(compile): correct buffered reading of assets and files (#27008) 2024-11-22 19:26:38 +00:00
testdata docs: fix casing of Wasm (#26954) 2024-11-21 01:02:58 +00:00
unit fix(ext/websocket): don't throw exception when sending to closed socket (#26932) 2024-11-22 00:04:47 +01:00
unit_node fix(node/fs): missing uv error context for readFile (#27011) 2024-11-22 22:42:27 +01:00
util feat: subcommand to view and update outdated dependencies (#26942) 2024-11-20 15:22:15 -08:00
wpt fix(ext/websocket): don't throw exception when sending to closed socket (#26932) 2024-11-22 00:04:47 +01:00
Cargo.toml refactor(ext/net): Use hickory dns instead of unmaintained trust-dns (#26741) 2024-11-06 15:49:32 -08:00
lib.rs chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
README.md chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00

Deno Integration Tests