diff --git a/_i18n/ja/_posts/2024/2024-06-22-nuxt-2-eol-typescript-5.5-state-of-javascript-2023.md b/_i18n/ja/_posts/2024/2024-06-22-nuxt-2-eol-typescript-5.5-state-of-javascript-2023.md new file mode 100644 index 00000000000..abaa4fd8fbf --- /dev/null +++ b/_i18n/ja/_posts/2024/2024-06-22-nuxt-2-eol-typescript-5.5-state-of-javascript-2023.md @@ -0,0 +1,202 @@ +--- +title: "2024-06-22のJS: Nuxt 2 EOL、TypeScript 5.5、State of JavaScript 2023の結果" +author: "azu" +layout: post +date: 2024-06-22T06:30:30.339Z +category: JSer +tags: +- Vue +- ECMAScript +- nodejs +- Chrome +- proposal + +--- + +JSer.info #697 - +Nuxt 2は2024年6月30日でEnd-of-Life (EOL)となることが発表されました。 + +- [Nuxt 2 End-of-Life (EOL) · Nuxt Blog](https://nuxt.com/blog/nuxt2-eol) + +Nuxt 2.xの最終版となる2.18.0が6月末にリリースされる予定となっていて、それ以降はセキュリティアップデートも公式には提供されなくなります。 + +--- + +TypeScript 5.5がリリースされました。 + +- [Announcing TypeScript 5.5 - TypeScript](https://devblogs.microsoft.com/typescript/announcing-typescript-5-5/) + +TypeScript 5.5では、関数からtype predicatesを推論できるようになり、`Array.prototype.filter`などでの絞り込みが簡潔に書けるようになっています。 +また、Stage 3のSet Methodsをサポート、JSDocで`@import {foo} from "foo"`をサポート、正規表現の基本的な構文チェックをサポート、`isolatedDeclarations`をサポートしています。 + +`isolatedDeclarations`は、それぞれのTSファイルに明示的な型注釈を書くことを強制することで、複雑な型推論が不要な状態のTSファイルを扱うためのオプションです。 +これによって、`isolatedDeclarations`が有効なプロジェクトでは、ファイル単位で型チェックが可能になるため並列に扱いやすくなったり、`tsc`以外のツールでも型を扱いやすくなるといったメリットがあります。 + +- [Faster TypeScript builds with --isolatedDeclarations by Titian-Cornel Cernicova-Dragomir - Video recording - GitNation](https://portal.gitnation.org/contents/faster-typescript-builds-with-isolateddeclarations) +- [明示的な型注釈によって推論コストを下げるというアプローチ](https://zenn.dev/cybozu_frontend/articles/ts-explicit-type-annotation) + +すでにoxcやswcは、この`isolatedDeclarations`をサポートして、型定義ファイルである`d.ts`の出力への対応を進めています。 + +- +- [feat(transformer-dts): `--isolatedDeclarations` dts transform by Dunqing · Pull Request #3664 · oxc-project/oxc](https://github.com/oxc-project/oxc/pull/3664) + +そのほかには、設定ファイル内で`${configDir}`のテンプレート値をサポート、`typescript`パッケージのサイズを削減、Named Importをサポート、`transpileDeclaration` APIの追加などが行われています。 +また、`out`や`target: ES3`などの非推奨となっていたオプションが無効化され、`ignoreDeprecations`オプションを指定しないと利用できなくなる変更も行われています。 + +--- + +State of JavaScript 2023のアンケート結果が公開されました。 + +- [State of JavaScript 2023](https://2023.stateofjs.com/en-US/) + +JavaScriptの言語機能、フレームワーク、ツール、テスト、TypeScriptなどについてのアンケートの結果がまとめられています。 + +---- + +{% include inline-support.html %} + +---- + +

ヘッドライン

+ +---- + +## Nuxt 2 End-of-Life (EOL) · Nuxt Blog +[nuxt.com/blog/nuxt2-eol](https://nuxt.com/blog/nuxt2-eol "Nuxt 2 End-of-Life (EOL) · Nuxt Blog") +

Vue news

+ +Nuxt 2は2024年6月30日でEnd-of-Life (EOL)となる。 +Nuxt 2.xの最終版となる2.18.0が6月末にリリースされる予定 + + +---- + +## Nuxt 3.12 · Nuxt Blog +[nuxt.com/blog/v3-12](https://nuxt.com/blog/v3-12 "Nuxt 3.12 · Nuxt Blog") +

Vue ReleaseNote

