Nugine
7c171410cd
fix(core): remove unsafe in OpsTracker ( #15025 )
2022-07-05 09:49:51 -04:00
denobot
5a5d3084ab
1.23.2 ( #15024 )
...
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-06-30 15:31:47 -04:00
Divy Srivastava
2cfda9d8ac
perf(ext/web): avoid reallocations in op_base64_atob ( #15018 )
2022-06-30 14:13:37 -04:00
Divy Srivastava
f9a736372f
chore: upgrade rusty_v8 to 0.44.3 ( #15019 )
2022-06-30 14:13:37 -04:00
Alexandre Negrel
eac136e607
fix(ext/crypto): add EcdhKeyDeriveParams to deriveKey types ( #15005 )
2022-06-30 14:13:37 -04:00
Divy Srivastava
6bddc4c757
perf(serde_v8): smallvec ByteString ( #15008 )
2022-06-30 14:13:37 -04:00
David Sherret
3d2feb1331
fix(vendor): ignore import map in output directory instead of erroring ( #14998 )
2022-06-30 14:13:36 -04:00
Curtis Allen
1025be9a03
fix(runtime): derive default for deno_runtime::ExitCode ( #15017 )
2022-06-30 14:13:36 -04:00
David Sherret
3149cdde56
refactor: rename RootConfig
to CliOptions
( #15007 )
2022-06-30 14:13:36 -04:00
Nugine
e0a79c0550
perf(ext/web): use base64-simd for atob/btoa ( #14992 )
2022-06-30 14:13:36 -04:00
Aapo Alasuutari
825477b3cd
fix(ext/ffi): Empty buffers error with index out of bounds on FFI ( #14997 )
2022-06-30 14:13:35 -04:00
Mark Ladyshau
e3b40ae0ea
fix(ext/web): remove ErrorEventInit
's error default ( #14809 )
2022-06-30 14:13:35 -04:00
Divy Srivastava
cfebd2139e
chore(cli/bench): Add bun HTTP server ( #15004 )
2022-06-30 14:13:35 -04:00
bokuweb
53601a6a90
chore(cli): remove unnecessary unsafe in bench ( #15000 )
2022-06-30 14:13:35 -04:00
Divy Srivastava
f620c48ec8
perf(ext/ffi): optimize synchronous calls ( #14945 )
2022-06-30 14:13:35 -04:00
nkronlage
455e77a535
fix(test): typo ('finsihed') if text decoder not closed during test ( #14996 )
...
fix: typo ('finsihed') if text decoder not closed during test
2022-06-30 14:13:35 -04:00
David Sherret
7768eccf97
refactor: add RootConfig
( #14985 )
2022-06-30 14:13:34 -04:00
Geert-Jan Zwiers
3236340ac8
fix(task): remove --no-config as task subcommand argument ( #14983 )
2022-06-30 14:13:34 -04:00
Divy Srivastava
0ce032af98
refactor(bench): continuous benchmarking improvements ( #14821 )
2022-06-30 14:12:32 -04:00
Aapo Alasuutari
0aaeea8b67
feat(ext/ffi): Thread safe callbacks ( #14942 )
2022-06-30 14:12:32 -04:00
David Sherret
ed7a321994
refactor: create args
folder ( #14982 )
2022-06-30 14:12:32 -04:00
Bartek Iwańczuk
34eaad4155
fix(lsp): restart TS language service when caching dependencies ( #14979 )
2022-06-30 14:12:32 -04:00
Kayla Washburn
b7bc221564
chore: rename .cargo/config to .cargo/config.toml ( #14959 )
2022-06-30 14:12:32 -04:00
Carter Snook
cbe9d79f56
fix(dts/ffi): non-exact types break FFI inference ( #14968 )
2022-06-30 14:12:31 -04:00
Geert-Jan Zwiers
1bd024f546
fix(docs): --watch arg is stable ( #14970 )
2022-06-30 14:12:31 -04:00
Luca Casonato
86618e9bad
build: require safety comments on unsafe code ( #13870 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2022-06-30 14:12:31 -04:00
Andreu Botella
d3e107768a
fix(modules): Immediately resolve follow-up dyn imports to a dyn imported module ( #14958 )
...
When a dynamically imported module gets resolved, any code that comes after an
await import() to that module will continue running. However, if that is the
last code in the evaluation of another dynamically imported module, that second
module will not resolve until the next iteration of the event loop, even though
it does not depend on the event loop at all.
When the event loop is being blocked by a long-running operation, such as a
long-running timer, or by an async op that might never end, such as with workers
or BroadcastChannels, that will result in the second dynamically imported module
not being resolved for a while, or ever.
This change fixes this by running the dynamic module loading steps in a loop
until no more dynamic modules can be resolved.
2022-06-30 14:12:31 -04:00
Divy Srivastava
d10bc752af
fix(core): don't panic on non-existent cwd ( #14957 )
...
Co-authored-by: cjihrig <cjihrig@gmail.com>
2022-06-30 14:12:31 -04:00
Aaron O'Mullan
43a52feebd
refactor(snapshots): to their own crate ( #14794 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-06-30 14:12:31 -04:00
Bartek Iwańczuk
22bd1fee85
fix: don't error if Deno.bench() or Deno.test() are used in run subcommand ( #14946 )
2022-06-30 14:12:31 -04:00
denobot
9f9941c03b
1.23.1 ( #14952 )
...
Co-authored-by: aslilac <aslilac@users.noreply.github.com>
Co-authored-by: Kayla Washburn <mckayla@hey.com>
2022-06-23 13:50:44 -06:00
Nayeem Rahman
ef7bc5e0a6
fix(check): ignore TS2306 ( #14940 )
...
Fixes a regression where this type checking error was being surfaced in certain scenarios.
2022-06-23 12:18:32 -04:00
Bartek Iwańczuk
13f47ec41b
chore: upgrade rusty_v8 to 0.44.2 ( #14947 )
2022-06-23 15:49:28 +02:00
Aapo Alasuutari
a232b4011a
chore(ext/ffi): Improve FFI static handling ( #14924 )
2022-06-23 08:19:07 +05:30
Bartek Iwańczuk
1e3713c3bc
fix(fmt): ignore node_modules directory ( #14943 )
2022-06-23 01:17:49 +02:00
David Sherret
ca4385ad68
fix: upgrade swc via deno_ast 0.16 ( #14930 )
2022-06-22 15:42:08 -04:00
sigmaSd
efaa149819
fix(repl): use spaces for tab handler on windows ( #14931 )
...
There is a bug in rustyline with tabs on Windows, so we insert spaces for now.
2022-06-22 10:28:28 -04:00
David Sherret
3455f16079
chore(test_util): add new string assertion macros ( #14928 )
2022-06-21 15:25:07 -04:00
David Sherret
7ad0d09228
chore: fix pty_tab_handler test on windows ( #14927 )
2022-06-21 15:24:50 -04:00
Aapo Alasuutari
82655b9285
perf(ext/ffi): Optimize FFI Rust side type checks ( #14923 )
2022-06-21 09:16:59 +05:30
Aapo Alasuutari
a38a1f91cf
chore(ext/ffi): simplify FFI types ( #14920 )
...
This commit simplifies the TypeScript types used for interacting with Deno FFI. The basis is that types are now first grouped into logical wholes, NativeNumberType, NativeBigIntType etc. These wholes are combined into the NativeType and NativeResultType general types.
Additionally, this PR removes the { function: { parameters: [], result: "void" } } type declaration from parameters (and result types. Now functions are merely passed and returned as "function".
2022-06-21 08:20:33 +05:30
sigmaSd
ac2cf2cb3e
fix(repl): accept tab when previous character is whitespace ( #14898 )
2022-06-20 18:47:25 -04:00
David Sherret
a7339f756c
refactor: add EmitCache
trait ( #14925 )
2022-06-20 17:59:52 -04:00
David Sherret
a7a64438e2
fix: do not panic running .d.cts and .d.mts files ( #14917 )
2022-06-20 11:20:52 -04:00
Divy Srivastava
a0fc43c2c5
fix(cli/bench): Use deno check
instead of deno cache
( #14916 )
2022-06-20 20:07:24 +05:30
Divy Srivastava
354fa6cd00
BREAKING(ext/ffi): Remove Deno.UnsafePointer
indirection ( #14915 )
2022-06-20 19:08:10 +05:30
Nayeem Rahman
79b42808a4
perf(core): Cache source lookups ( #14816 )
...
Keep a cache for source maps and source lines.
We sort of already had a cache argument for source map lookup
functions but we just passed an empty map instead of storing it.
Extended it to cache source line lookups as well and plugged it
into runtime state.
2022-06-20 14:42:20 +02:00
Christian Dürr
94d369ebc6
docs: Improve mod_evaluate
documentation ( #14827 )
2022-06-20 14:40:57 +02:00
Divy Srivastava
4cbb2567b5
chore(ext/crypto): update webcrypto deps ( #14452 )
2022-06-20 16:53:57 +05:30
Aapo Alasuutari
3d6fa64f19
feat(ext/ffi): Callbacks ( #14663 )
...
This commit adds support for unstable FFI
callbacks. A callback is registered using
the `Deno.UnsafeCallback` API.
The backing memory for the callback can
be disposed of using `Deno.UnsafeCallback#close`.
It is not safe to pass the callback after calling
close.
Callbacks from other than the isolate thread
are not supported.
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
Co-authored-by: Bert Belder <bertbelder@gmail.com>
2022-06-20 16:36:04 +05:30