profile
viewpoint

push eventjcao219/deno

andy finch

commit sha 83fe39701651058ae8c824621b7ef3849704fe07

update rust version for ci (#2599)

view details

matzkoh

commit sha 1b48d67fbba55d64372052879d26bf8e2143d9c7

docs(style_guide): fix typoFixes a small syntax error (#2567)

view details

Ryan Dahl

commit sha cde81c6a53bcb7e5e12a1f8d6003826544eff38e

manual: adjust windows build instructions (#2601)

view details

Bartek Iwańczuk

commit sha 38cf346d5c0f69dfb0919781fb61db7a6597ded1

feat: parse flags after script name (#2596)

view details

Bartek Iwańczuk

commit sha 5a4bebb77080d8a72a3faa594a388c6bce46e346

fix: test output for completions (#2597)

view details

Yoshiya Hinosawa

commit sha 1068b4848c4d6d9a444d2d2bca5f25d822c42ff5

ts_library_builder: update README (#2604)

view details

Bartek Iwańczuk

commit sha 9d18f97327e94ecf6fd0ae7b75a88abfeac07d7e

fix: normalize Deno.execPath (#2598)

view details

Bert Belder

commit sha 32cde32e54a0c8c73b7bc3da9a3ade8d739cc0b5

core: return useful error when import path has no prefix like ./

view details

Ryan Dahl

commit sha 33cb79d24cf03c2c771dfa499e4cc8ee7bcee800

Fix links (#2614)

view details

Yoshiya Hinosawa

commit sha a948f9ff541e5983bc29113d1e0f1898206f8581

io: change Reader interface (#2591) Instead of returning { nread: number, eof: bool }, read() returns EOF | number.

view details

Ryan Dahl

commit sha 92ac616708cb067a1b895283913c5ecd25c6d873

v0.11.0

view details

Bert Belder

commit sha 9b1997b8b6f82e17e42c43aae3621e2b932f5843

core: clearly define when module lookup is path-based vs URL-based The rules are now as follows: * In `import` statements, as mandated by the WHATWG specification, the import specifier is always treated as a URL. If it is a relative URL, it must start with either / or ./ or ../ * A script name passed to deno as a command line argument may be either an absolute URL or a local path. - If the name starts with a valid URI scheme followed by a colon, e.g. 'http:', 'https:', 'file:', 'foo+bar:', it always interpreted as a URL (even if Deno doesn't support the indicated protocol). - Otherwise, the script name is interpreted as a local path. The local path may be relative, and operating system semantics determine how it is resolved. Prefixing a relative path with ./ is not required.

view details

Bartek Iwańczuk

commit sha 72d9045528ad69ec32d7de9707cea65fab9f405e

cli: refactor deno_dir to use Url instead of String

view details

Bert Belder

commit sha f4c9b314056b002a01ac0bd5fc33f6503aba5ab2

core: replace ModuleSpecifier::to_url() by as_url()

view details

Bert Belder

commit sha afd66bb0105d87fd67e59b7455f77a6a4d1429e2

cli: generate default file name for bundle when URL ends in a slash

view details

Bert Belder

commit sha 958a80e6db9b87985898acf2f4f33e46d4740c3b

rustfmt: disable format_macro_bodies It doesn't work since we're not using rustfmt-nightly.

view details

Bert Belder

commit sha 79c3439f269f1e0e24003518e363988fa4f1da33

Pass env vars through in build_extra/rust/run.py This fixes an appveyor issue that arrises when implementing snapshot_creator in Rust.

view details

Bartek Iwańczuk

commit sha d641782c823317a2d2f64d646a0d5b8b6c22b771

Rewrite snapshot_creator in Rust

view details

Ryan Dahl

commit sha 52c0764e4fd56928fca0b201c9d402b25d3f2145

Upgrade v8 to 7.7.200 (#2624)

view details

Mark Tiedemann

commit sha 953a5a31dbda1d79065d842cf312e3149d2c70a4

Adjust powershell installer commands (#2627)

view details

push time in 22 days

push eventjcao219/deno

Jimmy Cao

commit sha c90a5504f63911a94d4930f4c293f00d4dc30be8

WIP: add watch

view details

push time in 22 days

push eventjcao219/deno

Jimmy Cao

commit sha aca1bb4a37628b9c7f59f75370b217e758733df6

WIP: add watch

view details

push time in 2 months

push eventjcao219/deno

迷渡

commit sha 6a5177dc11936687e6da95c3c45e3e41a7856d79

event `isTrusted` is enumerable (#2543)

view details

Ryan Dahl

commit sha f2c50fae844b34cf6d8488ab1fbc599eb935a919

Fix silent failure of WebAssembly.instantiate() (#2548) By making WASM compilation synchronous. We'll have to do more work to make it properly async.

view details

Bartek Iwańczuk

commit sha 77a00aef4cef31e1e76549b3fcef25f389c0ab84

feat: upgrade installer and add docs (#2551)

view details

Matt Harrison

commit sha 20f41e719d2cb5add8e9168d00f239843fd56d31

Fix comment (#2555)

view details

andy finch

commit sha eb93dc58a11d9e9a295eff31f9c2c6a3a4c5170b

add encodeInto to TextEncoder (#2558)

view details

Bartek Iwańczuk

commit sha 642eaf97c67c6070935a2977014c743ba59deff8

feat: redirect process stdio to file (#2554)

view details

Yoshiya Hinosawa

commit sha 201ddd29a7908d457ed43b030476707d32848868

fmt_test: resolve old absolute path issue (#2562)

view details

Yoshiya Hinosawa

commit sha 988bcbb8842d12202f278808698a6b546718e764

fetch: make body async iterable (#2563)

view details

Bartek Iwańczuk

commit sha b9fbd552149c1fe61b662c9b1a1ed1b42e5487ae

feat: log permission access (#2518) Replaces -D/--log-debug flag with --log-level=debug --log-level=info displays permission access

view details

Gurwinder Singh

commit sha 6fa6828e5f0f7abac20ec342ee5ec57654a425d0

Minor tweaks (#2569) 1. Separate Snapshot and Script StartupData functions based on cfg "no-snapshot-init" 2. Replace deprecated Once::ONCE_INIT with Once::new (https://github.com/rust-lang/rust/pull/61757) 3. Elide lifetime 4. Fix typos

view details

JaePil Jung

commit sha d82089ca358b7fa4d5e2b7a357f651364643de7a

Update manual.md (#2571)

view details

Long(Tony) Lian

commit sha 1d0d54247c0a5a69207f8e0b948d3b60287467eb

feat: fetch() now handles redirects (#2561)

view details

Bartek Iwańczuk

commit sha 3c81cca0374c96ff4759ec9305eb5529dd29a4d8

fix: prevent multiple downloads of modules (#2477)

view details

Bartek Iwańczuk

commit sha 70a9859adce478180a15d43877fe239a44379556

refactor: use Path/PathBuf in deno dir (#2559)

view details

Ryan Dahl

commit sha d1482c6b8abfdd8201f8d1845a5de75105f3cbc4

Upgrade deno_std (#2565)

view details

Ryan Dahl

commit sha 046cbef4f0f11e37d6ffb8b01c6362c8ce0b750d

simplify check_net test

view details

Bert Belder

commit sha 89216c7baaab8ade3daf9103572647addeb404f3

third_party: add rust crate 'termcolor'

view details

Ryan Dahl

commit sha 3a4d88475b40a17f2ce17b775a3f07c78be83d79

Port code from Cargo and use for progress A lot of its functionality is unused still, but the goal it to slowly migrate logging functionality to it. There is also a useful progress bar which can be ported over later - it depends on this module. https://github.com/rust-lang/cargo/blob/4c1fa54d10f58d69ac9ff55be68e1b1c25ecb816/src/cargo/util/progress.rs

view details

Ryan Dahl

commit sha c56df45355c8e68eabbfa62021e7ca7484115c0b

v0.10.0

view details

Evgeniy Karagodin

commit sha d089f9797830a2729cbd45cb4ea6312eb43a28de

Add homeDir to Deno namespace (#2578)

view details

push time in 2 months

startedpasscod/notify

started time in 2 months

pull request commentdenoland/deno

fix: run blocking function on a different task

@bartlomieju Done. :)

jcao219

comment created time in 2 months

push eventjcao219/deno

Yoshiya Hinosawa

commit sha 201ddd29a7908d457ed43b030476707d32848868

fmt_test: resolve old absolute path issue (#2562)

view details

Yoshiya Hinosawa

commit sha 988bcbb8842d12202f278808698a6b546718e764

fetch: make body async iterable (#2563)

view details

Bartek Iwańczuk

commit sha b9fbd552149c1fe61b662c9b1a1ed1b42e5487ae

feat: log permission access (#2518) Replaces -D/--log-debug flag with --log-level=debug --log-level=info displays permission access

view details

Gurwinder Singh

commit sha 6fa6828e5f0f7abac20ec342ee5ec57654a425d0

Minor tweaks (#2569) 1. Separate Snapshot and Script StartupData functions based on cfg "no-snapshot-init" 2. Replace deprecated Once::ONCE_INIT with Once::new (https://github.com/rust-lang/rust/pull/61757) 3. Elide lifetime 4. Fix typos

view details

JaePil Jung

commit sha d82089ca358b7fa4d5e2b7a357f651364643de7a

Update manual.md (#2571)

view details

Long(Tony) Lian

commit sha 1d0d54247c0a5a69207f8e0b948d3b60287467eb

feat: fetch() now handles redirects (#2561)

view details

Bartek Iwańczuk

commit sha 3c81cca0374c96ff4759ec9305eb5529dd29a4d8

fix: prevent multiple downloads of modules (#2477)

view details

Bartek Iwańczuk

commit sha 70a9859adce478180a15d43877fe239a44379556

refactor: use Path/PathBuf in deno dir (#2559)

view details

Ryan Dahl

commit sha d1482c6b8abfdd8201f8d1845a5de75105f3cbc4

Upgrade deno_std (#2565)

view details

Ryan Dahl

commit sha 046cbef4f0f11e37d6ffb8b01c6362c8ce0b750d

simplify check_net test

view details

Bert Belder

commit sha 89216c7baaab8ade3daf9103572647addeb404f3

third_party: add rust crate 'termcolor'

view details

Ryan Dahl

commit sha 3a4d88475b40a17f2ce17b775a3f07c78be83d79

Port code from Cargo and use for progress A lot of its functionality is unused still, but the goal it to slowly migrate logging functionality to it. There is also a useful progress bar which can be ported over later - it depends on this module. https://github.com/rust-lang/cargo/blob/4c1fa54d10f58d69ac9ff55be68e1b1c25ecb816/src/cargo/util/progress.rs

view details

Ryan Dahl

commit sha c56df45355c8e68eabbfa62021e7ca7484115c0b

v0.10.0

view details

Evgeniy Karagodin

commit sha d089f9797830a2729cbd45cb4ea6312eb43a28de

Add homeDir to Deno namespace (#2578)

view details

Bartek Iwańczuk

commit sha 6906a2f75e428221f8b9bfa28b2c6821eb3ebe30

feat: deno completions command (#2577)

view details

Jimmy Cao

commit sha e57d9047bba1a8f7ef5402f65b64b15cc6bd32ef

fix: run blocking function on a different task This avoids freezing the current task if the fn blocks indefinitely

view details

push time in 2 months

PR opened denoland/deno

fix: run blocking function on a different task

This avoids freezing the current task if the fn blocks indefinitely

Context:

I'm adding ops to Deno for filesystem watching.

Unfortunately, the cross-platform rust crate for this (rust notify) currently exposes a non-futures API for receiving events. I noticed in test cases that while it is blocking, timers no longer fire.

Example (https://github.com/jcao219/deno/blob/pr-add-watch/js/watch_fs_test.ts):

test(async function watcherClosedWhileWatching(): Promise<void> {
  const watcher = Deno.watch([]);
  const promise = watcher.next();
  setTimeout((): void => watcher.close(), 10); // Never fires...
  const { value, done } = await promise;
  assert(done);
  assertStrictEq(value.eventType, "watcherClosed");
  assertStrictEq(value.source, null);
  assertStrictEq(value.destination, null);
});

This change fixes the issue.

+4 -3

0 comment

1 changed file

pr created time in 2 months

create barnchjcao219/deno

branch : blocking

created branch time in 2 months

push eventjcao219/deno

Bartek Iwańczuk

commit sha 1f7ad17152c03b140c997590c897b89fbfea7cea

fix: Add all permissions to deno xeval (#2290)

view details

Yingbo (Max) Wang

commit sha ec9080f34c936d9af56cca68de664954053bf423

Add Deno.chown (#2292)

view details

Bartek Iwańczuk

commit sha ac8c6fec5bb2be97c8dbdb2286d2688575a593f2

Refactor unit test runner (#2294) Properly discovers the permissions needed for each test.

view details

andy finch

commit sha 2edee3367dc9003b721cf87ca57e820c7acf7b25

First pass at permissions whitelist (#2129)

view details

Kevin (Kun) "Kassimo" Qian

commit sha d9cdc6788b1ed89d7f3b2daf9da7e4a9f664e424

fix: support relative path for whitelisting (#2317) Using `std::fs::canonicalize` to expand path to full existing path, such that later attempt to loop-pop and compare path segment would work.

view details

Vincent LE GOFF

commit sha 07886a03cc913a15fa8e90034e80edeb41186c2c

[manual] fix example (#2307)

view details

Bartek Iwańczuk

commit sha 1fc61f3b6a32d30d3667855c4b2e4457f309ac87

core: Privatize ModuleNameMap SymbolicModule deno_buf (#2324)

view details

Bert Belder

commit sha 369a7ec94e191e2f4f72a12c9a9c0d0cb464e0c5

core: make PinnedBuf::Raw -> PinnedBuf conversion actually a move

view details

Bert Belder

commit sha c0341cb1af71ef35d60e984f6e17df535b8a4894

third_party: upgrade rust crates

view details

Ryan Dahl

commit sha cb93246f6d02c34306e7c9e9c567f96b9bffc875

Reorder benchmark page (#2314)

view details

Bartek Iwańczuk

commit sha 2c6b93e0a0c7927dc4dd66c1f681a78a6d79b8f1

fix: edge case in toAsyncIterator (#2335)

view details

Ryan Dahl

commit sha aba952397ae668714add770c5b6fa6edf1cf3eb5

Add progress bar (#2309)

view details

Nikola Ristic

commit sha 551b56dd855945f0ea506ea83a06b90b1399aa47

Typo (#2337)

view details

Ryan Dahl

commit sha 23aca36d52220efbfbc07abbe165bd2c9ade2009

v0.5.0

view details

ztplz

commit sha 5e56e26c8baad08954cdc3ecac34923dcdc39c12

Typo (#2342)

view details

Ryan Dahl

commit sha 160a815767fc25b0439e57ef13a1082dfb05dc99

Rename HTTP benchmarks (#2350)

view details

Ryan Dahl

commit sha a00fa7056bb6493e3ca010afc4335f099dac0807

Fix command in docs (#2353)

view details

diskkid

commit sha 2508480465a25d5d87c407081feb6160f9707cab

Add error handling to dispatch_minimal::ops::read/write (#2349)

view details

Ryan Dahl

commit sha 7d25c559fc841816ac68282ba67e8f0c1fc069bd

Upgrade deno_std

view details

Ryan Dahl

commit sha e02d8bcf18f8170a41439f4ffa416d26c5846b6e

Remove FileInfo.path

view details

push time in 2 months

create barnchjcao219/deno

branch : pr-add-watch

created branch time in 2 months

push eventjcao219/deno

Jimmy Cao

commit sha 21d18280145da3205696a4d2d8bc6f93bbda8cc3

WIP: add watch Very unsure about the API design choice, will need more thought

view details

push time in 2 months

push eventjcao219/deno

Jimmy Cao

commit sha 03a8e389f79a54ae0a5d7c6c6780a5da7c88b882

WIP: add watch Very unsure about the API design choice, will need more thought

view details

push time in 2 months

push eventjcao219/deno

Jimmy Cao

commit sha 7fe0191dc8ba24f73d8ca9c1213459246896bac1

WIP: add watch Very unsure about the API design choice, will need more thought

view details

push time in 2 months

push eventjcao219/deno

Jimmy Cao

commit sha a370328199c5b7a98a50a84e462cd7fe66f7f51e

WIP: add watch Very unsure about the API design choice, will need more thought

view details

push time in 2 months

push eventjcao219/deno

Jimmy Cao

commit sha cb10df94062a951315337a8aa17e059b466b437a

WIP: add watch Very unsure about the API design choice, will need more thought

view details

push time in 2 months

push eventjcao219/deno

迷渡

commit sha a95319074240a869dce088fa580e46a067a8e7d1

fix urlSearchParams custom symbol iterator (#2537)

view details

迷渡

commit sha 9ad5b0653e3821915d7ab7438d5ed4fe373c569a

clearTimeout should convert to number (#2539)

view details

andy finch

commit sha 76d51b0f9a4bd0ff86150d0dfa78df7c8410b7ea

refactor dispatch take 2 (#2533)

view details

迷渡

commit sha d5e80ad67744bbd2646af0a0abe27cc38205f990

fix clearTimeout.name / clearInterval.name (#2540)

view details

Kitson Kelly

commit sha ed390a51cac08ec238b45c793a5ddd65fcae1b78

Add dyn to be rust nightly compatible (#2538)

view details

Bartek Iwańczuk

commit sha 01858f115ae4c051a0beb5c1719c59431562f43e

fix: use Loader::resolve in op_fetch_module_meta_data (#2519)

view details

Jed Fox

commit sha 43f48386d7921612c5cbe7d39a4dfb82a3f3367e

website: use css variables and prefers-color-scheme (#2547) This uses `prefers-color-scheme: dark` to automatically switch to dark mode if the user specifies it in their system settings. Dark mode is supported in Firefox 67, Chrome 76, Safari 12.1, and iOS 13 as of this commit, but the current status can be checked here: https://caniuse.com/#feat=prefers-color-scheme Additionally, this uses CSS Variables to implement the color-switching mechanism. This isn’t supported in IE, but the site degrades reasonably well with them disabled. Support table: https://caniuse.com/#feat=css-variables

view details

Kitson Kelly

commit sha 425df50484f315dcd63b4d93ab6911702779899e

Combine CLI Errors (#2487)

view details

Jimmy Cao

commit sha 4262621df0ef43208612a2a2f4fdbbc671924acc

WIP: add watch Very unsure about the API design choice, will need more thought

view details

push time in 2 months

push eventjcao219/deno

Jimmy Cao

commit sha 47709147f9f7527f6e275c19cd25d17727cec96d

WIP: add watch Very unsure about the API design choice, will need more thought

view details

push time in 2 months

push eventjcao219/deno

Jimmy Cao

commit sha dc67f464f445bf4bda0f50605e011f2bb7e31e3e

WIP: add watch

view details

push time in 2 months

push eventjcao219/deno

Jimmy Cao

commit sha d2421d8a1d3dc9841640bbf214ccabc7cf8e7f74

WIP: add watch

view details

push time in 2 months

push eventjcao219/deno

Jimmy Cao

commit sha dc0615c40a1529c078ed87e9c4392eef3a90cb84

WIP: add watch

view details

push time in 2 months

push eventjcao219/deno

Jimmy Cao

commit sha 2b00a53b863fc2cae1d0a3fb4431d2df4b345c3e

WIP: add watch

view details

push time in 2 months

push eventjcao219/deno

Bartek Iwańczuk

commit sha 1f7ad17152c03b140c997590c897b89fbfea7cea

fix: Add all permissions to deno xeval (#2290)

view details

Yingbo (Max) Wang

commit sha ec9080f34c936d9af56cca68de664954053bf423

Add Deno.chown (#2292)

view details

Bartek Iwańczuk

commit sha ac8c6fec5bb2be97c8dbdb2286d2688575a593f2

Refactor unit test runner (#2294) Properly discovers the permissions needed for each test.

view details

andy finch

commit sha 2edee3367dc9003b721cf87ca57e820c7acf7b25

First pass at permissions whitelist (#2129)

view details

Kevin (Kun) "Kassimo" Qian

commit sha d9cdc6788b1ed89d7f3b2daf9da7e4a9f664e424

fix: support relative path for whitelisting (#2317) Using `std::fs::canonicalize` to expand path to full existing path, such that later attempt to loop-pop and compare path segment would work.

view details

Vincent LE GOFF

commit sha 07886a03cc913a15fa8e90034e80edeb41186c2c

[manual] fix example (#2307)

view details

Bartek Iwańczuk

commit sha 1fc61f3b6a32d30d3667855c4b2e4457f309ac87

core: Privatize ModuleNameMap SymbolicModule deno_buf (#2324)

view details

Bert Belder

commit sha 369a7ec94e191e2f4f72a12c9a9c0d0cb464e0c5

core: make PinnedBuf::Raw -> PinnedBuf conversion actually a move

view details

Bert Belder

commit sha c0341cb1af71ef35d60e984f6e17df535b8a4894

third_party: upgrade rust crates

view details

Ryan Dahl

commit sha cb93246f6d02c34306e7c9e9c567f96b9bffc875

Reorder benchmark page (#2314)

view details

Bartek Iwańczuk

commit sha 2c6b93e0a0c7927dc4dd66c1f681a78a6d79b8f1

fix: edge case in toAsyncIterator (#2335)

view details

Ryan Dahl

commit sha aba952397ae668714add770c5b6fa6edf1cf3eb5

Add progress bar (#2309)

view details

Nikola Ristic

commit sha 551b56dd855945f0ea506ea83a06b90b1399aa47

Typo (#2337)

view details

Ryan Dahl

commit sha 23aca36d52220efbfbc07abbe165bd2c9ade2009

v0.5.0

view details

ztplz

commit sha 5e56e26c8baad08954cdc3ecac34923dcdc39c12

Typo (#2342)

view details

Ryan Dahl

commit sha 160a815767fc25b0439e57ef13a1082dfb05dc99

Rename HTTP benchmarks (#2350)

view details

Ryan Dahl

commit sha a00fa7056bb6493e3ca010afc4335f099dac0807

Fix command in docs (#2353)

view details

diskkid

commit sha 2508480465a25d5d87c407081feb6160f9707cab

Add error handling to dispatch_minimal::ops::read/write (#2349)

view details

Ryan Dahl

commit sha 7d25c559fc841816ac68282ba67e8f0c1fc069bd

Upgrade deno_std

view details

Ryan Dahl

commit sha e02d8bcf18f8170a41439f4ffa416d26c5846b6e

Remove FileInfo.path

view details

push time in 2 months

more