Liam Murphy
c74132d3cd
fix: higlight async
and of
in REPL ( #8569 )
2020-12-01 14:52:03 -05:00
Nayeem Rahman
108972c966
chore(cli/flags): Use deno compile --output for the out file ( #8563 )
2020-12-01 15:11:02 +01:00
Yasser A.Idrissi
447f3fe410
feat(std/http): Add Cookie value validation ( #8471 )
2020-12-01 14:23:03 +01:00
Casper Beyer
5560a6d589
fix(repl): close calls sometimes prints results ( #8558 )
2020-12-01 14:13:30 +01:00
Bartek Iwańczuk
53fa45eb73
disable flaky watch tests ( #8557 )
2020-12-01 13:32:41 +01:00
Ryan Dahl
83efdeedff
fix release dates ( #8560 )
2020-11-30 17:10:54 -05:00
Luca Casonato
6aa692fece
feat: deno compile ( #8539 )
2020-11-30 20:35:12 +01:00
Marcus Hultman
c7276e15e5
feat(unstable): add cbreak option to setRaw ( #8383 )
2020-11-30 11:08:03 -05:00
Liam Murphy
7a4d0fc22b
feat(std/fs): Re-enable followSymlinks
on walk()
( #8479 )
2020-11-30 09:34:36 -05:00
Luca Casonato
acdfc71d00
docs: add info about release schedule ( #8546 )
2020-11-30 14:06:30 +01:00
Bartek Iwańczuk
a22794e9cc
upgrade: deno_doc, deno_lint, dprint, swc ( #8552 )
2020-11-30 13:01:16 +01:00
Kevin (Kun) "Kassimo" Qian
b6bfc32f8d
fix(cli): support passing cli arguments under deno eval
( #8547 )
...
Fixes #8538
2020-11-30 13:10:21 +11:00
crowlKats
973af61d8b
feat(cli/tools/upgrade): canary support ( #8476 )
2020-11-29 20:00:35 +01:00
Luca Casonato
47a16d2118
fix: don't unconditionally build canary ( #8536 )
2020-11-29 17:08:38 +01:00
crowlKats
1ed37b7751
Make canary version semver compatible ( #8537 )
2020-11-29 08:16:50 -05:00
Bartek Iwańczuk
097babb6fb
build: publish only "deno" crate on tags ( #8535 )
...
This commit updates CI script to publish only "deno"
crate on tags.
Following crates are not automatically published anymore:
- deno_core
- deno_web
- deno_fetch
- deno_crypto
Before this commit creating a new release required to bump
version on all above crates even though in practice they
rarely change.
2020-11-28 21:39:04 +01:00
Yusuke Tanaka
d9b4182868
fix(watcher): watcher doesn't exit when module resolution fails ( #8521 )
...
This commit makes the file watcher continue to work even if module
resolution fails at the initial attempt, allowing us to execute `run`
or `bundle` subcommand when a script has invalid syntax. In such
cases, the watcher observes a single file that is specified as an
command line argument.
2020-11-28 15:18:13 +01:00
Casper Beyer
5588085c72
chore: update rustyline to 7.0.0 ( #8516 )
2020-11-28 15:03:40 +01:00
William Perron
57f163510a
fix(cli): make output of deno info --json deterministic ( #8483 )
...
Fixes #8458
2020-11-27 16:51:47 -05:00
Yusuke Tanaka
b8d3caa5d5
feat(core): Add FsModuleLoader that supports loading from filesystem ( #8523 )
...
This commit adds `FsModuleLoader` to `deno_core`, which implements
`ModuleLoader` trait. It is used when creating a runtime that supports
module loading from filesystem.
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-11-27 22:45:38 +01:00
William Perron
a16adca06b
test(cli): fix brittle network permission test ( #8526 )
2020-11-27 21:02:25 +01:00
Kitson Kelly
e2858d0bbb
chore: clippy future cleanups ( #8514 )
2020-11-28 06:47:35 +11:00
Bartek Iwańczuk
40bf26b37d
test: fix flaky "run_watch" test ( #8519 )
2020-11-27 20:22:09 +01:00
Liam Murphy
228ecb0acb
refactor(repl): use SWC lexer to highlight and validate ( #8496 )
2020-11-27 20:14:54 +01:00
William Perron
59f10b3604
fix(cli/ops/net): add write permissions for unixpackets datagrams & unix socket ( #8511 )
...
Fixes #7781
2020-11-27 13:43:39 -05:00
Guy Bedford
ff3c5897ea
fix(std/node): Inline default objects to ensure correct prototype ( #8513 )
2020-11-27 13:40:11 -05:00
Eric Zingeler
d2b32a65a7
docs(import_maps): Add trailing slash to ./src example ( #8524 )
...
Update docs to reflect behavior. If trailing slash is not provided, `deno run` will throw error `Package address targets must end with "/"`.
2020-11-27 13:33:43 -05:00
Ryan Dahl
f60c80e1bd
fix flaky tests by using exec in PTY tests ( #8525 )
2020-11-27 12:55:58 -05:00
Ryan Dahl
29374db11f
fix test_raw_tty hang ( #8520 )
2020-11-27 12:08:28 -05:00
Bartek Iwańczuk
22f951aa67
fix: panic in worker when closing at top level ( #8510 )
...
Fixes panic occurring in worker when "self.close()" is called
at the top level, ie. worker shuts down while
module evaluation promise hasn't yet resolved.
2020-11-27 14:19:24 +01:00
sarahdenofiletrav
28869a632d
fix(std/http): prevent path traversal ( #8474 )
...
Fix path traversal problem when the request URI
does not have a leading slash.
The file server now returns HTTP 400 when requests
lack the leading slash, and are not absolute URIs.
(https://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html ).
2020-11-26 22:31:19 +01:00
Benjamin Gruenbaum
4f46dc999b
fix: "onload" event order ( #8376 )
...
This commit fixes order of events for "onload" event.
Previously handler attached using "window.onload" was
always fired before handlers added using "addEventListener".
2020-11-26 22:27:55 +01:00
Bartek Iwańczuk
e84704968e
fix(watch): fix flaky tests for watcher ( #8508 )
2020-11-26 20:12:26 +01:00
Ryan Dahl
8486b081ae
fix: re-enable test_raw_tty ( #8509 )
2020-11-26 12:59:03 -05:00
crowlKats
e6685f0f01
refactor(cli/tests): replace createResolvable with deferred ( #8507 )
2020-11-26 17:22:36 +01:00
crowlKats
2031418a24
feat(std/ws): protocol & version support ( #8505 )
...
Co-authored-by: Tom Wieland <tom.wieland@gmail.com>
2020-11-26 16:38:15 +01:00
Jesse Jackson
01e87119ea
fix(std/encoding/csv): Correct readme formatting due to dprint issues ( #8503 )
2020-11-26 15:52:45 +01:00
Bartek Iwańczuk
85a5a081b2
refactor(cli): reorganize main.rs and split workers ( #8495 )
...
Factored out "init_v8_flags", "init_logger" and
"get_subcommand" from "main" function.
Also "Worker" was removed in favor of moving
logic to "MainWorker" and "WebWorker" respectively.
2020-11-26 15:17:45 +01:00
Bartek Iwańczuk
8d0b1b40f5
fix(websocket): set User-Agent header ( #8502 )
2020-11-26 15:12:08 +01:00
crowlKats
a837fb9a07
fix(cli/websocket): set User-Agent header ( #8470 )
2020-11-26 13:58:50 +01:00
Steven Guerrero
9042fcc12e
feat(std/node/stream): Add Duplex, Transform, Passthrough, pipeline, finished and promises ( #7940 )
2020-11-26 13:50:08 +01:00
Yusuke Tanaka
60e980c781
refactor(cli): Remove unnecessary conversion into BTreeMap ( #8498 )
...
This commit removes unnecessary conversion into BTreeMap. The value
that gets converted into BTreeMap is _originally_ BTreeMap, so this
conversion is just superfluous.
Additionally, a test is added so that we can make sure the keys in the
emitted lockfile are sorted alphabetically.
2020-11-26 13:16:48 +01:00
Bartek Iwańczuk
a1a806ae0c
build: upgrade dprint to 0.10.0 ( #8494 )
2020-11-25 18:37:52 +01:00
Jesse Jackson
ed11eb6687
feat(std/encoding/csv): Add stringify functionality ( #8408 )
2020-11-25 09:50:00 -05:00
crowlKats
d40b0711a7
fix(websocket): Fix PermissionDenied error being caught in constructor ( #8402 )
2020-11-25 15:17:46 +01:00
Luca Casonato
fb13967d1d
docs: document the spec deviations in web apis ( #8489 )
2020-11-25 15:09:22 +01:00
ThenMorning
bfd1da4871
docs(std): add some missing JSDoc ws/mod.ts ( #8428 )
2020-11-25 13:53:24 +01:00
Nayeem Rahman
adbbd85461
BREAKING(cli/tsc_config): Make isolatedModules non-configurable ( #8482 )
2020-11-25 13:06:54 +01:00
Chayim Refael Friedman
f42adf2277
docs: Add missing closing parenthesis ( #8477 )
2020-11-25 12:54:38 +01:00
crowlKats
a08d2eee2b
add canary versioning ( #8480 )
2020-11-25 05:30:14 -05:00