1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-29 16:30:56 -05:00
Commit graph

595 commits

Author SHA1 Message Date
sonota88
aebea6bd24
doc(std/bytes): Fix wrong import in the example code (copyBytes) (#6787) 2020-07-18 15:06:42 -04:00
uki00a
121eaa4efc
fix(std/encoding/toml): could not parse strings with apostrophes/semicolons (#6781) 2020-07-16 18:36:15 -04:00
Casper Beyer
de34166891
fix(std/wasi): remove number overload from rights in path_open (#6768) 2020-07-16 11:01:49 -04:00
David Sherret
cde4dbb351
Use dprint for internal formatting (#6682) 2020-07-14 15:24:17 -04:00
Rob Waller
9eca71caa1
fix(std/testing): assertThrows inheritance (#6623) 2020-07-14 14:41:05 -04:00
Steven Guerrero
fe8399973a
feat(std/node): add string_decoder (#6638) 2020-07-14 14:30:03 -04:00
Opliko
e5724e6118
feat(std/encoding): add ascii85 module (#6711) 2020-07-14 14:26:49 -04:00
Jesse Jackson
d49a021539
refactor(std/datetime): improve weekOfYear (#6741) 2020-07-14 14:23:54 -04:00
syumai
7be29fab8d
Remove unused property of StringReader (#6743) 2020-07-14 14:21:08 -04:00
Max Nest
2dea2c9e75
docs(std/io): error in the documentation (#6709) 2020-07-14 15:03:32 +02:00
남현욱
0784014a2f
chore(std): edit style guide link to deno manual (#6490) 2020-07-14 14:54:13 +02:00
Bartek Iwańczuk
6af5149ea3
v1.2.0 2020-07-13 13:00:24 -04:00
Bartek Iwańczuk
11560387bb
Revert "feat: move unstable Deno.permissions to navigator.permissions… (#6729)
* Revert "feat: move unstable Deno.permissions to navigator.permissions (#6244)"

This reverts commit 202e7fa6ad.
2020-07-13 18:23:24 +02:00
Nayeem Rahman
63edeb1c36
fix(cli/js/web/url): Implement IPv4 hostname parsing (#6707) 2020-07-13 00:56:45 -04:00
Nayeem Rahman
5ec41cbcc2
feat(Deno.inspect): Add sorted, trailingComma, compact and iterableLimit to InspectOptions (#6591) 2020-07-11 00:52:18 -04:00
KrisChambers
d01eb6d9c5
Fix for issue #6685: --allow-net=:8080 broken (#6698) 2020-07-10 22:37:20 -04:00
Marcos Casagrande
dc6b3ef714
BREAKING(std/encoding/hex): simplify API (#6690) 2020-07-09 16:50:19 -04:00
Jacob Gee-Clarke
634d6af7a1
feat(std/datetime): Added weekOfYear (#6659) 2020-07-09 15:50:42 -04:00
Kitson Kelly
202e7fa6ad
feat: move unstable Deno.permissions to navigator.permissions (#6244) 2020-07-09 05:00:18 -04:00
Evan Bertrand
e92cf5b9e8
fix(std/http): properly return port 80 in _parseAddrFromStr (#6635) 2020-07-09 03:37:50 -04:00
Kitson Kelly
82aabb657a
feat: add --no-check option (#6456)
This commit adds a "--no-check" option to following subcommands:
- "deno cache"
- "deno info"
- "deno run"
- "deno test"

The "--no-check" options allows to skip type checking step and instead 
directly transpiles TS sources to JS sources. 

This solution uses `ts.transpileModule()` API and is just an interim
solution before implementing it fully in Rust.
2020-07-08 11:26:39 +02:00
Marcos Casagrande
cb98a59452
fix(std): base64 in workers (#6681) 2020-07-07 20:43:11 +02:00
Casper Beyer
9e0bc25142
test(std/wasi): add std file read and write tests (#6671) 2020-07-07 00:49:04 -04:00
Ryan Dahl
5c43131be1
Fix definition of URL constructor (#6653) 2020-07-06 17:39:13 -04:00
crowlKats
c7afbdaee2
Fix scope in std/md5 (#6662) 2020-07-06 11:28:10 -04:00
Paul Thompson
c3c13351a9
std/log - Expose Logger type and improve public interface for get & set log levels (#6617) 2020-07-05 23:57:31 -04:00
uki00a
63b81f97cf
fix(std/tesing/asserts): assertEquals/NotEquals should use milliseconds in Date (#6644) 2020-07-05 22:21:03 -04:00
Casper Beyer
714b894370
fix(std/wasi): return errno::success from fd_tell (#6636) 2020-07-05 21:38:48 -04:00
Casper Beyer
5b09e721d3
test(std/wasi) add std::fs::File seek test (#6648) 2020-07-05 21:36:45 -04:00
Anton Dmytriichuk
d4f9457536
fix(std/mime): boundary random hex values (#6646) 2020-07-05 18:23:59 -04:00
Casper Beyer
e91594935a
re-enable follow symlinks walk test on Windows (#6626) 2020-07-05 18:14:13 -04:00
Casper Beyer
79400b8f7d
feat(std/wasi): implement fd_readdir (#6631) 2020-07-05 18:08:05 -04:00
Casper Beyer
9ac416913e
test(std/node): include windows in link tests (#6620) 2020-07-05 18:06:16 -04:00
Casper Beyer
960800888a
test(std/wasi): explicitly assert each expected arg (#6633) 2020-07-05 18:03:34 -04:00
Marcos Casagrande
43db7aa05d
fix(std/node): add encoding argument to Buffer.byteLength (#6639) 2020-07-05 18:02:09 -04:00
Marcos Casagrande
91767501e1
feat(std/node): add buf.equals method (#6640) 2020-07-05 18:01:36 -04:00
Bartek Iwańczuk
be07aaed84
v1.1.3 2020-07-03 15:35:19 -04:00
WJH
538504f57c
improve(std/asserts): allow assert functions to specify type parameter (#6413) 2020-07-02 18:03:15 +02:00
Casper Beyer
cc2dda6754
test(std/wasi): add create directory and file tests (#6603) 2020-07-02 09:15:02 -04:00
Bartek Iwańczuk
851344f2ed
upgrade: swc_ecma_visit, dprint, deno_lint (#6580) 2020-07-01 16:04:56 +02:00
Kitson Kelly
7858ebd493
Update std/http/cookie types to not require full ServerRequest object (#6577) 2020-06-30 09:08:40 -04:00
Water Zheng
6844c3ac0e
fix(std/log): print "{msg}" when log an empty line (#6381) 2020-06-30 11:29:26 +02:00
Casper Beyer
971dfcf9bb
test(std/wasi): add rename test (#6573) 2020-06-29 23:37:05 -04:00
Casper Beyer
9b749945bb
test(std/wasi): add hard-link test (#6571) 2020-06-29 20:37:15 -04:00
Casper Beyer
cb16439e85
feat(std/wasi): implement fd_sync (#6560) 2020-06-29 17:45:39 -04:00
Ryan Dahl
f5242f333e
fix(std/node): do not use absolute urls (#6562) 2020-06-29 15:09:59 -04:00
Casper Beyer
3c5459d849
feat(std/wasi) implement fd_filestat_set_size (#6558) 2020-06-29 14:36:22 -04:00
Casper Beyer
4cde7fdc9a
feat(std/wasi): implement fd_datasync (#6556) 2020-06-29 10:44:08 -04:00
Oron Sharabi
53f8d96a1f
fix(std/http): Support ipv6 parsing (#5263) 2020-06-29 10:39:17 -04:00
Casper Beyer
06f34a1aed
feat(std/wasi) implement fd_filestat_get (#6555) 2020-06-29 09:34:18 -04: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
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
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
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
Jim van der Voort
6f3ad0f73a
fix(std/http): Catch errors on file_server response.send (#6285) 2020-06-27 13:49:07 +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
Casper Beyer
99f4a710f1
test(std/wasi): add read, write and metadata tests (#6494) 2020-06-26 15:36:46 -04:00
Casper Beyer
d924ad36ac
perf(std/hash): optimize for speed (O3) (#6499) 2020-06-26 14:11:20 -04:00
Casper Beyer
9107b1ea3f
test(wasi/std): remove v8 flags from test runner (#6496) 2020-06-26 12:34:55 -04:00
Nayeem Rahman
ed0b1d4627
fix(cli/js/web/url): Support UNC paths on Windows (#6418) 2020-06-26 08:34:17 -04:00
Yasser A.Idrissi
d1b44e7521
refactor(std/testing): Remove unuseful statement (#6486) 2020-06-25 22:17:58 -04:00
Marcos Casagrande
3f710108f2
fix(std/io): Make BufWriter/BufWriterSync.flush write all chunks (#6269) 2020-06-25 14:17:33 +02: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
Chris Knight
d9896d64ce
refactor: shift copyBytes and tweak deps to reduce dependencies (#6469) 2020-06-25 06:40:51 -04:00
Marcos Casagrande
6527189520
doc(std/wasi): fix example (#6464) 2020-06-24 22:21:39 -04:00
Casper Beyer
f39c890714
doc(std/wasi) add a list of supported syscalls (#6460) 2020-06-24 17:03:40 -04:00
Casper Beyer
a354b248ea
feat(std/wasi): add wasi_snapshot_preview1 (#6441) 2020-06-24 09:27:31 -04:00
Casper Beyer
f318ab01a4
fix(std/testing) assertArrayContains should work with any array-like (#6402) 2020-06-24 08:29:50 -04:00
Benjamin Lupton
49c54c0805
fix(std/node): fix readFile types, add encoding types (#6451) 2020-06-23 22:32:43 -04:00
Benjamin Lupton
d16337cc9c
fix(std/node): global process should usable (#6392) 2020-06-23 16:00:47 -04:00
Rob Waller
d615f0ff82
fix(std/testing): assertThrows gracefully fails if non-Error thrown (#6330) 2020-06-23 10:47:09 -04:00
Marcos Casagrande
86448fd9aa
feat(std/node): support hex / base64 encoding in Buffer (#6414) 2020-06-21 09:47:03 -04:00
Marcos Casagrande
f24aab81c9
BREAKING(std/encoding/hex): reorder encode & decode arguments (#6410)
refactor to match other src/dst methods
2020-06-21 00:13:54 -04:00
Ryan Dahl
0a81ec6b1e
Remove Deno.dir and dirs dependency (#6385) 2020-06-20 23:49:27 -04:00
Yoshiya Hinosawa
c0ea9a99c0
docs: document and add examples of expandGlob (#6404) 2020-06-20 14:34:28 -04:00
Ryan Dahl
bdf2d26ba1
v1.1.1 2020-06-19 14:48:14 -04:00
Chris Knight
940f8e8433
feat(std/log): expose logger name to LogRecord (#6316) 2020-06-18 12:50:18 +02:00
Kiffie Liversage
eea3223ade
typo (#6356) 2020-06-18 06:03:38 -04:00
Vladimir Iakovlev
bd26a72ab3
Update assertions names in std/testing README (#6318) 2020-06-16 17:22:54 -04:00
skdltmxn
b3c72d1e45
feat(std/hash): reimplement all hashes in WASM (#6292) 2020-06-16 17:12:50 -04:00
Kitson Kelly
490d2a5ca1
fix: MuxAsyncIterator throws muxed errors (#6295)
Fixes #5260
2020-06-15 12:03:07 -04:00
Joel Chippindale
f6fa659384
Fix assertEqual so that it handles URL objects (#6278) 2020-06-13 10:01:05 -04:00
David Gonzalez
0bc70b89c0
fix(std/node): added tests for static methods of Buffer (#6276) 2020-06-13 10:00:02 -04:00
Michael Yuan
d3aa37dd9c
Doc: Node buffer is now supported (#6274) 2020-06-13 09:58:08 -04:00
Marcos Casagrande
2e830f80ea
fix(std/io): Use Deno.test in writers_test (#6273) 2020-06-13 00:10:25 +02:00
Nayeem Rahman
1fff6f55c3
refactor: Don't destructure the Deno namespace (#6268) 2020-06-12 15:23:38 -04:00
Marcos Casagrande
26bf56afda
fix(std/io): BufWriter/StringWriter bug (#6247) 2020-06-12 15:15:29 -04:00
Bartek Iwańczuk
7d41bacfba
v1.1.0 2020-06-12 18:43:09 +02:00
Ryan Dahl
e9424bf6b5
Revert "feat: add Deno.osName()" (#6261)
Deno.build.os provides the same functionality

This reverts commit 6ccf9037a6.
2020-06-12 09:53:53 -04:00
Chris Knight
81d09ad01c
feat(std/log): inline and deferred statement resolution logging (#5192) 2020-06-12 09:27:41 -04:00
Ryan Dahl
d0970daacd
make std deno-lint clean (#6240)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-06-12 09:19:29 -04:00
Rubin Bhandari
6ccf9037a6
feat: add Deno.osName() (#5714) 2020-06-11 13:11:26 -04:00