Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-06-10 | chore(tests): test_util - Add `PathRef` (#19450) | David Sherret | |
This adds a new `PathRef` struct to test_util for making it easier to work with paths in test code. I'm going to expand on this more in the future. | |||
2023-06-08 | refactor(compile): store the npm snapshot in the eszip (#19343) | David Sherret | |
2023-05-27 | fix(compile): inline symlinks as files outside node_modules dir and warn for ↵ | David Sherret | |
directories (#19285) If a symlink within the `node_modules` directory lies outside that directory, it will now warn and inline the file. For directories, it will just warn for now. Probably fixes #19251 (I'm still unable to reproduce). | |||
2023-05-26 | fix(compile): implicit read permission to npm vfs (#19281) | David Sherret | |
Closes #19280 | |||
2023-05-25 | fix(compile): handle when DENO_DIR is readonly (#19257) | David Sherret | |
Closes #19253 | |||
2023-05-19 | feat(compile): remove need for `--unstable` with npm specifiers (#19185) | David Sherret | |
2023-05-16 | docs: fix typos (#19118) | Lenni | |
2023-05-10 | feat(compile): unstable npm and node specifier support (#19005) | David Sherret | |
This is the initial support for npm and node specifiers in `deno compile`. The npm packages are included in the binary and read from it via a virtual file system. This also supports the `--node-modules-dir` flag, dependencies specified in a package.json, and npm binary commands (ex. `deno compile --unstable npm:cowsay`) Closes #16632 | |||
2023-04-19 | fix(compile): write bytes directly to output file (#18777) | David Sherret | |
1. Adds cli/standalone folder 2. Writes the bytes directly to the output file. When adding npm packages this might get quite large, so let's not keep the final output in memory just in case. | |||
2023-03-22 | feat(cli): --ext parameter for run, compile, and bundle (#17172) | Cre3per | |
Adds `--ext` to `deno run`, closes #5088 Additionally - Adds `--ext` to `deno compile` and `deno bundle` | |||
2023-03-19 | feat(compile): Add support for web workers in standalone mode (#17657) | Andreu Botella | |
This commit adds support for spawning Web Workers in self-contained binaries created with "deno compile" subcommand. As long as module requested in "new Worker" constructor is part of the eszip (by means of statically importing it beforehand, or using "--include" flag), then the worker can be spawned. | |||
2023-03-19 | feat(compile): Enable multiple roots for a standalone module graph (#17663) | Andreu Botella | |
This change will enable dynamic imports and web workers to use modules not reachable from the main module, by passing a list of extra side module roots as options to `deno compile`. This can be done by specifying "--include" flag that accepts a file path or a URL. This flag can be specified multiple times, to include several modules. The modules specified with "--include" flag, will be added to the produced "eszip". | |||
2023-03-05 | test(compile): Add a test for dynamic imports in `deno compile` (#18017) | Andreu Botella | |
denoland/eszip#115 added support for statically-analyzed dynamic imports in eszip, which made `deno compile` support dynamic imports starting from #17858. This PR adds a test for it. ---- This test is adapted from PR #17663. Closes #17908 | |||
2023-01-13 | tests: move integration tests to a single module (#17380) | Bartek Iwańczuk | |
Effectively reverts changes done in https://github.com/denoland/deno/pull/16816 | |||
2022-11-26 | tests: move integration tests to separate modules (#16816) | Bartek Iwańczuk | |
2022-09-19 | refactor: move out test files from root testdata directory into sub ↵ | David Sherret | |
directories (#15949) | |||
2022-08-29 | fix(compile): panic when running with a populated dep analysis cache (#15672) | David Sherret | |
Closes #15612 | |||
2022-05-17 | feat: subcommands type-check only local files by default (#14623) | Bartek Iwańczuk | |
This commit changes default mode of type-checking to "local" and adds "--check" flag to following subcommands: - deno bench - deno bundle - deno cache - deno compile - deno eval - deno install - deno test | |||
2022-05-17 | BREAKING: Remove unstable Deno.emit and Deno.formatDiagnostics APIs (#14463) | Bartek Iwańczuk | |
2022-04-27 | refactor: Remove PrettyJsError and js_error_create_fn (#14378) | Nayeem Rahman | |
This commit: - removes "fmt_errors::PrettyJsError" in favor of "format_js_error" fn - removes "deno_core::JsError::create" and "deno_core::RuntimeOptions::js_error_create_fn" - adds new option to "deno_runtime::ops::worker_host::init" | |||
2022-04-01 | chore: fix main (#14175) | David Sherret | |
2022-04-01 | chore(tests): use custom temp dir creation for the tests (#14153) | David Sherret | |
2022-03-31 | fix(compile): follow redirects when resolving (#14161) | Divy Srivastava | |
2022-03-28 | chore: fix compile_windows_ext test (#14142) | David Sherret | |
2022-03-24 | tests(cli): ignore previously unignored test (#14104) | Kitson Kelly | |
Ref: #14103 | |||
2022-03-22 | fix(tests): do not use global env vars in install tests (#14078) | David Sherret | |
2022-03-18 | fix(cli): improve `deno compile` error messages (#13944) | TrickyPi | |
Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2022-02-24 | fix(compile): Support import maps (#13756) | Divy Srivastava | |
2022-02-15 | feat(cli): Replace bundling with eszip in deno compile (#13563) | William Tetlow | |
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com> | |||
2022-01-12 | feat(cli): add ignore directives to bundled code (#13309) | juju | |
This commit adds lint and fmt ignore directives to bundled code as well as a comment stating that the code was bundled and shouldn't be edited manually. | |||
2022-01-10 | cli(compile): fix output flag behaviour on compile command (#13299) | Rabin Gaire | |
2022-01-07 | chore: update copyright to 2022 (#13306) | Ryan Dahl | |
Co-authored-by: Erfan Safari <erfanshield@outlook.com> | |||
2021-11-23 | fix(cli/compile): skip bundling for pre-bundled code (#12687) | Zheyu Zhang | |
2021-08-11 | chore: move test files to testdata directory (#11601) | David Sherret | |
2021-06-27 | chore: split up integration_tests.rs into separate files (#11131) | David Sherret | |