-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
title: 2024/06/03〜2024/06/09の最新情報 | ||
tags: | ||
- Deno | ||
- deno_std | ||
categories: | ||
- news | ||
date: 2024-06-09 | ||
description: Deno v1.44.1 (.npmrcサポートやdeno lspに関する改善など) | ||
--- | ||
|
||
## Deno v1.44.1 | ||
|
||
[Deno v1.44.1](https://github.com/denoland/deno/releases/tag/v1.44.1)がリリースされています。 | ||
|
||
### Node.js互換性の改善 | ||
|
||
#### dynamic import | ||
|
||
以下のような形式のdynamic importがサポートされています (ただし、`import`の引数に指定された変数が静的に解析可能な場合にのみ限定されます) | ||
|
||
```typescript | ||
const specifier = "npm:chalk@5.3.0"; | ||
const chalk = await import(specifier); | ||
``` | ||
|
||
#### `.npmrc` | ||
|
||
あるパッケージのtarballのURLに対して、常にそのパッケージが属するスコープ向けの認証設定が適用されてしまう問題が修正されています。 | ||
|
||
> [fix(npm): use configured auth for tarball urls instead of scope auth (#24111)](https://github.com/denoland/deno/pull/24111) | ||
レジストリとパッケージのtarballを配信するドメインが異なる場合、[v1.44.0]({{< ref "articles/deno/v1.44.md" >}})の時点では、それぞれのドメインに対して別々の認証設定を適用できない課題があったようです。 | ||
|
||
#### `Worker`におけるパッケージ解決の改善 | ||
|
||
`Worker`において特定のnpmパッケージを利用しようとすると、プロセスがパニックしてしまうことがある問題が修正されています。 | ||
|
||
### `deno lsp` | ||
|
||
`jsr:`向けのマッピングがImport mapsで定義されている場合、うまく補完が動作しない問題が修正されています。([#24050](https://github.com/denoland/deno/issues/24050)) | ||
|
||
### `Deno.exitCode` | ||
|
||
`Deno.exitCode`に整数以外の値を設定しようとした際に`TypeError`が発生するように挙動が変更されています。 |