Hajime-san
1b545f980a
handle 32-bit depth
2024-10-04 07:11:08 +09:00
Hajime-san
5e52b862fb
update error message
2024-10-02 22:30:46 +09:00
Hajime-san
f3aa376ef3
Merge branch 'main' into update-imagebitmap
2024-10-02 21:34:05 +09:00
Hajime-san
9a9664e38f
add comments for the reference of issues about imageOrientation
2024-10-02 21:11:41 +09:00
Arnau Orriols
7da70f4e58
chore: relax version pinning of deno_package_json ( #25985 )
...
Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
2024-10-02 12:55:56 +02:00
Hajime-san
829f523f89
add unit test for imageOrientation
2024-10-02 18:55:17 +09:00
Mohammad Sulaiman
3c193aef98
chore: deprecate check itests ( #25963 )
2024-10-02 09:22:35 +00:00
David Sherret
d116709d06
chore: remove unnecessary envs in spec tests ( #25982 )
2024-10-02 10:14:38 +01:00
Satya Rohith
32c1278736
feat(ext/node): buffer.transcode() ( #25972 )
...
Closes https://github.com/denoland/deno/issues/25911
2024-10-02 08:23:14 +00:00
Divy Srivastava
620e6b43a6
fix(ext/node): remove unimplemented promiseHook stubs ( #25979 )
...
`temporalio` sdk [will try to
use](faa64225a7/packages/worker/src/workflow/vm-shared.ts (L199-L202)
)
promiseHook if it is found. This patch removes the unimplemented stubs.
```ts
if (promiseHooks) {
// Node >=16.14 only
this.stopPromiseHook = promiseHooks.createHook({
init: (promise: Promise<unknown>, parent: Promise<unknown>) => {
```
Fixes https://github.com/denoland/deno/issues/25977
2024-10-02 12:52:05 +05:30
Nayeem Rahman
3881b71734
feat(lsp): quick fix for @deno-types="npm:@types/*" ( #25954 )
2024-10-01 22:55:02 +01:00
Bartek Iwańczuk
f930000415
feat: Add suggestion for packages using Node-API addons ( #25975 )
...
This commit adds a suggestion with information and hint how
to resolve situation when user tries to run an npm package
with Node-API addons using global cache (which is currently not
supported).
Closes https://github.com/denoland/deno/issues/25974
2024-10-01 21:49:32 +00:00
Ian Bull
41a70898ad
refactor(ext): align error messages ( #25914 )
...
Aligns the error messages in the ext folder to be in-line with the Deno
style guide.
https://github.com/denoland/deno/issues/25269
<!--
Before submitting a PR, please read
https://docs.deno.com/runtime/manual/references/contributing
1. Give the PR a descriptive title.
Examples of good title:
- fix(std/http): Fix race condition in server
- docs(console): Update docstrings
- feat(doc): Handle nested reexports
Examples of bad title:
- fix #7123
- update docs
- fix bugs
2. Ensure there is a related issue and it is referenced in the PR text.
3. Ensure there are tests that cover the changes.
4. Ensure `cargo test` passes.
5. Ensure `./tools/format.js` passes without changing files.
6. Ensure `./tools/lint.js` passes.
7. Open as a draft PR if your work is still in progress. The CI won't
run
all steps, but you can add '[ci]' to a commit message to force it to.
8. If you would like to run the benchmarks on the CI, add the 'ci-bench'
label.
-->
2024-10-01 14:26:06 -04:00
David Sherret
4c8d57db03
BREAKING: rename "deps" remote cache folder to "remote" ( #25969 )
...
Closes https://github.com/denoland/deno/issues/25967
Closes #25968
2024-10-01 14:05:40 -04:00
MujahedSafaa
29104384c4
fix: remove the typo in the help message ( #25962 )
...
This PR fixes: https://github.com/denoland/deno/issues/25274
Remove the extra shorthand -S that attached to the --deny-sys.
2024-10-01 13:24:12 +00:00
Bartek Iwańczuk
c487a86b04
fix: Hide 'deno cache' from help output ( #25960 )
...
`deno cache` was soft-deprecated in favor of `deno install`. It should
not show up in the help output.
2024-10-01 15:05:21 +02:00
Divy Srivastava
aafe771b55
v2.0.0-rc.9 ( #25957 )
2024-10-01 16:18:24 +05:30
Divy Srivastava
0a75dc70aa
fix: update patchver to 0.2 ( #25952 )
...
Fixes https://github.com/denoland/deno/issues/25940
Forgot to update patchver scripts to latest sui. Ref #25942
2024-10-01 15:05:55 +05:30
Bartek Iwańczuk
218a9bf7eb
v2.0.0-rc.8 ( #25950 )
2024-10-01 01:19:37 +02:00
Leo Kettmeir
7ad14589f9
fix(flags): move some content from docs.deno.com into help output ( #25951 )
2024-09-30 16:00:54 -07:00
David Sherret
d7b787792c
fix(info): error instead of panic for npm specifiers when using byonm ( #25947 )
2024-09-30 19:46:43 +00:00
Marvin Hagemeister
c5c1869992
fix: precompile preserve SVG camelCase attributes ( #25945 )
...
See https://github.com/denoland/deno_ast/pull/278
Fixes https://github.com/denoland/deno/issues/25810
2024-09-30 21:25:30 +02:00
Divy Srivastava
05ca6994ca
chore: include sha256 checksum in release ( #25869 )
...
Closes https://github.com/denoland/deno/issues/7253
2024-09-30 21:14:42 +05:30
David Sherret
a7d0a5540f
fix: eagerly error for specifier with empty version constraint ( #25944 )
...
Eagerly errors for something like `export * from "jsr:@type/is@";`
(previously it would just fail elsewhere because it would consider this
as having an empty tag)
2024-09-30 13:34:20 +00:00
David Sherret
69ab720025
refactor: move ByonmNpmResolver to deno_resolver ( #25937 )
...
Some more slow progress on moving all the resolution code into
deno_resolver.
2024-09-30 13:33:32 +00:00
David Sherret
c8f692057b
refactor: bury descriptor parsing in PermissionsContainer ( #25936 )
...
Closes https://github.com/denoland/deno/issues/25634
2024-09-30 09:19:24 -04:00
Divy Srivastava
efb413bdaa
fix: update sui to 0.4 ( #25942 )
...
Properly apply offset fixup to `LC_DYLD_EXPORTS_TRIE` load commands.
This should fix Node-API symbols not resolving in RC releases.
Fixes https://github.com/denoland/deno/issues/25879
Fixes https://github.com/denoland/deno/issues/25940
Ref
2b3a33bb6e
2024-09-30 17:10:51 +05:30
David Sherret
183130ff31
refactor: cleanup for creating worker structs ( #25933 )
2024-09-29 20:07:50 -04:00
Hajime-san
3beb65b9f0
perf: return the value not a struct but a tuple
2024-09-29 23:05:03 +09:00
Hajime-san
fb6b87d656
avoid copying string
2024-09-29 17:09:05 +09:00
Hajime-san
fc4064e0d7
image_ops
takes responsibility of treat alpha channel
2024-09-29 13:53:19 +09:00
Hajime-san
8d8d726e00
avoid copying vector
2024-09-29 13:42:13 +09:00
Hajime-san
fa0132042e
fmt
2024-09-29 13:11:46 +09:00
Hajime-san
d2589142f4
clean up
2024-09-29 10:21:35 +09:00
Hajime-san
2d58fd1d62
clean up process_icc_profile_conversion
2024-09-29 10:19:31 +09:00
David Sherret
5faf769ac6
refactor: extract out sloppy imports resolution from CLI crate ( #25920 )
...
This is slow progress towards creating a `deno_resolver` crate.
Waiting on:
* https://github.com/denoland/deno/pull/25918
* https://github.com/denoland/deno/pull/25916
2024-09-28 19:17:48 -04:00
Bartek Iwańczuk
3138478f66
Revert "ci: use macos-14-xlarge on 'main' branch ( #25908 )" ( #25913 )
...
This reverts commit 0f617be84a
.
Reverting because it was an experiment.
2024-09-28 22:57:01 +02:00
David Sherret
1bb47805d6
refactor: move NpmCacheDir to deno_cache_dir ( #25916 )
...
Part of the ongoing work to move more of Deno's resolution out of the
CLI crate (for use in Wasm and other things)
Includes:
* https://github.com/denoland/deno_cache_dir/pull/60
2024-09-28 08:50:16 -04:00
David Sherret
fc739dc5eb
refactor: use deno_path_util ( #25918 )
2024-09-28 07:55:01 -04:00
Bartek Iwańczuk
b694efb384
v2.0.0-rc.7 ( #25907 )
2024-09-27 21:37:56 +02:00
Nathan Whitaker
fbddd5a2eb
fix(node): Pass NPM_PROCESS_STATE to subprocesses via temp file instead of env var ( #25896 )
...
Fixes https://github.com/denoland/deno/issues/25401 . Fixes
https://github.com/denoland/deno/issues/25841 . Fixes
https://github.com/denoland/deno/issues/25891 .
2024-09-27 12:35:37 -07:00
David Sherret
a8d1ab5276
fix(flags): --allow-all should conflict with lower permissions ( #25909 )
...
Using `--allow-all` with other `--allow-x` permission flags should cause
an error since `--allow-all` is a superset of `--allow-x`.
Closes #25901
2024-09-27 16:49:43 +00:00
Bartek Iwańczuk
0f617be84a
ci: use macos-14-xlarge on 'main' branch ( #25908 )
2024-09-27 18:01:20 +02:00
Luca Casonato
6f0fbceaf2
fix(lint): correctly handle old jsx in linter ( #25902 )
...
Previously the CLI was incorrectly reporting `React` as unused in a JSX
file that uses the "old" transform.
The LSP was already handling this correctly.
2024-09-27 14:14:17 +00:00
Luca Casonato
3134abefa4
BREAKING(ext/net): improved error code accuracy ( #25383 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2024-09-27 14:07:20 +00:00
Asher Gomez
88a4f8dd97
chore: update simd-json
( #25897 )
2024-09-27 14:57:27 +10:00
Bartek Iwańczuk
09a7cc4723
refactor(fmt): rewrite HTML syntax error handling ( #25892 )
2024-09-26 20:44:36 -04:00
Bartek Iwańczuk
eff64238b6
feat: Don't warn about --allow-script when using esbuild ( #25894 )
...
`esbuild` can work fine without needing to run post-install script, so
to make it easier on users (especially people using Vite) we are not prompting to run with
`--allow-scripts` again.
We only do that for version >= 0.18.0 to be sure.
2024-09-26 23:37:49 +00:00
David Sherret
7cccb7422b
fix(info): move "version" field to top of json output ( #25890 )
2024-09-26 15:57:12 -04:00
Nathan Whitaker
543c687c34
feat(install): warn repeatedly about not-run lifecycle scripts on explicit installs ( #25878 )
...
Currently we only warn once. With this PR, we continue to warn about
not-run scripts on explicit `deno install` (or cache). For `run` (or
other subcommands) we only warn the once, as we do currently.
2024-09-26 17:13:33 +00:00