summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-12-05fix(std/encoding): Rewrite toml parser not to use eval() (#8624)Yuki Tanaka
2020-12-05refactor(std/wasi): prefer explicit encoder/decoder names (#8622)Casper Beyer
This renames a couple of identifiers from the ambigious name "text" to the more explicit textEncoder and textDecoder depending on what they are.
2020-12-05docs(core): Fix typo in load_module's docstring (#8564)Paco
2020-12-04feat(op_crates/web) EventTarget signal support (#8616)Benjamin Gruenbaum
Fixes: https://github.com/denoland/deno/issues/8606
2020-12-04refactor(std/wasi): prefer nullish coalescing (#8607)Casper Beyer
2020-12-04upgrade: swc_bundler 0.17.5 (#8588)Bartek Iwańczuk
2020-12-03feat(std/wasi): add return on exit option (#8605)Casper Beyer
This adds an exitOnReturn option to context making it possible to unwind the stack on the exit(2) syscall instead of delegating to it directly. Use case is being able to treat WASI execution contexts as children that don't kill the parent on exit.
2020-12-03feat(std/wasi): add support for initializing reactors (#8603)Casper Beyer
This adds another entry point to Context called initialize for spinning up style modules. Reactors are modules that don't have a main function and basically run forever in the background.
2020-12-02fix(cli): add hygiene pass to transpile pipeline (#8586)János Veres
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-12-02build: upload canaries before tests (#8585)Luca Casonato
2020-12-02docs(lint): Update available rules & add link to doc site (#8590)Yusuke Tanaka
2020-12-01fix(compile): disable source mapping of errors (#8581)Bartek Iwańczuk
This commit disables source mapping of errors for standalone binaries. Since applying source maps relies on using file fetcher infrastructure it's not feasible to use it for standalone binaries that are not supposed to use that infrastructure.
2020-12-02style(std/archive): add default value on argument (#8582)Behnam Mohammadi
2020-12-01upgrade: swc_bundler 0.17.3 (#8575)Bartek Iwańczuk
2020-12-01refactor(cli): DRY cli/ast.rs (#8555)Bartek Iwańczuk
This commit deduplicates logic for parsing modules in cli/ast.rs
2020-12-01fix: higlight `async` and `of` in REPL (#8569)Liam Murphy
2020-12-01chore(cli/flags): Use deno compile --output for the out file (#8563)Nayeem Rahman
2020-12-01feat(std/http): Add Cookie value validation (#8471)Yasser A.Idrissi
2020-12-01fix(repl): close calls sometimes prints results (#8558)Casper Beyer
2020-12-01disable flaky watch tests (#8557)Bartek Iwańczuk
2020-11-30fix release dates (#8560)Ryan Dahl
2020-11-30feat: deno compile (#8539)Luca Casonato
2020-11-30feat(unstable): add cbreak option to setRaw (#8383)Marcus Hultman
2020-11-30feat(std/fs): Re-enable `followSymlinks` on `walk()` (#8479)Liam Murphy
2020-11-30docs: add info about release schedule (#8546)Luca Casonato
2020-11-30upgrade: deno_doc, deno_lint, dprint, swc (#8552)Bartek Iwańczuk
2020-11-30fix(cli): support passing cli arguments under `deno eval` (#8547)Kevin (Kun) "Kassimo" Qian
Fixes #8538
2020-11-29feat(cli/tools/upgrade): canary support (#8476)crowlKats
2020-11-29fix: don't unconditionally build canary (#8536)Luca Casonato
2020-11-29Make canary version semver compatible (#8537)crowlKats
2020-11-28build: publish only "deno" crate on tags (#8535)Bartek Iwańczuk
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-28fix(watcher): watcher doesn't exit when module resolution fails (#8521)Yusuke Tanaka
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-28chore: update rustyline to 7.0.0 (#8516)Casper Beyer
2020-11-27fix(cli): make output of deno info --json deterministic (#8483)William Perron
Fixes #8458
2020-11-27feat(core): Add FsModuleLoader that supports loading from filesystem (#8523)Yusuke Tanaka
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-27test(cli): fix brittle network permission test (#8526)William Perron
2020-11-28chore: clippy future cleanups (#8514)Kitson Kelly
2020-11-27test: fix flaky "run_watch" test (#8519)Bartek Iwańczuk
2020-11-27refactor(repl): use SWC lexer to highlight and validate (#8496)Liam Murphy
2020-11-27fix(cli/ops/net): add write permissions for unixpackets datagrams & unix ↵William Perron
socket (#8511) Fixes #7781
2020-11-27fix(std/node): Inline default objects to ensure correct prototype (#8513)Guy Bedford
2020-11-27docs(import_maps): Add trailing slash to ./src example (#8524)Eric Zingeler
Update docs to reflect behavior. If trailing slash is not provided, `deno run` will throw error `Package address targets must end with "/"`.
2020-11-27fix flaky tests by using exec in PTY tests (#8525)Ryan Dahl
2020-11-27fix test_raw_tty hang (#8520)Ryan Dahl
2020-11-27fix: panic in worker when closing at top level (#8510)Bartek Iwańczuk
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-26fix(std/http): prevent path traversal (#8474)sarahdenofiletrav
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-26fix: "onload" event order (#8376)Benjamin Gruenbaum
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-26fix(watch): fix flaky tests for watcher (#8508)Bartek Iwańczuk
2020-11-26fix: re-enable test_raw_tty (#8509)Ryan Dahl
2020-11-26refactor(cli/tests): replace createResolvable with deferred (#8507)crowlKats