Casper Beyer
65c6a0306e
test(std/wasi): add a case for open directory/../.. ( #8708 )
2020-12-10 13:31:15 +01:00
tomholford
7cc7f1719b
docs: fix naming in std/io
usage example ( #8700 )
...
Co-authored-by: tomholford <tomholford@users.noreply.github.com>
2020-12-10 14:22:09 +11:00
Bartek Iwańczuk
df87bf1d6a
v1.6.0
2020-12-08 15:37:45 +01:00
Nayeem Rahman
b77d6cb29e
chore(std): Remove tsconfig_test.json ( #8629 )
...
Ref #8050
2020-12-07 21:49:58 +11:00
Yosi Pramajaya
0b37a79060
BREAKING(std/bytes): Adjust APIs based on std-wg discussion ( #8612 )
2020-12-06 09:51:13 -05:00
Iván Canales
c10280214e
fix(std/bufio): Remove '\r' at the end of Windows lines ( #8447 )
...
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2020-12-05 17:41:16 +01:00
Liam Murphy
362be01abe
feat(std/node): Add "setImmediate" and "clearImmediate" to global scope ( #8566 )
...
Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl>
2020-12-05 16:16:07 +01:00
Yuki Tanaka
d72310f139
fix(std/encoding): Rewrite toml parser not to use eval() ( #8624 )
2020-12-05 15:49:05 +01:00
Casper Beyer
4f0dc2c51d
refactor(std/wasi): prefer explicit encoder/decoder names ( #8622 )
...
This renames a couple of identifiers from the ambigious name "text" to
the more explicit textEncoder and textDecoder depending on what they are.
2020-12-05 15:47:01 +01:00
Benjamin Gruenbaum
71ef5a9cd3
feat(op_crates/web) EventTarget signal support ( #8616 )
...
Fixes: https://github.com/denoland/deno/issues/8606
2020-12-04 12:47:08 -05:00
Casper Beyer
ae21a9569b
refactor(std/wasi): prefer nullish coalescing ( #8607 )
2020-12-04 13:53:16 +01:00
Casper Beyer
0ea1c6f5b0
feat(std/wasi): add return on exit option ( #8605 )
...
This adds an exitOnReturn option to context making it
possible to unwind the stack on the exit(2) syscall
instead of delegating to it directly.
Use case is being able to treat WASI execution contexts
as children that don't kill the parent on exit.
2020-12-03 19:57:35 +01:00
Casper Beyer
de036e1f08
feat(std/wasi): add support for initializing reactors ( #8603 )
...
This adds another entry point to Context called initialize for
spinning up style modules.
Reactors are modules that don't have a main function and
basically run forever in the background.
2020-12-03 19:36:13 +01:00
Behnam Mohammadi
6e03917b51
style(std/archive): add default value on argument ( #8582 )
2020-12-02 09:19:30 +11:00
Yasser A.Idrissi
447f3fe410
feat(std/http): Add Cookie value validation ( #8471 )
2020-12-01 14:23:03 +01:00
Liam Murphy
7a4d0fc22b
feat(std/fs): Re-enable followSymlinks
on walk()
( #8479 )
2020-11-30 09:34:36 -05:00
Guy Bedford
ff3c5897ea
fix(std/node): Inline default objects to ensure correct prototype ( #8513 )
2020-11-27 13:40:11 -05:00
sarahdenofiletrav
28869a632d
fix(std/http): prevent path traversal ( #8474 )
...
Fix path traversal problem when the request URI
does not have a leading slash.
The file server now returns HTTP 400 when requests
lack the leading slash, and are not absolute URIs.
(https://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html ).
2020-11-26 22:31:19 +01:00
crowlKats
2031418a24
feat(std/ws): protocol & version support ( #8505 )
...
Co-authored-by: Tom Wieland <tom.wieland@gmail.com>
2020-11-26 16:38:15 +01:00
Jesse Jackson
01e87119ea
fix(std/encoding/csv): Correct readme formatting due to dprint issues ( #8503 )
2020-11-26 15:52:45 +01:00
Steven Guerrero
9042fcc12e
feat(std/node/stream): Add Duplex, Transform, Passthrough, pipeline, finished and promises ( #7940 )
2020-11-26 13:50:08 +01:00
Jesse Jackson
ed11eb6687
feat(std/encoding/csv): Add stringify functionality ( #8408 )
2020-11-25 09:50:00 -05:00
ThenMorning
bfd1da4871
docs(std): add some missing JSDoc ws/mod.ts ( #8428 )
2020-11-25 13:53:24 +01:00
Steven Guerrero
355d5d3bba
feat(std/node): Port most of node errors ( #7934 )
2020-11-24 22:11:16 +01:00
Kitson Kelly
276f529755
feat(cli): update to TypeScript 4.1 ( #7573 )
2020-11-24 09:31:10 +11:00
Bartek Iwańczuk
bc79d55649
v1.5.4
2020-11-23 15:10:58 +01:00
Yasser A.Idrissi
2c00f6c548
feat(std/http): Validate cookie path value ( #8457 )
2020-11-22 15:34:31 +01:00
Steven Guerrero
a4f27c4d57
feat(std/node): Add Readable Stream / Writable Stream / errors support ( #7569 )
2020-11-21 16:13:18 -05:00
Mo
ce890f2ae7
docs(std/path): add missing JSDoc ( #8282 )
2020-11-21 19:23:24 +01:00
Yasser A.Idrissi
692322cc28
refactor(std/http): Rename validateCookieName param name & JSDoc ( #8451 )
2020-11-21 16:53:23 +01:00
Bartek Iwańczuk
e35e8981f0
test(std): make test output less noisy ( #8445 )
...
This commit makes output of std/ tests less noisy
by passing "--quiet" flag to Deno subprocesses run
as part of test suite.
2020-11-20 18:01:58 +01:00
William Perron
8a6a2a50f7
docs(std): add missing jsdoc comments to exported functions ( #8442 )
...
includes:
- http/file_server.ts
- testing/_diff.ts
- testing/asserts.ts
Relates to #7487
2020-11-19 21:59:45 -05:00
Bartek Iwańczuk
b55cc51351
build: fix linting problems ( #8431 )
2020-11-19 15:19:37 +01:00
Gyubong
d5772a937b
feat(std/node): add os.totalmem, os.freemem ( #8317 )
2020-11-19 07:56:32 -05:00
crowlKats
723fbb8f68
feat(std/io): ReadableStream from AsyncIterator & WritableStream from Writer ( #8378 )
2020-11-19 07:39:45 -05:00
Steven Guerrero
315d889afa
fix(std/node): correct typings for global, globalThis, window ( #8363 )
2020-11-19 07:23:42 -05:00
silence
e3c3fc58cb
feat(std/hash): add the sha1Hmac ( #8418 )
2020-11-19 07:09:30 -05:00
Mark Tiedemann
6bb5fedc69
feat(std/log): Log error stack ( #8401 )
2020-11-19 06:58:53 -05:00
inokawa
a1852d38cf
Add JSDocs to std/fs/walk.ts ( #8426 )
2020-11-19 06:53:43 -05:00
lideming
60d9ab08db
fix(std/http): fix error handling in the request iterator ( #8365 )
...
If the request body is using chunked encoding, errors may
be thrown in "request.finalize()".
In this case, we should untrack and close the connection.
2020-11-18 17:47:47 +01:00
Steven Guerrero
b6fa6d6aac
fix(std/node) Fix event extendability ( #8409 )
2020-11-17 19:49:57 -05:00
Yasser A.Idrissi
f7afe2b78f
feat(std/http): Check if cookie property is valid ( #7189 )
...
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2020-11-17 21:06:06 +01:00
Behnam Mohammadi
4e99d8fb6f
refactor(std): remove unnecessary back direction for import ( #8403 )
2020-11-17 10:24:21 +11:00
Steven Guerrero
06cf6df954
feat(std/node): Add util.deprecate ( #8407 )
2020-11-16 18:20:46 -05:00
Steven Guerrero
8ab20a4582
feat(std/node): implement process.nextTick ( #8386 )
2020-11-16 14:44:37 -05:00
Bartek Iwańczuk
ab7b8ba8d1
v1.5.3
2020-11-16 11:14:00 +01:00
Elisée Maurer
1079e59cf4
docs(std/async): fix a couple typos in std/async/README.md ( #8388 )
2020-11-15 13:57:36 +01:00
Yusuke Tanaka
9029003046
build: update dlint to v0.2.10 ( #8284 )
...
Update prebuilt "dlint" binary to v0.2.10 and fix diagnostics
for "require-await" rule.
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-11-14 20:27:37 +01:00
Behnam Mohammadi
a59f5eadd8
refactor(std): add std/_util/os.ts module ( #8370 )
...
This commit adds "std/_util/os.ts" module which contains
common os detection logic and is browser compatible.
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2020-11-14 00:21:11 +01:00
Behnam Mohammadi
a52d883921
refactor(std/fs): moved isCopyFolder to options ( #8319 )
2020-11-13 09:13:13 +11:00