1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
Commit graph

3988 commits

Author SHA1 Message Date
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
Chris Knight
c98038a032
doc: add info on installing wasm32-wasi target (#6470) 2020-06-25 06:38:27 -04:00
Marcos Casagrande
6527189520
doc(std/wasi): fix example (#6464) 2020-06-24 22:21:39 -04:00
Casper Beyer
87f8f99c49
refactor(cli/tests/unit) to use assertThrows (#6459) 2020-06-25 00:57:08 +02:00
Bartek Iwańczuk
6bbe52fba3
Revert "fix(cli): ipv6 parsing for --allow-net params (#6453)" (#6458) 2020-06-25 00:41:13 +02:00
Casper Beyer
f39c890714
doc(std/wasi) add a list of supported syscalls (#6460) 2020-06-24 17:03:40 -04:00
Ryan Dahl
0620862605
Clean up some fetch_remote_source tets (#6446) 2020-06-24 14:12:04 -04:00
Bartek Iwańczuk
3cbd1075c7
Incremental compilation for TypeScript (#6428)
This commit adds incremental compilation capabilities to internal TS compiler.

Instead of using "ts.createProgram()" API for compilation step (during deno 
startup), "ts.createIncrementalProgram()" API is used instead.

Thanks to TS' ".tsbuildinfo" file that already stores all necessary metadata
for compilation I was able to remove our own invention that is ".graph" file. 
".tsbuildinfo" file is stored alongside compiled source and is used to 
cache-bust outdated dependencies, facilitated by the "version" field. 
The value for "version" field is computed in Rust during loading of module 
graph and is basically a hash of the file contents.

Please keep in mind that incremental compilation is only used for initial 
compilation (or dynamic imports compilation) - bundling and runtime compiler 
APIs haven't been changed at all.

Due to problems with source map I changed compilation settings to inline 
source map (inlineSourceMap instead of sourceMap).
2020-06-24 16:59:12 +02:00
Nayeem Rahman
3314b46321
fix(cli/js/web/console): Improve string quoting behaviour (#6457) 2020-06-24 09:47:05 -04:00
Colin Harrington
702547d65a
fix(cli): ipv6 parsing for --allow-net params (#6453)
Co-authored-by: Liming Jin <jinliming2@gmail.com>
2020-06-24 09:43:29 -04:00
Casper Beyer
a354b248ea
feat(std/wasi): add wasi_snapshot_preview1 (#6441) 2020-06-24 09:27:31 -04:00