1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00
Commit graph

4065 commits

Author SHA1 Message Date
Evan Bertrand
e92cf5b9e8
fix(std/http): properly return port 80 in _parseAddrFromStr (#6635) 2020-07-09 03:37:50 -04:00
Valentin Anger
be7e0f2d49
BREAKING(core): Remove control slice from ops (#6048) 2020-07-08 11:23:50 -04:00
Emmanuel
cbbd944359
feat(cli): json option for "deno info" (#6372) 2020-07-08 10:50:12 -04:00
uki00a
a2bf61d1ae
feat(unstable): Deno.ppid (#6539) 2020-07-08 10:35:45 -04:00
Marcos Casagrande
231899695d
feat(cli): Add WriteFileOptions to writeTextFile & writeTextFileSync (#6280) 2020-07-08 09:38:22 -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
Ryan Dahl
862bc2ecae
docs: Improve v8-flags docs (#6684) 2020-07-08 11:13:22 +02:00
Marcos Casagrande
e4899b6ba4
perf(cli/body): improve .arrayBuffer() speed (#6669) 2020-07-07 22:25:34 -04:00
Marcos Casagrande
cb98a59452
fix(std): base64 in workers (#6681) 2020-07-07 20:43:11 +02:00
Sebastien Filion
e8571742eb
docs: Update testing.md (#6680) 2020-07-07 15:58:10 +02:00
Sebastien Filion
4534db656d
feat(test): Add support for regex in filter flag (#6343)
Currently, the documentation makes it sound like the test subcommand's filter
flag could accept some kind of pattern matching value like a glob or a regex,
although the function "createFilterFn" accepts a regex as an argument, there's
no way to pass an actual regex value from the CLI.

This commit makes it possible to pass a string that could be cast as regex 
when string matches "^/.*/$".

With this change, a user can use the filter flag as follow:

deno test --filter "/test-.+/"

Also tested that `\` get escaped properly, on MacOS at least, and this is 
also a valid flag:

deno test --filter "/test-\d+/"
2020-07-07 15:13:38 +02:00
Takahiko Inayama
14a44464a6
feat: add lockfile support to bundle (#6624) 2020-07-07 13:05:28 +02:00
Nayeem Rahman
61d9952ff9
fix(cli/js/process): Fix process socket types (#6676) 2020-07-07 12:21:49 +02:00
Casper Beyer
9e0bc25142
test(std/wasi): add std file read and write tests (#6671) 2020-07-07 00:49:04 -04:00
Stanislav
158ae0bfe9
clean up code in cli/js (#6611) 2020-07-06 21:45:39 -04:00
uki00a
ab4c574f52
fix: Deno.setRaw shouldn't panic on ENOTTY (#6630) 2020-07-06 18:26:34 -04:00
crowlKats
2b52e3daf1
feat: deno upgrade --output (#6352) 2020-07-06 18:21:26 -04:00
Ryan Dahl
5c43131be1
Fix definition of URL constructor (#6653) 2020-07-06 17:39:13 -04:00
Ryan Dahl
dbc2372cde
Update Cargo.lock (#6665)
Erroneously excluded from 75d991.
2020-07-06 20:36:51 +02:00
Ryan Dahl
2fe315bfb1
share HTTP server between threads (attempt 2) (#6652) 2020-07-06 13:07:15 -04:00
Ryan Dahl
75d9913b22
Remove tools/hyper_hello (#6651) 2020-07-06 13:00:08 -04:00
crowlKats
c7afbdaee2
Fix scope in std/md5 (#6662) 2020-07-06 11:28:10 -04:00
Ryan Dahl
8788553247
chore: Only use one set of tokio features (#6655) 2020-07-06 09:53:36 -04:00
dubiousjim
6b78729ba8
feat: Deno.chown() make uid, gid args optional (#4612) 2020-07-06 13:15:13 +02:00
Jacob Gee-Clarke
79610378d3
feat(cli): Added support for the --cert flag with 'deno upgrade' (#6609) 2020-07-05 23:58:23 -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
Bartek Iwańczuk
d1289db1c3
chore: re-enable tests using media_types (#6642) 2020-07-05 23:09:50 -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
Marcos Casagrande
3b4260dc54
fix(cli/fetch): response constructor default properties (#6650) 2020-07-05 21:37:18 -04:00
Casper Beyer
5b09e721d3
test(std/wasi) add std::fs::File seek test (#6648) 2020-07-05 21:36:45 -04:00
Kitson Kelly
4f60a0b3bd
chore: improve type safety of cli/js/compiler (#6647) 2020-07-05 20:13:27 -04:00
Ryan Dahl
f35edc574a
Remove test_server dependency from benchmarks (#6645) 2020-07-06 01:00:07 +02: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
Marcos Casagrande
f85a0ce634
refactor(cli/body): use Deno.Buffer in bufferFromStream (#6632) 2020-07-05 18:05:38 -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
Bert Belder
e4e80f20c2
fix(tools): command line args parsing bug, unused function parameter (#6629) 2020-07-04 19:15:03 -04:00
Kyle June
d52e4007c8
Update timers to ignore Date Override (#6552) 2020-07-04 15:16:27 -04:00
Ryan Dahl
5f9e600c5b
chore: port http_server.py to rust (#6364) 2020-07-04 13:05:01 -04:00
Casper Beyer
fca492907c
test(cli): enable realpath symlink tests on Windows (#6627) 2020-07-04 16:54:20 +02:00
Bartek Iwańczuk
be07aaed84
v1.1.3 2020-07-03 15:35:19 -04:00
Bartek Iwańczuk
2b0dc32718
upgrade: dprint-typescript-plugin 0.19.5, deno_lint 0.1.15 (#6614) 2020-07-03 15:55:34 +02:00
Kitson Kelly
2527a6e296
fix: move ImportMeta to deno.ns lib (#6588) 2020-07-03 12:44:45 +02:00
WJH
538504f57c
improve(std/asserts): allow assert functions to specify type parameter (#6413) 2020-07-02 18:03:15 +02:00
Bartek Iwańczuk
cc12e86fe3
refactor: lock file (#6569)
- refactor lock file creation
- provide deterministic output in lock file (alphabetically sorted)
- dynamic imports are checked against lock file
2020-07-02 17:54:51 +02:00