Commit Graph

2399 Commits

Author SHA1 Message Date
Yoshiya Hinosawa
198fbe5707
fix(node/tls): fix TLSSocket constructor (#2749) 2022-10-06 10:11:16 -04:00
Yoshiya Hinosawa
d2cf6c88f0
fix(node/tls): set tlssocket._handle._parentWrap (#2750) 2022-10-06 15:00:56 +09:00
Asher Gomez
b458898c52
BREAKING: deprecate std/textproto (#2737) 2022-10-05 20:14:39 +09:00
Hirotaka Tagawa / wafuwafu13
ff5c431c3f
refactor(node/fs): use done field of IteratorResult (#2751) 2022-10-05 20:03:20 +09:00
PolarETech
19f9df7316
fix(node/url): enable url.format function to handle a url object (#2747) 2022-10-05 16:09:39 +09:00
FUJI Goro
c5323d365a
perf(streams): memory optimizations by avoiding large buffer allocation in a loop (#2748) 2022-10-05 14:10:54 +09:00
Khaled Sakr
385511bc43
fix(http): remove unnecessary delay when closing server (#2732) 2022-10-04 11:22:56 -04:00
Satoshi
7f7583139e
feat(collections): improve types of partition module (#2744)
add type guard overload
2022-10-04 11:18:53 -04:00
Hirotaka Tagawa / wafuwafu13
7a7385dfe0
test(node/fs): Enable test-open*.js (#2741) 2022-10-04 09:01:36 -04:00
Yoshiya Hinosawa
a0a79f1e3f
refactor(http/file_server): simplify normalizeURL util (#2739) 2022-10-04 15:35:46 +09:00
Colin Ihrig
33f042ae83
fix(node): handle inherited output in spawnSync() (#2743)
Deno.spawnSync() returns getters for stdout and stderr which
throw when 'inherit' is used. This commit updates Node's
spawnSync() to handle this case.

Fixes: https://github.com/denoland/deno_std/issues/2742
2022-10-03 16:04:23 -04:00
Deniz Akşimşek
8d76f563d2
feat(node/crypto): add base64url encoding to hash.digest() (#2740) 2022-10-03 11:21:33 -04:00
Yoshiya Hinosawa
16ca2a1930
fix(streams): don't use shared buffer for iterateReader outputs (#2735) 2022-10-03 20:09:52 +09:00
Yoshiya Hinosawa
b161285109
feat(http/file_server): add showIndex option to serveDir (#2738) 2022-10-03 20:09:09 +09:00
loynoir
3a582ee373
fix(node): debuglog callback should be optional (#2734) 2022-10-03 20:04:13 +09:00
Asher Gomez
12912ddc36
docs(fs): document the deprecation of exists and existsSync (#2730) 2022-10-03 17:52:55 +09:00
Colin Ihrig
5530cf1569
test(node): enable more webcrypto testing (#2722)
Deno supports Ed25519 now, so update the WebCrypto test to
include it.
2022-10-02 12:45:56 -04:00
Asher Gomez
5d37fffe9f
chore: upgrade rust to 1.64.0 for crypto/wasm (#2729) 2022-10-01 15:06:29 -04:00
PolarETech
1c2a47fe0f
test(node): make .mjs test files executable (#2727) 2022-09-30 13:54:53 -04:00
Hirotaka Tagawa / wafuwafu13
1b6d94f9ac
feat(node/fs): Support more File system flags (#2725) 2022-09-30 09:47:38 -04:00
Asher Gomez
bddda3c473
chore: remove deprecated APIs across collections, streams, textproto and uuid (#2720) 2022-09-30 16:27:11 +09:00
Asher Gomez
40d071763f
chore(encoding): remove deprecated APIs (#2718) 2022-09-30 14:40:09 +09:00
Asher Gomez
3d2dc6d913
chore: upgrade to deno_graph@0.34.0 for circular dependency check (#2724) 2022-09-30 14:38:12 +09:00
Asher Gomez
eeb696cc29
chore: upgrade wasmbuild to 0.10.0 and rust to 1.64.0 (#2721) 2022-09-30 14:22:27 +09:00
Asher Gomez
3d4b7e3b66
chore: upgrade to codecov/codecov-action@v3 (#2723) 2022-09-30 14:19:23 +09:00
Yoshiya Hinosawa
1bbcae8cdd
feat(node): new child_process.fork (#2700) 2022-09-30 01:31:37 +09:00
Asher Gomez
e0bd4346fa
chore(io): remove deprecated APIs (#2713) 2022-09-29 11:29:34 -04:00
Asher Gomez
40d0466e46
chore(testing/bench): remove deprecated APIs (#2714) 2022-09-29 11:27:10 -04:00
Asher Gomez
4984358b15
chore(http): remove deprecated APIs (#2712) 2022-09-29 11:25:18 -04:00
Asher Gomez
b9f9caa7be
chore(collections): remove deprecated APIs (#2711) 2022-09-29 11:24:28 -04:00
Jeong, Heon
e3d8ceb6ee
fix(http/file_server): handles path with reserved char (#2675)
Current implementation don't escape some reserved characters, which
causing the browser to consider certain part is not the file path.
2022-09-29 11:02:43 -04:00
Bernd Amend
b9eb9f0a40
fix(node/process): Deno 1.26 replaced Deno.setRaw with Deno.stdin.setRaw (#2710)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-09-29 10:55:33 -04:00
Hirotaka Tagawa / wafuwafu13
e7f634f698
fix(node/fs): Enable test-fs-open.js (#2715) 2022-09-29 10:52:12 -04:00
David Sherret
dce6b97e5d
fix(node/process): do not error assigning false to process.env[VAR_NAME] (#2716) 2022-09-29 10:46:54 -04:00
PolarETech
c41562698c
refactor(node/fs): move node/_fs/_fs_streams.ts into node/internal/fs/streams.ts (#2705) 2022-09-29 17:20:14 +09:00
denobot
ea36330ddf
0.158.0 (#2708)
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
2022-09-28 23:19:40 +02:00
PolarETech
3f1f6929d2
test(node): add caches to knownGlobals (#2707) 2022-09-28 22:54:30 +02:00
Asher Gomez
b555d43e6b
fix(http): serve swallows errors when Response.body has already been consumed (#2702) 2022-09-28 11:15:52 -04:00
Asher Gomez
080d5aaf5c
chore(node): revert using Buffer.from in setup.ts (#2704) 2022-09-28 19:55:07 +09:00
Colin Ihrig
9db29fa927
fix(node): support mapping Node flags to Deno (#2688)
This commit adds initial support for mapping Node CLI flags to
Deno CLI flags. This is done to better support the case where
Node compat mode is used to spawn another Node subprocess (that
is actually Deno in compat mode - not at all confusing).

Refs: https://github.com/denoland/deno_std/issues/2674
2022-09-27 11:22:20 -04:00
Colin Ihrig
6767ad853f
feat(node): add child_process.execFileSync() (#2699) 2022-09-27 08:50:24 -04:00
PolarETech
be2493378d
fix(node/fs): improve compatibility of fs.WriteStream (#2696)
Refs: https://nodejs.org/dist/latest-v18.x/docs/api/fs.html#fswritevfd-buffers-position-callback
2022-09-26 10:58:24 -04:00
Clemens Tolboom
6f16229865
test(fs/walk): add test for fifo file (#1793)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2022-09-26 15:58:53 +09:00
Asher Gomez
33fd575b0f
fix(node): test-child-process-spawnsync-validation-errors.js (#2690) 2022-09-25 13:23:23 -04:00
Hirotaka Tagawa / wafuwafu13
6913e73e75
fix(node/fs): Enable test-fs-read-zero-length.js and test-fs-read-type.js (#2692) 2022-09-25 13:20:42 -04:00
Chris Chua
b7b7d76db1
fix: testing example pages failing to load (#2693)
These pages were erroring out on loading due to the use of "ignored" language.
2022-09-25 09:26:31 +02:00
Colin Ihrig
2fb18b3665
feat(node): add child_process.execSync() (#2689)
Refs: https://github.com/denoland/deno_std/issues/2631
2022-09-24 09:12:01 -04:00
PolarETech
5fb2569c0d
test(node/fs): add test-fs-read-stream.js (#2694) 2022-09-24 20:46:21 +09:00
PolarETech
14dbffe3a5
feat(node): add child_process.exec() (#2684) 2022-09-23 14:52:37 -04:00
Asher Gomez
9e74fb81f4
chore: fix lint:deprecations typo within lint task (#2691) 2022-09-23 19:15:11 +09:00