David Sherret
7e495dde58
refactor: create deno_lib crate ( #27673 )
...
Shifts just some code down for now. I'll do the rest of the refactor in
the next pr, but didn't want to drop a huge refactor.
2025-01-16 23:32:12 +01:00
David Sherret
d5d1353084
fix(compile): store embedded fs case sensitivity ( #27653 )
2025-01-16 23:32:10 +01:00
Kenta Moriuchi
a39c83170f
chore: Happy New Year 2025 ( #27509 )
2025-01-09 15:19:16 -05:00
David Sherret
0bbb302318
chore: cargo fmt - turn on group_imports=StdExternalCrate ( #26646 )
2025-01-09 15:19:15 -05:00
David Sherret
e417475a0c
perf: upgrade to deno_semver 0.7 ( #27426 )
2025-01-09 15:19:12 -05:00
Bartek Iwańczuk
bd1437d5ec
perf: don't store duplicate info for ops in the snapshot ( #27430 )
...
Mostly for changes from https://github.com/denoland/deno_core/pull/1010
---------
Co-authored-by: David Sherret <dsherret@gmail.com>
2025-01-09 15:19:12 -05:00
David Sherret
f003040df5
fix(compile): be more deterministic when compiling the same code in different directories ( #27395 )
...
Additionaly, this no longer unnecessarily stores the source twice for
file specifiers and fixes some sourcemap issues.
Closes https://github.com/denoland/deno/issues/27284
2025-01-09 15:19:11 -05:00
David Sherret
d7e93cfff6
refactor: use capacity_builder for writing deno compile data section ( #27393 )
2025-01-09 15:19:09 -05:00
David Sherret
8381d4a950
fix(compile): analyze modules in directory specified in --include ( #27296 )
...
I ended up changing the file system implementation to determine
its root directory as the last step of building it instead of being the
first step which makes it much more reliable.
2025-01-09 15:19:06 -05:00
David Sherret
826e42a5b5
fix: improved support for cjs and cts modules ( #26558 )
...
* cts support
* better cjs/cts type checking
* deno compile cjs/cts support
* More efficient detect cjs (going towards stabilization)
* Determination of whether .js, .ts, .jsx, or .tsx is cjs or esm is only
done after loading
* Support `import x = require(...);`
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2024-11-01 12:27:00 -04:00
David Sherret
f61af864df
fix(compile): regression handling redirects ( #26586 )
...
Closes https://github.com/denoland/deno/issues/26583
2024-10-28 09:31:58 -04:00
David Sherret
eedf243b5e
perf(compile): pass module source data from binary directly to v8 ( #26494 )
...
This changes denort to pass a static reference of the moude source bytes found in the binary to v8 instead of copying it.
2024-10-24 19:48:48 +00:00