Commit graph

3998 commits

Author SHA1 Message Date
Casper Beyer 06f34a1aed
feat(std/wasi) implement fd_filestat_get (#6555) 2020-06-29 09:34:18 -04:00
Andrey Filatkin a690a20679
fix(cli/upgrade): upgrade fails on Windows with space in temp path (#6522) 2020-06-29 09:13:07 -04:00
Valentin Anger db36857288
refactor: util functions take slices instead of heap values (#6547) 2020-06-29 14:17:37 +02:00
Marcos Casagrande 0374eadcf7
feat(std/node): Add Buffer.isEncoding (#6521) 2020-06-28 12:27:02 -04:00
Casper Beyer 96b4a5f837
docs(std): update paragraph about the tagging process (#6519) 2020-06-28 12:25:20 -04:00
Valentin Anger 660f86f1a2
fix(cli/doc): doc printer missing [] around tuple type (#6523) 2020-06-28 10:35:12 -04:00
Marcos Casagrande 89ebe2079b
fix(cli/body): Maximum call stack size exceeded error (#6537) 2020-06-28 10:31:56 -04:00
Haoran Liu 1c12098e4a
docs: update macOS dependencies of building V8 from source (#6538) 2020-06-28 10:19:58 -04:00
Marcos Casagrande d779053dc6
feat(std/node): Add Buffer.allocUnsafe (#6533) 2020-06-28 10:16:54 -04:00
Marcos Casagrande 2da0840583
fix(std/io): export streams.ts & added docs (#6535) 2020-06-27 20:20:48 -04:00
Marcos Casagrande a829fa8f57
feat(std/io): add fromStreamReader, fromStreamWriter (#5789) 2020-06-27 16:55:01 -04:00
Marcos Casagrande a216bd06fc
feat(std/node): support hex/base64 encoding in fs.readFile/fs.writeFile (#6512) 2020-06-27 16:52:49 -04:00
Casper Beyer aeadf8189a
fix(cli): change seek offset type from i32 to i64 (#6518) 2020-06-27 15:58:35 -04:00
Marcos Casagrande f0093a9d8b
test(std/node): Add Buffer tests (#6524) 2020-06-27 15:57:32 -04:00
Marcos Casagrande 4302941b06
fix(std/node): add fill & encoding args to Buffer.alloc (#6526) 2020-06-27 15:56:39 -04:00
David Sherret 0b28c80e9a
Update to dprint-plugin-typescript 0.19.3 (#6527) 2020-06-27 15:55:46 -04:00
Casper Beyer 5f3d730df0
fix(std/wasi): use lookupflags for path_filestat_get (#6530) 2020-06-27 15:55:05 -04:00
Casper Beyer 40dcfc8996
fix(std/wasi): path_filestat_get padding (#6509) 2020-06-27 13:53:43 +02:00
Marcos Casagrande 6c093c0b5a
fix(cli): Buffer.bytes() ArrayBuffer size (#6511) 2020-06-27 13:52:27 +02:00
Vincent Victoria 6be3487f73
docs: Update import_maps.md to include more examples (#5648) 2020-06-27 13:52:07 +02:00
Jim van der Voort 6f3ad0f73a
fix(std/http): Catch errors on file_server response.send (#6285) 2020-06-27 13:49:07 +02:00
Nayeem Rahman d77a55a973
fix(cli/js/process): Fix conditional types for process sockets (#6275) 2020-06-27 13:44:02 +02:00
Ali Hasani affba80454
feat(std/datetime): add is leap and difference functions (#4857) 2020-06-27 13:10:45 +02:00
Bartek Iwańczuk 5bc130be27
v1.1.2 2020-06-26 17:45:12 -04:00
Maayan Hanin 598a7dcc84
fix(cli/permissions): panic on hostless URLs (#6500) 2020-06-26 17:37:03 -04:00
Ryan Dahl 42464e922d
'Compile' messages changed to 'Check' messages (#6504) 2020-06-26 16:59:08 -04:00
Ryan Dahl 3eec13fa0d
Create new DENO_DIR for each test (#6506) 2020-06-26 16:04:01 -04:00
Casper Beyer 99f4a710f1
test(std/wasi): add read, write and metadata tests (#6494) 2020-06-26 15:36:46 -04:00
Bert Belder e10d74a3d3
Upgrade to rusty_v8 0.4.2 / V8 8.5.216 (#6503) 2020-06-26 20:17:15 +02:00
Bert Belder 0c735ebdc7
Fix clippy warning (#6503) 2020-06-26 20:16:49 +02:00
Casper Beyer d924ad36ac
perf(std/hash): optimize for speed (O3) (#6499) 2020-06-26 14:11:20 -04:00
Andrey Filatkin b049504bee
fix(cli/disk_cache): Support UNC paths in the typescript DiskCache (#6495) 2020-06-26 13:25:13 -04:00
Casper Beyer 9107b1ea3f
test(wasi/std): remove v8 flags from test runner (#6496) 2020-06-26 12:34:55 -04:00
Casper Beyer e278c90d8a
feat(unstable): add Deno.fdatasyncSync and fdatasync (#6403) 2020-06-26 08:36:35 -04:00
Nayeem Rahman ed0b1d4627
fix(cli/js/web/url): Support UNC paths on Windows (#6418) 2020-06-26 08:34:17 -04:00
Casper Beyer 175867ab76
fix(cli): strings shouldn't be interpreted as file URLs (#6412) 2020-06-26 08:29:34 -04:00
Kitson Kelly 70463bac7d
fix: Omit buildinfo when --reload passed (#6489) 2020-06-26 08:23:25 -04:00
Bartek Iwańczuk 4817c153e4
Re-land "fix(cli): ipv6 parsing for --allow-net params" (#6472)
With some minor adjustments
2020-06-26 08:09:02 -04:00
Yasser A.Idrissi d1b44e7521
refactor(std/testing): Remove unuseful statement (#6486) 2020-06-25 22:17:58 -04:00
Ali Hasani 150c04aea7
remove duplicate identifier (#6483) 2020-06-25 21:14:42 +02:00
Luca Casonato 4102a19585
fix: panic when process stdio rid is 0 or invalid (#6405) 2020-06-25 12:38:19 -04:00
champ 1fcb71b355
fix typo (#6476) 2020-06-25 12:35:34 -04:00
Kitson Kelly 6f09b8de41
Restore stats for incremental compile (#6474) 2020-06-25 15:50:16 +02:00
Bartek Iwańczuk 188839c875
Revert "chore: share HTTP server between tests (#6362)" (#6475)
This reverts commit 70147ee564.
2020-06-25 14:53:13 +02:00
Marcos Casagrande 3f710108f2
fix(std/io): Make BufWriter/BufWriterSync.flush write all chunks (#6269) 2020-06-25 14:17:33 +02:00
Casper Beyer a455a0babf
Fix readLinkSync and readLink tests on Windows (#6463) 2020-06-25 07:27:23 -04:00
Benjamin Lupton 16038b8f82
fix(std/node/process): env, argv exports (#6455)
The promise approach still required permissions to be specified
at initialisation, rather than at request.

Using a Proxy instance solves this permission issue.

The Proxy instance approach also eliminates the need for the
await. Achieving direct compatibility with Node.js.

/ref pr #6392
/ref commit d16337cc9c
2020-06-25 07:18:01 -04:00
Stanislav 7ea3071db5
docs: replace delCookie with deleteCookie (#6467) 2020-06-25 07:12:09 -04:00
Casper Beyer ab0f12fcb8
Remove stale comment referring to deleted code (#6462) 2020-06-25 07:08:42 -04:00
Chris Knight d9896d64ce
refactor: shift copyBytes and tweak deps to reduce dependencies (#6469) 2020-06-25 06:40:51 -04:00