Matthew Adams
81811e80e1
docs(std/log): update example ( #7157 )
2020-08-27 11:03:49 +02:00
xcatliu
6b95b25000
feat(std/testing): add assertNotMatch ( #6775 )
2020-08-27 11:03:15 +02:00
Schwarzkopf Balázs
e1564f385c
fix(std/node): "events" and "util" modules ( #7170 )
2020-08-27 11:00:38 +02:00
Casper Beyer
80111e57e6
test(std/testing): reduce bench test iterations to 1e3 ( #7200 )
2020-08-26 20:36:20 +02:00
Casper Beyer
d0ccab7fb7
fix(std/wasi): return flags from fd_fdstat_get ( #7112 )
2020-08-25 13:40:29 -04:00
Casper Beyer
f7174267e3
test(std/wasi): add wasi-testsuite as a submodule ( #7042 )
2020-08-25 08:36:50 -04:00
Paul Jones
54d336ab20
docs(std/fs): provide more context on unstable perm ( #6748 )
2020-08-25 12:33:38 +02:00
Kitson Kelly
c4d5b01acf
feat: update to TypeScript 4.0 ( #6514 )
2020-08-24 19:43:54 -04:00
Casper Beyer
9b0f9c8765
fix(std/wasi): always capture syscall exceptions ( #7116 )
...
This wraps all exported syscalls in an exception catching delegate to
ensure that the stack is never unexpectedly unwound.
2020-08-24 19:04:11 -04:00
Casper Beyer
e8968e6bf4
BREAKING(std/wasi): rename Module to Context ( #7110 )
...
This commit renames Module and ModuleOptions to context to avoid stutter
confusion, e.g avoid having documentation that says things like
instantiate the snapshot's module's module.
2020-08-24 18:21:06 +02:00
Casper Beyer
c1d543e10a
BREAKING(std/wasi): use record for exports ( #7109 )
2020-08-24 18:12:16 +02:00
木杉
fe59a423a6
docs(fs/walk): fix code example ( #7166 )
2020-08-23 11:34:12 +02:00
Benjamin Lupton
b7ad544dd6
feat(std/node): add URL export ( #7132 )
2020-08-21 22:39:56 -04:00
Bartek Iwańczuk
999e5cf3d4
v1.3.1
2020-08-21 18:11:33 +02:00
Nayeem Rahman
cf603be24c
fix: Allow isolated "%"s when parsing file URLs ( #7108 )
2020-08-21 15:37:06 +02:00
Schwarzkopf Balázs
87b1b8c461
fix(std/node): misnamed assert exports ( #7123 )
2020-08-20 11:56:31 -04:00
Casper Beyer
5adb6cba3e
docs(std/wasi): fix reference to the wrong object in example ( #7124 )
2020-08-20 11:48:33 -04:00
Tim Reichen
de1007fc6a
refactor(std/datetime): remove currentDayOfYear ( #7059 )
2020-08-18 16:30:09 -04:00
Benjamin Lupton
b21a7b0fd0
feat(std/node): add basic asserts ( #7091 )
2020-08-18 14:15:59 -04:00
danielwippermann
93e2bfe22e
fix(std/encoding/toml): Stop TOML parser from detecting numbers in strings. ( #7064 )
...
Before this patch the TOML parser would incorrect treat the string
"base64data0xdamaged" in a declaration as a hex number because the
corresponding check triggers even when the "0x" is inside a double
quoted string literal as long as it is followed by at least one hex
character.
2020-08-17 17:48:15 -04:00
uki00a
95a6812e82
fix(std/encoding/csv): improve error message on ParseError ( #7057 )
2020-08-17 17:47:01 -04:00
Tim Reichen
684eddcc6b
feat(std/datetime): generalise parser, add formatter ( #6619 )
2020-08-15 10:37:17 -04:00
Bartek Iwańczuk
b38c313276
v1.3.0
2020-08-13 12:10:13 -04:00
Jarrett Helton
514cbc2808
fix: remove @ts-expect-error directives ( #7024 )
2020-08-12 17:32:03 -04:00
Benjamin Lupton
452693256c
feat(std/node): add util.inspect ( #6833 )
2020-08-12 14:03:51 -04:00
木杉
988790834e
feat(std/http): add --no-dir-listing flag to file_server ( #6808 )
2020-08-12 11:38:25 -04:00
Alberto Ricart
91ff91093d
feat(std): added TLS serve abilities to file_server ( #6962 )
2020-08-12 12:55:38 +02:00
Nayeem Rahman
81ce4499e7
fix: Make std work with isolatedModules ( #7016 )
2020-08-12 12:01:36 +02:00
Jesse Jackson
f32d28019d
test(std): fs/writeJson add test for append option ( #6889 )
...
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2020-08-11 11:04:14 +02:00
Ryan Dahl
92a173bca6
v1.2.3
2020-08-08 18:59:16 -04:00
Nayeem Rahman
24590b012f
refactor: Rewrite globToRegExp() ( #6963 )
2020-08-06 08:46:31 -04:00
Rauf Islam
40ead6cc98
fix(std/encoding/toml): Add boolean support to stringify ( #6941 )
2020-08-03 18:17:31 -04:00
Jarrett Helton
d615ebefe2
fix(std/toml): parser error with inline comments ( #6942 )
2020-08-03 13:26:02 -04:00
Ryan Dahl
7446230e6b
v1.2.2
2020-07-31 15:14:25 -04:00
Nayeem Rahman
6e7208bec2
fix(cli/rt): Fix file URL to path conversion on Windows ( #6920 )
2020-07-30 18:37:26 -04:00
zfx
95597fc6e2
fix(std/tar): directory type bug ( #6905 )
2020-07-30 12:01:31 -04:00
Kid
391088c6ff
docs(std/encoding): Fix TOML docs ( #6912 )
2020-07-30 09:56:10 -04:00
Nayeem Rahman
6afe7bbd39
fix(std/path): Percent-decode in fromFileUrl() ( #6913 )
2020-07-29 18:23:09 -04:00
Luca Casonato
1b60840f28
feat(std/async): add pooledMap utility ( #6898 )
2020-07-29 02:44:34 +02:00
Trivikram Kamat
c8fc679329
test(std): remove unstable from multiple tests ( #6882 )
2020-07-26 15:52:08 -04:00
Marcin Puc
7326e1ab49
fix(std/json): Add newline at the end of json files ( #6885 )
2020-07-26 15:51:33 -04:00
Trivikram Kamat
35a1421fb1
chore: use ts-expect-error instead of ts-ignore ( #6876 )
2020-07-26 10:41:10 -04:00
Ryan Dahl
25a0ad3e16
v1.2.1
2020-07-24 06:32:48 -04:00
Nayeem Rahman
a8f74aa381
fix: Improve URL compatibility ( #6807 )
...
- Fix protocol regex.
- Truncate repeated leading slashes in file paths.
- Make drive letter support platform-independent.
- Drop the hostname if a drive letter is parsed.
- Fix drive letter normalization and basing.
- Allow basing over the host.
- Fix same-protocol basing.
- Remove Windows UNC path support.
- Reverts #6418 . This is non-standard. Wouldn't be too much of a problem but it
makes other parts of the spec hard to realize.
2020-07-23 21:37:11 -04:00
Gerald
e18e46a3b3
fix(std/fs): remove unexisted imports ( #6850 )
2020-07-23 00:09:20 -04:00
Casper Beyer
fd900cfe21
BREAKING(std/fs): remove readFileStr and readFileStrSync ( #6848 )
...
This removes the readFileStr and readFileStrSync functions which are
effectively duplicates of Deno.readTextFile and Deno.readTextFileSync.
2020-07-22 22:18:18 -04:00
Casper Beyer
843b54549c
BREAKING(std/fs): remove writeFileStr and writeFileStrSync ( #6847 )
...
This removes the writeFileStr and writeFileStrSync functions which are
effectivly duplicates of Deno.writeTextFile and Deno.writeTextFileSync.
2020-07-22 21:34:20 -04:00
木杉
53adde866d
refactor(std/path): enrich the types in parse_format_test ( #6803 )
2020-07-19 12:13:05 -04:00
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