Age | Commit message (Collapse) | Author |
|
Basically this does pre-processing of TypeScript files and gathers all the
dependencies asynchronously. Only then after all the dependencies are gathered,
does it do a compile, which at that point all the dependencies are cached in
memory in the compiler, so with the exception of the hard coded assets, there
are no ops during the compilation.
Because op_fetch_source_files is now handled asynchronously in the runtime, we
can eliminate the tokio_util::block_on() which was causing the increase in
threads. Benchmarking on my machine has shown about a 5% improvement in speed
when dealing with compiling TypeScript. Still a long way to go, but an
improvement.
In theory the module name resolution and the fetching of the source files could
be broken out as two different ops. This would prevent situations of sending the
full source file all the time when actually the module is the same module
referenced by multiple modules, but that could be done subsequently to this.
|
|
|
|
|
|
|
|
fs/glob.ts:
- Improve prototypes for expandGlob() and expandGlobSync() from denoland/deno_std#604.
- Rename glob() to globToRegExp().
- Add normalizeGlob() and joinGlobs().
- Extract GlobToRegExpOptions from GlobOptions, remove the strict
and filepath options.
fs/globrex.ts:
- Add GlobrexOptions.
fs/path/constants.ts:
- Add SEP_PATTERN.
fs/walk.ts:
- Add WalkOptions::includeFiles
- Default WalkOptions::includeDirs to true.
- Don't traverse directories matching a skip pattern.
- Remove walkSync()'s default root value.
prettier:
- Refactor to use expandGlob().
testing:
- Make findTestModules() an async generator.
Original: https://github.com/denoland/deno_std/commit/8c90bd9d0b1c78b023d36462ffaa9446ef22490c
|
|
* migrate deno_typescript crate to Isolate.register_op API
* remove dual-dispatch mechanism
* update Isolate tests to new dispatch mechanism
|
|
This adds a new op to get a single env var.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Original: https://github.com/denoland/deno_std/commit/f3bdf1a77b852cfb1490f20e4ad9b4346fe9d328
|
|
|
|
|
|
Original: https://github.com/denoland/deno_std/commit/de99fcbaf94c58010b7997362dc585416b6cc3af
|
|
Original: https://github.com/denoland/deno_std/commit/cac2d5ee68332956e59f548ff08f73b0fadf83d1
|
|
Original: https://github.com/denoland/deno_std/commit/17a214bbd5b3a058a8126e9f7210992b1b52ba11
|
|
|
|
Original: https://github.com/denoland/deno_std/commit/5d0dd5878e82ab7577356096469a7e280efe8442
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
|
|
Original: https://github.com/denoland/deno_std/commit/54a5b95fefd10b41f65cf6fd3eba626577eadda7
|
|
|
|
Original: https://github.com/denoland/deno_std/commit/20b6408e105f5dd1dbcd0a252d1956b3de1024ca
|
|
Original: https://github.com/denoland/deno_std/commit/a4a8bb2948e5984656724c51a803293ce82c035f
|
|
Original: https://github.com/denoland/deno_std/commit/51134571c415e25230e1722517771a741d2742a5
|
|
Original: https://github.com/denoland/deno_std/commit/e3a33a79e6b09f47450a3bd25c5205fa6e1b641a
|
|
Previously: dial("tcp", "deno.land:80")
Now: dial({ hostname: "deno.land", port: 80, transport: "tcp" })
Similarly with listen().
|
|
When the global timer fires earlier than expected, which apparently
happens sometimes on server editions of Windows, we didn't call any
setTimeout callbacks, but we *also* didn't reschedule the global timer
to fire again later.
When this situation occurred it would make deno exit abruptly if there
were no other asynchronous ops running on the event loop. It could also
lead to application hangs if the upcoming setTimeout callback was
critical for the application to make progress.
|
|
|
|
|
|
|
|
Fixes #2933
|
|
|
|
|
|
The yarn.lock file is moved from //third_party to the root of
the main repository. This is where other package metadata
files (e.g. Cargo.lock and package.json) are also located.
|
|
|
|
|
|
|
|
Several tests were disabled in order to land this update.
Original: https://github.com/denoland/deno_std/commit/a8f6cf7b4fa4030878bb702a65f28f469ee1f87d
|
|
Original: https://github.com/denoland/deno_std/commit/de8d0ab4a100707b57f12cff5db635356221f324
|