0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-02 04:38:21 -05:00
Commit graph

7887 commits

Author SHA1 Message Date
Aapo Alasuutari
e221088296 feat(ops): Automatic fast ops creation (#15527) 2022-09-22 11:04:13 -04:00
Yoshiya Hinosawa
831ca5990d fix(runtime): better error message with Deno.env.get/set (#15966) 2022-09-22 11:04:13 -04:00
Bartek Iwańczuk
6c7408662c fix(flash): panic if response if undefined (#15964)
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2022-09-22 11:04:13 -04:00
Vicary A
29c0951bd4 fix(ext/webgpu): make GPUDevice.features SetLike (#15853) 2022-09-22 11:04:13 -04:00
Ben Noordhuis
ff5747264c chore(runtime): upgrade netif crate (#15867)
v0.1.3 contains code that will stop working with newer versions of
libstd because the layout of some std::net types changed.

Refs: https://github.com/bnoordhuis/netif/pull/10
2022-09-22 11:03:38 -04:00
Divy Srivastava
a395f3f8f4 perf(core): use single ObjectTemplate for ops in initialize_ops (#15959) 2022-09-22 11:03:38 -04:00
David Sherret
327a0081de refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-22 11:03:37 -04:00
Divy Srivastava
34d351ac1d perf(cli): avoid canonicalize_path if config file does not exist (#15957) 2022-09-22 11:03:36 -04:00
Divy Srivastava
1e8f4a1c40 perf(cli): avoid clap::App::clone (#15951) 2022-09-22 11:03:36 -04:00
Ben Noordhuis
af0d2eeb7b chore: fix clippy warnings (#15944)
Stop allowing clippy::derive-partial-eq-without-eq and fix warnings
about deriving PartialEq without also deriving Eq.

In one case I removed the PartialEq because it a) wasn't necessary,
and b) sketchy because it was comparing floating point numbers.

IMO, that's a good argument for enforcing the lint rule, because it
would most likely have been caught during review if it had been enabled.
2022-09-22 11:03:36 -04:00
David Sherret
ff2f128d56 fix(doc): deno doc should parse modules if they haven't been parsed before (#15941) 2022-09-22 11:03:36 -04:00
Yoshiya Hinosawa
391108f16f fix(ext/node): fix builtin module module (#15904) 2022-09-22 11:03:36 -04:00
Divy Srivastava
3510b2f5a2 perf(web): optimize encodeInto() (#15922) 2022-09-22 11:03:35 -04:00
Divy Srivastava
bfbc5ddc0c perf(ext/console): avoid wrapConsole when not inspecting (#15931) 2022-09-22 11:03:35 -04:00
Darshan Sen
fe4b883b73 chore: upgrade rusty_v8 to v0.50.0 (#15762)
Signed-off-by: Darshan Sen <raisinten@gmail.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-09-22 11:03:35 -04:00
Marcos Casagrande
a0cf4fbc23 refactor(ext/node): use primordials (#15912) 2022-09-22 11:03:35 -04:00
Ryan Dahl
0d584f20b0 upgrade deps (#15914) 2022-09-22 11:03:35 -04:00
Nayeem Rahman
1abcbb04b6 fix(runtime): fix permission status cache keys (#15899) 2022-09-22 11:02:01 -04:00
denobot
f561e765a7
1.25.3 (#15917)
Co-authored-by: cjihrig <cjihrig@users.noreply.github.com>
2022-09-15 13:46:30 -04:00
cjihrig
152a2c3566
chore: fixups for release
This commit runs the formatter and linter, and also backs
out some changes that build on top of features that are
not included in this release line.
2022-09-15 12:36:46 -04:00
Leo Kettmeir
31f74180fe
docs: make unstable warnings consistent (#15913) 2022-09-15 12:17:21 -04:00
Luca Casonato
28e4cfc148
Revert "docs: remove unstable messages" (#15886) 2022-09-15 12:17:14 -04:00
Marcos Casagrande
a253ec4e55
refactor(runtime/io): use primordials (#15906) 2022-09-15 12:16:52 -04:00
Divy Srivastava
f911b58631
chore(ext/flash): disable flaky flash test (#15908) 2022-09-15 12:16:45 -04:00
Colin Ihrig
e90f42cb2c
fix(ops): add node.js env variable allowlist (#15893)
This commit allows the Node compatibility layer to skip
environment variable permission checks when --unstable
is passed and the variable name is one that Node uses.

Fixes: https://github.com/denoland/deno/issues/15890
2022-09-15 12:16:35 -04:00
Bartek Iwańczuk
3c6652d56b
fix(npm): binary entrypoint for .js or no extension (#15900) 2022-09-15 12:16:20 -04:00
Asher Gomez
6c558e8470
doc(unstable): mention that signal input isn't supported in spawnSync (#15889) 2022-09-15 12:16:11 -04:00
Divy Srivastava
e65d8af1f7
fix(ext/flash): don't block requests (#15852) 2022-09-15 12:15:56 -04:00
David Sherret
503f8105c5
refactor(npm): create general use NpmPackageResolver (#15882) 2022-09-15 12:15:21 -04:00
Divy Srivastava
cc901f3bc2
perf(serde_v8): remove Mutex from ZeroCopyBuf (#15888) 2022-09-15 12:02:46 -04:00
Leo Kettmeir
3fd55b618a
docs: remove unstable messages (#15878) 2022-09-15 12:02:35 -04:00
Bartek Iwańczuk
89ef56a170
fix(npm): use shim from deno_node crate for 'module' built-in module (#15881) 2022-09-15 12:02:25 -04:00
David Sherret
55b85d4992
fix(npm): support cjs resolution of package subpath with package.json (#15855) 2022-09-15 12:02:16 -04:00
David Sherret
921c74bb28
fix(npm): align Deno importing Node cjs with Node esm importing cjs (#15879) 2022-09-15 12:02:07 -04:00
Leo Kettmeir
6341c4df4f
docs: dedupe DOM category (#15868) 2022-09-15 12:01:51 -04:00
Eder Lima
d0789cb1f8
chore(ops): fix typo on readme (#15848) 2022-09-15 12:01:37 -04:00
Andrew Johnston
26476cbbc6
perf(url): return early if url has no query string (#15856) 2022-09-15 12:01:28 -04:00
David Sherret
209f78c3ac
fix(npm): align Node esm code importing cjs with Node (#15838) 2022-09-15 12:01:11 -04:00
Divy Srivastava
6abf70f10e
perf(ext/flash): remove string->buffer cache (#15850) 2022-09-15 12:01:00 -04:00
David Sherret
e3090f11f3
fix(npm): remove export binding to match node (#15837) 2022-09-15 12:00:45 -04:00
Divy Srivastava
008b9afc00
perf: optimize URL serialization (#15663) 2022-09-15 12:00:32 -04:00
Yoshiya Hinosawa
347efd3fab
chore(cli): exclude npm registry data from crate package (#15832) 2022-09-15 12:00:13 -04:00
denobot
3c5af2ba49
1.25.2 (#15830)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2022-09-09 17:54:05 +09:00
Bartek Iwańczuk
f835767409
fix(npm): recursive translation of reexports, remove window global in node code (#15806)
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-09-09 15:33:30 +09:00
Leo Kettmeir
e2cd5723f2
chore: update url crate to 2.3.1 (#15818) 2022-09-09 15:33:17 +09:00
Leo Kettmeir
501f2efdc7
fix(docs): change category for Deno.Process to "Sub Process" (#15812) 2022-09-09 15:33:01 +09:00
Leo Kettmeir
5764f782cb
fix(docs): add missing categories for unstable (#15807) 2022-09-09 15:32:39 +09:00
David Sherret
f258a05444
fix: upgrade deno_ast to 0.19 (#15808) 2022-09-09 15:32:29 +09:00
Divy Srivastava
bf87c922e2
chore: bump url crate to 2.3.0 (#15800) 2022-09-09 15:32:19 +09:00
Colin Ihrig
c763514c14
fix(core): make errors more resistant to tampering (#15789)
This commit makes error objects more resistant to
prototype tampering.

This bug was found when updating the deno_std Node compatibility
layer to Node 18. The Node test 'parallel/test-assert-fail.js'
was breaking std's assertion library.

Refs: https://github.com/denoland/deno_std/pull/2585
2022-09-09 15:30:45 +09:00