Skip to content

Commit

Permalink
docs: add articles/2024/06/09
Browse files Browse the repository at this point in the history
  • Loading branch information
uki00a committed Jun 9, 2024
1 parent 1244f01 commit f9359f8
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions content/articles/2024/06/09.md
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`が発生するように挙動が変更されています。

0 comments on commit f9359f8

Please sign in to comment.