|
| 1 | +--- |
| 2 | +title: "2024-07-01のJS: ES2024、Playwright v1.45.0、e18e(Ecosystem Performance) " |
| 3 | +author: "azu" |
| 4 | +layout: post |
| 5 | +date: 2024-07-01T13:22:00.731Z |
| 6 | +category: JSer |
| 7 | +tags: |
| 8 | +- ECMAScript |
| 9 | +- React |
| 10 | +- npm |
| 11 | +- nodejs |
| 12 | +- TypeScript |
| 13 | + |
| 14 | +--- |
| 15 | + |
| 16 | +JSer.info #698 - ECMAScript 2024が正式にリリースされました。 |
| 17 | + |
| 18 | +- [Release ES2024 Candidate February 28th 2024 · tc39/ecma262](https://github.com/tc39/ecma262/releases/tag/es2024-candidate-2024-02-28) |
| 19 | + |
| 20 | +ES2024では、`Object.groupBy`/`Map.groupBy`、`Promise.withResolvers`、`ArrayBuffers.prototype.resize`、`Atomics.waitAsync`などが追加されています。 |
| 21 | +次の記事でも詳しく解説されています。 |
| 22 | + |
| 23 | +- [Ecma International approves ECMAScript 2024: What’s new?](https://2ality.com/2024/06/ecmascript-2024.html) |
| 24 | + |
| 25 | +--- |
| 26 | + |
| 27 | +Playwright v1.45.0がリリースされました。 |
| 28 | + |
| 29 | +- [Release v1.45.0 · microsoft/playwright](https://github.com/microsoft/playwright/releases/tag/v1.45.0) |
| 30 | + |
| 31 | +時間を操作できるClock APIの追加、`--fail-on-flaky-tests`フラグの追加、`testConfig. respectGitIgnore`の追加などが行われています。 |
| 32 | + |
| 33 | +--- |
| 34 | + |
| 35 | +e18e (Ecosystem Performance) というプロジェクトが始まりました。 |
| 36 | + |
| 37 | +- [e18e/e18e](https://github.com/e18e/e18e) |
| 38 | + |
| 39 | +e18eは、JavaScript エコシステムのパフォーマンスの向上に取り組むプロジェクトです。 |
| 40 | + |
| 41 | +現状では、JavaScriptのパッケージに関するガイドラインなどをまとめています。 |
| 42 | +依存を最新化するcleanup、無駄な依存を減らすspeedup、代替え方法を提供するlevelupという項目でそれぞれガイドが書かれています。 |
| 43 | + |
| 44 | +---- |
| 45 | + |
| 46 | +{% include inline-support.html %} |
| 47 | + |
| 48 | +---- |
| 49 | + |
| 50 | +<h1 class="site-genre">ヘッドライン</h1> |
| 51 | + |
| 52 | +---- |
| 53 | + |
| 54 | +## Node.js — Node v20.15.0 (LTS) |
| 55 | +[nodejs.org/en/blog/release/v20.15.0](https://nodejs.org/en/blog/release/v20.15.0 "Node.js — Node v20.15.0 (LTS)") |
| 56 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">nodejs</span> <span class="jser-tag">ReleaseNote</span></p> |
| 57 | + |
| 58 | +Node.js v20.15.0リリース。 |
| 59 | +`node:test`が`plan`メソッドをサポート、`--inspect-wait`フラグを追加、`zlib.crc32()`を追加、`--disable-wasm-trap-handler`フラグを追加など |
| 60 | + |
| 61 | + |
| 62 | +---- |
| 63 | + |
| 64 | +## Release ES2024 Candidate February 28th 2024 · tc39/ecma262 |
| 65 | +[github.com/tc39/ecma262/releases/tag/es2024-candidate-2024-02-28](https://github.com/tc39/ecma262/releases/tag/es2024-candidate-2024-02-28 "Release ES2024 Candidate February 28th 2024 · tc39/ecma262") |
| 66 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">ECMAScript</span> <span class="jser-tag">news</span></p> |
| 67 | + |
| 68 | +ECMAScript 2024がEcma GAで承認されたため正式にリリースされた。 |
| 69 | + |
| 70 | +- [Ecma International approves ECMAScript 2024: What’s new?](https://2ality.com/2024/06/ecmascript-2024.html "Ecma International approves ECMAScript 2024: What’s new?") |
| 71 | + |
| 72 | +---- |
| 73 | + |
| 74 | +## Announcing Rspack v1.0 Alpha - Rspack |
| 75 | +[www.rspack.dev/blog/announcing-1-0-alpha](https://www.rspack.dev/blog/announcing-1-0-alpha "Announcing Rspack v1.0 Alpha - Rspack") |
| 76 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">rspack</span> <span class="jser-tag">ReleaseNote</span></p> |
| 77 | + |
| 78 | +Rspack 1.0 Aplhaリリース |
| 79 | +`optimization.concatenateModule`の有効か、Lightning CSSをビルトインサポート。 |
| 80 | +オプションを一部変更など |
| 81 | + |
| 82 | + |
| 83 | +---- |
| 84 | + |
| 85 | +## Release Version 17.0.0 Release Notes · facebook/relay |
| 86 | +[github.com/facebook/relay/releases/tag/v17.0.0](https://github.com/facebook/relay/releases/tag/v17.0.0 "Release Version 17.0.0 Release Notes · facebook/relay") |
| 87 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">GraphQL</span> <span class="jser-tag">React</span> <span class="jser-tag">library</span> <span class="jser-tag">ReleaseNote</span></p> |
| 88 | + |
| 89 | +Relay v17.0.0リリース。 |
| 90 | +Schema Validationの追加、explicit error handlingとsemantic nullabilityを実験的に追加など |
| 91 | + |
| 92 | + |
| 93 | +---- |
| 94 | + |
| 95 | +## Release v1.45.0 · microsoft/playwright |
| 96 | +[github.com/microsoft/playwright/releases/tag/v1.45.0](https://github.com/microsoft/playwright/releases/tag/v1.45.0 "Release v1.45.0 · microsoft/playwright") |
| 97 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">playwright</span> <span class="jser-tag">ReleaseNote</span></p> |
| 98 | + |
| 99 | +playwright v1.45.0リリース。 |
| 100 | +時間を操作できるClock APIの追加、`--fail-on-flaky-tests`フラグの追加、`testConfig. respectGitIgnore`の追加など |
| 101 | + |
| 102 | + |
| 103 | +---- |
| 104 | + |
| 105 | +## Introducing React-Admin V5 |
| 106 | +[marmelab.com/blog/2024/06/20/react-admin-v5.html](https://marmelab.com/blog/2024/06/20/react-admin-v5.html "Introducing React-Admin V5") |
| 107 | +<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> |
| 108 | + |
| 109 | +React-admin v5 リリース |
| 110 | + |
| 111 | +- [Release 5.0.0 · marmelab/react-admin](https://github.com/marmelab/react-admin/releases/tag/v5.0.0 "Release 5.0.0 · marmelab/react-admin") |
| 112 | + |
| 113 | +---- |
| 114 | + |
| 115 | +## Polyfill supply chain attack hits 100K+ sites |
| 116 | +[sansec.io/research/polyfill-supply-chain-attack](https://sansec.io/research/polyfill-supply-chain-attack "Polyfill supply chain attack hits 100K+ sites") |
| 117 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">JavaScript</span> <span class="jser-tag">polyfill</span> <span class="jser-tag">security</span> <span class="jser-tag">news</span></p> |
| 118 | + |
| 119 | +`polyfill.io`から読み込んでるコードにはマルウェア的なバックドアが含まれるようになったという話。 |
| 120 | + |
| 121 | + |
| 122 | +---- |
| 123 | +<h1 class="site-genre">アーティクル</h1> |
| 124 | + |
| 125 | +---- |
| 126 | + |
| 127 | +## New JavaScript Set methods | MDN Blog |
| 128 | +[developer.mozilla.org/en-US/blog/javascript-set-methods/](https://developer.mozilla.org/en-US/blog/javascript-set-methods/ "New JavaScript Set methods | MDN Blog") |
| 129 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">JavaScript</span> <span class="jser-tag">ECMAScript</span> <span class="jser-tag">article</span></p> |
| 130 | + |
| 131 | +ES2025に入るSet Methodsについて。 |
| 132 | +Firefox 127で実装されている |
| 133 | + |
| 134 | + |
| 135 | +---- |
| 136 | + |
| 137 | +## TypeScript v4.9からv5.5で追加された機能のおさらい - STORES Product Blog |
| 138 | +[product.st.inc/entry/2024/06/24/152109](https://product.st.inc/entry/2024/06/24/152109 "TypeScript v4.9からv5.5で追加された機能のおさらい - STORES Product Blog") |
| 139 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">TypeScript</span> <span class="jser-tag">article</span></p> |
| 140 | + |
| 141 | +最近のTypeScriptに追加された構文や型推論の機能について |
| 142 | + |
| 143 | + |
| 144 | +---- |
| 145 | + |
| 146 | +## Ecma International approves ECMAScript 2024: What’s new? |
| 147 | +[2ality.com/2024/06/ecmascript-2024.html](https://2ality.com/2024/06/ecmascript-2024.html "Ecma International approves ECMAScript 2024: What’s new?") |
| 148 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">ECMAScript</span> <span class="jser-tag">article</span></p> |
| 149 | + |
| 150 | +ES2024で追加された機能や構文についてのまとめ。 |
| 151 | +`Object.groupBy`/`Map.groupBy`、`Promise.withResolvers`、`ArrayBuffers.prototype.resize`、`Atomics.waitAsync`など |
| 152 | + |
| 153 | + |
| 154 | +---- |
| 155 | + |
| 156 | +## Bun の非互換な拡張 API - moriken's project |
| 157 | +[scrapbox.io/petamoriken/Bun\_%E3%81%AE%E9%9D%9E%E4%BA%92%E6%8F%9B%E3%81%AA%E6%8B%A1%E5%BC%B5\_API](https://scrapbox.io/petamoriken/Bun_%E3%81%AE%E9%9D%9E%E4%BA%92%E6%8F%9B%E3%81%AA%E6%8B%A1%E5%BC%B5_API "Bun の非互換な拡張 API - moriken's project") |
| 158 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">Bun</span> <span class="jser-tag">article</span></p> |
| 159 | + |
| 160 | +Bunの非標準な拡張APIについて |
| 161 | + |
| 162 | + |
| 163 | +---- |
| 164 | + |
| 165 | +## Migrating to Next.js App Router with zero downtime — WorkOS |
| 166 | +[workos.com/blog/migrating-to-next-js-app-router-with-zero-downtime](https://workos.com/blog/migrating-to-next-js-app-router-with-zero-downtime "Migrating to Next.js App Router with zero downtime — WorkOS") |
| 167 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">Next.js</span> <span class="jser-tag">article</span></p> |
| 168 | + |
| 169 | +Next.jsのPages RouterからApp Routerへの段階的な移行方法について。 |
| 170 | + |
| 171 | +1. Next.jsのアップデート |
| 172 | +2. `useRouter`の移行 |
| 173 | +3. 一時的な`/app/new`を作成 |
| 174 | +4. `rewrites`を使ってクエリでのリダイレクト |
| 175 | +5. `/pages`の削除 |
| 176 | + |
| 177 | +という手順で移行する方法について |
| 178 | + |
| 179 | + |
| 180 | +---- |
| 181 | + |
| 182 | +## React 19 and Suspense - A Drama in 3 Acts | TkDodo's blog |
| 183 | +[tkdodo.eu/blog/react-19-and-suspense-a-drama-in-3-acts](https://tkdodo.eu/blog/react-19-and-suspense-a-drama-in-3-acts "React 19 and Suspense - A Drama in 3 Acts | TkDodo's blog") |
| 184 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">React</span> <span class="jser-tag">article</span></p> |
| 185 | + |
| 186 | +React 19 RCでのSuspense内の挙動の変更について。 |
| 187 | +fetch-on-renderとrender-as-your-fetchのパターン、Fetch以外の非同期処理、React 19での修正予定についてなど |
| 188 | + |
| 189 | + |
| 190 | +---- |
| 191 | + |
| 192 | +## Inline conditionals in CSS, now? • Lea Verou |
| 193 | +[lea.verou.me/blog/2024/css-conditionals-now/](https://lea.verou.me/blog/2024/css-conditionals-now/ "Inline conditionals in CSS, now? • Lea Verou") |
| 194 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">CSS</span> <span class="jser-tag">article</span></p> |
| 195 | + |
| 196 | +CSSでif文を表現するテクニックについて。 |
| 197 | +Binary Linear Interpolation、Toggles、Paused animations、Type Grinding、Variable animation nameなど |
| 198 | + |
| 199 | + |
| 200 | +---- |
| 201 | +<h1 class="site-genre">サイト、サービス、ドキュメント</h1> |
| 202 | + |
| 203 | +---- |
| 204 | + |
| 205 | +## e18e/e18e |
| 206 | +[github.com/e18e/e18e](https://github.com/e18e/e18e "e18e/e18e") |
| 207 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">JavaScript</span> <span class="jser-tag">npm</span> <span class="jser-tag">performance</span> <span class="jser-tag">document</span></p> |
| 208 | + |
| 209 | +JavaScriptのパッケージに関するガイドライン。 |
| 210 | +依存を最新化するcleanup、無駄な依存を減らすspeedup、代替え方法を提供するlevelupという項目でそれぞれガイドが書かれている |
| 211 | + |
| 212 | + |
| 213 | +---- |
| 214 | +<h1 class="site-genre">ソフトウェア、ツール、ライブラリ関係</h1> |
| 215 | + |
| 216 | +---- |
| 217 | + |
| 218 | +## es-tooling/eslint-plugin-depend: An ESLint plugin for suggesting optimisations in choice of dependency, native equivalents, etc. |
| 219 | +[github.com/es-tooling/eslint-plugin-depend](https://github.com/es-tooling/eslint-plugin-depend "es-tooling/eslint-plugin-depend: An ESLint plugin for suggesting optimisations in choice of dependency, native equivalents, etc.") |
| 220 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">ESLint</span> <span class="jser-tag">plugin</span> <span class="jser-tag">npm</span></p> |
| 221 | + |
| 222 | +ネイティブで利用できるため無駄な依存やメンテナンスされていないパッケージなどを検出するESLintルール |
| 223 | + |
| 224 | + |
| 225 | +---- |
0 commit comments