profile
viewpoint

denoland/deno 64892

A secure JavaScript and TypeScript runtime

ry/tensorflow-resnet 1536

ResNet model in TensorFlow

ry/tensorflow-vgg16 647

conversation of caffe vgg16 model to tensorflow

ry/deno 370

ry/deno_typescript 31

To generate snapshots of TypeScript files during build.rs

ry/awesome-deno 15

🎉A curated list of awesome things related to Deno

ry/eecs151 12

http://inst.eecs.berkeley.edu/~eecs151/fa19/

ry/go 10

The Go programming language

push eventdenoland/deno

Bert Belder

commit sha e4e80f20c2f85cfb9ea1ae1a499ac24fd206f99b

fix(tools): command line args parsing bug, unused function parameter (#6629)

view details

push time in 21 hours

PR merged denoland/deno

fix(tools): command line args parsing bug, unused function parameter

land on approval pls 🙏

+6 -8

0 comment

2 changed files

piscisaureus

pr closed time in 21 hours

push eventdenoland/deno

Kyle June

commit sha d52e4007c887caaa073e43088fd92c3589a41dd5

Update timers to ignore Date Override (#6552)

view details

push time in a day

PR merged denoland/deno

Update timers to ignore Date Override

https://github.com/denoland/deno/issues/6040

+42 -4

3 comments

2 changed files

KyleJune

pr closed time in a day

issue commentdenoland/deno

Error: Another accept task is ongoing :: JS Native classes making HTTP dispatcher fail.

It would be very helpful for debugging if we had a small repeatable snippet of code. For example, if someone made a copy of @andreespirela's code base, and slowly started removing bits of code that have nothing to do with repeating this bug, all the time ensuring that it still fails - this would get us 90% towards a fix to this bug.

andreespirela

comment created time in a day

issue closeddenoland/deno

Another accept task is ongoing

I've just started with Deno v1.1.
I've tried to create my first class and whenever I try to instance it I get:
Uncaught Error: Another accept task is ongoing at unwrapResponse ($deno$/ops/dispatch_json.ts:43:11) It happens only if I use MySQL client before but It works if I run any MySQL query before new MyClass.

MyClass.ts

class MyClass {
   // empty
}
export default MyClass;

server.ts

import { Application } from "https://deno.land/x/oak@v5.2.0/mod.ts"
import { Client } from "https://deno.land/x/mysql/mod.ts";
import { APP_HOST, APP_PORT } from "./config.ts";
import router from './routes.ts'
import MyClass from "./controllers/myclass.ts";

const app = new Application()

app.use(router.routes())
app.use(router.allowedMethods())

const db = await new Client().connect({
    //...
});

const myClass = new MyClass();
await app.listen(`${APP_HOST}:${APP_PORT}`);

I use theese flags:

deno run --allow-env --allow-net server.ts

Env

Linux Mint 19, Deno 1.1

closed time in a day

Jax-p

issue commentdenoland/deno

Another accept task is ongoing

Let's move the discussion to https://github.com/denoland/deno/issues/6616 - there is a better description of what's happening.

Jax-p

comment created time in a day

pull request commentdenoland/deno

refactor(std): Move std/testing/asserts.ts to std/assert/mod.ts

I'm also conflicted on this... (See comment) I think we should hold off merging until we can arrive at some consensus about how to organize the asserts module.

nayeemrmn

comment created time in a day

delete branch ry/deno

delete branch : rust_http_test_server

delete time in a day

push eventdenoland/deno

Ryan Dahl

commit sha 5f9e600c5bb78ae35a9a12d250f1d7cad79cf7a4

chore: port http_server.py to rust (#6364)

view details

push time in a day

PR merged denoland/deno

chore: move redirect test server to rust

<!-- Before submitting a PR, please read https://github.com/denoland/deno/blob/master/docs/contributing.md -->

+457 -498

2 comments

16 changed files

ry

pr closed time in a day

push eventry/deno

Ryan Dahl

commit sha f3da27a996ff69290cc1104056102f8b09d9efe5

replace http_server.py in various comments

view details

push time in a day

push eventry/deno

Ryan Dahl

commit sha 69915d2403878eb36b4e4e276cfe4a807be8a011

undo fail-fast thing

view details

Ryan Dahl

commit sha 35122eeb2f81315f35817609b75f8915ea849168

test_server only needs to be running for run_exec_time

view details

push time in a day

push eventry/deno

Ryan Dahl

commit sha b1560e97b3558c81a4dcf2b3aee001f9c5571b1e

try fixing benchmark

view details

push time in a day

push eventry/deno

Ryan Dahl

commit sha 47bf17ceb40ba7b154ad55b075aa5bab7db0654a

undo berts non-fix changes

view details

Ryan Dahl

commit sha 685c30c0956097679b6f393f01d320ce1b647cd9

all servers should be included in the future::join

view details

push time in a day

push eventdenoland/deno_website2

Ryan Dahl

commit sha d6bbef56386cd85b262926ba40f868a494a362b4

std/0.60.0

view details

push time in a day

push eventry/deno

Ryan Dahl

commit sha 8a156410b5489dc2b1b2b03cf9bad8e662627201

wait after kill

view details

push time in 2 days

Pull request review commentdenoland/deno

fix(cli/buffer): allow Buffer to store MAX_SIZE bytes

 import {   unitTest, } from "./test_util.ts"; +const MAX_SIZE = 2 ** 32 - 2;

Is it really necessary to allocate 4G of memory? Does the crash occur a smaller allocations?

marcosc90

comment created time in 2 days

push eventdenoland/deno_website2

Luca Casonato

commit sha 164f58829852a5ac994dd08d056b740c83c23728

Deprecate gh: and npm: redirects (#1270)

view details

push time in 2 days

push eventdenoland/deno_website2

Rustam

commit sha 18705cc5d9b6e2212e1995d65d0d6c7be176a3b9

Added Angular deno renderer engine (#1268)

view details

push time in 2 days

push eventdenoland/deno_website2

Luciano Mammino

commit sha 83df7aaa6bd354a433430896dadc924541a583a7

Added financial library (#1269)

view details

push time in 2 days

PR merged denoland/deno_website2

Added financial library

Ref: https://github.com/lmammino/financial

financial is a zero-dependency TypeScript/JavaScript port of numpy-financial

+7 -0

0 comment

1 changed file

lmammino

pr closed time in 2 days

push eventdenoland/deno_website2

Tom Golden

commit sha 24e3f1e45cf274e967961b5ece6d2cd73011edce

Update database.json (#1267)

view details

push time in 2 days

PR merged denoland/deno_website2

Add htmlparser2

Ported over the latest version of htmlparser2.

+7 -0

0 comment

1 changed file

tbjgolden

pr closed time in 2 days

push eventdenoland/deno_website2

michael spengler

commit sha c77e49935a8b267e80563877ea63f87b3e251ba6

Adding deno module to get location data e.g. by IP or by cityname. (#1266)

view details

push time in 2 days

push eventdenoland/deno_website2

Maxime Corbin

commit sha 732520d0acedb4148afaa7d1baf901eb8b5b797c

Add Denocker (#1265)

view details

push time in 2 days

PR merged denoland/deno_website2

Add Denocker package
+7 -0

0 comment

1 changed file

Oursin

pr closed time in 2 days

issue commentdenoland/deno

signals not blocking always

Signals don't block by design (actually it took a lot of extra effort to make this happen). We haven't actually put a lot of time into this signals API beyond the initial feature patch (hence unstable). It's interesting to hear that you want the default behavior. I feel like there are arguments to be made in either direction...

cc @kt3k

aricart

comment created time in 2 days

push eventry/deno

Ryan Dahl

commit sha e6d4ecd32a51e324e5489cc37eb6b0e3972d44f2

disable fast-fail for now

view details

push time in 2 days

push eventry/deno

Ryan Dahl

commit sha 4fdb0b9610125fddfd6063dc73687d23fb94a75e

undo bartek's changes to test_util/src/lib.rs

view details

push time in 2 days

created tagdenoland/deno

tagstd/0.60.0

A secure JavaScript and TypeScript runtime

created time in 2 days

created tagdenoland/deno

tagv1.1.3

A secure JavaScript and TypeScript runtime

created time in 2 days

push eventdenoland/deno

Bartek Iwańczuk

commit sha be07aaed84946a13ec514c39606e2030e47af73f

v1.1.3

view details

push time in 2 days

PR merged denoland/deno

v1.1.3

<s>Don't merge, I intend to land a few more PRs before releasing</s>

Land on approval

+52 -12

0 comment

6 changed files

bartlomieju

pr closed time in 2 days

Pull request review commentdenoland/deno

std/log - Expose Logger type and improve public interface for get & set log levels

 export class Logger {   ): T | undefined {     return this._log(LogLevels.CRITICAL, msg, ...args);   }++  get _handlers(): BaseHandler[] {+    return this.#handlers;+  }

Why underscore?

PaulThompson

comment created time in 2 days

issue closeddenoland/deno

Question on branding.

I am building a common.js to es_module transpiler. The premise is Deno for the browser because I have been building a lot of ES_module based frontends lately but its hard to find all the packages I need. I also think that Deno community could benefit from such a tool unless I am a bit behind the times on this one.

The project currently know as Unpack (wont post links, this is not a plug) is hoping to become synonymous with a Deno stack, I have a mascot named Didi which I have designed from the ground up, it mimics the Deno logo and is meant to sit alongside Deno saying something like Didi loves Deno.

I wanted to be courteous and ask permission, can I use this as a logo or mascot https://dev.to/adam_cyclones/didi-help-me-choose-a-logo-3mo4

With the greatest respect to Deno and the Deno team.

closed time in 2 days

adam-cyclones

issue commentdenoland/deno

Question on branding.

I wanted to be courteous and ask permission, can I use this as a logo or mascot

Yes of course. Good luck with Didi.

adam-cyclones

comment created time in 2 days

Pull request review commentdenoland/deno

feat(cli): Added support for the --cert flag with 'deno upgrade'

 pub async fn upgrade_command(   dry_run: bool,   force: bool,   version: Option<String>,+  ca_file: Option<String>, ) -> Result<(), ErrBox> {-  let client = Client::builder().redirect(Policy::none()).build()?;+  let mut client_builder = Client::builder().redirect(Policy::none());++  // If we have been provided a CA Certificate, add it into the HTTP client+  if let Some(ca_file) = ca_file {+    let mut buf = Vec::new();+    File::open(ca_file)?.read_to_end(&mut buf)?;

If you don't mind - thank you

jacobgc

comment created time in 2 days

Pull request review commentdenoland/deno

upgrade: dprint-typescript-plugin 0.19.5, deno_lint 0.1.15

 pub async fn lint_files(args: Vec<String>) -> Result<(), ErrBox> {   Ok(()) } +/// List of lint rules used available in "deno lint" subcommand+fn get_rules() -> Vec<Box<dyn LintRule>> {+  vec![+    rules::ban_ts_comment::BanTsComment::new(),+    rules::ban_untagged_ignore::BanUntaggedIgnore::new(),+    rules::constructor_super::ConstructorSuper::new(),+    rules::for_direction::ForDirection::new(),+    rules::getter_return::GetterReturn::new(),+    rules::no_array_constructor::NoArrayConstructor::new(),+    rules::no_async_promise_executor::NoAsyncPromiseExecutor::new(),+    rules::no_case_declarations::NoCaseDeclarations::new(),+    rules::no_class_assign::NoClassAssign::new(),+    rules::no_compare_neg_zero::NoCompareNegZero::new(),+    rules::no_cond_assign::NoCondAssign::new(),+    rules::no_debugger::NoDebugger::new(),+    rules::no_delete_var::NoDeleteVar::new(),+    rules::no_dupe_args::NoDupeArgs::new(),+    rules::no_dupe_class_members::NoDupeClassMembers::new(),+    rules::no_dupe_else_if::NoDupeElseIf::new(),+    rules::no_dupe_keys::NoDupeKeys::new(),+    rules::no_duplicate_case::NoDuplicateCase::new(),+    rules::no_empty_character_class::NoEmptyCharacterClass::new(),+    rules::no_empty_interface::NoEmptyInterface::new(),+    rules::no_empty_pattern::NoEmptyPattern::new(),+    rules::no_empty::NoEmpty::new(),+    rules::no_ex_assign::NoExAssign::new(),+    rules::no_explicit_any::NoExplicitAny::new(),+    rules::no_extra_boolean_cast::NoExtraBooleanCast::new(),+    rules::no_extra_non_null_assertion::NoExtraNonNullAssertion::new(),+    rules::no_func_assign::NoFuncAssign::new(),+    rules::no_misused_new::NoMisusedNew::new(),+    rules::no_namespace::NoNamespace::new(),+    rules::no_new_symbol::NoNewSymbol::new(),+    rules::no_obj_call::NoObjCall::new(),+    rules::no_octal::NoOctal::new(),+    rules::no_prototype_builtins::NoPrototypeBuiltins::new(),+    rules::no_regex_spaces::NoRegexSpaces::new(),+    rules::no_setter_return::NoSetterReturn::new(),+    rules::no_this_alias::NoThisAlias::new(),+    rules::no_this_before_super::NoThisBeforeSuper::new(),+    rules::no_unsafe_finally::NoUnsafeFinally::new(),+    rules::no_unsafe_negation::NoUnsafeNegation::new(),+    rules::no_with::NoWith::new(),+    rules::prefer_as_const::PreferAsConst::new(),+    rules::prefer_namespace_keyword::PreferNamespaceKeyword::new(),+    rules::require_yield::RequireYield::new(),+    rules::triple_slash_reference::TripleSlashReference::new(),+    rules::use_isnan::UseIsNaN::new(),+    rules::valid_typeof::ValidTypeof::new(),+    rules::no_inferrable_types::NoInferrableTypes::new(),+    rules::no_unused_labels::NoUnusedLabels::new(),+    rules::no_shadow_restricted_names::NoShadowRestrictedNames::new(),+  ]+}

👍

bartlomieju

comment created time in 2 days

push eventry/deno

Bartek Iwańczuk

commit sha 851344f2ed588c0aa5db4fa66b7326900fdf9b5d

upgrade: swc_ecma_visit, dprint, deno_lint (#6580)

view details

Casper Beyer

commit sha cc2dda6754dee6f809480f0c794ccb67d59139a1

test(std/wasi): add create directory and file tests (#6603)

view details

Stanislav

commit sha 55c234af973496abdb8df4c837c204062d71c96c

docs: update discord link (#6599)

view details

uki00a

commit sha 74cd91ee566f9d41324de7c771002dfb8d43bd98

typo (#6598)

view details

Casper Beyer

commit sha 8a14eafaff3511fe3b5c6df9d958b565f80d93de

doc: add unstable note to Deno.ftruncateSync and ftruncate (#6590)

view details

Ryan Dahl

commit sha efbab93e01c89b96f757c6472214875f3a545b3c

Merge branch 'master' into rust_http_test_server

view details

Jacob Gee-Clarke

commit sha 74c260517a40d9644960b01415824e1c6c646fde

fix: net permissions didn't account for default ports (#6606)

view details

Ryan Dahl

commit sha df97f9e3202e3b71f53e6ae0cb12a6ace1639172

Merge branch 'master' into rust_http_test_server

view details

push time in 3 days

pull request commentdenoland/deno

fix(cli): panic when stdio is null on windows (fix #6409)

@Spoonbender If you have a small test script that demos the failure I can add it as a test

Spoonbender

comment created time in 3 days

push eventdenoland/deno

Jacob Gee-Clarke

commit sha 74c260517a40d9644960b01415824e1c6c646fde

fix: net permissions didn't account for default ports (#6606)

view details

push time in 3 days

PR merged denoland/deno

fix(#6531): Replacing calls to url.port() with url.port_or_known_default()

Fixes #6531

Replaced the two references to url.port() (which returns None if the port is standard to the protocal) with url.port_or_known_default() which returns the port no matter what.

+9 -5

4 comments

1 changed file

jacobgc

pr closed time in 3 days

issue closeddenoland/deno

Network permissions check doesn't account for well-known default ports

Network permissions check for a URL without an explicit port number doesn't account for default ports of well-known schemes (80 for HTTP, 443 for HTTPS), resulting in a false negative in case permissions were indeed granted for that host:port combo explicitly.

Steps to reproduce

  1. Grant permissions to access www.google.com:443 (to ensure only secure access).
  2. Try to access an https url without specifying the 443 port, i.e. fetch from https://www.google.com/robots.txt
  3. Deno denies access to that address, even though the operation itself is indeed targeting the allowed port on the allowed address.
  4. Try to fetch https://www.google.com:443/robots.txt
  5. Deno denies access here as well

Example

Consider the following test:

const res = await fetch('https://www.google.com/robots.txt');
const data = await res.text();
console.log(data);

Calling deno run --allow-net=www.google.com:443 test.ts fails on permissions.

Even if we explicitly try to fetch from https://www.google.com:443/robots.txt we fail on permissions.

Cause

The Rust url crate kindly discards the port number if it is the default of the scheme:

use url::*;

fn main() {
    let uri = url::Url::parse("https://www.google.com:443").unwrap();
    println!("URI = {:?}", uri);  // prints https://www.google.com
    println!("port = {:?}", uri.port()); // prints None
}

Prints the URL without the port number, port is None. To get the port number, we need to use port_or_known_default():

println!("Seriously, port {:?}", uri.port_or_known_default()); // prints 443

closed time in 3 days

Spoonbender

Pull request review commentdenoland/deno

fix(#6531): Replacing calls to url.port() with url.port_or_known_default()

 mod tests {       ("https://172.16.0.2:6000", false),       ("tcp://172.16.0.1:8000", false),       ("https://172.16.0.1:8000", false),+      // Testing issue #6531 (Network permissions check doesn't account for well-known default ports) so we dont regress+      ("https://www.github.com:443/robots.txt", true),

Nice! Thanks!

jacobgc

comment created time in 3 days

pull request commentdenoland/deno

Improve doc module

Looks much better!

SyrupThinker

comment created time in 3 days

issue commentdenoland/deno

Deno v1.1.x fails with TypeScript error in deno test

Hmm this is unfortunate. Sorry you hit it. Ideally we could get some example of what your code is doing into the test suite - because clearly something wasn't covered.

I'm guessing this is caused by some of the ongoing refactors to the module graph maybe #6000 ... @bartlomieju maybe has a better idea?

adrai

comment created time in 3 days

Pull request review commentdenoland/deno

feat: add --no-check option

      ["run", "--allow-read", "cli/tests/workers_round_robin_bench.ts"], None),     ("text_decoder", ["run", "cli/tests/text_decoder_perf.js"], None),     ("text_encoder", ["run", "cli/tests/text_encoder_perf.js"], None),+    ("check", ["cache", "--reload", "std/examples/chat/server_test.ts"], None),+    ("no_check",+     ["cache", "--reload", "--no-check",+      "std/examples/chat/server_test.ts"], None),

👍

kitsonk

comment created time in 3 days

Pull request review commentdenoland/deno

feat: add --no-check option

 pub fn compile_bundle(   let config_json = serde_json::json!({     "compilerOptions": {       "declaration": true,+      "importsNotUsedAsValues": "error",

Why set this to "error" and not "remove"? Maybe add explanation to comment.

kitsonk

comment created time in 3 days

push eventdenoland/deno

Casper Beyer

commit sha 8a14eafaff3511fe3b5c6df9d958b565f80d93de

doc: add unstable note to Deno.ftruncateSync and ftruncate (#6590)

view details

push time in 3 days

PR merged denoland/deno

doc: add unstable note to Deno.ftruncateSync and ftruncate

This adds a brief note as to why Deno.ftruncateSync and ftruncate are considered unstable in similar style to the other unstable features.

Apologies, overlooked this in the pull request that landed them.

+4 -2

0 comment

1 changed file

caspervonb

pr closed time in 3 days

pull request commentdenoland/deno

Implement ioctl winsize as a new binding

Hi @sebastienfilion - nice patch!

I agree with @caspervonb that it still needs some work, but this is close to something we can land.

sebastienfilion

comment created time in 3 days

Pull request review commentdenoland/deno

Implement ioctl winsize as a new binding

 declare namespace Deno {    * Requires `allow-read` and `allow-write` permissions. */   export function link(oldpath: string, newpath: string): Promise<void>; +  /** **UNSTABLE**: New API, yet to be vetted.+   *+   * Gets the size of the console as columns/rows and as width/height (in pixel).+   *+   * ```ts+   * const { columns, rows } = await Deno.getConsoleSize(Deno.stdout.rid);+   * ```+   * ```ts+   * const { innerHeight, innerWidth } = await Deno.getConsoleSize(Deno.stdout.rid);+   * ```+   */+  export function getConsoleSize(+    rid: number+  ): {+    columns: number;+    innerHeight: number;+    innerWidth: number;+    rows: number;+  };

Good this is in unstable - thanks!

sebastienfilion

comment created time in 3 days

Pull request review commentdenoland/deno

Implement ioctl winsize as a new binding

 pub fn op_isatty(     })?;   Ok(JsonOp::Sync(json!(isatty))) }++#[cfg(unix)]+use libc::{c_int, c_ulong, winsize, TIOCGWINSZ};+#[cfg(unix)]+use std::mem::MaybeUninit;++#[cfg(unix)]+extern "C" {+  fn ioctl(fd: c_int, request: c_ulong, ...) -> c_int;+}

Is this extern "C" necessary? Why can't you use the one in libc? https://docs.rs/libc/0.2.71/libc/fn.ioctl.html

sebastienfilion

comment created time in 3 days

Pull request review commentdenoland/deno

feat(std/wasi): implement sock_shutdown

 export default class Module {       },        sock_shutdown: (fd: number, how: number): number => {-        return ERRNO_NOSYS;+        const entry = this.fds[fd];+        if (!entry) {+          return ERRNO_BADF;+        }++        try {+          Deno.shutdown(entry.handle.rid, how);

Is Deno.shutdown working as intended? I seem to remember it being broken.

caspervonb

comment created time in 3 days

push eventdenoland/deno

uki00a

commit sha 74cd91ee566f9d41324de7c771002dfb8d43bd98

typo (#6598)

view details

push time in 3 days

PR merged denoland/deno

docs(deno doc): fix typo
+1 -1

0 comment

1 changed file

uki00a

pr closed time in 3 days

push eventdenoland/deno

Stanislav

commit sha 55c234af973496abdb8df4c837c204062d71c96c

docs: update discord link (#6599)

view details

push time in 3 days

PR merged denoland/deno

test(std/wasi): add create directory and file tests

This adds some fairly basic tests for std::fs::create_dir and std::fs::File::create.

+12 -0

0 comment

2 changed files

caspervonb

pr closed time in 3 days

push eventdenoland/deno

Casper Beyer

commit sha cc2dda6754dee6f809480f0c794ccb67d59139a1

test(std/wasi): add create directory and file tests (#6603)

view details

push time in 3 days

pull request commentdenoland/deno_website2

fix: deleting ryaangu/denet, repository is missing

not your repo

prisis

comment created time in 3 days

PR merged denoland/deno_website2

Add class_transformer
+7 -0

0 comment

1 changed file

Tnifey

pr closed time in 3 days

push eventdenoland/deno_website2

Hubert

commit sha f7569c8c3eb7af79795df47b47354f280582c975

Add class_transformer (#1249)

view details

push time in 3 days

PR closed denoland/deno_website2

Update irc and oauth2 module author and description

Changed username on GitHub

+4 -4

1 comment

1 changed file

nx

pr closed time in 3 days

pull request commentdenoland/deno_website2

Update irc and oauth2 module author and description

not your repo

nx

comment created time in 3 days

push eventdenoland/deno_website2

Eneko Rodríguez

commit sha 40b440e41127ffb1820eb11203ecc066a80bc847

Add is_wsl package (#1261)

view details

push time in 3 days

PR merged denoland/deno_website2

Add is_wsl package
+7 -0

0 comment

1 changed file

Nisgrak

pr closed time in 3 days

push eventdenoland/deno_website2

Theo Sun

commit sha d5a6c31c69f25f140bd6e8e4886948b27f8cc8c6

feat: add newdash package to database (#1263)

view details

push time in 3 days

PR merged denoland/deno_website2

feat: add newdash package to database

NewDash is a hard fork of the lodash utility project, and re-build it with typescript. And it supports deno now.

+10 -1

0 comment

1 changed file

Soontao

pr closed time in 3 days

push eventdenoland/deno_website2

Chris Hunt

commit sha d8eabeadb94bc1bf59f48d808b5c77552f7939e4

Add c-m-hunt/odds-converter package (#1264)

view details

push time in 3 days

push eventdenoland/deno_website2

hazæ41

commit sha c9431df0dce31ec377a80b2c01a8e0a71ccddcd7

Update database.json (#1259)

view details

push time in 3 days

PR merged denoland/deno_website2

Added hazae41/denorand

WebAssembly powered random TypedArray generation for Deno, written in Rust.

+7 -0

0 comment

1 changed file

hazae41

pr closed time in 3 days

push eventdenoland/deno_website2

Daniel Bannert

commit sha eccf4bd87b19e7f72cb2c4780748a7b6eba9b718

fix: fixed wrong repo for krijn-inc/seed (#1256)

view details

push time in 3 days

push eventTnifey/deno_website2

Ryan Dahl

commit sha 0392c0843a00548e8d45108ccdc565709e98156d

fmt

view details

push time in 3 days

push eventdenoland/deno_website2

Halvard Mørstad

commit sha 251e0dddd75b5e77ce1b41f1927e7e5cad79a667

Remove deprecated module and update description (#1247)

view details

push time in 3 days

pull request commentdenoland/deno

fix(#6531): Replacing calls to url.port() with url.port_or_known_default()

Seems reasonable - but it would be very helpful to get a test demonstrating the behavior in #6531 so we don't ever regress.

jacobgc

comment created time in 3 days

Pull request review commentdenoland/deno

feat(cli): Added support for the --cert flag with 'deno upgrade'

 pub async fn upgrade_command(   dry_run: bool,   force: bool,   version: Option<String>,+  ca_file: Option<String>, ) -> Result<(), ErrBox> {-  let client = Client::builder().redirect(Policy::none()).build()?;+  let mut client_builder = Client::builder().redirect(Policy::none());++  // If we have been provided a CA Certificate, add it into the HTTP client+  if let Some(ca_file) = ca_file {+    let mut buf = Vec::new();+    File::open(ca_file)?.read_to_end(&mut buf)?;

std::fs::read(ca_file) is shorter

jacobgc

comment created time in 3 days

issue commentdenoland/deno

can not visit in china : https://deno.land/std/http/server.ts

We are working on a fix...

bit-work

comment created time in 5 days

push eventry/deno

Casper Beyer

commit sha 3c5459d849502963ee44efc7c3137db6e9fc63b2

feat(std/wasi) implement fd_filestat_set_size (#6558)

view details

Ryan Dahl

commit sha f5242f333ec8ba3c1f4bea88a5b4c55bb14dbfb7

fix(std/node): do not use absolute urls (#6562)

view details

Ryan Dahl

commit sha a19d6a2613b65771748cee97c620c04a62e8a6e4

ignore PoisonError in test_server (#6567)

view details

Casper Beyer

commit sha cb16439e85ed4f5de7b7017e1a994780ff670e37

feat(std/wasi): implement fd_sync (#6560)

view details

Casper Beyer

commit sha 9b749945bbb8c86ef1fcad9603bd7a84f27bdd8f

test(std/wasi): add hard-link test (#6571)

view details

Casper Beyer

commit sha 971dfcf9bbf469b4d21f4a614d3f825528d748f5

test(std/wasi): add rename test (#6573)

view details

Water Zheng

commit sha 6844c3ac0ea4afcb799bba4945b400a011eb5d84

fix(std/log): print "{msg}" when log an empty line (#6381)

view details

Kitson Kelly

commit sha 062d1a41ea6ab22bab36e54d1f1222fc09351bf3

refactor: Improvements to TsCompiler and its tests (#6576)

view details

Kitson Kelly

commit sha 7858ebd493afe15b4b583b0218c27e166572b280

Update std/http/cookie types to not require full ServerRequest object (#6577)

view details

Ryan Dahl

commit sha 8ab9e195df8cb83b9d17a4f315c2c6c6bc2e53dc

Merge branch 'master' into rust_http_test_server

view details

push time in 5 days

push eventry/deno

Ryan Dahl

commit sha 8a6d52c81b834169e7f7cd0c79a9f64ffb62c541

add back std/wasi/testdata/std_fs_file_set_len.rs

view details

push time in 5 days

push eventry/deno

Ryan Dahl

commit sha 8fe47a1e6169c00600b37df88d782a9b6f379f3d

remove unused .header files

view details

push time in 5 days

push eventry/deno

Ryan Dahl

commit sha 2cf6b42cc99f946cf5820729eb77a62fecbec54b

fix test_fetch_with_cafile_with_etag failures: std_tests type_directives_redirect x_deno_warning

view details

Ryan Dahl

commit sha 886a222caf49164f7a6f912fd4c3a95f1adb58b6

fix x_deno_warning

view details

Ryan Dahl

commit sha 1574d0d1e7144c210cf704ac2382fbd68e121f2e

Fix type_directives_redirect

view details

push time in 5 days

issue commentdenoland/deno

Enhancing the Contributor License Agreement (CLA)

Hi @robpalme, thanks for relaying the explicit requirements you have. I've been meaning to update the CLA for a while - I'll get on that this week.

robpalme

comment created time in 5 days

Pull request review commentdenoland/deno

improve(std/asserts): allow assert function to specify type parameter

 // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. +declare const _CustomPromisifiedSymbol: unique symbol;+declare const _CustomPromisifyArgsSymbol: unique symbol;++declare let Symbol: SymbolConstructor;+interface SymbolConstructor {+  for(key: "nodejs.util.promisify.custom"): typeof _CustomPromisifiedSymbol;+  for(+    key: "nodejs.util.promisify.customArgs"+  ): typeof _CustomPromisifyArgsSymbol;+}

These changes seem unrelated?

wongjiahau

comment created time in 5 days

push eventry/deno

Ryan Dahl

commit sha afd64d957dbdd3c0b60a453b6e88c80c6fc33ce4

WIP remove http_server.py implement HTTPS test server in rust

view details

Ryan Dahl

commit sha 45bbac22590b7f61c81214f93408306c6615237e

fix test_fetch_with_cafile_with_etag

view details

push time in 5 days

push eventry/deno

Ryan Dahl

commit sha c60101c44a6d197bd60c602eaa32678331517b99

Fix bodyMultipartFormData

view details

push time in 5 days

push eventry/deno

Ryan Dahl

commit sha 055488763263502ffbbcc67b9591d352da46fa7a

Fix fetchWithRelativeRedirection and fetchWithRedirection

view details

Ryan Dahl

commit sha ac32901978ccd3a3f4d4412560dcc64de9266168

fix fetchInitFormDataBinaryFileBody

view details

push time in 5 days

push eventry/deno

Ryan Dahl

commit sha bcb638e1121a1c28e9dfba637a8fccaa235b61d6

multipart_form_data.txt WIP

view details

Ryan Dahl

commit sha 1d130cb641870c2a3090ea2f8e3f8aab30b9200a

fix fetchHeaders

view details

Ryan Dahl

commit sha fc7e66d4928fc7de7c1e0eb9a9f2fcc275c8a77c

fix fetchBodyReaderBigBody

view details

push time in 5 days

pull request commentdenoland/deno

Fixing error TS2345

Thanks @Bidek56 - could you add a test? Do you have a bit of example code that errors currently?

Bidek56

comment created time in 5 days

push eventdenoland/deno

Kitson Kelly

commit sha 7858ebd493afe15b4b583b0218c27e166572b280

Update std/http/cookie types to not require full ServerRequest object (#6577)

view details

push time in 5 days

PR merged denoland/deno

Update std/http/cookie types

Fixes #6525

+11 -11

0 comment

1 changed file

kitsonk

pr closed time in 5 days

issue closeddenoland/deno

std/http: Allow using getCookies() without ServerRequest

getCookies() only really needs req.headers.get("Cookie").

It would be handy if it didn't require constructing a fake ServerRequest just to use the parsing logic, and in addition to

export function getCookies(req: ServerRequest): Cookies

... it would also support one (or more) of these:

export function getCookies(req: { headers: Headers }): Cookies
export function getCookies(headers: Headers): Cookies
export function getCookies(cookieHeader: string): Cookies

closed time in 5 days

jakajancar
more