Commit graph

7867 commits

Author SHA1 Message Date
denobot
3fbb1daddb
2.6.3 (#31690)
Some checks failed
ci / pre-build (push) Has been cancelled
ci / bench release linux-x86_64 (push) Has been cancelled
ci / test debug linux-x86_64 (push) Has been cancelled
ci / test release linux-x86_64 (push) Has been cancelled
ci / test debug macos-x86_64 (push) Has been cancelled
ci / test release macos-x86_64 (push) Has been cancelled
ci / test debug windows-x86_64 (push) Has been cancelled
ci / test release windows-x86_64 (push) Has been cancelled
ci / test debug linux-aarch64 (push) Has been cancelled
ci / test release linux-aarch64 (push) Has been cancelled
ci / test debug macos-aarch64 (push) Has been cancelled
ci / test release macos-aarch64 (push) Has been cancelled
ci / lint debug linux-x86_64 (push) Has been cancelled
ci / lint debug macos-x86_64 (push) Has been cancelled
ci / lint debug windows-x86_64 (push) Has been cancelled
ci / build libs (push) Has been cancelled
ci / publish canary (push) Has been cancelled
Bumped versions for 2.6.3

---------

Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2025-12-20 11:07:07 +00:00
David Sherret
6aaed850b8
fix(check): improve node types handling (#31677)
1. Always injects node types when someone has a `node:` import (like
before, so this isn't dependent on the lib setting... which fixes the
linked issue)
2. Handles someone doing `/// <reference lib="node" />`. Previously this
was slightly broken.

*
c5cb3b27ac
* https://github.com/denoland/typescript-go/pull/18

Closes https://github.com/denoland/deno/issues/31649
2025-12-20 11:17:45 +01:00
denobot
9cd8077757
2.6.2 (#31674)
Some checks are pending
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
Bumped versions for 2.6.2

---------

Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2025-12-19 14:04:14 +00:00
Divy
d9a8d18a0b
fix(audit): fix deserde for transitive npm audit actions (#31671)
Fixes https://github.com/denoland/deno/issues/31613
2025-12-19 08:22:26 +00:00
David Sherret
e76aa96376
fix(check): handle workspace members having different jsx import sources and importing each other (#31654)
Some checks are pending
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
2025-12-18 21:54:21 -05:00
Nathan Whitaker
8a00009a83
fix(x): fix shim script when use custom alias name, re-enable alias tests (#31653) 2025-12-18 10:06:35 +01:00
Leo Kettmeir
892bc94afe
fix(flags): implement a better sandbox subcommand (#31657)
Some checks are pending
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
2025-12-17 23:29:57 +01:00
David Sherret
7c98c6f3f3
refactor: create console_static_text in single place (#31645) 2025-12-17 11:20:48 -05:00
Bartek Iwańczuk
8aead9bf10
chore: upgrade Rust to 1.92 (#31592) 2025-12-17 17:06:52 +01:00
Felipe Cardozo
32d5a305ec
feat: worker debugging support via CDP (#31527) 2025-12-16 14:47:28 -03:00
Leo Kettmeir
611d7255d2
feat: add sandbox subcommand (#31568) 2025-12-16 16:16:31 +01:00
snek
4d385965ba
fix(cli): deno tunnel when token storage isn't working or without deno.json (#31584) 2025-12-16 13:58:43 +00:00
David Sherret
5396fed4f9
fix(check): regression with tsgo and node globals (#31621)
Some checks are pending
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
2025-12-15 18:30:00 -05:00
Nathan Whitaker
783829a882
fix(x): cache on demand when running, resolve packages with only one binary, don't fail on node-gyp if not present (#31619)
Fixes #31591.
Fixes #31583.
2025-12-15 14:19:17 -08:00
denobot
abf630fb20
2.6.1 (#31615)
Some checks are pending
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
Bumped versions for 2.6.1

---------

Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2025-12-15 13:45:57 +01:00
Bartek Iwańczuk
aa5fc409d0
fix: --preload and --require flags only available in runtime subcommands (#31614)
Closes https://github.com/denoland/deno/issues/31609
2025-12-15 10:52:46 +00:00
Divy
a97997b8e5
fix(compile): sentinal conflict with strtab on intel mac (#31587) 2025-12-15 15:06:35 +05:30
David Sherret
d17ae8ca9b
chore: fix spec tests not checking test result (#31594)
Some checks failed
ci / pre-build (push) Has been cancelled
ci / test debug linux-aarch64 (push) Has been cancelled
ci / test release linux-aarch64 (push) Has been cancelled
ci / test debug macos-aarch64 (push) Has been cancelled
ci / test release macos-aarch64 (push) Has been cancelled
ci / bench release linux-x86_64 (push) Has been cancelled
ci / test debug linux-x86_64 (push) Has been cancelled
ci / test release linux-x86_64 (push) Has been cancelled
ci / test debug macos-x86_64 (push) Has been cancelled
ci / test release macos-x86_64 (push) Has been cancelled
ci / test debug windows-x86_64 (push) Has been cancelled
ci / test release windows-x86_64 (push) Has been cancelled
ci / lint debug linux-x86_64 (push) Has been cancelled
ci / lint debug macos-x86_64 (push) Has been cancelled
ci / lint debug windows-x86_64 (push) Has been cancelled
ci / build libs (push) Has been cancelled
ci / publish canary (push) Has been cancelled
There's also a bug fix for source maps. See:
5795522967
2025-12-13 23:27:46 +00:00
Felipe Cardozo
952963cb42
fix: source map file names to non-existent paths (#31564)
Some checks are pending
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
2025-12-12 15:13:44 -03:00
Leo Kettmeir
b97dfb01b5
feat(unstable): deploy config allow app to be optional (#31567) 2025-12-12 15:13:12 +01:00
snek
b27665f363
fix(cli): add streams as transferable types (#31586)
Some checks are pending
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
https://github.com/denoland/deno/pull/31126#issuecomment-3643982160
2025-12-12 11:29:05 +01:00
Christian Svensson
9d9f355e28
fix(x): correct alias deno command location for Windows (#31573)
I'm not familiar with Rust or Windows CMD syntax. But I tried both the
current option and just plain `deno.exe` locally by changing `dx.cmd`,
which solved the issue for me.

Closes #31572

Signed-off-by: Christian Svensson <csvn.dev@gmail.com>
2025-12-11 20:57:40 +00:00
Nayeem Rahman
ad54330f39
fix(add): include type-only imports when building graph (#31552)
Some checks are pending
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
Fixes #31550
2025-12-11 09:29:47 +00:00
Nathan Whitaker
56e196b517
fix(x): fix executing native binary on windows + some cleanup (#31551)
Addressing some todos from the original PR. For instance, this allows
things like `dx supabase` (which is a native bin) to work on windows
2025-12-11 09:33:20 +01:00
denobot
d5b1548eba
2.6.0 (#31549)
Bumped versions for 2.6.0

---------

Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2025-12-10 14:29:22 +01:00
Bartek Iwańczuk
556eb71469
Revert "chore: Rust 1.91.1 (#31165)" (#31548)
Some checks are pending
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
This reverts commit e5f9b441ef.

Trying to revert this because we started getting a lot of seemingly
random failures after this upgrade.
2025-12-10 00:36:30 +00:00
Nathan Whitaker
861f62a4ec
feat: add deno x (alias dx) for conveniently running binaries from packages (#31138)
an equivalent to npx, for conveniently running binaries from packages

available as `deno x`, and you can install an alias via `deno x
--install-alias` (defaults to dx but can be specified)

Used like `deno x rolldown`, or `dx rolldown` with the alias

- defaults to allow-all, unless another permission flag is passed
- prompts when you first run a package
- runs lifecycle scripts if you accept the prompt
- defaults to npm: unless otherwise specified
- errors if you try to use it to run a file

---------

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2025-12-09 15:06:36 -08:00
Vivien Galuchot
f5cb510eba
fix(bundle): support android (#31521)
support android os in esbuild

linked with https://github.com/denoland/esbuild_client/pull/16
2025-12-09 14:28:31 -08:00
Nayeem Rahman
5f2a56ff5f
feat: wasm source phase imports (#31486) 2025-12-09 14:36:32 +00:00
Nathan Whitaker
55a2c7d28b
fix(install): report installed npm packages when not using node_modules, fix double counting (#31536)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2025-12-09 12:20:03 +00:00
David Sherret
a49fdb52cd
feat: include @types/node type declarations out of the box (#31502)
Some checks are pending
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
This adds a new "node" lib that's included by default and can be
excluded by providing a custom `"lib": [...]` typescript compiler option
without the `"node"` value.

If it detects a `@types/node` package in the files being type checked it
will skip injecting the `lib.node.d.ts` file.

* Uses `npm:@types/node@24.2.0`
* See tools/update_types_node.ts for the build script.
* https://github.com/denoland/deno_npm/pull/127 (will integrate this one
later)
* https://github.com/denoland/typescript-go/pull/16
* https://github.com/denoland/TypeScript/pull/19 (last two commits)

Closes https://github.com/denoland/deno/issues/30963
2025-12-09 11:58:00 +01:00
Nathan Whitaker
1317a36332
fix(bundle): don't use createRequire when targeting browser in Deno.bundle (#31534)
Some checks are pending
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
Fixes #31524

Missed a code path in the original fix
2025-12-09 00:13:35 +00:00
Divy
b18b8347f7
chore: macos-15-intel runner on ci (#31419)
This includes fixes from
e229ef18a6
2025-12-08 23:07:44 +00:00
Nayeem Rahman
642f2a46a6
fix(lsp): don't provide organizeImports action when client provides it (#31530)
Some checks are pending
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
2025-12-08 10:46:22 +00:00
Murat Kirazkaya
61cf9333a9
feat: deno init --empty (#31516)
This commit adds `--empty` flag to `deno init`
subcommand which generates only `deno.json`
and `main.ts` without any imports.
2025-12-08 10:14:36 +01:00
David Sherret
c27d8f047b
fix: make '@types' package resolution more consistent (#31512)
Some checks are pending
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
Shifts `@types` package resolution down into node_resolver so it's
always done. We were being inconsistent.
2025-12-06 11:59:06 -05:00
David Sherret
8c46ac3228
fix(check): move types not found error to tsc diagnostic (#31509)
Closes https://github.com/denoland/deno/issues/31352
2025-12-06 02:57:45 +00:00
Bartek Iwańczuk
3a4b9de81e
fix: change errors message suggesting to run approve-scripts (#31493)
Some checks are pending
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
Follow up to https://github.com/denoland/deno/pull/31472

Before:
```
$ deno install
...
╭ Warning
│
│  Ignored build scripts for packages:
│  npm:msgpackr-extract@3.0.3
│  npm:@parcel/watcher@2.5.1
│  npm:lmdb@2.8.5
│  npm:@swc/core@1.12.0
│
│  Run "deno install --allow-scripts=npm:msgpackr-extract,npm:@parcel/watcher,npm:lmdb,npm:@swc/core" to run build scripts.
╰─
...
$ deno approve-builds
Approved npm:@swc/core@1.12.0
Approved npm:fsevents@2.3.3
Denied npm:@parcel/watcher@2.5.1
Denied npm:esbuild@0.25.10
Denied npm:lmdb@2.8.5
Denied npm:msgpackr-extract@3.0.3

```

After:
```
$ deno install
...
╭ Warning
│
│  Ignored build scripts for packages:
│  npm:@parcel/watcher@2.5.1
│  npm:lmdb@2.8.5
│  npm:msgpackr-extract@3.0.3
│  npm:@swc/core@1.12.0
│
│  Run "deno approve-scripts" to run build scripts.
╰─
...
$ deno approve-builds
Denied npm:@parcel/watcher@2.5.1
Denied npm:esbuild@0.25.10
Denied npm:msgpackr-extract@3.0.3
Approved npm:@swc/core@1.12.0
Approved npm:fsevents@2.3.3
Approved npm:lmdb@2.8.5
Warning The following packages are deprecated:
┠─ npm:mkdirp@0.5.1 (Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.))
┖─ npm:connect@2.30.2 (connect 2.x series is deprecated)
Run build script npm:@swc/core@1.12.0
Run build script npm:fsevents@2.3.3
Run build script npm:lmdb@2.8.5
```
2025-12-05 21:19:29 +00:00
David Sherret
3089aa8690
Revert "feat(BREAKING/compile): require providing -- for script arguments" (#31505)
Reverts denoland/deno#31296
2025-12-05 21:17:43 +00:00
David Sherret
dd3a7d394b
feat(init/npm): add --yes flag to bypass prompt (#31499)
Some checks are pending
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
2025-12-05 11:07:07 -05:00
Divy
e5f9b441ef
chore: Rust 1.91.1 (#31165)
Some checks are pending
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2025-12-04 13:11:05 -05:00
David Sherret
557c580053
feat(install): add --lockfile-only flag (#31376)
Some checks are pending
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
Adds a `--lockfile-only` flag that only updates the lockfile and doesn't
install any npm deps locally. Note that jsr and https dependencies are
still cached because they require looking at the code to resolve
dependencies.

Applies to `deno install`, `deno add`, `deno remove`, `deno outdated
--update`, and `deno update`

Closes https://github.com/denoland/deno/issues/31371
2025-12-04 09:50:11 -05:00
Bartek Iwańczuk
46e02e3e19
ci: revert version to 2.5.6 (#31492) 2025-12-04 00:40:21 +01:00
Bartek Iwańczuk
62e63ac9ca
fix(audit): remove unwrap in favor of log, don't print empty reports (#31479)
Some checks are pending
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
Changes to print reports from socket.dev, only if something is found.
2025-12-03 08:30:57 +09:00
Nathan Whitaker
746f60d2a4
fix(tsgo): do not error out on non js/ts imports from npm packages (#31478)
Fixes #31423 

This already worked for non npm files because the loading for non-npm
files uses the module graph, and things like CSS don't appear in the
module graph. That meant we weren't prompting tsc to create a source
file and parse those files. For npm files though, we were loading them
manually, which meant tsc tried to load them as ts/js sources
2025-12-02 22:06:15 +00:00
Nathan Whitaker
6b78b55a9a
feat(cli): add approve-scripts AKA "approve-builds" subcommand (#31472)
Refactored out the picker from `update --interactive` to reuse here.
Looks like this:


![foo](https://github.com/user-attachments/assets/ec1aed5f-a6bd-439b-ad78-6872f90f660c)
2025-12-02 21:53:53 +00:00
James McNally
0d662fee33
fix(test): Remove ANSI Escape Codes for Junit Reports (#30854)
* Add an option to the report printer to not use ansi codes.
* Made this default fore the junit file output.
* Implemented removal of codes in the formatter.

It would be preferable for performance to not include them in the first
place but that change is higher risk.

Refs: https://github.com/denoland/deno/issues/23316
2025-12-02 18:11:44 +01:00
xBZZZZ
cafd7f6c7f
docs(cli): update description of getCString (#31469)
Some checks are pending
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
2025-12-02 15:09:50 +00:00
Felipe Cardozo
d07f8d198b
feat: add native source maps support (#31268)
Some checks are pending
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
This change refines how the compiler normalizes and resolves source map
URLs. Now is handled embedded and external source maps.
This reduces false negatives when loading source maps and aligns the
behavior with the expected spec semantics.
2025-12-02 00:02:06 -03:00
Bartek Iwańczuk
1d57559107
feat: support publish: false in deno.json (#30852)
Closes https://github.com/denoland/deno/issues/30848

---------

Co-authored-by: David Sherret <dsherret@gmail.com>
Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
2025-12-02 00:48:13 +00:00