David Sherret
df02e31507
feat(fmt): Sort named import and export specifiers ( #7711 )
2020-09-27 12:22:32 +02:00
tokiedokie
04836dc700
refactor(std/example): Inconsistencies in the example tests ( #7684 )
2020-09-26 11:54:26 -04:00
KNnut
e0d4696a72
Fix typos ( #7687 )
2020-09-26 10:14:56 -04:00
Andrew Mitchell
98c9798cb7
docs(std): add async and signal readme ( #7683 )
...
Resolves #7608
2020-09-26 09:15:18 +10:00
Casper Beyer
eb7f70c0b0
test(std/async): remove redundant export in test ( #7682 )
2020-09-25 13:45:57 -04:00
Tim Reichen
f1231ff58e
fix(std/datetime): add timezone to date strings in tests ( #7675 )
2020-09-25 11:03:01 -04:00
Bartek Iwańczuk
dacb340f8f
v1.4.2
2020-09-25 16:53:48 +02:00
Csaba Okrona
826e899bbc
test(std): unit test for async/delay ( #7671 )
2020-09-25 14:57:31 +02:00
Tim Reichen
9c75e4876f
fix(std/datetime):: 12 and 24 support ( #7661 )
2020-09-24 18:06:22 -04:00
Casper Beyer
3ac9f1e209
fix(std/fs): mark createWalkEntry(Sync) as internal ( #7643 )
2020-09-23 14:09:09 -04:00
Luca Casonato
cf0c49191e
chore(std/hash): update crates ( #7631 )
2020-09-22 23:03:11 +02:00
Schwarzkopf Balázs
f601721851
feat(std/node): implement getSystemErrorName() ( #7624 )
2020-09-22 16:07:35 -04:00
Casper Beyer
9d738fc197
test(std/wasi): add fd_renumber test ( #7574 )
2020-09-21 15:17:01 +02:00
tokiedokie
c4ed3fb7e7
chore: add copyright ( #7593 )
2020-09-21 08:26:41 -04:00
Bartek Iwańczuk
79e5b57663
chore: reenable disabled test in std/ ( #7578 )
2020-09-19 14:07:54 +02:00
Bert Belder
d6f3de6feb
v1.4.1
2020-09-18 21:28:11 +02:00
Casper Beyer
38196f7850
fix(cli/console): always quote and escape inspected strings ( #7546 )
2020-09-18 09:28:30 -04:00
Bartek Iwańczuk
7845740637
refactor: deno_fetch op crate ( #7524 )
2020-09-18 09:20:55 -04:00
Jarrett Helton
cead79f5b8
feat(std/node) stub out process.stdin, stdout, stderr ( #7184 )
2020-09-17 23:31:50 -04:00
Ryan Dahl
46bf660e36
refactor: make fetch use op_fetch_read instead of op_read ( #7529 )
2020-09-17 16:11:55 +02:00
Casper Beyer
1e6d37f88c
test(std/wasi): add sched_yield test ( #7511 )
2020-09-16 16:30:12 -04:00
Pig Fang
aa657d6493
fix(std/testing): assertion diff color ( #7499 )
2020-09-16 12:42:51 +02:00
Tim Reichen
28c9d90b4b
fix(std/datetime): timezone bug ( #7466 )
2020-09-15 10:09:40 -04:00
tokiedokie
04d3472257
refactor(cli/tests): change std_path to root_path in std_tests() ( #7438 )
2020-09-15 06:26:57 +02:00
Casper Beyer
f457ff9157
remove stub implementation of v3 in std/uuid ( #7488 )
2020-09-15 00:12:45 -04:00
tasshi / Masaharu TASHIRO
85b98f6dd8
fix typo miliseconds -> milliseconds ( #7469 )
2020-09-14 22:48:49 -04:00
Schwarzkopf Balázs
f6bfdd66a6
feat(std/node): Add AssertionError class ( #7210 )
2020-09-14 16:22:07 +02:00
Casper Beyer
bee36a4de8
test(std/http): make tests runnable from any directory ( #7441 )
...
This makes std/http tests runnable from any directory by spawning test
processes in the module directory resolved from import.meta.url and
resolving test data relative to the same module directory.
2020-09-14 12:58:43 +02:00
Bartek Iwańczuk
b3fa81f867
v1.4.0
2020-09-13 16:35:31 +02:00
Bartek Iwańczuk
b216d48e5f
upgrade: deno_doc, deno_lint, dprint, swc ( #7434 )
...
upgrades:
- swc_ecmascript 0.7.7
- dprint-plugin-typescript 0.31.3
- deno_lint 0.2.0
- deno_doc 0.1.9
Split std_lint test into std_lint and unit_test_lint.
Added lint ignores to CommonJS files in std/node.
2020-09-13 14:15:38 +02:00
Luca Casonato
fbb18d40d3
feat(unstable): enable importsNotUsedAsValues by default ( #7413 )
2020-09-11 16:22:10 +02:00
Luca Casonato
a3bcdb2b69
chore(std): remove std/ws connect method ( #7403 )
2020-09-09 21:33:38 +02:00
Casper Beyer
5b89e82164
test(std/examples): make tests runnable from any directory ( #7399 )
2020-09-09 20:57:49 +02:00
Casper Beyer
79b2510617
test(std/mime): make tests runnable from any directory ( #7398 )
2020-09-09 11:24:47 +02:00
Casper Beyer
11afd071ae
test(std/node): make tests runnable from any directory ( #7397 )
...
This makes std/node tests runnable from any directory by resolving the
testdata directory and files relative to the module directory resolved
from import.meta.url.
2020-09-08 11:37:58 -04:00
Casper Beyer
c5d50737f0
test(std/fs): make tests runnable from any directory ( #7388 )
2020-09-08 11:43:43 +02:00
Casper Beyer
334ed0e2f4
BREAKING(std/fs): remove writeJson and writeJsonSync ( #7256 )
2020-09-07 19:12:24 +02:00
Casper Beyer
d4b6b25def
BREAKING(std/fs): remove readJson and readJsonSync ( #7255 )
2020-09-07 18:04:29 +02:00
Casper Beyer
7a8b27aa25
test(std/hash): make tests runnable from any directory ( #7376 )
2020-09-07 11:32:24 +02:00
Casper Beyer
16a9c92aba
test(std/archive): make tests runnable from any directory ( #7366 )
2020-09-06 19:52:53 +02:00
Casper Beyer
bd32f9d6e1
test(std/encoding): make tests runnable from any directory ( #7368 )
2020-09-06 19:48:53 +02:00
Bartek Iwańczuk
a14b3c9e30
v1.3.3
2020-09-04 18:15:24 +02:00
Casper Beyer
15649b61bd
test(std/wasi): explicitly list modules for deterministic test runs ( #7245 )
...
This explicitly lists std/wasi test modules in a pre-sorted array for deterministic test runs.
As a side effect it makes it a bit more visible when a test has been added or removed aside
from having to look at the submodule update.
2020-09-04 07:14:51 -04:00
Casper Beyer
c10900b2c1
chore(std/wasi): enable and fix lint errors in tests ( #7324 )
2020-09-04 07:13:08 -04:00
Casper Beyer
7f32a4e19b
docs(std/uuid): remove mention of v3 which is not supported ( #7318 )
2020-09-01 19:18:40 -04:00
Casper Beyer
87e513ffc5
fix: use millisecond precision for Deno.futime and Deno.utime ( #7299 )
2020-09-01 10:03:07 -04:00
Casper Beyer
644190eed8
test(std): ensure mod.ts modules have a test coverage ( #7264 )
2020-08-31 22:26:55 -04:00
Yusuke Tanaka
71f0171ab0
fix no-inner-declaration lint rule ( #7287 )
2020-08-31 14:11:17 -04:00
Casper Beyer
15fd1e8d30
chore(std/wasi): fix no-inner-declarations lints ( #7286 )
2020-08-31 17:13:55 +02:00
Casper Beyer
a451a97486
fix(cli): use upstream type definitions for WebAssembly ( #7216 )
2020-08-31 12:04:47 +02:00
Yusuke Tanaka
7799b797d1
chore: remove unreachable code to pass linter ( #7270 )
2020-08-31 11:10:28 +02:00
Casper Beyer
39912f2018
refactor(std/uuid): remove dependency on isString from std/node ( #7273 )
2020-08-30 22:46:58 +02:00
Casper Beyer
0ea0c87b15
test(std/uuid): reorganize to use one test module per public module ( #7272 )
2020-08-30 14:39:51 -04:00
Casper Beyer
62809cd605
docs(std/fs): remove stale references to readFileStr and writeFileStr ( #7254 )
2020-08-29 19:19:31 -04:00
Bartek Iwańczuk
ac705b7936
v1.3.2
2020-08-29 09:53:13 -04:00
Casper Beyer
8ca903f649
feat(std/fmt): add bright color variations ( #7241 )
2020-08-29 10:29:41 +02:00
Christian Petersen
84086e7d32
fix(std/testing): invalid dates assertion equality ( #7230 )
2020-08-28 19:59:28 -04:00
Jakob Strobl
03a3256e9c
fix(std/encoding/toml): Comment after arrays causing incorrect output ( #7224 )
2020-08-28 18:51:06 -04:00
Yusuke Tanaka
beec3ae096
chore(std/encoding): disable no-control-regex
( #7219 )
2020-08-27 19:03:04 +02:00
Casper Beyer
672350b206
fix(std/wasi): invalid number to bigint conversion in fd_tell ( #7215 )
2020-08-27 11:38:12 +02:00
Casper Beyer
992248e731
test(std/wasi): seperate test runner into a module ( #7191 )
2020-08-27 11:21:57 +02:00
Yusuke Tanaka
59428e3d8a
fix(std/wasi): ignore lint errors ( #7197 )
2020-08-27 11:14:01 +02:00
Tim Reichen
58bcb9880b
test(std/datetime): port golang dayOfYear tests ( #7105 )
2020-08-27 11:12:49 +02:00
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