profile
viewpoint

nayeemrmn/deno 0

A secure JavaScript/TypeScript runtime built with V8, Rust, and Tokio

nayeemrmn/deno_install 0

Deno Binary Installer

nayeemrmn/deno_std 0

deno standard modules

nayeemrmn/deno_website2 0

deno.land website

nayeemrmn/event-type 0

A general purpose, promise based event system.

nayeemrmn/hello 0

A C library I use to store a Makefile.

push eventnayeemrmn/deno

Nayeem Rahman

commit sha 9dccf4438fc7f9c5880dbad3e3d839072f1a3ffe

Reset CI

view details

push time in 4 hours

push eventnayeemrmn/deno

Nayeem Rahman

commit sha c7893ffab8ac85e950d092b9f21894c3e99344fe

fixup! Don't apply source maps twice

view details

push time in 5 hours

PR opened denoland/deno

fix(core/js_error): Get frame data from prepareStackTrace()

Continues from #4232, cc @kevinkassimo. Closes #4153. Fixes #2703. Fixes #2710.

@piscisaureus Please review.

+257 -47

0 comment

11 changed files

pr created time in 5 hours

push eventnayeemrmn/deno

Bartek Iwańczuk

commit sha be71885628c3820cc4e62d229326de16a6830fec

implement Worker.terminate() and self.close() (#4684)

view details

Kevin (Kun) Kassimo Qian

commit sha 887558cf63cb85df0c3b02e0ea8a17827c1aea6b

WIP: get better frame info from prepareStackTrace

view details

Nayeem Rahman

commit sha d0f839daf358366785d09d4c987c1578003b863b

Use CallSiteEval with fields instead of methods

view details

Nayeem Rahman

commit sha 7133329220519782b71b5a738183e14ddbcd51a6

Convert 1-based line/column numbers to 0-based

view details

Nayeem Rahman

commit sha a10cc21a6e9b88a829e4d6a05b813e80080375f9

Don't apply source maps twice

view details

Nayeem Rahman

commit sha 1d23aef2fdbd0be1a052a423ea9f0241fbee1ff9

Fix tests

view details

push time in 6 hours

push eventnayeemrmn/deno

Nayeem Rahman

commit sha 25844181ac6f7bc9d3930ff443202fb6beddc453

Fix tests

view details

push time in 6 hours

push eventnayeemrmn/deno

Nayeem Rahman

commit sha 1d8278260d11520dd6053c7ed1023e79636e3c2c

Don't apply source maps twice

view details

push time in 7 hours

push eventnayeemrmn/deno

Nayeem Rahman

commit sha 3c782dcecb9b2ce975f2a3d2e08cb7e43d17724d

fixup! Use CallSiteEval with fields instead of methods

view details

push time in 10 hours

push eventnayeemrmn/deno

Ryan Dahl

commit sha ac215a24613636b6e84b37a86dc4711dfaa4f2cc

Fix build - 2becae broke CI (#4686)

view details

Kevin (Kun) Kassimo Qian

commit sha cd5c72ac6326d19219d7995de1784c01d6595bd2

WIP: get better frame info from prepareStackTrace

view details

Nayeem Rahman

commit sha e53fdb121d933c0bcb191a389416ebdb66a5ebcf

Use CallSiteEval with fields instead of methods

view details

Nayeem Rahman

commit sha be3ed446199559b44956ec6e8afc044a1c7fd794

Convert 1-based line/column numbers to 0-based

view details

push time in 11 hours

push eventnayeemrmn/deno

Nayeem Rahman

commit sha 82c107d4892d82ebb130aa5bcbfefa4e2c45197e

fixup! Use CallSiteEval with fields instead of methods

view details

Nayeem Rahman

commit sha 3fa391955f98c8d84296d1526a45531e2deeb9af

fixup! Use CallSiteEval with fields instead of methods

view details

Nayeem Rahman

commit sha 3f79f79c9db6ef4814990c0529d1e8e65e09bea7

Contain index base changes to the source mapper

view details

push time in 11 hours

push eventnayeemrmn/deno

Nayeem Rahman

commit sha b15016703f4ffd84e6f6e84184e3c96b18e0e053

Convert 1-based line/column numbers to 0-based

view details

push time in 12 hours

create barnchnayeemrmn/deno

branch : stack-frame-info

created branch time in 12 hours

delete branch nayeemrmn/deno

delete branch : deno-doc-built-ins

delete time in 16 hours

Pull request review commentdenoland/deno

feat(cli/doc): Support doc for runtime built-ins

 impl DocParser {   pub async fn parse(&self, file_name: &str) -> Result<Vec<DocNode>, ErrBox> {     let source_code = self.loader.load_source_code(file_name).await?; +    self.parse_source(file_name, source_code.as_str())+  }++  pub fn parse_source(+    &self,+    file_name: &str,+    source_code: &str,+  ) -> Result<Vec<DocNode>, ErrBox> {

Yeah, this was satisfied previously by the old parse() signature before reexport support.

nayeemrmn

comment created time in 18 hours

pull request commentdenoland/deno

feat(cli/doc): Support doc for runtime built-ins

Opened https://github.com/clap-rs/clap/issues/1794, but we have to land this workaround for now (see todo).

@bartlomieju Please review.

nayeemrmn

comment created time in 18 hours

push eventnayeemrmn/deno

Nayeem Rahman

commit sha 6fa1cc1946e04bc83b68f6955143b28720dda658

Reset CI

view details

push time in 18 hours

push eventnayeemrmn/deno

Nayeem Rahman

commit sha ba92fadccd1ffd4e096b16f17c460c0f7466ad43

fixup! Use --builtin instead of $

view details

push time in 18 hours

push eventnayeemrmn/deno

Nayeem Rahman

commit sha dde93693799fc0562553bd67282aff83bdb6b116

fixup! feat(cli/doc): Support doc for runtime built-ins

view details

push time in 19 hours

push eventnayeemrmn/deno

crowlKats

commit sha 6720a0dc02dc5a93472520e6d23ca033d7ec9d88

feat: Add File support in FormData (#4632)

view details

Ondřej Žára

commit sha 0ea9562933874526e84e39eaff675854cbe8690b

docs: add README to cli/js/web/ (#4578)

view details

Andreas

commit sha 703c0b7c172c57353ed61b16966c4ff7072d47f3

feat(std/flags): pass key and value to unknown (#4637)

view details

Andrew Stucki

commit sha 1e478d73e3e031c78a170b195021aeb22fd45feb

Drop headers with trailing whitespace in header name (#4642) This relates directly to [an issue](https://github.com/denoland/deno_std/issues/620) that I initially raised in `deno_std` awhile back, and was reminded about it today when the `oak` project popped up on my github recommended repos. As of now Deno's http servers are vulnerable to the same underlying issue of go CVE-2019-16276 due to the fact that it's based off of ported go code from their old standard library. [Here's the commit that fixed the CVE.](https://github.com/golang/go/commit/6e6f4aaf70c8b1cc81e65a26332aa9409de03ad8) Long story short, some off the shelf proxies and caching servers allow for passing unaltered malformed headers to backends that they're fronting. When they pass invalid headers that they don't understand this can cause issues with HTTP request smuggling. I believe that to this date, this is the default behavior of AWS ALBs--meaning any server that strips whitespace from the tail end of header field names and then interprets the header, when placed behind an ALB, is susceptible to request smuggling. The current behavior is actually specifically called out in [RFC 7230](https://tools.ietf.org/html/rfc7230#section-3.2.4) as something that MUST result in a rejected message, but the change corresponding to this PR, is more lenient and what both go and nginx currently do, and is better than the current behavior.

view details

Yusuke Sakurai

commit sha b9e5e4c7ec9e044f014f2b8a5cfd469f92091ec2

fix: test_create_cache_if_dir_not_exit (#4636) This test doesn't remove created directory after test. It will fail on next run.

view details

Bartek Iwańczuk

commit sha ee126eb4a72ba757cc819dc3656f1ab89666ce81

remove std/testing/runner.ts (#4649)

view details

Giorgi Rostomashvili

commit sha f82b9ba329856b9b52c831b456e4823fad62f858

fix: fetch reference types for JS files (#4652) Fixes #4000 and fixes #4476. Now always tries to fetch reference types for JS files. Does not throw if it fails, since Typescript compiler will complain if the file is not there(it will try to fetch it again first) and people who just use JS should not be bothered by this error. Not sure about my test, it passes and catches the bug but maybe there is a better way to express it.

view details

Ali Hasani

commit sha f5d505332e862b21e650324e7013c8f6f27e06c4

Remove media_types from std/README.md (#4650)

view details

Ali Hasani

commit sha 47a580293eb5c176497264f1c3f108bf6b2c480d

Add exists and existsSync to std/node (#4655)

view details

Bartek Iwańczuk

commit sha dd3a94933a82975b0827e1c15d2c0d37d8c9c013

feat: add --importmap flag to deno bundle (#4651)

view details

Nayeem Rahman

commit sha e586d0c8b813c276cd5a1ba30582022b3c2be2eb

feat(std/http/server): Respond with 400 on request parse failure (#4614)

view details

木杉

commit sha 481fcfc8bd291c678d14b20c7c34a925503b8507

file_server: use text/typescript instead of application/typescript (#4620) I just tried it and found that using application/typescript, the browser will download the file directly, I think that .ts should be mapped to application/javascript or text/typescript

view details

Ryan Dahl

commit sha 62726430bedba7cca4d98e7714f3a8b49db3e89e

Remove __timers namespace (#4662)

view details

Akshat Agarwal

commit sha caff550b6c6edf7f26ca9e2aa57e042479c36704

BREAKING: Rename 'deno fetch' subcommand to 'deno cache' (#4656)

view details

Ryan Dahl

commit sha 51f5276e8cbce89f396458e754d8f31c11fbf1ec

Remove __textEncoding and __performanceUtil namespaces (#4663)

view details

Bartek Iwańczuk

commit sha 86fd0c66a645a3dd262e57e330bb7fbe4663e468

feat(doc): handle basic reexports (#4625)

view details

Ryan Dahl

commit sha 6660fb25c9f0cb8539bf0151d52d980e72d469fa

Remove __workers namespace (#4665)

view details

Ryan Dahl

commit sha f07fcfcc80310d95e5c9b6b73a5615c94805791b

Remove __url namespace (#4668)

view details

Ryan Dahl

commit sha b4836be57ef09eb44ff934fd0a6df7aabaf2e751

Remove __io namespace (#4669)

view details

Ryan Dahl

commit sha efff39a3ac5ccc7187bde720234222adb0fdf089

Remove panic catch around dprint calls (#4676) dprint seems to be stable enough to not panic on our own source code now.

view details

push time in 19 hours

issue commentdenoland/deno

Feature Request: Special Directory For Each App to Store Its Data Without Special Permissions

The winning suggestion in #1657 is having deno --origin <some origin> app.ts to specify the localStorage isolate. If we only allowed use of localStorage when an --origin is specified, I suppose it would act as the "special permission" requested here.

I wonder if we couldn't extend that to deno --location <some URL> app.ts... there are lots of web APIs that assume the existence of some document location (fetch(), location), and we kind of haphazardly treat the main module URL as such, but that wouldn't be good for storage and who knows what else. --location would save a lot of headache.

ChayimFriedman2

comment created time in a day

push eventnayeemrmn/deno

木杉

commit sha 481fcfc8bd291c678d14b20c7c34a925503b8507

file_server: use text/typescript instead of application/typescript (#4620) I just tried it and found that using application/typescript, the browser will download the file directly, I think that .ts should be mapped to application/javascript or text/typescript

view details

Ryan Dahl

commit sha 62726430bedba7cca4d98e7714f3a8b49db3e89e

Remove __timers namespace (#4662)

view details

Akshat Agarwal

commit sha caff550b6c6edf7f26ca9e2aa57e042479c36704

BREAKING: Rename 'deno fetch' subcommand to 'deno cache' (#4656)

view details

Ryan Dahl

commit sha 51f5276e8cbce89f396458e754d8f31c11fbf1ec

Remove __textEncoding and __performanceUtil namespaces (#4663)

view details

Bartek Iwańczuk

commit sha 86fd0c66a645a3dd262e57e330bb7fbe4663e468

feat(doc): handle basic reexports (#4625)

view details

Ryan Dahl

commit sha 6660fb25c9f0cb8539bf0151d52d980e72d469fa

Remove __workers namespace (#4665)

view details

Ryan Dahl

commit sha f07fcfcc80310d95e5c9b6b73a5615c94805791b

Remove __url namespace (#4668)

view details

Ryan Dahl

commit sha b4836be57ef09eb44ff934fd0a6df7aabaf2e751

Remove __io namespace (#4669)

view details

Ryan Dahl

commit sha efff39a3ac5ccc7187bde720234222adb0fdf089

Remove panic catch around dprint calls (#4676) dprint seems to be stable enough to not panic on our own source code now.

view details

Ryan Dahl

commit sha fe17496831a0b3dcd252d097c82df529d665aad5

Remove extra copy of URLSearchParams (#4675)

view details

Bartek Iwańczuk

commit sha 491b8e1cea76753397bdeb0aeb1598bc78d22c8f

feat(doc): handle function params and type params (#4672)

view details

Ryan Dahl

commit sha dd2d19b22d607ef61bc4752d932856bbf5304975

Remove __blob and __console namespaces (#4677)

view details

Ryan Dahl

commit sha b7e673ba9357495820b07fcdba1dffef92d24ea3

upgrade: rust crates (#4679)

view details

Ryan Dahl

commit sha 0cf4ac91e6917b76c00d3d4b790e9fefc4dc5323

v0.40.0

view details

push time in a day

pull request commentdenoland/deno_install

Default DENO_INSTALL to $HOME/.local

@rsp This was reverted in #106.

nayeemrmn

comment created time in a day

PR opened denoland/deno_install

Revert "Default DENO_INSTALL to $HOME/.local (#89)"

Ref https://github.com/denoland/deno/pull/4582#issuecomment-607937323, #89, #40

Problems with ~/.local/bin:

  • Hard to uninstall Deno along with deno installed addons.
  • Not as conventional.
+5 -6

0 comment

3 changed files

pr created time in a day

create barnchnayeemrmn/deno_install

branch : deno-install-default-revert

created branch time in a day

issue openeddenoland/deno

Environment variable for deno install directory

Following https://doc.rust-lang.org/cargo/commands/cargo-install.html:

The installation root is determined, in order of precedence:

  • --root option
  • CARGO_INSTALL_ROOT environment variable
  • install.root Cargo config value
  • CARGO_HOME environment variable
  • $HOME/.cargo

Taking the 1st, 2nd and 5th bullets ours would be:

  • --dir option
  • DENO_INSTALL_DIR environment variable
  • $HOME/.deno/bin

No implicitly appending bin since we don't deal with "root" directories. Or should we? It would help to stay fully consistent with cargo and also deno_install.

created time in 2 days

issue closeddenoland/deno

deno install path/to/target_exe <URL>

I think the syntax deno install --dir /path/to target_exe is annoying if you just want to create a local alias. It can be improved by detecting a path separator in the exe name and treating it as a path in that case, just like when running executables in the shell.

deno install target_exe <URL> -> ~/.deno/bin/target_exe deno install ./target_exe <URL> -> $(pwd)/target_exe deno install path/to/target_exe <URL> -> $(pwd)/path/to/target_exe deno install /usr/local/bin/target_exe <URL> -> /usr/local/bin/target_exe

closed time in 2 days

nayeemrmn

issue commentdenoland/deno

deno install path/to/target_exe <URL>

Closing, we should follow cargo install.

nayeemrmn

comment created time in 2 days

issue openedclap-rs/clap

Bug when grouping positional args with options

<!-- Please use the following template to assist with creating an issue and to ensure a speedy resolution. If an area is not applicable, feel free to delete the area or mark with N/A -->

Rust Version

rustc 1.42.0 (b8cedc004 2020-03-09)

Code

use clap;
use clap::Arg;
use clap::ArgGroup;

fn main() {
  let app = clap::App::new("hello")
    .bin_name("deno")
    .arg(
      Arg::with_name("option1")
        .long("option1")
        .takes_value(false),
    )
    .arg(
      Arg::with_name("pos1")
        .takes_value(true),
    )
    .group(
      ArgGroup::with_name("arg1")
        .args(&["pos1", "option1"])
        .required(true),
    )
    .arg(
      Arg::with_name("pos2")
        .takes_value(true)
    );

    match app.get_matches_from_safe(std::env::args().collect::<Vec<String>>()) {
      Ok(_) => (),
      Err(err) => err.exit(),
    }
}

Steps to reproduce the issue

cargo run -- -h

Affected Version of clap*

2.33.0

Actual Behavior Summary

USAGE:
    deno <pos1|--option1> [pos1]

cargo run -- --option1 abcd binds abcd to pos1 and complains about conflict between option1 and pos1

Blocks https://github.com/denoland/deno/pull/4635, ref https://github.com/denoland/deno/pull/4635#issuecomment-610548655.

Expected Behavior Summary

USAGE:
    deno <pos1|--option1> [pos2]

cargo run -- --option1 abcd should bind abcd to pos2. In other words, it should detect --option1 having been given as an option and accordingly skip pos1 which --option1 is grouped with.

--

If this is actually intended I welcome suggestions as to how I can get the above behaviour. But what else should be the semantics of grouping positional args with options?

created time in 2 days

push eventnayeemrmn/deno

Nayeem Rahman

commit sha f04a02bbd43afb51d2fb23d084fa821756d9bb1b

WIP: Use --builtin

view details

push time in 2 days

issue commentdenoland/deno_lint

Interoperate with Existing ESLint Rules and Configs

What if deno lint worked for frontend code?

chances

comment created time in 2 days

pull request commentdenoland/deno

feat(cli/doc): Support doc for runtime built-ins

Using clap groups and a small hack, I got the desired usage string:

USAGE:
    deno doc [OPTIONS] <--builtin|source_file> [filter]

OPTIONS:
    -h, --help                        Prints help information
        --json                        Output documentation in JSON format.
    -L, --log-level <log-level>       Set log level [possible values: debug, info]
    -q, --quiet                       Suppress diagnostic output
    -r, --reload=<CACHE_BLACKLIST>    Reload source code cache (recompile TypeScript)
        --builtin                     Show documentation for runtime built-ins.

But deno doc --builtin Deno.Listener doesn't parse right. clap groups are quite buggy.

nayeemrmn

comment created time in 2 days

push eventnayeemrmn/deno

Nayeem Rahman

commit sha 418d7f6d054e5133f483c2b1ae07dd2151a49431

WIP: Use --builtin

view details

push time in 2 days

pull request commentdenoland/deno

feat(cli/doc): Support doc for runtime built-ins

@ry Can we use an explicit empty value? It's reasonable next to the default case.

Show documentation for runtime built-ins:
    deno doc
    deno doc "" Deno.Listener

If not, I can't find a way of conditioning the first positional argument on --runtime not being given.

nayeemrmn

comment created time in 3 days

pull request commentdenoland/deno

fix(cli/js/net): Make generator return types iterable

That's how generators are defined everywhere else, this was a mistake. Generators provide this property but those type defs are hiding it. If it really needs a use case, I suppose there is a different behaviour for two loops sharing the same iterator object which might be useful to someone.

nayeemrmn

comment created time in 3 days

push eventnayeemrmn/deno

Nayeem Rahman

commit sha bd4578f13fd74291c68ce594ee2e871c485703b2

refactor(std/http/server): Replace async iterator multiplexer

view details

push time in 3 days

create barnchnayeemrmn/deno

branch : mux-async-iterator2

created branch time in 3 days

push eventnayeemrmn/deno

push time in 3 days

PR opened denoland/deno

fix(cli/js/net): Make generator return types iterable

Strengthens the type so this doesn't throw a type error:

const iterator = Deno.listen({ port: 10000 })[Symbol.asyncIterator]();
for await (const n of iterator);

i.e the iterators are also iterable.

+6 -6

0 comment

2 changed files

pr created time in 3 days

create barnchnayeemrmn/deno

branch : net-iterables

created branch time in 3 days

push eventnayeemrmn/deno

crowlKats

commit sha 6720a0dc02dc5a93472520e6d23ca033d7ec9d88

feat: Add File support in FormData (#4632)

view details

Ondřej Žára

commit sha 0ea9562933874526e84e39eaff675854cbe8690b

docs: add README to cli/js/web/ (#4578)

view details

Andreas

commit sha 703c0b7c172c57353ed61b16966c4ff7072d47f3

feat(std/flags): pass key and value to unknown (#4637)

view details

Andrew Stucki

commit sha 1e478d73e3e031c78a170b195021aeb22fd45feb

Drop headers with trailing whitespace in header name (#4642) This relates directly to [an issue](https://github.com/denoland/deno_std/issues/620) that I initially raised in `deno_std` awhile back, and was reminded about it today when the `oak` project popped up on my github recommended repos. As of now Deno's http servers are vulnerable to the same underlying issue of go CVE-2019-16276 due to the fact that it's based off of ported go code from their old standard library. [Here's the commit that fixed the CVE.](https://github.com/golang/go/commit/6e6f4aaf70c8b1cc81e65a26332aa9409de03ad8) Long story short, some off the shelf proxies and caching servers allow for passing unaltered malformed headers to backends that they're fronting. When they pass invalid headers that they don't understand this can cause issues with HTTP request smuggling. I believe that to this date, this is the default behavior of AWS ALBs--meaning any server that strips whitespace from the tail end of header field names and then interprets the header, when placed behind an ALB, is susceptible to request smuggling. The current behavior is actually specifically called out in [RFC 7230](https://tools.ietf.org/html/rfc7230#section-3.2.4) as something that MUST result in a rejected message, but the change corresponding to this PR, is more lenient and what both go and nginx currently do, and is better than the current behavior.

view details

Yusuke Sakurai

commit sha b9e5e4c7ec9e044f014f2b8a5cfd469f92091ec2

fix: test_create_cache_if_dir_not_exit (#4636) This test doesn't remove created directory after test. It will fail on next run.

view details

Bartek Iwańczuk

commit sha ee126eb4a72ba757cc819dc3656f1ab89666ce81

remove std/testing/runner.ts (#4649)

view details

Giorgi Rostomashvili

commit sha f82b9ba329856b9b52c831b456e4823fad62f858

fix: fetch reference types for JS files (#4652) Fixes #4000 and fixes #4476. Now always tries to fetch reference types for JS files. Does not throw if it fails, since Typescript compiler will complain if the file is not there(it will try to fetch it again first) and people who just use JS should not be bothered by this error. Not sure about my test, it passes and catches the bug but maybe there is a better way to express it.

view details

Ali Hasani

commit sha f5d505332e862b21e650324e7013c8f6f27e06c4

Remove media_types from std/README.md (#4650)

view details

Ali Hasani

commit sha 47a580293eb5c176497264f1c3f108bf6b2c480d

Add exists and existsSync to std/node (#4655)

view details

Bartek Iwańczuk

commit sha dd3a94933a82975b0827e1c15d2c0d37d8c9c013

feat: add --importmap flag to deno bundle (#4651)

view details

Nayeem Rahman

commit sha e586d0c8b813c276cd5a1ba30582022b3c2be2eb

feat(std/http/server): Respond with 400 on request parse failure (#4614)

view details

push time in 3 days

push eventnayeemrmn/deno

Bartek Iwańczuk

commit sha ee126eb4a72ba757cc819dc3656f1ab89666ce81

remove std/testing/runner.ts (#4649)

view details

Giorgi Rostomashvili

commit sha f82b9ba329856b9b52c831b456e4823fad62f858

fix: fetch reference types for JS files (#4652) Fixes #4000 and fixes #4476. Now always tries to fetch reference types for JS files. Does not throw if it fails, since Typescript compiler will complain if the file is not there(it will try to fetch it again first) and people who just use JS should not be bothered by this error. Not sure about my test, it passes and catches the bug but maybe there is a better way to express it.

view details

Ali Hasani

commit sha f5d505332e862b21e650324e7013c8f6f27e06c4

Remove media_types from std/README.md (#4650)

view details

Ali Hasani

commit sha 47a580293eb5c176497264f1c3f108bf6b2c480d

Add exists and existsSync to std/node (#4655)

view details

Bartek Iwańczuk

commit sha dd3a94933a82975b0827e1c15d2c0d37d8c9c013

feat: add --importmap flag to deno bundle (#4651)

view details

Nayeem Rahman

commit sha e586d0c8b813c276cd5a1ba30582022b3c2be2eb

feat(std/http/server): Respond with 400 on request parse failure (#4614)

view details

Nayeem Rahman

commit sha 92ff1e61d53e779f6d5d12c6d56de042f20549aa

refactor(std/http): Replace async iterator multiplexer

view details

Nayeem Rahman

commit sha bf1607141d7406059190f3afac275e83f92a8586

Finalize the previous request at the beginning of the loop

view details

push time in 3 days

delete branch nayeemrmn/deno

delete branch : request-error-handling

delete time in 3 days

push eventnayeemrmn/deno

Nayeem Rahman

commit sha 4345b24a87015cfe77f408f0e7d102a759b2d4ce

Try: Move the connection loops to the constructor

view details

push time in 3 days

push eventnayeemrmn/deno

Nayeem Rahman

commit sha 2b4ec9cc3b2fa27153a89cfc4ded80f0baccece1

Try perf

view details

push time in 3 days

push eventnayeemrmn/deno

Nayeem Rahman

commit sha c4307c08c9919997ce3434c142871e28f47ffc77

Try perf

view details

push time in 3 days

push eventnayeemrmn/deno

Nayeem Rahman

commit sha 6cfac920d8c2b7f0c0494fca026346605acab645

squash! Rename some variables

view details

push time in 4 days

push eventnayeemrmn/deno

Nayeem Rahman

commit sha 3a1ce2359cf399f5c40cb5990fffe5dd8f0db2a9

Finalize the previous request at the beginning of the loop

view details

push time in 4 days

push eventnayeemrmn/deno

push time in 4 days

push eventnayeemrmn/deno

Ryan Dahl

commit sha 578138a930b70057de61d257afad3011db15b1b1

Remove std/strings/pad.ts because String.prototype.padStart exists (#4564)

view details

木杉

commit sha 3a0b617503f4c81fb9773bd99c898270b98b9b5a

std(media_types): change .ts content type to application/typescript (#4563)

view details

Ryan Dahl

commit sha 12c6b2395be2bd1371284adf03e4826ba5edc761

Move encode, decode helpers to /std/encoding/utf8.ts, delete /std/strings/ (#4565) also removes std/encoding/mod.ts and std/archive/mod.ts which are useless.

view details

Marcus Weiner

commit sha 2ff8012dccf648916212918c69f6b5d7b6dedc56

Expose global state publicly (#4572)

view details

Kitson Kelly

commit sha 2e24385c487d5471aceae7d7e7de9da4c7d87064

Support dynamic import in bundles. (#4561)

view details

Luca Casonato

commit sha 3d56f3afcadf04cc082a77fa0ec2fcd9d76e039f

Added 'declare' handling to 'deno doc' (#4573)

view details

Ryan Dahl

commit sha ff0b32f81d4cdbae9fe868a16a8b19227d79c8b1

upgrade: rusty_v8 v0.3.10 (#4576)

view details

Ryan Dahl

commit sha c738797944bc7e373b51a04e4332c98010135545

feat: deno test --filter (#4570)

view details

Luca Casonato

commit sha 470681cd3c9857e803d02884199fd680e14a1bd2

Publish deno types on release (#4583)

view details

dubiousjim

commit sha 7a9273d9cfa8736575317bb3cc9465e07ed4ed18

Refactor and expand mkdir tests (#4579)

view details

Ryan Dahl

commit sha c8fc29fcca0171166b7093d278bfbe03d970f1a5

Revert "Respond with 400 on request parse failure" (#4593) readRequest should not write a response. This reverts commit 017a611131a35ccf5dbfce6a2a665fa569e32ec1.

view details

Ondřej Žára

commit sha b57d075c07c30000d46b09062cd9e7328bcff1bc

`deno doc` parses super-class names (#4595) Co-Authored-By: Luca Casonato <luca.casonato@antipy.com>

view details

Ondřej Žára

commit sha 6204555be3feaf5171dfb1bba15203ef2bb33265

"deno doc" parses the "implements" clause of a class def (#4604)

view details

Andy Finch

commit sha d8f32c7eff02fb62250e06c1bb1eda95b86a52a7

remove `Send` trait requirement from the `Resource` trait (#4585)

view details

dubiousjim

commit sha ce02167c75c42e2e2f85a98128d70504e88da02b

Improve tests and docs for Deno.rename (#4597)

view details

Bartek Iwańczuk

commit sha e99374a0a304bc3bd11ee55274fb7f4bcf902da6

make Worker.poll private (#4603)

view details

Ryan Dahl

commit sha 13db64fbc6a8da68e5f6c1da59e058a1a3146054

Remove /std/media_types (#4594)

view details

Bartek Iwańczuk

commit sha efb022a50c8fd4ab598c0bdc6ff0c1978779260a

upgrade dprint to 0.9.10 (#4601)

view details

Bartek Iwańczuk

commit sha 3f489ae1aeff6f27b2214dc8201ed068abd5f973

fix: async ops sanitizer false positives in timers (#4602)

view details

Bert Belder

commit sha c0cb198114ccc2dc4fa2764d307ad985c456882a

Make inspector more robust, add --inspect-brk support (#4552)

view details

push time in 4 days

push eventnayeemrmn/deno

push time in 4 days

push eventnayeemrmn/deno

Nayeem Rahman

commit sha a2b0e8ff3a1bc8801faace96a609cdbb5541edd1

Rename some variables

view details

push time in 4 days

issue commentdenoland/deno

Rename deno fetch subcommand to deno cache

@humancalico I guess there's enough consensus now.

kitsonk

comment created time in 4 days

push eventnayeemrmn/deno

Nayeem Rahman

commit sha 60fbb3ae09a70f254716963423ce884e747bada5

Reset CI

view details

push time in 5 days

PR opened denoland/deno

feat(cli/doc): Support doc for runtime built-ins

cc @lucacasonato @bartlomieju

Equivalent to deno doc https://github.com/denoland/deno/releases/download/v0.39.0/lib.deno.d.ts:

Show documentation for runtime built-ins:
    deno doc
    deno doc $ Deno.Listener
+50 -29

0 comment

2 changed files

pr created time in 5 days

create barnchnayeemrmn/deno

branch : deno-doc-built-ins

created branch time in 5 days

push eventnayeemrmn/deno

Ryan Dahl

commit sha cb0acfe305a0f2f13773f41a038d8a919c3730ae

v0.39.0

view details

Yusuke Sakurai

commit sha 24261744857df3cca8c9e05f07cc85c0346a6751

feat: Expose ReadableStream and make Blob more standardized (#4581) Co-authored-by: crowlkats <crowlkats@gmail.com>

view details

Parker Gabel

commit sha 0db04d6a429eb498e854a5fc1ef905b87dea5e4d

fix(#4546) Added Math.trunc to toSecondsFromEpoch to conform the result to u64 (#4575)

view details

Kitson Kelly

commit sha f5274072870558973f70b7fad30c078647790d6c

clippy (#4618)

view details

Lorran Rosa

commit sha b017409dcdbcaa5d3522f0efb191522240a6e757

on init create disk_cache directory if it doesn't already exists (#4617)

view details

Nayeem Rahman

commit sha faa0f520cf3ad03eef51d9a236202e181fe4ea69

doc: Improve the style guide (#4627)

view details

Khải

commit sha 788a6abfd391b8899d28552a9f192d9aaee91347

fix(std/testing): formatting bigint (#4626)

view details

Andres Villegas

commit sha 2911fcc78de4624c0086e6458eff3b33465c8b5b

Enable inspector tests (#4628)

view details

push time in 5 days

delete branch nayeemrmn/deno

delete branch : http-keepalive

delete time in 5 days

delete branch nayeemrmn/deno

delete branch : style-guide

delete time in 5 days

PR opened denoland/deno

doc: Improve the style guide

Update references to deno_std, add a bit more structure.

https://deno.land/std@e2f29b4/style_guide.md

+96 -83

0 comment

1 changed file

pr created time in 6 days

push eventnayeemrmn/deno

Nayeem Rahman

commit sha e2f29b44ebd1178b1bbef1ebfdc61b412241d227

doc: Improve the style guide

view details

push time in 6 days

push eventnayeemrmn/deno

Nayeem Rahman

commit sha ddfec6e70eefcd64983e2d42313f1c4f488b4ec5

doc: Improve the style guide

view details

push time in 6 days

push eventnayeemrmn/deno

Nayeem Rahman

commit sha da82b64c59b3c28a4c839756076e5efa98354ce1

doc: Improve the style guide

view details

push time in 6 days

create barnchnayeemrmn/deno

branch : style-guide

created branch time in 6 days

issue commentdenoland/deno

Rename deno fetch subcommand to deno build

@kitsonk Those sound different. --no-compile would be --fetch-only which does sound better. I just realised that what I meant by --no-compile would still require parsing deps...

kitsonk

comment created time in 6 days

create barnchnayeemrmn/deno

branch : request-error-handling

created branch time in 6 days

PR opened denoland/deno

Restore #4551

In the server this time. cc @ry

ref #4551 #4593

+40 -5

0 comment

2 changed files

pr created time in 6 days

PR closed keroxp/deno

Restore #4551

@keroxp Maybe this way is easier.

+37 -1

0 comment

2 changed files

nayeemrmn

pr closed time in 6 days

push eventnayeemrmn/deno

Kitson Kelly

commit sha 2e24385c487d5471aceae7d7e7de9da4c7d87064

Support dynamic import in bundles. (#4561)

view details

Luca Casonato

commit sha 3d56f3afcadf04cc082a77fa0ec2fcd9d76e039f

Added 'declare' handling to 'deno doc' (#4573)

view details

Ryan Dahl

commit sha ff0b32f81d4cdbae9fe868a16a8b19227d79c8b1

upgrade: rusty_v8 v0.3.10 (#4576)

view details

Ryan Dahl

commit sha c738797944bc7e373b51a04e4332c98010135545

feat: deno test --filter (#4570)

view details

Luca Casonato

commit sha 470681cd3c9857e803d02884199fd680e14a1bd2

Publish deno types on release (#4583)

view details

dubiousjim

commit sha 7a9273d9cfa8736575317bb3cc9465e07ed4ed18

Refactor and expand mkdir tests (#4579)

view details

Ryan Dahl

commit sha c8fc29fcca0171166b7093d278bfbe03d970f1a5

Revert "Respond with 400 on request parse failure" (#4593) readRequest should not write a response. This reverts commit 017a611131a35ccf5dbfce6a2a665fa569e32ec1.

view details

Ondřej Žára

commit sha b57d075c07c30000d46b09062cd9e7328bcff1bc

`deno doc` parses super-class names (#4595) Co-Authored-By: Luca Casonato <luca.casonato@antipy.com>

view details

Ondřej Žára

commit sha 6204555be3feaf5171dfb1bba15203ef2bb33265

"deno doc" parses the "implements" clause of a class def (#4604)

view details

Andy Finch

commit sha d8f32c7eff02fb62250e06c1bb1eda95b86a52a7

remove `Send` trait requirement from the `Resource` trait (#4585)

view details

dubiousjim

commit sha ce02167c75c42e2e2f85a98128d70504e88da02b

Improve tests and docs for Deno.rename (#4597)

view details

Bartek Iwańczuk

commit sha e99374a0a304bc3bd11ee55274fb7f4bcf902da6

make Worker.poll private (#4603)

view details

Ryan Dahl

commit sha 13db64fbc6a8da68e5f6c1da59e058a1a3146054

Remove /std/media_types (#4594)

view details

Bartek Iwańczuk

commit sha efb022a50c8fd4ab598c0bdc6ff0c1978779260a

upgrade dprint to 0.9.10 (#4601)

view details

Bartek Iwańczuk

commit sha 3f489ae1aeff6f27b2214dc8201ed068abd5f973

fix: async ops sanitizer false positives in timers (#4602)

view details

Bert Belder

commit sha c0cb198114ccc2dc4fa2764d307ad985c456882a

Make inspector more robust, add --inspect-brk support (#4552)

view details

dubiousjim

commit sha c5c3abc517a1729c2fcc0977bb1e792e06b7eb3c

adjust docs for Deno.seek (#4610)

view details

dubiousjim

commit sha 6f9c78979d4d7de6d96f7ae651b2c2018fec6e5f

Properly handle invalid utf8 in paths (#4609)

view details

dubiousjim

commit sha a5fc505edb0f22b987c28f19b1c621b0715897ce

fix erroneous assert (#4608)

view details

push time in 6 days

pull request commentdenoland/deno

BUGFIX and refactor op_utime

Of resolve_from_cwd()? The behaviour is just that, though. I thought about adding/changing a function in permissions.rs to check multiple permissions at once, only being called once per path, and resolving there. Or a macro, should be really easy with a macro if I knew how to write one 🤷‍♂️

dubiousjim

comment created time in 6 days

pull request commentdenoland/deno

BUGFIX and refactor op_utime

It's for the permission checks, which require them to be absolute paths. You can instead resolve them at the permission checker but that would lead to duplicate resolutions so it's been kept the way it is.

dubiousjim

comment created time in 6 days

issue commentdenoland/deno

Rename deno fetch subcommand to deno build

In fact, deno build https://example.com/some-remote-javascript.js already makes no sense.

kitsonk

comment created time in 7 days

issue commentdenoland/deno

Rename deno fetch subcommand to deno build

Is there an applicable difference between compile and build, though? I think it should be something synonymous with deno prepare or deno ready.

kitsonk

comment created time in 7 days

pull request commentdenoland/deno

feat: [std/http] Handle keep-alive timeout

I opened https://github.com/keroxp/deno/pull/1, maybe no need to revert.

keroxp

comment created time in 7 days

PR opened keroxp/deno

Restore #4551

@keroxp Maybe this way is easier.

+37 -1

0 comment

2 changed files

pr created time in 7 days

create barnchnayeemrmn/deno

branch : http-keepalive

created branch time in 7 days

delete branch nayeemrmn/deno

delete branch : deno-install-default-dir

delete time in 8 days

PR closed denoland/deno

feat(cli/installer): Default directory to ~/.local/bin on Unix

Matches https://github.com/denoland/deno_install.

+29 -25

4 comments

3 changed files

nayeemrmn

pr closed time in 8 days

pull request commentdenoland/deno

feat(cli/installer): Default directory to ~/.local/bin on Unix

Ref https://github.com/denoland/deno_install/issues/40 😄

nayeemrmn

comment created time in 8 days

pull request commentdenoland/deno

feat(cli/installer): Default directory to ~/.local/bin on Unix

Hmm... it also puts the cargo executable there, though.

deno install just creates helper shell scripts for people, right? Maybe "uninstalling Deno" doesn't need to include easily clearing your file system of any shell script which uses Deno, or at least that's another way of looking at it.

nayeemrmn

comment created time in 8 days

push eventnayeemrmn/deno

Nayeem Rahman

commit sha 51e20e3c7dc535e0ec861ef47eefaa39b153a003

Format

view details

push time in 8 days

PR opened denoland/deno

feat(cli/installer): Default directory to ~/.local/bin on Unix

Matches https://github.com/denoland/deno_install.

+27 -24

0 comment

3 changed files

pr created time in 8 days

push eventnayeemrmn/deno

Nayeem Rahman

commit sha 7d9adafc62136d42e3258a8ad76003de7cd90595

feat(cli/installer): Default directory to ~/.local/bin on Unix

view details

push time in 8 days

create barnchnayeemrmn/deno

branch : deno-install-default-dir

created branch time in 8 days

pull request commentdenoland/deno

feat: [std/http] Handle keep-alive timeout

I think readRequest shouldn't write response implicitly

Yeah... I thought "readRequest() doesn't return the request object to the server on failure so it has to be handled in readRequest()", but we only need access to the writer which can easily be done in the server. Go ahead if you need to revert it, I'll try again later.

keroxp

comment created time in 8 days

issue commentdenoland/deno

Module versioning, dependency management, and more ...

I can't see any mention of a dependency manager and even less a centralized one.

I can, here and there in earlier comments. I maybe conflated things though.

Must feels good to get it right when all other languages and environment get it wrong :)

Language is fixed, one other environment.

FredericLatour

comment created time in 8 days

issue commentdenoland/deno

Module versioning, dependency management, and more ...

I'm not sure why Deno having a built-in formatter is reasoning to suggest it should have a built-in dependency manager. They're not the same thing. With formatters etc. you can look at the existing ones, observe that they all do pretty much the same thing and, well... add a formatter. With centrailised dependency management (or specifically all of those little things you say it provides which should really be discussed individually 😬) you just have an existing bad solution. That's why we have one and not the other, even though we don't need either.

FredericLatour

comment created time in 8 days

push eventnayeemrmn/deno

Ryan Dahl

commit sha fd432e234691cfc660028f4873eef9c3bf70acee

upgrade: dprint 0.9.5 (#4491)

view details

Chris Knight

commit sha a053462566874f699fa7f27961143e5f6ff070d3

refactor: rename ConsoleOptions to InspectOptions (#4493)

view details

Chris Knight

commit sha 8bcdb422e387a88075126d80e1612a30f5a7d89e

Improve isatty and kill API docs; Deno.kill() - throw on Windows (#4497)

view details

Ryan Dahl

commit sha 2874664e9131616b71dd0d7d23750245b023833f

feat: Support Inspector / Chrome Devtools (#4484) This is a first pass implementation which is still missing several important features: - support for --inspect-brk (#4503) - support for source maps (#4501) - support for piping console.log to devtools console (#4502) Co-authored-by: Bert Belder <bertbelder@gmail.com> Co-authored-by: Matt Harrison <mt.harrison86@gmail.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>

view details

Ryan Dahl

commit sha 5837ce464c3283dc13f7bec237902b8c637f462d

upgrade: rusty_v8 to v0.3.9 (#4505)

view details

Kitson Kelly

commit sha 1397b8e0e7c85762e19d88fde103342bfa563360

upgrade: dprint 0.9.6 (#4509)

view details

Kitson Kelly

commit sha bced52505f32d6cca4f944bb610a8a26767908a8

Update to Prettier 2 and use ES Private Fields (#4498)

view details

Bartek Iwańczuk

commit sha 3fac487461abf055165fe0e2bb962573950277b8

feat: Add "deno doc" subcommand (#4500)

view details

Ryan Dahl

commit sha d6cb3892d48209fdb9c5196bb444e33a82bd3724

v0.38.0

view details

Luca Casonato

commit sha ad198b1cf175a1b88a6f698510bb0122e569f3ac

feat: Added colors to doc output (#4518)

view details

Kevin (Kun) "Kassimo" Qian

commit sha 2f7842246ecce1d69e13144931fd3b6417f4fdb0

fix(inspector): proper error message on port collision (#4514)

view details

Ryan Dahl

commit sha 6ae47449ec68b3353ef74fa232b1c1ff5b608773

Ignore flaky test cafile_info (#4517) Ref #4512

view details

Chris Knight

commit sha e88dcdc5e15fe4bc20b45e59d22fe993a6073da7

API doc improvments (#4525)

view details

Niklas Eicker

commit sha 92f1c71a6fde3701224f213f48e14776f9f8adee

doc: Fix some typos and improve a few sentences in the std manual (#4522)

view details

Luca Casonato

commit sha d795d3436246b609c572921ea4511fbde37f0ff3

fix(doc): Safely deal with optional type (#4526)

view details

Kitson Kelly

commit sha 7670a13f8a036589f200296693957e4e24ef769a

feat: Add common to std/path (#4527)

view details

uki00a

commit sha a98512af9a123b77332f0e7a75cfce753b7189bc

fix(std/encoding/csv): enable skipped tests (#4520)

view details

Michał Sabiniarz

commit sha 4b71ac550ea964e9c647dbb6bd9879bc06357255

console: iterable printing improvements (#4472) 1. Array elements are now grouped the same as in Node.js 2. Limit to 100 (Node.js default) elements to display in iterable 3. Print each element in new line if excessing max line length (same as in Node.js) 4. Print length of the TypedArray 5. Print information about empty items in Array

view details

Andres Villegas

commit sha 3892d49165f00b2ce078825c204ba8ceaa21f386

fix: Add check to fail the benchmark test on server error (#4519)

view details

Michał Sabiniarz

commit sha 30fdf6dc83d3a9d44436528959c39d3eab14cbbb

console: print promise details (#4524)

view details

push time in 8 days

issue commentdenoland/deno

Module versioning, dependency management, and more ...

Regarding the idea of "if Deno doesn't endorse one solution the community will create too many" -- "too many solutions" is only bad when you require that your dependencies are using the same solution, like a package.json-like dependency network, and interop is ugly. Things like udd are strictly local tools to help update your URLs. There could be 1000 of them and it would still be anything but a "sure mess", talk about being negative :) Just separate projects using different methods to solve internal problems.

FredericLatour

comment created time in 8 days

push eventnayeemrmn/deno

Nayeem Rahman

commit sha 14d61e7880994ad54483394b2f162d081e806a47

Add a #closing check to the Listener loop

view details

push time in 8 days

push eventnayeemrmn/deno

Nayeem Rahman

commit sha 97ec8c42adebc05071d0392daa78c88e4f8e9708

Finalize the previous request at the beginning of the loop

view details

push time in 8 days

push eventnayeemrmn/deno

Nayeem Rahman

commit sha 20fb1d747e3664358b155bad3a1c69425c556fcf

refactor(std/http): Replace async iterator multiplexer

view details

push time in 8 days

push eventnayeemrmn/deno

Nayeem Rahman

commit sha 6ddd5068f91a47d86b2715fb0b3757fba6f383a4

fixup! refactor(std/http): Replace async iterator multiplexer

view details

push time in 8 days

push eventnayeemrmn/deno

Nayeem Rahman

commit sha 19beeb38437e3e9c52faf62736898a12d4ad4239

fixup! refactor(std/http): Replace async iterator multiplexer

view details

push time in 8 days

push eventnayeemrmn/deno

Nayeem Rahman

commit sha a111b3c77a9e94c1540298dd8a9728612da67efc

fixup! refactor(std/http): Replace async iterator multiplexer

view details

push time in 8 days

push eventnayeemrmn/deno

dubiousjim

commit sha 72c408ea9d8b4e4fab63ae06f558c778007bb4f1

Stricter permissions for Deno.makeTemp* (#4318)

view details

dubiousjim

commit sha a28fa2415f8ae6bad63469a0c9e4dce3197970f9

support permission mode in mkdir (#4286)

view details

Bartek Iwańczuk

commit sha b8fa3fd5e7dd906e5616bf2ab8ad6df3f74f244d

move compiler API tests to integration tests (#4319)

view details

Bartek Iwańczuk

commit sha 810e4a16bedbc77ef0651f4f24626d98ca566083

reorg: Deno global initialization (#4317)

view details

João Souto

commit sha fb5c31416d4b9e526ca0fcc134dc8f366e367012

Add waker to StreamResource to fix hang on close bugs (#4293)

view details

Ryan Dahl

commit sha 3ed6ccc905394ed9c5d9cbcb8fa2426151780788

v0.36.0

view details

Chris Knight

commit sha cabe63eb05f334bc9921dc8633b254b05519b434

fix: Node polyfill fsAppend rework (#4322) * My original implementation of `fs.appendFile` used an async API, which, though it would work fine as a polyfill, wasn't an exact match with the Node API. This PR reworks that API to mimic the Node API fully as a synchronous void function with an async internal implementation. * Refactor move of other internal fs `dirent` and `dir` classes to the _fs internal directory.

view details

Ryan Dahl

commit sha 63cee35691451e85e2c9bb5b88022c8a396d7428

Enable std tests in debug mode (#4332)

view details

Ryan Dahl

commit sha 3ac642c183981a366e1db565c16b81f864b07ee4

upgrade: Rust 1.42.0 (#4331)

view details

crowlKats

commit sha e435c2be158ce8657dbff0664b6db222fe4e586c

Remove doc strings from cli/js TS files (#4329) Co-authored-by: Ryan Dahl <ry@tinyclouds.org>

view details

Bartek Iwańczuk

commit sha aab1acaed163f91aa5e89b079c5312336abb2088

refactor: unit test runner communicates using TCP socket (#4336) Rewrites "cli/js/unit_test_runner.ts" to communicate with spawned subprocesses using TCP socket. * Rewrite "Deno.runTests()" by factoring out testing logic to private "TestApi" class. "TestApi" implements "AsyncIterator" that yields "TestEvent"s, which is an interface for different types of event occuring during running tests. * Add "reporter" argument to "Deno.runTests()" to allow users to provide custom reporting mechanism for tests. It's represented by "TestReporter" interface, that implements hook functions for each type of "TestEvent". If "reporter" is not provided then default console reporting is used (via "ConsoleReporter"). * Change how "unit_test_runner" communicates with spawned suprocesses. Instead of parsing text data from child's stdout, a TCP socket is created and used for communication. "unit_test_runner" can run in either "master" or "worker" mode. Former is responsible for test discovery and establishing needed permission combinations; while latter (that is spawned by "master") executes tests that match given permission set. * Use "SocketReporter" that implements "TestReporter" interface to send output of tests to "master" process. Data is sent as stringified JSON and then parsed by "master" as structured data. "master" applies it's own reporting logic to output tests to console (by reusing default "ConsoleReporter").

view details

Oliver Lenehan

commit sha 0f6acf275370cae09ffb3f6950a3926424f3b024

fix(std): Use Deno.errors where possible. (#4356)

view details

Bartek Iwańczuk

commit sha d6bbbdda7580d74d78fecae6c99b850bc90414c5

Update CLI for unit_test_runner.ts (#4352) * drop server guard before unit test result check To prevent cascading test failures when js_unit_test http server guard is dropped before asserting that tests were successful. This is really a band-aid and doesn't solve underlying issue with http server. * Update CLI for unit_test_runner.ts * Change cli/js/tests/unit_test_runner.ts command line interface to work in 3 modes: - "one-off" - run tests that match permissions of currently running process - "master" - run tests for all possible permission combinations, by spawning subprocesses running in "worker" mode and communicating via TCP socket; requires elevated permissions - "worker" - run tests for set of permissions provided by CLI arg; requires elevated permissions to setup TCP connection to "master"; after initial setup process drops permissions to given set * Support filtering of tests by string passed after "--" CLI arg * Update cli/js/tests/README.md

view details

Kitson Kelly

commit sha ba687125e7ce5574811aebdcb7eac6b4194e6def

Add support for jsx/tsx for deno test (#4369)

view details

Lucas De Angelis

commit sha cd293f7907c831f31d6ec23d83454d6212e5fda4

doc(http/server): Add coherence to the docs (#4372) Functions that returns a server are now documented with "Create", and functions that launches one are documented with "Start". Also added documentation for listenAndServe that respects these changes. Fixes #4367

view details

Ryan Dahl

commit sha 1e28d6bdacea20cddaa4c3558b18b162d3b07d56

ci: Use Azure blob storage for sccache (#4354)

view details

Ryan Dahl

commit sha 92bbce04b9a268a9f87e1993a39fffb852c508ec

Downgrade third_party/prebuild/windows/sccache.exe (#4375) Not working due to "multiple input files" on both Azure and S3.

view details

crowlKats

commit sha 9648d3da1483ab77d9133ecd32fa240a597134eb

Add node querystring polyfill (#4370)

view details

Bartek Iwańczuk

commit sha bf51f7b2ec1b64a7ff14f7255eba231409ee5414

replace source-mappings-map with rust-sourcemap (#4368)

view details

Chris Knight

commit sha ea4f3ab852eba0eeb27004616163a0bbf9971215

feat: add chmod Node polyfill and related file system constants (#4358)

view details

push time in 8 days

issue commentdenoland/deno

Request: Synchronously load a module inside a REPL

This is covered by #3700. You would be able to do const module = await import(...).

KSXGitHub

comment created time in 9 days

delete branch nayeemrmn/deno

delete branch : tree-reorg

delete time in 9 days

delete branch nayeemrmn/deno

delete branch : test-api

delete time in 9 days

issue commentdenoland/deno

Sheband of python 2 scripts within Deno repository

I don't remember python3 being the default honestly. Try installing differently named packages? Anyway now I don't use the system's python in favour of pyenv. I remember doing pyenv install python2 python3 which installs both and putting python2 first makes it the default.

KSXGitHub

comment created time in 9 days

delete branch nayeemrmn/deno

delete branch : request-error-handling

delete time in 9 days

issue commentdenoland/deno

Sheband of python 2 scripts within Deno repository

Duplicate of #3294.

KSXGitHub

comment created time in 9 days

more