1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
denoland-deno/cli
snek 811f99dc7d fix: performance.timeOrigin (#26787)
`performance.timeOrigin` was being set from when JS started executing,
but `op_now` measures from an `std::time::Instant` stored in `OpState`,
which is created at a completely different time. This caused
`performance.timeOrigin` to be very incorrect. This PR corrects the
origin and also cleans up some of the timer code.

Compared to `Date.now()`, `performance`'s time origin is now
consistently within 5us (0.005ms) of system time.


![image](https://github.com/user-attachments/assets/0a7be04a-4f6d-4816-bd25-38a2e6136926)
2024-11-10 09:24:22 +05:30
..
args refactor(runtime/permissions): use concrete error types (#26464) 2024-11-06 00:36:25 +01:00
bench chore: update dlint to v0.68.0 for internal (#26711) 2024-11-06 00:36:24 +01:00
cache fix: improved support for cjs and cts modules (#26558) 2024-11-06 00:36:24 +01:00
js refactor(cli/js): align error messages (#25406) 2024-09-04 09:19:55 +02:00
lsp feat(lsp): auto-import completions from byonm dependencies (#26680) 2024-11-10 09:24:22 +05:30
npm fix(install): handle invalid function error, and fallback to junctions regardless of the error (#26730) 2024-11-06 00:36:27 +01:00
ops fix: performance.timeOrigin (#26787) 2024-11-10 09:24:22 +05:30
schemas fix: add 'fmt-component' to unstable features in schema file (#26526) 2024-10-25 02:09:39 +02:00
standalone fix: improved support for cjs and cts modules (#26558) 2024-11-06 00:36:24 +01:00
tools fix(install): cache jsr deps from all workspace config files (#26779) 2024-11-10 09:24:22 +05:30
tsc fix(lsp): scope attribution for lazily loaded assets (#26699) 2024-11-06 00:36:25 +01:00
util fix(install): handle invalid function error, and fallback to junctions regardless of the error (#26730) 2024-11-06 00:36:27 +01:00
auth_tokens.rs fix: trim space around DENO_AUTH_TOKENS (#25147) 2024-08-22 15:14:50 +02:00
build.rs feat: support node-api in denort (#26389) 2024-10-25 02:09:38 +02:00
Cargo.toml 2.0.5 (#26753) 2024-11-06 01:19:05 +01:00
cdp.rs chore: upgrade to rust 1.79 (#24207) 2024-06-14 17:10:57 +05:30
clippy.toml refactor(lsp): changes for lsp_types 0.97.0 (#25169) 2024-08-24 01:21:21 +01:00
deno.ico
emit.rs fix: improved support for cjs and cts modules (#26558) 2024-11-06 00:36:24 +01:00
entitlements.plist chore: start codesigning mac release builds (#21303) 2023-11-23 15:30:26 -07:00
errors.rs refactor: use concrete error type for remaining ops (#26746) 2024-11-10 09:24:22 +05:30
factory.rs fix: improved support for cjs and cts modules (#26558) 2024-11-06 00:36:24 +01:00
file_fetcher.rs fix: .npmrc settings not being passed to install/add command (#26473) 2024-10-25 02:09:38 +02:00
graph_container.rs feat: add --allow-import flag (#25469) 2024-09-26 01:50:54 +00:00
graph_util.rs fix: improved support for cjs and cts modules (#26558) 2024-11-06 00:36:24 +01:00
http_util.rs fix: .npmrc settings not being passed to install/add command (#26473) 2024-10-25 02:09:38 +02:00
integration_tests_runner.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
js.rs chore: rename __runtime_js_source to hmr (#24442) 2024-07-05 17:47:53 +05:30
jsr.rs refactor(permissions): split up Descriptor into Allow, Deny, and Query (#25508) 2024-09-16 21:39:37 +01:00
main.rs fix: improved support for cjs and cts modules (#26558) 2024-11-06 00:36:24 +01:00
mainrt.rs perf(compile): pass module source data from binary directly to v8 (#26494) 2024-10-25 02:09:39 +02:00
module_loader.rs fix: improved support for cjs and cts modules (#26558) 2024-11-06 00:36:24 +01:00
node.rs fix: improved support for cjs and cts modules (#26558) 2024-11-06 00:36:24 +01:00
README.md docs(cli): do not need gen doc for cli (#17260) 2023-01-04 13:19:58 +01:00
resolver.rs fix: improved support for cjs and cts modules (#26558) 2024-11-06 00:36:24 +01:00
shared.rs chore: Rust 1.80.1 (#25089) 2024-08-18 22:24:56 -04:00
task_runner.rs fix(cli): set npm_config_user_agent when running npm packages or tasks (#26639) 2024-11-06 00:36:24 +01:00
version.rs build: Allow building 'rc' release from source (#25227) 2024-08-28 14:31:25 +00:00
worker.rs fix: improved support for cjs and cts modules (#26558) 2024-11-06 00:36:24 +01:00

Deno CLI Crate

crates

This provides the actual deno executable and the user-facing APIs.

The deno crate uses the deno_core to provide the executable.