1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-12 10:37:52 -05:00
Commit graph

7862 commits

Author SHA1 Message Date
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
Divy Srivastava
50f952fa24
perf(ops): inline &[u8] arguments and enable fast API (#15731) 2022-09-09 15:30:34 +09:00
Divy Srivastava
5498a7e50b
fix(ext/flash): use utf8 length as Content-Length (#15793) 2022-09-09 15:30:23 +09:00
Divy Srivastava
e8709006ba
fix(test): unflake wasm_unreachable test (#15794) 2022-09-09 15:30:09 +09:00
Aapo Alasuutari
42564b6c37
fix(core): opAsync leaks a promise on type error (#15795) 2022-09-09 15:29:55 +09:00
Arnau Orriols
dd428d1dc8
feat(ext/ffi): Implement FFI fast-call trampoline with Dynasmrt (#15305) 2022-09-09 15:29:44 +09:00
Nayeem Rahman
7b072a2b7d
test: fix bad resource fixture (#15792) 2022-09-09 15:28:37 +09:00
Divy Srivastava
8a4e389bca
perf(runtime): short-circuit queue_async_op for Poll::Ready (#15773) 2022-09-09 15:28:27 +09:00
Alexander Sage
83dcf6ede3
fix(cli): Fix panic when providing invalid urls to --reload (#15784) 2022-09-09 15:28:17 +09:00
Giovanny Gutiérrez
f00dd96187
fix(core): Register external references for imports to the SnapshotCreator (#15621)
Several functions used for handling of dynamic imports and "import.meta"
object were not registered as external references and caused V8 to crash
during snapshotting. These functions are now registered as external refs
and aborts are no longer happening.
2022-09-09 15:28:04 +09:00
Nayeem Rahman
f0e62ced6d
fix(watch): ignore unload errors on drop (#15782) 2022-09-09 15:27:52 +09:00
Bartek Iwańczuk
1cf7f15c9d
refactor(npm): reorganize remapping built-in Node modules to remote URLs (#15755)
Changes how built-in Node modules are mapped to polyfills
from "deno_std". Instead of intertwining this logic into Node
resolution logic, we map them to "NodeResolution::BuiltIn"
which are remapped to "deno_std" URLs in ProcState.
2022-09-09 15:27:41 +09:00
Bartek Iwańczuk
95992f2336
fix(npm): conditional exports in npm: specifiers (#15778) 2022-09-09 15:27:27 +09:00
David Sherret
916c2e96ac
chore: fix flaky stdout_write_all test (#15772) 2022-09-09 15:27:17 +09:00
Divy Srivastava
5f51c8fcbf
perf(runtime): flatten arguments for write_file ops (#15776) 2022-09-09 15:27:08 +09:00
Bartek Iwańczuk
6c80cacb58
refactor: cleanup Node compatibility code (#15766)
- move errors related to Node compat from cli/node/errors.rs to "ext/node" crate
- remove dependency on "node_resolver" crate
- make some of structures private to the "cli/node" module
2022-09-09 15:26:52 +09:00
Aapo Alasuutari
d908032dbb
feat(ext/ffi): Support bool FFI type (#15754) 2022-09-09 15:26:38 +09:00
David Sherret
9d127a71b0
fix(cli): allow using file resource synchronously while being used async (#15747) 2022-09-09 15:24:16 +09:00
sigmaSd
52cccbf83d
fix(ops): use qualified borrow in op macro (#15769)
Fix https://github.com/denoland/deno/issues/15764

Use RefCell::borrow instead of state.borrow to avoid clash with std::borrow::Borrow
2022-09-09 15:24:06 +09:00
Divy Srivastava
f98cc1cad4
fix(bench): make sure bytes/response is equal (#15763) 2022-09-09 15:23:56 +09:00
Bartek Iwańczuk
beff2f81eb
BREAKING(unstable): remove --compat mode (#15678)
This commit removes "compat" mode. We shipped support for "npm:" specifier
support in v1.25 and that is preferred way to interact with Node code that we
will iterate and improve upon.
2022-09-09 15:23:41 +09:00
Bartek Iwańczuk
a83a263477
fix(npm): add more context to errors when file doesn't exist (#15749) 2022-09-09 15:22:33 +09:00
Bartek Iwańczuk
ed0471a681
chore: update devcontainer configuration (#15751) 2022-09-09 15:20:11 +09:00
Christian Dürr
07d1cacd5f
refactor: move JsError formatting to deno_runtime (#15345)
This takes the existing `fmt_error` module from cli and puts it as a
public module into `deno_runtime`.
2022-09-09 15:19:53 +09:00
Nayeem Rahman
8d0b56bb95
refactor(test): grab runTests() and runBenchmarks() from __bootstrap (#15420) 2022-09-09 15:19:33 +09:00
David Sherret
4255212d71
fix(npm): respect latest dist tag for getting current version (#15746) 2022-09-09 15:19:20 +09:00