|
| 1 | +--- |
| 2 | +title: "2024-07-29のJS: TypeScript 5.6 Beta、Node.jsの実験的なTypeScriptサポート、State of React 2023" |
| 3 | +author: "azu" |
| 4 | +layout: post |
| 5 | +date: 2024-07-29T01:18:59.277Z |
| 6 | +category: JSer |
| 7 | +tags: |
| 8 | +- nodejs |
| 9 | +- ECMAScript |
| 10 | +- React |
| 11 | +- TypeScript |
| 12 | +- Conference |
| 13 | + |
| 14 | +--- |
| 15 | + |
| 16 | +JSer.info #701 - TypeScript 5.6 Beta がリリースされました。 |
| 17 | + |
| 18 | +- [Announcing TypeScript 5.6 Beta - TypeScript](https://devblogs.microsoft.com/typescript/announcing-typescript-5-6-beta/) |
| 19 | + |
| 20 | +ESLintの`no-constant-binary-expression`と似たチェックを行い、常にtrue/nullishとなる間違った書き方をコンパイルエラーにする変更が含まれています。 |
| 21 | + |
| 22 | +- [Interesting bugs caught by no-constant-binary-expression - ESLint - Pluggable JavaScript Linter](https://eslint.org/blog/2022/07/interesting-bugs-caught-by-no-constant-binary-expression/) |
| 23 | + |
| 24 | +Iterator Helperのサポート、ES2022のArbitrary module namespace identifier namesをサポート、`--noUncheckedSideEffectImports`フラグの追加も行われています。 |
| 25 | +また、型チェックせずにファイルを出力できる`--noCheck`フラグの追加など |
| 26 | + |
| 27 | +---- |
| 28 | + |
| 29 | +Node.jsに`--experimental-strip-types`という実験的なフラグが実装されています。 |
| 30 | + |
| 31 | +- [module: add --experimental-strip-types by marco-ippolito · Pull Request #53725 · nodejs/node](https://github.com/nodejs/node/pull/53725) |
| 32 | + |
| 33 | +この`--experimental-strip-types`フラグを使うと、TypeScriptのコードから型情報を削除してJavaScriptファイルとして実行できるようになります。 |
| 34 | + |
| 35 | +[Node.jsのTypeScriptサポートについて](https://gist.github.com/azu/ac5dafbf211ef8b5ecf386930ac75250)では、Node.jsのTypeScriptサポートがどのような経緯で進んできているかをまとめています。 |
| 36 | +まだ実験段階で課題となる点も多いため、正式にサポートされるかは分かりませんが、今後の方針は次のIssueで議論されています。 |
| 37 | + |
| 38 | +- [Roadmap for experimental TypeScript support · Issue #217 · nodejs/loaders](https://github.com/nodejs/loaders/issues/217) |
| 39 | + |
| 40 | +---- |
| 41 | + |
| 42 | +[State of React 2023](https://2023.stateofreact.com/)が公開されました。 |
| 43 | +Reactに関する開発者アンケートの結果をまとめたレポートになっています。 |
| 44 | + |
| 45 | +Reactの機能、状態管理、データ取得、Meta-Framework、どのようなアプリケーションを作っているかについてなど色々な項目ごとの結果がまとめられています。 |
| 46 | + |
| 47 | +---- |
| 48 | + |
| 49 | +{% include inline-support.html %} |
| 50 | + |
| 51 | +---- |
| 52 | + |
| 53 | +<h1 class="site-genre">ヘッドライン</h1> |
| 54 | + |
| 55 | +---- |
| 56 | + |
| 57 | +## Node.js — Node v22.5.1 (Current) |
| 58 | +[nodejs.org/en/blog/release/v22.5.1](https://nodejs.org/en/blog/release/v22.5.1 "Node.js — Node v22.5.1 (Current)") |
| 59 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">nodejs</span> <span class="jser-tag">ReleaseNote</span></p> |
| 60 | + |
| 61 | +Node.js v22.5.1リリース。 |
| 62 | +Node.js v22.5.0に含まれていた`npm ci`などがクラッシュするリグレッションを修正 |
| 63 | + |
| 64 | +- [Fix the bug caused by fast api changes in v22.5.0 and have a post-mortem by anonrig · Pull Request #53934 · nodejs/node](https://github.com/nodejs/node/pull/53934?hss_channel=tw-91985735 "Fix the bug caused by fast api changes in v22.5.0 and have a post-mortem by anonrig · Pull Request #53934 · nodejs/node") |
| 65 | + |
| 66 | +---- |
| 67 | + |
| 68 | +## Release pnpm 9.6 · pnpm/pnpm |
| 69 | +[github.com/pnpm/pnpm/releases/tag/v9.6.0](https://github.com/pnpm/pnpm/releases/tag/v9.6.0 "Release pnpm 9.6 · pnpm/pnpm") |
| 70 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">pnpm</span> <span class="jser-tag">ReleaseNote</span></p> |
| 71 | + |
| 72 | +pnpm v9.6.0リリース。 |
| 73 | +`pnpm.executionEnv.nodeVersion`でNode.jsのバージョンを指定できるように。 |
| 74 | +`catalogs:`のサポートの改善や修正など |
| 75 | + |
| 76 | + |
| 77 | +---- |
| 78 | + |
| 79 | +## It's official, Meteor 3.0 Official Release is out! - announce - Meteor.js forums |
| 80 | +[forums.meteor.com/t/its-official-meteor-3-0-official-release-is-out/61860](https://forums.meteor.com/t/its-official-meteor-3-0-official-release-is-out/61860 "It's official, Meteor 3.0 Official Release is out! - announce - Meteor.js forums") |
| 81 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">JavaScript</span> <span class="jser-tag">library</span> <span class="jser-tag">ReleaseNote</span> <span class="jser-tag">nodejs</span></p> |
| 82 | + |
| 83 | +Meteor.js 3.0リリース。 |
| 84 | +非同期の対応改善、Node.js 20のサポート、Expressのmiddlewareに対応など |
| 85 | + |
| 86 | +- [Meteor 3.0 Migration Guide | Meteor 3.0 Migration Guide](https://v3-migration-docs.meteor.com/ "Meteor 3.0 Migration Guide | Meteor 3.0 Migration Guide") |
| 87 | + |
| 88 | +---- |
| 89 | + |
| 90 | +## July 22, 2024 Release – React Spectrum Releases |
| 91 | +[react-spectrum.adobe.com/releases/2024-07-22.html](https://react-spectrum.adobe.com/releases/2024-07-22.html "July 22, 2024 Release – React Spectrum Releases") |
| 92 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">React</span> <span class="jser-tag">library</span> <span class="jser-tag">ReleaseNote</span></p> |
| 93 | + |
| 94 | +React Spectrum July 22, 2024リリース。 |
| 95 | +React 19 RCの対応、TableView/ListView/ListBoxのVirtualizationの改善、Toastのfocus managementの改善など。 |
| 96 | +アイコンをApache 2.0 Licenseに変更など |
| 97 | + |
| 98 | + |
| 99 | +---- |
| 100 | + |
| 101 | +## A new path for Privacy Sandbox on the web |
| 102 | +[privacysandbox.com/news/privacy-sandbox-update/](https://privacysandbox.com/news/privacy-sandbox-update/ "A new path for Privacy Sandbox on the web") |
| 103 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">Chrome</span> <span class="jser-tag">privacy</span> <span class="jser-tag">news</span></p> |
| 104 | + |
| 105 | +Chromeの3rd Party Cookie廃止計画は撤回することになった。 |
| 106 | + |
| 107 | + |
| 108 | +---- |
| 109 | + |
| 110 | +## Sass: Node Sass is end-of-life |
| 111 | +[sass-lang.com/blog/node-sass-is-end-of-life/](https://sass-lang.com/blog/node-sass-is-end-of-life/ "Sass: Node Sass is end-of-life") |
| 112 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">nodejs</span> <span class="jser-tag">Sass</span> <span class="jser-tag">news</span></p> |
| 113 | + |
| 114 | +LibSassのNode.jsラッパーであるNode Sassのサポートが終了された。 |
| 115 | +DartSassがアクティブメンテナンスされているため、そちらへの移行を推奨している |
| 116 | + |
| 117 | + |
| 118 | +---- |
| 119 | + |
| 120 | +## Bun v1.1.21 | Bun Blog |
| 121 | +[bun.sh/blog/bun-v1.1.21](https://bun.sh/blog/bun-v1.1.21 "Bun v1.1.21 | Bun Blog") |
| 122 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">Bun</span> <span class="jser-tag">ReleaseNote</span></p> |
| 123 | + |
| 124 | +Bun v1.1.21リリース。 |
| 125 | +`--fetch-preconnect=<url>`フラグの追加、Remixの対応改善、`bun build --packages=external`の追加など |
| 126 | + |
| 127 | + |
| 128 | +---- |
| 129 | + |
| 130 | +## Node.js — Node v20.16.0 (LTS) |
| 131 | +[nodejs.org/en/blog/release/v20.16.0](https://nodejs.org/en/blog/release/v20.16.0 "Node.js — Node v20.16.0 (LTS)") |
| 132 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">nodejs</span> <span class="jser-tag">ReleaseNote</span></p> |
| 133 | + |
| 134 | +Node.js v20.16.0リリース。 |
| 135 | +`process.getBuiltinModule(id)`を追加、OpenSSLのカスタムエンジンサポートの廃止に伴い `clientCertEngine` オプションを非推奨に変更など |
| 136 | + |
| 137 | + |
| 138 | +---- |
| 139 | + |
| 140 | +## Announcing TypeScript 5.6 Beta - TypeScript |
| 141 | +[devblogs.microsoft.com/typescript/announcing-typescript-5-6-beta/](https://devblogs.microsoft.com/typescript/announcing-typescript-5-6-beta/ "Announcing TypeScript 5.6 Beta - TypeScript") |
| 142 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">TypeScript</span> <span class="jser-tag">ReleaseNote</span></p> |
| 143 | + |
| 144 | +TypeScript 5.6 Betaリリース。 |
| 145 | +ESLintの`no-constant-binary-expression`と似た常にtrue/nullishとなる間違った書き方をエラーにする変更、Iterator Helperのサポート。 |
| 146 | +ES2022のArbitrary module namespace identifier namesをサポート、`--noUncheckedSideEffectImports`フラグの追加。 |
| 147 | +型チェックせずにファイルを出力できる`--noCheck`フラグの追加など |
| 148 | + |
| 149 | +- [Interesting bugs caught by no-constant-binary-expression - ESLint - Pluggable JavaScript Linter](https://eslint.org/blog/2022/07/interesting-bugs-caught-by-no-constant-binary-expression/ "Interesting bugs caught by no-constant-binary-expression - ESLint - Pluggable JavaScript Linter") |
| 150 | + |
| 151 | +---- |
| 152 | + |
| 153 | +## Astro 4.12: Server Islands | Astro |
| 154 | +[astro.build/blog/astro-4120/](https://astro.build/blog/astro-4120/ "Astro 4.12: Server Islands | Astro") |
| 155 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">astro</span> <span class="jser-tag">ReleaseNote</span></p> |
| 156 | + |
| 157 | +Astro 4.12リリース。 |
| 158 | +Next.jsのPartial Prerenderingに類似する機能としてServer Islandsを実験的に追加、`inferRemoteSize`の追加など |
| 159 | + |
| 160 | + |
| 161 | +---- |
| 162 | +<h1 class="site-genre">アーティクル</h1> |
| 163 | + |
| 164 | +---- |
| 165 | + |
| 166 | +## CSS Grid Areas |
| 167 | +[ishadeed.com/article/css-grid-area/](https://ishadeed.com/article/css-grid-area/ "CSS Grid Areas") |
| 168 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">CSS</span> <span class="jser-tag">article</span></p> |
| 169 | + |
| 170 | +CSS Gridについての解説。 |
| 171 | +grid-template-areasを使ったGridのレイアウト方法について色々な例とともに解説している |
| 172 | + |
| 173 | + |
| 174 | +---- |
| 175 | + |
| 176 | +## State of React 2023 |
| 177 | +[2023.stateofreact.com/en-US](https://2023.stateofreact.com/en-US "State of React 2023") |
| 178 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">React</span> <span class="jser-tag">Survey</span></p> |
| 179 | + |
| 180 | +State of React 2023の結果が公開された。 |
| 181 | +Reactの機能、状態管理、データ取得、Meta-Framework、どのようなアプリケーションを作っているかについてなど |
| 182 | + |
| 183 | + |
| 184 | +---- |
| 185 | +<h1 class="site-genre">スライド、動画関係</h1> |
| 186 | + |
| 187 | +---- |
| 188 | + |
| 189 | +## JSConf Budapest 2024 - YouTube |
| 190 | +[www.youtube.com/playlist?list=PL37ZVnwpeshEczPCbFGVGd-hj1DR7\_SKy](https://www.youtube.com/playlist?list=PL37ZVnwpeshEczPCbFGVGd-hj1DR7_SKy "JSConf Budapest 2024 - YouTube") |
| 191 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">JavaScript</span> <span class="jser-tag">Conference</span> <span class="jser-tag">video</span></p> |
| 192 | + |
| 193 | +JSConf Budapest 2024 の動画一覧 |
| 194 | + |
| 195 | +- [26-28 June, JSConfBP 2024](https://jsconfbp.com/ "26-28 June, JSConfBP 2024") |
| 196 | + |
| 197 | +---- |
| 198 | + |
| 199 | +## Temporalを取り巻く仕様を整理する - Speaker Deck |
| 200 | +[speakerdeck.com/sajikix/temporalwoqu-rijuan-kushi-yang-wozheng-li-suru](https://speakerdeck.com/sajikix/temporalwoqu-rijuan-kushi-yang-wozheng-li-suru "Temporalを取り巻く仕様を整理する - Speaker Deck") |
| 201 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">ECMAScript</span> <span class="jser-tag">i18n</span> <span class="jser-tag">slide</span></p> |
| 202 | + |
| 203 | +ECMAScript Proposal Stage 3のTemporalに関連する仕様についてのスライド。 |
| 204 | +ECMA-402、Unicode(CLDR)、IETF(BCP47/RFC3339/RFC9557)、IANA(Timezone)について |
| 205 | + |
| 206 | + |
| 207 | +---- |
| 208 | +<h1 class="site-genre">ソフトウェア、ツール、ライブラリ関係</h1> |
| 209 | + |
| 210 | +---- |
| 211 | + |
| 212 | +## Node.jsのTypeScriptサポートについて |
| 213 | +[gist.github.com/azu/ac5dafbf211ef8b5ecf386930ac75250](https://gist.github.com/azu/ac5dafbf211ef8b5ecf386930ac75250 "Node.jsのTypeScriptサポートについて") |
| 214 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">nodejs</span> <span class="jser-tag">TypeScript</span></p> |
| 215 | + |
| 216 | +Node.jsに実験的な機能としてTypeScriptのコードから型定義を取り除いてJavaScriptとして実行する`--experimental-strip-types`フラグが実装された経緯について |
| 217 | + |
| 218 | + |
| 219 | +---- |
| 220 | +<h1 class="site-genre">書籍関係</h1> |
| 221 | + |
| 222 | +---- |
| 223 | + |
| 224 | +## Exploring JavaScript (ES2024 Edition) |
| 225 | +[exploringjs.com/js/index.html](https://exploringjs.com/js/index.html "Exploring JavaScript (ES2024 Edition)") |
| 226 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">JavaScript</span> <span class="jser-tag">ECMAScript</span> <span class="jser-tag">book</span></p> |
| 227 | + |
| 228 | +Exploring JavaScriptのES2024対応版が公開された |
| 229 | + |
| 230 | + |
| 231 | +---- |
0 commit comments