profile
viewpoint

denoland/deno 64719

A secure JavaScript and TypeScript runtime

ry/tensorflow-resnet 1534

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

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 a day

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 a day

push eventry/deno

Ryan Dahl

commit sha 8a6d52c81b834169e7f7cd0c79a9f64ffb62c541

add back std/wasi/testdata/std_fs_file_set_len.rs

view details

push time in a day

push eventry/deno

Ryan Dahl

commit sha 8fe47a1e6169c00600b37df88d782a9b6f379f3d

remove unused .header files

view details

push time in a day

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 a day

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 2 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 2 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 2 days

push eventry/deno

Ryan Dahl

commit sha c60101c44a6d197bd60c602eaa32678331517b99

Fix bodyMultipartFormData

view details

push time in 2 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 2 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 2 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 2 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 2 days

PR merged denoland/deno

Update std/http/cookie types

Fixes #6525

+11 -11

0 comment

1 changed file

kitsonk

pr closed time in 2 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 2 days

jakajancar

push eventry/deno

Ryan Dahl

commit sha 8f4829e8b4843042ea17055347f21cbe2cd09429

fix fetchInitArrayBufferBody

view details

Ryan Dahl

commit sha d6488c1ab5a50e678d750580cffad28586fcb572

fix fetchInitURLSearchParamsBody

view details

push time in 2 days

push eventdenoland/deno

Casper Beyer

commit sha 971dfcf9bbf469b4d21f4a614d3f825528d748f5

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

view details

push time in 2 days

PR merged denoland/deno

test(std/wasi): add rename test

This adds some test coverage for path_rename via std::fs::rename.

+11 -0

0 comment

1 changed file

caspervonb

pr closed time in 2 days

push eventry/deno

Ryan Dahl

commit sha b2fd03f2b2ffeb0e8c5dfa35d3002c625a0b6d82

bump

view details

push time in 2 days

push eventdenoland/deno

Casper Beyer

commit sha 9b749945bbb8c86ef1fcad9603bd7a84f27bdd8f

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

view details

push time in 2 days

PR merged denoland/deno

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

This adds a very basic to hard-link test via std::fs::hard_link, can't really test fields like ino etc with just std::fs.

+11 -0

0 comment

1 changed file

caspervonb

pr closed time in 2 days

push eventry/deno

Ryan Dahl

commit sha 4ee39cb80470ff0c6dbcd861a2ab7bfc72379bd0

fmt

view details

push time in 2 days

push eventry/deno

Ryan Dahl

commit sha 95fd14a2241e2759d0b5913fc6bc83de81b736dc

port absolute_redirect_server to rust

view details

push time in 2 days

push eventry/deno

Ryan Dahl

commit sha 08ef36a824b2860dbbbde238ffd35f464197e338

lint

view details

push time in 2 days

push eventry/deno

Ryan Dahl

commit sha d17cd0ef4c2aa87dc554557e95b306d4be5a0892

Fix 053_import_compression WIP

view details

Ryan Dahl

commit sha 72ebb02307c64d63ee62b005ac12d63398c83ab7

ignore PoisonError in test_server

view details

Ryan Dahl

commit sha 95da13f2f7a0d57689e4a35f2e8f8eb58d4c13c9

cleanup

view details

Ryan Dahl

commit sha 2d9f7e2ad5367fb2b79c3cd72774b85fe13aeb5c

fix test_fetch_once_with_redirect

view details

Ryan Dahl

commit sha a44043508114962722bd08bd740596494db68a38

fix test_fetch_with_cafile_brotli

view details

push time in 2 days

push eventdenoland/deno

Casper Beyer

commit sha cb16439e85ed4f5de7b7017e1a994780ff670e37

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

view details

push time in 3 days

PR merged denoland/deno

feat(std/wasi): implement fd_sync

This implements fd_sync as a trivial mapping to Deno.fsyncSync.

+28 -2

0 comment

3 changed files

caspervonb

pr closed time in 3 days

delete branch ry/deno

delete branch : ignore_poison

delete time in 3 days

push eventdenoland/deno

Ryan Dahl

commit sha a19d6a2613b65771748cee97c620c04a62e8a6e4

