Skip to content

2022-10-25のJS: Node.js 19、npm 9、Safari 16.1(Web Push) #1015

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 23 commits into from
Oct 25, 2022
Merged

Conversation

azu
Copy link
Member

@azu azu commented Oct 25, 2022

Node.js 19.0.0がリリースされました。

Node.js 19は奇数バージョンなので、開発バージョン扱いとなりLTSとしてはリリースされません。

Node.js 19.0.0では、node --watchの追加、HTTP/1.1でkeepAliveがデフォルト化、WebCryptoがStableへと変更されています。
依存関係がV8 10.7、llhttp 8.1.0、npm 8.19.2へアップデートされています。
また、--requireフラグのESM版である--importフラグの追加なども行われています。


npm 9.0.0がリリースされました。

まだ@latestのdist-tagが付けられていないため、npm i -g npm@9でインストールができます。
2022年11月9日に@latestのdist-tagが貼られてGAとなりnpm i -g npmでインストールできるようになります。
その後、Node.js 19と18にも同梱される予定となっているようです。

npm 9では、Node.js 12のサポート終了、認証方法を扱う--auth-typeのデフォルトを"web"に変更しています。
また、package.jsonfilesフィールドが定義されている場合はルートにある.gitignore.npmignoreを無視するように変更。
エラーとクラッシュのログを区別し、--jsonをつけた場合でもクラッシュのログはJSONとして出力しないように変更。
npm accessnpm birthdaynpm set-scriptnpm binコマンドの削除なども含まれます。


Safari 16.1がリリースされました。

Safari 16.1ではSafari Push Notificationsという独自のプッシュ通知でなく、Service Workerに対応したWeb Pushのサポートしています。

その他にはAVIF形式のサポート、PassKeysのサポート、Scroll to Text Fragmentのサポートが追加されています。

@azu azu changed the title 2022-10-25 2022-10-25のJS: Node.js 19、npm 9、Safari 16.1(Web Push) Oct 25, 2022
@azu azu merged commit 52e37c5 into develop Oct 25, 2022
@azu azu deleted the jser-week-615 branch October 25, 2022 14:42
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant