1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-28 16:20:57 -05:00
denoland-deno/cli
Divy Srivastava 10012c2fe3
feat(ext/node): add crypto.checkPrime API (#18465)
Towards #18455 

This commit implements `checkPrimeSync` and `checkPrime` in node:crypto
using the Miller-Rabin primality test (fun fact: it actually is a test
for composite numbers)

It first compares the candidate against many known small primes and if
not, proceeds to run the Miller-Rabin primality test.
http://nickle.org/examples/miller-rabin.5c used as reference
implementation.
2023-03-28 10:56:38 +00:00
..
args refactor(cli): remove Lazy<String> and fix help outputs (#18462) 2023-03-27 18:28:41 +02:00
bench fix(cli/bench): look for clone3 syscalls for thread count (#18456) 2023-03-27 14:45:00 +00:00
cache feat(core): initialize SQLite off-main-thread (#18401) 2023-03-27 22:01:52 +00:00
js feat(test): print pending tests on sigint (#18246) 2023-03-25 21:32:11 +02:00
lsp feat(test): print pending tests on sigint (#18246) 2023-03-25 21:32:11 +02:00
napi chore: forward v1.32.1 release commit to main (#18399) 2023-03-23 22:55:23 +01:00
node feat(core): initialize SQLite off-main-thread (#18401) 2023-03-27 22:01:52 +00:00
npm feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
ops Reland "perf(core): preserve ops between snapshots (#18080)" (#18272) 2023-03-18 18:30:04 -04:00
schemas feat: embed import map in the config file (#17478) 2023-01-25 21:13:40 +01:00
tests feat(ext/node): add crypto.checkPrime API (#18465) 2023-03-28 10:56:38 +00:00
tools feat(core): initialize SQLite off-main-thread (#18401) 2023-03-27 22:01:52 +00:00
tsc chore(ext/kv): add limits (#18415) 2023-03-25 15:29:36 +08:00
util perf(core) Reduce script name and script code copies (#18298) 2023-03-21 22:33:12 +00:00
auth_tokens.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
build.rs refactor: make version and user_agent &'static str (#18400) 2023-03-23 23:27:58 +01:00
Cargo.toml chore: upgrade clap to v4 (#17333) 2023-03-26 06:06:18 +02:00
deno.ico fix(cli): add icon and metadata to deno.exe on Windows (#6693) 2020-07-15 21:54:38 +02:00
deno_std.rs refactor(init): remove CURRENT_STD_URL (#18375) 2023-03-23 03:11:18 +00:00
emit.rs perf(core) Reduce script name and script code copies (#18298) 2023-03-21 22:33:12 +00:00
errors.rs feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
file_fetcher.rs fix(cli): don't store blob and data urls in the module cache (#18261) 2023-03-26 12:24:10 +03:00
graph_util.rs feat(core): initialize SQLite off-main-thread (#18401) 2023-03-27 22:01:52 +00:00
http_util.rs refactor: remove usages of map_or / map_or_else (#18212) 2023-03-15 17:46:36 -04:00
js.rs perf: disable runtime snapshot compression (#18239) 2023-03-17 08:49:46 +05:30
main.rs chore: upgrade clap to v4 (#17333) 2023-03-26 06:06:18 +02:00
module_loader.rs perf(core) Reduce script name and script code copies (#18298) 2023-03-21 22:33:12 +00:00
proc_state.rs feat(core): initialize SQLite off-main-thread (#18401) 2023-03-27 22:01:52 +00:00
README.md docs(cli): do not need gen doc for cli (#17260) 2023-01-04 13:19:58 +01:00
resolver.rs refactor: remove Semaphore::new(1) and use TaskQueue (#18014) 2023-03-04 20:07:11 -05:00
standalone.rs refactor: make version and user_agent &'static str (#18400) 2023-03-23 23:27:58 +01:00
version.rs refactor: make version and user_agent &'static str (#18400) 2023-03-23 23:27:58 +01:00
worker.rs refactor: use default implementation of BootstrapOptions (#18439) 2023-03-26 04:38:45 +00: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.