ignore PoisonError in test_server (#6567)

view details

push time in 3 days

PR merged denoland/deno

Reviewers
ignore PoisonError in http_server

From the Mutex documentation:

The mutexes in this module implement a strategy called "poisoning" where a mutex is considered poisoned whenever a thread panics while holding the mutex. Once a mutex is poisoned, all other threads are unable to access the data by default as it is likely tainted (some invariant is not being upheld).

For a mutex, this means that the lock and try_lock methods return a Result which indicates whether a mutex has been poisoned or not. Most usage of a mutex will simply unwrap() these results, propagating panics among threads to ensure that a possibly invalid invariant is not witnessed.

A poisoned mutex, however, does not prevent all access to the underlying data. The PoisonError type has an into_inner method which will return the guard that would have otherwise been returned on a successful lock. This allows access to the data, despite the lock being poisoned.

Test threads panic regularly. We don't want that to effect subsequent tests.

+7 -1

0 comment

1 changed file

ry

pr closed time in 3 days

PR opened denoland/deno

ignore PoisonError in test_server

From the Mutex documentation:

The mutexes in this module implement a strategy called "poisoning" where a mutex is considered poisoned whenever a thread panics while holding the mutex. Once a mutex is poisoned, all other threads are unable to access the data by default as it is likely tainted (some invariant is not being upheld).

For a mutex, this means that the lock and try_lock methods return a Result which indicates whether a mutex has been poisoned or not. Most usage of a mutex will simply unwrap() these results, propagating panics among threads to ensure that a possibly invalid invariant is not witnessed.

A poisoned mutex, however, does not prevent all access to the underlying data. The PoisonError type has an into_inner method which will return the guard that would have otherwise been returned on a successful lock. This allows access to the data, despite the lock being poisoned.

Test threads panic regularly. We don't want that to effect subsequent tests.

+7 -1

0 comment

1 changed file

pr created time in 3 days

create barnchry/deno

branch : ignore_poison

created branch time in 3 days

push eventry/deno

Ryan Dahl

commit sha 487ec1757804d4ddd0e0cf431245ee821016e384

handle xTypeScriptTypes.js

view details

push time in 3 days

Pull request review commentdenoland/deno

Fix missing type in formdata methods in shared_globals

 type FormDataEntryValue = File | string;  * XMLHttpRequest.send() method. It uses the same format a form would use if the  * encoding type were set to "multipart/form-data". */ interface FormData extends DomIterable<string, FormDataEntryValue> {-  append(name: string, value: string | Blob, fileName?: string): void;+  append(name: string, value: string | Blob | File, fileName?: string): void;

@crowlKats I think it would be best if we match the TS declarations exactly - they're probably correct. So, I'm in favor of removing File from cli/js/web/form_data.ts as you suggested...

crowlKats

comment created time in 3 days

delete branch ry/deno

delete branch : fix_abs_import

delete time in 3 days

push eventdenoland/deno

Ryan Dahl

commit sha f5242f333ec8ba3c1f4bea88a5b4c55bb14dbfb7

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

view details

push time in 3 days

PR merged denoland/deno

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

Introduced in #5930. cc @cknight

+1 -1

0 comment

1 changed file

ry

pr closed time in 3 days

PR opened denoland/deno

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

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

+1 -1

0 comment

1 changed file

pr created time in 3 days

create barnchry/deno

branch : fix_abs_import

created branch time in 3 days

push eventdenoland/deno

Casper Beyer

commit sha 3c5459d849502963ee44efc7c3137db6e9fc63b2

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

view details

push time in 3 days

PR merged denoland/deno

feat(std/wasi) implement fd_filestat_set_size

This implements fd_filestat_set_size as a trivial 1:1 mapping to Deno.ftruncateSync.

+30 -2

0 comment

3 changed files

caspervonb

pr closed time in 3 days

issue commentdenoland/deno

Tests in cli/tsc.rs are not deterministic

solution ought to use test_util::new_deno_dir()

https://github.com/denoland/deno/blob/4cde7fdc9a52088f8dfe3e23569d6be2faa80d0f/test_util/src/lib.rs#L160-L162

bartlomieju

comment created time in 3 days

issue commentdenoland/deno

test cli::tsc::tests::test_compile relies on DENO_DIR

duplicate of #6473

ry

comment created time in 3 days

issue closeddenoland/deno

test cli::tsc::tests::test_compile relies on DENO_DIR

It should use test_util::new_deno_dir() to construct an ephemeral one.

This also applies to test_bundle and maybe other tests in tsc.rs.

closed time in 3 days

ry

issue openeddenoland/deno

test cli::tsc::tests::test_compile relies on DENO_DIR

It should use test_util::new_deno_dir() to construct an ephemeral one.

This also applies to test_bundle and maybe other tests in tsc.rs.

created time in 3 days

push eventry/deno

Ryan Dahl

commit sha 4eee2247960f6927b3bc345e2c1bf8bd4bcf887b

Fix test_fetch_with_etag

view details

push time in 3 days

push eventry/deno

Ryan Dahl

commit sha 47d117cab8de90a85993ce6d7ec63d8370631103

WIP rewrite tools/http_server.py in Rust

view details

push time in 3 days

push eventry/deno

Benjamin Lupton

commit sha d16337cc9c59732fe81655482e08b72d844472e6

fix(std/node): global process should usable (#6392)

view details

Benjamin Lupton

commit sha 49c54c0805ab26410a62e0251fee3a28b98c0e13

fix(std/node): fix readFile types, add encoding types (#6451)

view details

Chris Couzens

commit sha f6a41469730e8dcd0995d3e5dd370b9410c65ba4

fix(cli/web): Support URLSearchParam as Body (#6416) The following used to fail in Deno despite working in the browser: ```javascript new Request('http://localhost/', {method: 'POST', body: new URLSearchParams({hello: 'world'})}).text().then(console.log) ```

view details

Kitson Kelly

commit sha 1d8fc394945fb4447cec23fbfc61fc8961126b7a

Add ability to output compiler performance information (#6434)

view details

Casper Beyer

commit sha f318ab01a47cecac9df62d11cb0c745f39523da9

fix(std/testing) assertArrayContains should work with any array-like (#6402)

view details

Colin Harrington

commit sha f4397e5ec99c539e4c6977e3eff873d672f98413

Update contributing.md for consistency (#6452)

view details

Casper Beyer

commit sha a354b248ea8ecb7fb10742322d7a36ad71eddf0a

feat(std/wasi): add wasi_snapshot_preview1 (#6441)

view details

Ryan Dahl

commit sha e3695dfbb827114fa6fadfec2229eba511f951f0

WIP

view details

Colin Harrington

commit sha 702547d65a9cb60ca6672792c08225b1c3099bad

fix(cli): ipv6 parsing for --allow-net params (#6453) Co-authored-by: Liming Jin <jinliming2@gmail.com>

view details

Nayeem Rahman

commit sha 3314b463215a8e59ec46d722adb70a22cd3ef832

fix(cli/js/web/console): Improve string quoting behaviour (#6457)

view details

Bartek Iwańczuk

commit sha 3cbd1075c78703b4852760ec5bfa2e4dbb53c737

Incremental compilation for TypeScript (#6428) This commit adds incremental compilation capabilities to internal TS compiler. Instead of using "ts.createProgram()" API for compilation step (during deno startup), "ts.createIncrementalProgram()" API is used instead. Thanks to TS' ".tsbuildinfo" file that already stores all necessary metadata for compilation I was able to remove our own invention that is ".graph" file. ".tsbuildinfo" file is stored alongside compiled source and is used to cache-bust outdated dependencies, facilitated by the "version" field. The value for "version" field is computed in Rust during loading of module graph and is basically a hash of the file contents. Please keep in mind that incremental compilation is only used for initial compilation (or dynamic imports compilation) - bundling and runtime compiler APIs haven't been changed at all. Due to problems with source map I changed compilation settings to inline source map (inlineSourceMap instead of sourceMap).

view details

Ryan Dahl

commit sha 062086260520c2a24bfd8e840295ecd0f55120af

Clean up some fetch_remote_source tets (#6446)

view details

Casper Beyer

commit sha f39c890714ad4479b42be8f24ffda185a062bd16

doc(std/wasi) add a list of supported syscalls (#6460)

view details

Bartek Iwańczuk

commit sha 6bbe52fba33e440e113bca423b5eae0d1f320c49

Revert "fix(cli): ipv6 parsing for --allow-net params (#6453)" (#6458)

view details

Casper Beyer

commit sha 87f8f99c49e62c06f85bb453a7c12b32634c3bef

refactor(cli/tests/unit) to use assertThrows (#6459)

view details

Marcos Casagrande

commit sha 6527189520b62c08f0e376a5a1f0163f0de82baa

doc(std/wasi): fix example (#6464)

view details

Chris Knight

commit sha c98038a03228d527cd90d9f1fc0118a3fe47dce0

doc: add info on installing wasm32-wasi target (#6470)

view details

Chris Knight

commit sha d9896d64ce919a46a6e8c6666c3b87cc9ae79b7b

refactor: shift copyBytes and tweak deps to reduce dependencies (#6469)

view details

Casper Beyer

commit sha ab0f12fcb80d6ad9bb74c9ba427fc73d302831ab

Remove stale comment referring to deleted code (#6462)

view details

Stanislav

commit sha 7ea3071db5b05cfe284fecfed28a66f7508dad6d

docs: replace delCookie with deleteCookie (#6467)

view details

push time in 3 days

push eventdenoland/deno

Casper Beyer

commit sha 4cde7fdc9a52088f8dfe3e23569d6be2faa80d0f

feat(std/wasi): implement fd_datasync (#6556)

view details

push time in 3 days

PR merged denoland/deno

feat(std/wasi): implement fd_datasync

This implements fd_datasync as a direct mapping to Deno.fdatasync

+28 -2

0 comment

3 changed files

caspervonb

pr closed time in 3 days

push eventdenoland/deno

Oron Sharabi

commit sha 53f8d96a1faf3b0f97e793b2e4ea86c64c12cbfa

fix(std/http): Support ipv6 parsing (#5263)

view details

push time in 3 days

PR merged denoland/deno

Support ipv6 parsing std

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

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

+77 -3

8 comments

2 changed files

oronsh

pr closed time in 3 days

push eventdenoland/deno

Casper Beyer

commit sha 06f34a1aed2541866f32438d7bbc75e35c1d5dc3

feat(std/wasi) implement fd_filestat_get (#6555)

view details

push time in 3 days

PR merged denoland/deno

feat(std/wasi) implement fd_filestat_get

This implements fd_filestat_get as a mapping to Deno.fstat.

+94 -2

0 comment

3 changed files

caspervonb

pr closed time in 3 days

Pull request review commentdenoland/deno

Support ipv6 parsing

 export type HTTPOptions = Omit<Deno.ListenOptions, "transport">;  *       req.respond({ body });  *     }  */+ export function serve(addr: string | HTTPOptions): Server {

Please don't add a newline here. I think it might break the JSDoc.

oronsh

comment created time in 3 days

issue commentdenoland/deno

How to provide an --allow-* arg containing a comma?

--allow-read="./filewithoutcomma","./file\\,withcomma" ?

jsejcksn

comment created time in 3 days

Pull request review commentdenoland/deno

Update timers to ignore Date Override

 unitTest(async function timerNestedMicrotaskOrdering(): Promise<void> { unitTest(function testQueueMicrotask() {   assertEquals(typeof queueMicrotask, "function"); });++unitTest(async function testTimerIgnoresDateOverride(): Promise<void> {+  const OriginalDate = Date;+  const { promise, resolve, reject } = deferred();+  let hasThrown = 0;+  try {+    globalThis.Date = {+      now: () => {+        reject("global Date override used over original Date object");+        return 0;+      },+    } as DateConstructor;+    setTimeout(() => resolve(), 1);

I think you can just use: queueMicrotask(resolve);

KyleJune

comment created time in 3 days

Pull request review commentdenoland/deno

Update timers to ignore Date Override

 unitTest(async function timerNestedMicrotaskOrdering(): Promise<void> { unitTest(function testQueueMicrotask() {   assertEquals(typeof queueMicrotask, "function"); });++unitTest(async function testTimerIgnoresDateOverride(): Promise<void> {+  const OriginalDate = Date;+  const { promise, resolve, reject } = deferred();+  let hasThrown = 0;+  try {+    globalThis.Date = {+      now: () => {+        reject("global Date override used over original Date object");+        return 0;+      },+    } as DateConstructor;+    setTimeout(() => resolve(), 1);+    await promise;+    hasThrown = 1;+  } catch (err) {+    if (typeof err === "string") {+      globalThis.Date = OriginalDate;

This is unnecessary since it's done in the finally block?

KyleJune

comment created time in 3 days

push eventdenoland/deno

Andrey Filatkin

commit sha a690a206790778cf63df876fdeefebc17607e5c8

fix(cli/upgrade): upgrade fails on Windows with space in temp path (#6522)

view details

push time in 3 days

issue closeddenoland/deno

Bug: deno upgrade fails on Windows with space in temp path

Log output:

PS C:\Users\Duncan Gibson> deno upgrade
Checking for latest version
New version has been found
Deno is upgrading to version 1.0.0-rc3
downloading https://github.com/denoland/deno/releases/download/v1.0.0-rc3/deno-x86_64-pc-windows-msvc.zip
downloading https://github-production-release-asset-2e65be.s3.amazonaws.com/133442384/66b94800-944e-11ea-98fb-9f565c262dce?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200512%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200512T220920Z&X-Amz-Expires=300&X-Amz-Signature=72bcdbc51591c5e081bee04bdc9787c22c542b2c9b5e2d9f20ffd764fdb72a3f&X-Amz-SignedHeaders=host&actor_id=0&repo_id=133442384&response-content-disposition=attachment%3B%20filename%3Ddeno-x86_64-pc-windows-msvc.zip&response-content-type=application%2Foctet-stream
Expand-Archive : A positional parameter cannot be found that accepts argument
'Gibson\AppData\Local\Temp\.tmpKv5TDk\deno.zip'.
At line:1 char:1
+ Expand-Archive -Path C:\Users\Duncan Gibson\AppData\Local\Temp\.tmpKv ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Expand-Archive], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Expand-Archive

thread 'main' panicked at 'assertion failed: unpack_status.success()', cli\upgrade.rs:172:3
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Version/environment:

PS C:\Users\Duncan Gibson> deno --version
deno 0.42.0
v8 8.2.308
typescript 3.8.3
  • Windows 10 Education Edition v1909 (Build 18363.815)
  • Deno installed through Chocolatey. (Deno package version 0.42.0)

closed time in 3 days

legowerewolf

PR merged denoland/deno

fix(cli/upgrade): upgrade fails on Windows with space in temp path

Fixes #5252 Powershell requires quotes in quotes for string parameters)

+23 -2

2 comments

2 changed files

anfilat

pr closed time in 3 days

issue commentdenoland/deno

refactor: Rewrite terminal printer for "deno doc"

Unmarking as good first issue because it's quite a bit in the weeds :)

bartlomieju

comment created time in 3 days

pull request commentdenoland/deno

Fix print "{msg}" when log an empty line. (#6380)

@zhengxiaoyao0716 The problem is formatting - run tools/format.py

zhengxiaoyao0716

comment created time in 3 days

issue commentdenoland/deno

Support opening raw file descriptors

Can you be a bit more descriptive? I'm not sure what you mean.

satyarohith

comment created time in 3 days

pull request commentdenoland/deno

feat(std/encoding): add base91 module

Hi @oplik0 - Thanks for the patch. I've never heard of base91 before - interesting. Given that modules in std are intended to stick around forever, may I suggest that you first add this module to deno.land/x and let's see how popular it is? I'm hesitant to add support for an encoding I haven't heard of before.

oplik0

comment created time in 3 days

push eventdenoland/deno_website2

Luna

commit sha a0a487316c1d7b64ff8456fdef5026a675ed6126

Added hooked module (#1243)

view details

push time in 4 days

PR merged denoland/deno_website2

Added hooked module
+7 -0

0 comment

1 changed file

luvies

pr closed time in 4 days

push eventdenoland/deno_website2

michael spengler

commit sha 9664268cc949f4481b3df1fa0fbfa753c292130f

Adding deno module for openfoodfacts.org/ (#1242)

view details

push time in 4 days

push eventdenoland/deno_website2

hacked

commit sha 8318ce6938c86e1d9312c7e4682c09e29fb85f4f

Add module oauth2 to database.json (#1241)

view details

push time in 4 days

push eventdenoland/deno_website2

Rodolpho de Castro Alves

commit sha 97258e7bb1fd0b0404dbdc2d72a7dffe7575b7d7

Add Helix (#1240) Helix is a non-ambitious wrappers for npm commands! Run your favorite npm commands directly from your Deno app!

view details

push time in 4 days

PR merged denoland/deno_website2

Add Helix Module

Helix is a non-ambitious wrappers for npm commands! Run your favorite npm commands directly from your Deno app!

+7 -0

0 comment

1 changed file

rodolphocastro

pr closed time in 4 days

push eventdenoland/deno_website2

Heymi

commit sha ae42b9b6ff17d95a9d1acac7b080a6806f5030c8

Add Paper Deno artwork (#1238)

view details

push time in 4 days

PR merged denoland/deno_website2

Add Paper Deno artwork

Add Paper Deno to the list of artworks

+13 -0

0 comment

2 changed files

heymicodes

pr closed time in 4 days

push eventdenoland/deno_website2

Szalay Kristóf

commit sha ec99fdcfb8015f39d94500f347bf72adc346afe2

Add back artwork padding, align items to bottom, add margin (#1239)

view details

push time in 4 days

PR merged denoland/deno_website2

Fix artwork padding and aligning
  • Adds back padding that was reverted with: #1213
  • Adds margin to items, to better space them out
  • Aligns items to bottom, so title and artists are aligned in one row.

Alignment before: image

After: image

+2 -2

0 comment

1 changed file

littletof

pr closed time in 4 days

push eventanfilat/deno

Ryan Dahl

commit sha 4d0f0799ead01a3ab17853f73d7403624c544450

clean up test

view details

push time in 4 days

push eventdenoland/deno

Marcos Casagrande

commit sha 0374eadcf7ecb054dae1b1587843a2006fdf4c2d

feat(std/node): Add Buffer.isEncoding (#6521)

view details

push time in 4 days

PR merged denoland/deno

feat(std/node): Add Buffer.isEncoding

It returns true for all valid Buffer encodings. Even if we don't have them all implemented.

Buffer.isEncoding("ucs2"): // true
Buffer.from("hello world").toString("ucs2"); // NotImplemented error
+126 -11

0 comment

3 changed files

marcosc90

pr closed time in 4 days

PR merged denoland/deno

docs(std): fix paragraph about the tagging process

This paragraph seems to be referencing the pre v1.x era which is causing some confusion, updated it to reflect the current versioning and tagging process.

Resolves https://github.com/denoland/deno/issues/6407

+4 -5

0 comment

1 changed file

caspervonb

pr closed time in 4 days

push eventdenoland/deno

Casper Beyer

commit sha 96b4a5f837fe984a91c03babc398fb55a6210610

docs(std): update paragraph about the tagging process (#6519)

view details

push time in 4 days

issue closeddenoland/deno

Versioning mismatching between std and deno binary

The docs say that "These [std] modules are tagged in accordance with Deno releases.":

image

However, the latest deno release (v1.1.1) goes with the std release of 0.58.0:

image

So I'm guilty of this myself, a project has multiple moving parts, and getting things in sync is work.

But could we? It's just another confusing extra thing to have to research (why isn't this module compiling when everything is latest). Can you just re-release the std module with the same version tag as the binary? That way, us users can sync things and make sure versions match. No-one will care if there's actually no difference between std versions if it was just a deno binary bugfix release, but having to do mental work to match up random versions is frustrating.

Also, deno is a great idea, for devops stuff the url import is the magic I've been looking for. Keep up the great work!

closed time in 4 days

dionjwa

Pull request review commentdenoland/rusty_v8

Add ICU support in embedded v8 (Updated).

 [submodule "third_party/zlib"] 	path = third_party/zlib 	url = https://chromium.googlesource.com/chromium/src/third_party/zlib.git+[submodule "third_party/icu"]+	path = third_party/icu+	url = https://github.com/kishiguro/icu.git+[submodule "build"]+	path = build+	url = https://github.com/kishiguro/chromium_build.git+[submodule "v8"]+	path = v8+	url = https://github.com/kishiguro/chromium_v8.git

@kishiguro I think we can help get this working (we are somewhat experts in ninja/gn). I'll get back to you in a few days.

kishiguro

comment created time in 4 days

push eventdenoland/deno

Valentin Anger

commit sha 660f86f1a21298f7795760a24b91b7bd8788afc3

fix(cli/doc): doc printer missing [] around tuple type (#6523)

view details

push time in 4 days

PR merged denoland/deno

Reviewers
Fix doc printer missing [] around tuple type

deno doc generates the following incorrect documentation for this file.

function one(i: Generic<number, string>): Generic<number, string>

function two(i: GenericTwo<number, string>): GenericTwo<number, string>

interface Generic

interface GenericTwo

With the tuple type printing fixed it now generates this documentation:

function one(i: Generic<[number, string]>): Generic<[number, string]>

function two(i: GenericTwo<number, string>): GenericTwo<number, string>

interface Generic

interface GenericTwo
+19 -1

1 comment

2 changed files

SyrupThinker

pr closed time in 4 days

push eventdenoland/deno

Marcos Casagrande

commit sha 89ebe2079bf51ec55c89c093ab16c3179ccd43fe

fix(cli/body): Maximum call stack size exceeded error (#6537)

view details

push time in 4 days

PR merged denoland/deno

fix(cli/body): remove args spread on concatenate

fixes #6536

Remove spread operator to prevent RangeError: Maximum call stack size exceeded when the request body is quite big.

Should be a bit faster too

+25 -2

0 comment

2 changed files

marcosc90

pr closed time in 4 days

issue closeddenoland/deno

Maximum call stack size exceeded on res.arrayBuffer()

To replicate:

# create big file
truncate -s 2g 2gb.bin

server.js

import { serve } from 'https://deno.land/std/http/mod.ts';

const server = serve({ port: 3000 })

for await (const req of server) {
        const file = await Deno.open('./2gb.bin');
        req.respond({ body: file })
}

client.js

const res = await fetch('http://localhost:3000');
const ab = await res.arrayBuffer();

Throws:

error: Uncaught RangeError: Maximum call stack size exceeded
    at bufferFromStream ($deno$/web/body.ts:76:10)
    at async file:///tmp/client.js:2:12

closed time in 4 days

marcosc90

push eventdenoland/deno_website2

Dance Planner

commit sha 82e77a14143de1e4e0282f04af41e04905172321

adding deno module dance (#1237)

view details

push time in 4 days

PR merged denoland/deno_website2

Adding deno module for dance fans. Providing dance events etc.

Inspired by https://dance-planner.org and by deno.land

+7 -0

0 comment

1 changed file

dance-planner

pr closed time in 4 days

push eventdenoland/deno_website2

Brayden

commit sha 83a10c5a9cc22212ac989f1afcf52e1cb6d4e3cf

Add flux library to database (#1236)

view details

push time in 4 days

push eventdenoland/deno_website2

andreespirela

commit sha 92fa9abbd527b3d62a483365b00af9c066c9b0fc

Adding Orange to Deno. (#1235) Orange testing library.

view details

push time in 4 days

PR merged denoland/deno_website2

Adding Orange to Deno.

Orange testing library.

+7 -0

0 comment

1 changed file

andreespirela

pr closed time in 4 days

push eventdenoland/deno_website2

Eser Ozvataf

commit sha 0fa97983bc0cb5cb35b0c5630c407fcbdbb38ddd

Added hex-functions. (#1234)

view details

push time in 4 days

PR merged denoland/deno_website2

Added hex-functions.

Function abstraction for better portability between platforms. Write once, run on cli, bots, function runtimes and web apis.

+7 -0

1 comment

1 changed file

eserozvataf

pr closed time in 4 days

push eventdenoland/deno_website2

hazæ41

commit sha 57a7a48572113ec03eba01843b23f72029ed34ad

Added hazae41/denoflate (#1233) WebAssembly powered Deflate compression for Deno, written in Rust.

view details

push time in 4 days

PR merged denoland/deno_website2

Added hazae41/denoflate

WebAssembly powered Deflate compression for Deno, written in Rust.

+7 -0

0 comment

1 changed file

hazae41

pr closed time in 4 days

push eventdenoland/deno

Haoran Liu

commit sha 1c12098e4a4fbbf981574fafe5ac5a97294c17a0

docs: update macOS dependencies of building V8 from source (#6538)

view details

push time in 4 days

more