+ +Nuxt v3.12リリース。 +Nuxt 4の動作をopt-inして試せる`compatibilityVersion: 4`オプションの追加、`multiApp`オプションの追加、不要になったexprimentalオプションの削除など + +- [Upgrade Guide · Get Started with Nuxt](https://nuxt.com/docs/getting-started/upgrade#testing-nuxt-4 "Upgrade Guide · Get Started with Nuxt") + +---- + +## New in Chrome 126  |  Blog  |  Chrome for Developers +[developer.chrome.com/blog/new-in-chrome-126?hl=en](https://developer.chrome.com/blog/new-in-chrome-126?hl=en "New in Chrome 126  |  Blog  |  Chrome for Developers") +

Chrome ReleaseNote

+ +Chrome 126リリース。 +Cross-document view transitionsのサポート、CloseWatcher APIを再有効化。 +import assertionの`assert`構文を削除など + +- [Chrome 126  |  Release notes  |  Chrome for Developers](https://developer.chrome.com/release-notes/126 "Chrome 126  |  Release notes  |  Chrome for Developers") + +---- + +## Electron 31.0.0 | Electron +[www.electronjs.org/blog/electron-31-0](https://www.electronjs.org/blog/electron-31-0 "Electron 31.0.0 | Electron") +

Electron ReleaseNote

+ +Electron 31リリース。 +Chromium 125、Node.js 20.14、V8 12.6へアップデート。 +WebSQLの削除、File System APIのサポートなど + + +---- + +## Release Version 8.12.0 · acornjs/acorn +[github.com/acornjs/acorn/releases/tag/8.12.0](https://github.com/acornjs/acorn/releases/tag/8.12.0 "Release Version 8.12.0 · acornjs/acorn") +

JavaScript ECMAScript ReleaseNote

+ +acorn 8.12.0リリース。 +ES2025のduplicate capture group names in regular expressionsをサポートなど + + +---- + +## Bun v1.1.13 | Bun Blog +[bun.sh/blog/bun-v1.1.13](https://bun.sh/blog/bun-v1.1.13 "Bun v1.1.13 | Bun Blog") +

Bun ReleaseNote

+ +Bun v1.1.13リリース。 +`worker_thread`の`eval`オプションをサポート、`URL.createObjectURL`のサポート、`expect`のカスタムメッセージをサポートなど + + +---- + +## Version 4.0 released : Node-RED +[nodered.org/blog/2024/06/20/version-4-0-released](https://nodered.org/blog/2024/06/20/version-4-0-released "Version 4.0 released : Node-RED") +

nodejs ReleaseNote

+ +Node-RED 4.0リリース。 + + +---- + +## Announcing TypeScript 5.5 - TypeScript +[devblogs.microsoft.com/typescript/announcing-typescript-5-5/](https://devblogs.microsoft.com/typescript/announcing-typescript-5-5/ "Announcing TypeScript 5.5 - TypeScript") +

TypeScript ReleaseNote

+ +TypeScript 5.5リリース。 +関数からtype predicatesを推論できるようになり、`Array.prototype.filter`などでの絞り込みが簡潔に書けるように。 +Stage 3のSet Methodsをサポート。 +JSDocで`@import {foo} from "foo"`をサポート、正規表現の基本的な構文チェックをサポート、`isolatedDeclarations`をサポート。 +設定ファイル内で`${configDir}`のテンプレート値をサポート。 +`typescript`パッケージのサイズを削減、Named Importをサポート、`transpileDeclaration` APIの追加。 +`transpileModule`と`transpileDeclaration`でのビルド時間を改善。 +`out`や`target: ES3`などの非推奨となっていたオプションが無効化され、`ignoreDeprecations`オプションを指定しないと利用できなくなる変更など + + +---- +

アーティクル

+ +---- + +## ECMAScript proposal updates @ 2024-06 | ECMAScript Daily +[ecmascript-daily.github.io/ecmascript/2024/06/15/ecmascript-proposal-update](https://ecmascript-daily.github.io/ecmascript/2024/06/15/ecmascript-proposal-update "ECMAScript proposal updates @ 2024-06 | ECMAScript Daily") +

ECMAScript proposal article

+ +2024年6月のTC39 MeetingにおけるECMAScript Proposalのステータス変更のまとめ。 + + +---- + +## Codemod partnering with the React team +[codemod.com/blog/react-announcement](https://codemod.com/blog/react-announcement "Codemod partnering with the React team") +

React article

+ +React 19に関するcodemod + +- [codemod/packages/codemods/react/19 at main · codemod-com/codemod](https://github.com/codemod-com/codemod/tree/main/packages/codemods/react/19 "codemod/packages/codemods/react/19 at main · codemod-com/codemod") + +---- + +## Build Stunning Responsive Card Tables with CSS4 & CSS5 - DEV Community +[dev.to/subu\_hunter/build-stunning-responsive-card-tables-with-css4-css5-1fai](https://dev.to/subu_hunter/build-stunning-responsive-card-tables-with-css4-css5-1fai "Build Stunning Responsive Card Tables with CSS4 & CSS5 - DEV Community") +

CSS article

+ +Tableとscroll-snapを使ったカヌーセル的なカード型のテーブルデザインについて + + +---- + +## Node.js Security Progress Report: Redefining Security Processes and Key Initiatives | OpenJS Foundation +[openjsf.org/blog/nodejs-security-progress-report-may-2024?utm\_content=297186945&utm\_medium=social&utm\_source=twitter&hss\_channel=tw-91985735](https://openjsf.org/blog/nodejs-security-progress-report-may-2024?utm_content=297186945&utm_medium=social&utm_source=twitter&hss_channel=tw-91985735 "Node.js Security Progress Report: Redefining Security Processes and Key Initiatives | OpenJS Foundation") +

nodejs article

+ +Node.jsのセキュリティについてのレポート。 +`--experimental-policy`の削除、Permission ModelのInitiative phaseの完了など + + +---- + +## State of JavaScript 2023 +[2023.stateofjs.com/en-US/](https://2023.stateofjs.com/en-US/ "State of JavaScript 2023") +

JavaScript Survey

+ +State of JavaScript 2023の結果が公開された。 +JavaScriptの言語機能、フレームワーク、ツール、テスト、TypeScriptなどについてのアンケート + + +----