|
| 1 | +--- |
| 2 | +title: "2023-05-26のJS: wrangler v3.0.0、playwright v1.34.0、TypeScript 5.2の予定(変換プラグイン)" |
| 3 | +author: "azu" |
| 4 | +layout: post |
| 5 | +date : 2023-05-26T03:10:15.925Z |
| 6 | +category: JSer |
| 7 | +tags: |
| 8 | +- TypeScript |
| 9 | +- Tools |
| 10 | +- browser |
| 11 | +- Chrome |
| 12 | +- book |
| 13 | + |
| 14 | +--- |
| 15 | + |
| 16 | +JSer.info #645 - wrangler 3.0.0リリースされました |
| 17 | + |
| 18 | +- [Improved local development with wrangler and workerd](https://blog.cloudflare.com/wrangler3/) |
| 19 | + |
| 20 | +`wrangler publish`が`wrangler deploy`にリネームされています。 |
| 21 | +また、[wrangler 2.0](https://blog.cloudflare.com/wrangler-v2-beta/)でMiniflareを同梱していましたが、 |
| 22 | +3.0では`wrangler dev`でMiniflareと`worked` runtimeを使ったローカル環境での開発をデフォルトに変更しています。 |
| 23 | + |
| 24 | +- [Release [email protected] · cloudflare/workers-sdk ](https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%403.0.0 "Release [email protected] · cloudflare/workers-sdk") |
| 25 | + |
| 26 | + |
| 27 | +--- |
| 28 | + |
| 29 | +playwright v1.34.0リリースがリリースされました。 |
| 30 | + |
| 31 | +- [Release v1.34.0 · microsoft/playwright](https://github.com/microsoft/playwright/releases/tag/v1.34.0) |
| 32 | + |
| 33 | +Node.js 14のサポート終了、`playwright`と`@playwright/test`を両方インストールしてる場合に`npx playwright test`が動かなくなるように変更されています。 |
| 34 | +また、UIモードでテストのステップを表示できるように、`testProject.teardown`プロパティのサポート、`locator.and()`の追加など行われています。 |
| 35 | + |
| 36 | +--- |
| 37 | + |
| 38 | +TypeScript 5.2で取り組む予定のIssueが公開されています。 |
| 39 | + |
| 40 | +- [TypeScript 5.2 Iteration Plan · Issue #54298 · microsoft/TypeScript](https://github.com/microsoft/TypeScript/issues/54298) |
| 41 | + |
| 42 | + |
| 43 | +ECMAScript ProposalのDecorator Metadataや`using`の対応、 |
| 44 | +明示的に型を定義せずに推論させるpartial type argument inferenceを扱う`_`の追加、`tsc`コマンドで変換プラグインを扱う仕組みの追加などが検討されています。 |
| 45 | + |
| 46 | +TypeScriptの出力に変換を加えるような仕組みは[ttypescript](https://github.com/cevek/ttypescript)や[TS Patch](https://github.com/nonara/ts-patch)などが`tsc`をラップする形で行っていました。`tsc`のプラグインとして同様のケースができないかを検討しているようです。 |
| 47 | + |
| 48 | +- [A minimal custom transformer plugin proposal · Issue #54276 · microsoft/TypeScript](https://github.com/microsoft/TypeScript/issues/54276) |
| 49 | + |
| 50 | +また、並列解析でのパフォーマンス改善などに取り組む予定となっています。 |
| 51 | + |
| 52 | + |
| 53 | +---- |
| 54 | + |
| 55 | +{% include inline-support.html %} |
| 56 | + |
| 57 | +---- |
| 58 | + |
| 59 | +<h1 class="site-genre">ヘッドライン</h1> |
| 60 | + |
| 61 | +---- |
| 62 | + |
| 63 | +## ESLint v8.41.0 released - ESLint - Pluggable JavaScript Linter |
| 64 | +[eslint.org/blog/2023/05/eslint-v8.41.0-released/](https://eslint.org/blog/2023/05/eslint-v8.41.0-released/ "ESLint v8.41.0 released - ESLint - Pluggable JavaScript Linter") |
| 65 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">ESLint</span> <span class="jser-tag">ReleaseNote</span></p> |
| 66 | + |
| 67 | +ESLint v8.41.0リリース。 |
| 68 | +`shouldUseFlatConfig()`を追加、`indent`ルールのパフォーマンス改善など |
| 69 | + |
| 70 | + |
| 71 | +---- |
| 72 | + |
| 73 | +## WebKit Features in Safari 16.5 | WebKit |
| 74 | +[webkit.org/blog/14154/webkit-features-in-safari-16-5/](https://webkit.org/blog/14154/webkit-features-in-safari-16-5/ "WebKit Features in Safari 16.5 | WebKit") |
| 75 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">safari</span> <span class="jser-tag">ReleaseNote</span></p> |
| 76 | + |
| 77 | +Safari 16.5リリース。 |
| 78 | +CSS Nestingのサポート、`:user-valid`と`:user-invalid`の擬似クラスをサポート。 |
| 79 | +LockdownモードでWebCodecs APIを無効化など |
| 80 | + |
| 81 | +- [Safari 16.5 Release Notes | Apple Developer Documentation](https://developer.apple.com/documentation/safari-release-notes/safari-16_5-release-notes "Safari 16.5 Release Notes | Apple Developer Documentation") |
| 82 | + |
| 83 | +---- |
| 84 | + |
| 85 | +## TypeScript 5.2 Iteration Plan · Issue #54298 · microsoft/TypeScript |
| 86 | +[github.com/microsoft/TypeScript/issues/54298](https://github.com/microsoft/TypeScript/issues/54298 "TypeScript 5.2 Iteration Plan · Issue #54298 · microsoft/TypeScript") |
| 87 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">TypeScript</span> <span class="jser-tag">issue</span></p> |
| 88 | + |
| 89 | +TypeScript 5.2で取り組む予定のIssue。 |
| 90 | +ECMAScript ProposalのDecorator Metadata、`using`の対応。 |
| 91 | +明示的に型を定義せずに推論させるpartial type argument inferenceを扱う`_`の追加、`tsc`コマンドで変換プラグインを扱う仕組みの追加。 |
| 92 | +並列解析でのパフォーマンス改善などに取り組む予定となっている |
| 93 | + |
| 94 | + |
| 95 | +---- |
| 96 | + |
| 97 | +## Improved local development with wrangler and workerd |
| 98 | +[blog.cloudflare.com/wrangler3/](https://blog.cloudflare.com/wrangler3/ "Improved local development with wrangler and workerd") |
| 99 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">cloudflare</span> <span class="jser-tag">console</span> <span class="jser-tag">Tools</span> <span class="jser-tag">ReleaseNote</span></p> |
| 100 | + |
| 101 | +wrangler 3.0.0リリース。 |
| 102 | +`wrangler publish`を`wrangler deploy`にリネーム、`wrangler dev`でMiniflareと`worked` runtimeを使ったローカル環境での開発をデフォルトに変更 |
| 103 | + |
| 104 | +- [Release [email protected] · cloudflare/workers-sdk ](https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%403.0.0 "Release [email protected] · cloudflare/workers-sdk") |
| 105 | + |
| 106 | +---- |
| 107 | + |
| 108 | +## Announcing TypeScript 5.1 RC - TypeScript |
| 109 | +[devblogs.microsoft.com/typescript/announcing-typescript-5-1-rc/](https://devblogs.microsoft.com/typescript/announcing-typescript-5-1-rc/ "Announcing TypeScript 5.1 RC - TypeScript") |
| 110 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">TypeScript</span> <span class="jser-tag">ReleaseNote</span></p> |
| 111 | + |
| 112 | +TypeScript 5.1 RCリリース。 |
| 113 | +`undefined`を`return`する関数の型の扱いを改善、getterとsetter間でそれぞれ異なる型を指定できるように、JSXの改善。 |
| 114 | +Node.js 14.17未満のサポート終了、`typeRoots`の上向きのパッケージ解決を無効化など |
| 115 | + |
| 116 | + |
| 117 | +---- |
| 118 | + |
| 119 | +## Release v1.34.0 · microsoft/playwright |
| 120 | +[github.com/microsoft/playwright/releases/tag/v1.34.0](https://github.com/microsoft/playwright/releases/tag/v1.34.0 "Release v1.34.0 · microsoft/playwright") |
| 121 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">browser</span> <span class="jser-tag">JavaScript</span> <span class="jser-tag">testing</span> <span class="jser-tag">ReleaseNote</span></p> |
| 122 | + |
| 123 | +playwright v1.34.0リリース。 |
| 124 | +Node.js 14のサポート終了、`playwright`と`@playwright/test`を両方インストールしてる場合に`npx playwright test`が動かなくなるように変更。 |
| 125 | +UIモードでテストのステップを表示できるように、`testProject.teardown`プロパティのサポート、`locator.and()`の追加など。 |
| 126 | + |
| 127 | + |
| 128 | +---- |
| 129 | + |
| 130 | +## Release v0.1.12 · web-infra-dev/rspack |
| 131 | +[github.com/web-infra-dev/rspack/releases/tag/v0.1.12](https://github.com/web-infra-dev/rspack/releases/tag/v0.1.12 "Release v0.1.12 · web-infra-dev/rspack") |
| 132 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">webpack</span> <span class="jser-tag">bundler</span> <span class="jser-tag">ReleaseNote</span> <span class="jser-tag">JavaScript</span></p> |
| 133 | + |
| 134 | +rspack v0.1.12リリース。 |
| 135 | +`resolve.exportsFields`をサポート、Data URIのimportをサポートなど |
| 136 | + |
| 137 | + |
| 138 | +---- |
| 139 | + |
| 140 | +## Release v3.2.0 · honojs/hono |
| 141 | +[github.com/honojs/hono/releases/tag/v3.2.0](https://github.com/honojs/hono/releases/tag/v3.2.0 "Release v3.2.0 · honojs/hono") |
| 142 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">JavaScript</span> <span class="jser-tag">server</span> <span class="jser-tag">library</span> <span class="jser-tag">ReleaseNote</span></p> |
| 143 | + |
| 144 | +Hono 3.2.0リリース |
| 145 | +`LinearRouter`と`PatternRouter`の追加。実行環境に合わせたプリセットの追加、` app.mount()` APIの追加、cookie middlewareの追加など |
| 146 | + |
| 147 | +- [Honoのv3.2が出ました](https://zenn.dev/yusukebe/articles/ee57dc12f34724 "Honoのv3.2が出ました") |
| 148 | + |
| 149 | +---- |
| 150 | +<h1 class="site-genre">アーティクル</h1> |
| 151 | + |
| 152 | +---- |
| 153 | + |
| 154 | +## Introducing the popover API - Chrome Developers |
| 155 | +[developer.chrome.com/en/blog/introducing-popover-api/](https://developer.chrome.com/en/blog/introducing-popover-api/ "Introducing the popover API - Chrome Developers") |
| 156 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">browser</span> <span class="jser-tag">HTML</span> <span class="jser-tag">article</span></p> |
| 157 | + |
| 158 | +`popover`属性について |
| 159 | + |
| 160 | + |
| 161 | +---- |
| 162 | + |
| 163 | +## Regular expressions in JavaScript - Honeybadger Developer Blog |
| 164 | +[www.honeybadger.io/blog/javascript-regular-expressions/](https://www.honeybadger.io/blog/javascript-regular-expressions/ "Regular expressions in JavaScript - Honeybadger Developer Blog") |
| 165 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">JavaScript</span> <span class="jser-tag">RegExp</span> <span class="jser-tag">article</span></p> |
| 166 | + |
| 167 | +JavaScriptにおける正規表現の解説とユースケースについて |
| 168 | + |
| 169 | + |
| 170 | +---- |
| 171 | + |
| 172 | +## Chrome113でHTTPヘッダを上書きしていろんな状態をお試しできる - hogashi.\* |
| 173 | +[blog.hog.as/entry/2023/05/11/181952](https://blog.hog.as/entry/2023/05/11/181952 "Chrome113でHTTPヘッダを上書きしていろんな状態をお試しできる - hogashi.\*") |
| 174 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">Chrome</span> <span class="jser-tag">article</span> <span class="jser-tag">debug</span></p> |
| 175 | + |
| 176 | +Chrome DevToolsでHTTPヘッダを書き換えられるようになった話 |
| 177 | + |
| 178 | + |
| 179 | +---- |
| 180 | + |
| 181 | +## Using the Web Vitals extension to debug Core Web Vitals issues |
| 182 | +[web.dev/debug-cwvs-with-web-vitals-extension/](https://web.dev/debug-cwvs-with-web-vitals-extension/ "Using the Web Vitals extension to debug Core Web Vitals issues") |
| 183 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">performance</span> <span class="jser-tag">browser</span> <span class="jser-tag">Chrome</span> <span class="jser-tag">Extension</span> <span class="jser-tag">article</span></p> |
| 184 | + |
| 185 | +Web Vitals extensionを使いWeb Vitalsに関する問題をデバッグする方法について |
| 186 | + |
| 187 | +- [GoogleChrome/web-vitals-extension: A Chrome extension to measure essential metrics for a healthy site](https://github.com/GoogleChrome/web-vitals-extension "GoogleChrome/web-vitals-extension: A Chrome extension to measure essential metrics for a healthy site") |
| 188 | + |
| 189 | +---- |
| 190 | +<h1 class="site-genre">スライド、動画関係</h1> |
| 191 | + |
| 192 | +---- |
| 193 | + |
| 194 | +## OpenJS Collab Summit 2023 - YouTube |
| 195 | +[www.youtube.com/playlist?list=PLyspMSh4XhLO15jJD9Sj069fN18j12AbQ](https://www.youtube.com/playlist?list=PLyspMSh4XhLO15jJD9Sj069fN18j12AbQ "OpenJS Collab Summit 2023 - YouTube") |
| 196 | +<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> |
| 197 | + |
| 198 | +OpenJS Collab Summit 2023 の動画一覧 |
| 199 | + |
| 200 | + |
| 201 | +---- |
| 202 | +<h1 class="site-genre">ソフトウェア、ツール、ライブラリ関係</h1> |
| 203 | + |
| 204 | +---- |
| 205 | + |
| 206 | +## microsoft/devicescript: TypeScript for Tiny IoT Devices |
| 207 | +[github.com/microsoft/devicescript](https://github.com/microsoft/devicescript "microsoft/devicescript: TypeScript for Tiny IoT Devices") |
| 208 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">TypeScript</span> <span class="jser-tag">Tools</span></p> |
| 209 | + |
| 210 | +Raspberry Pi PicoなどのIoTデバイス向けの処理をTypeScriptで書けるツールキット |
| 211 | + |
| 212 | + |
| 213 | +---- |
| 214 | + |
| 215 | +## webpro/knip: ✂️ Find unused files, dependencies and exports in your JavaScript and TypeScript projects. Knip it before you ship it! |
| 216 | +[github.com/webpro/knip](https://github.com/webpro/knip "webpro/knip: ✂️ Find unused files, dependencies and exports in your JavaScript and TypeScript projects. Knip it before you ship it!") |
| 217 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">JavaScript</span> <span class="jser-tag">TypeScript</span> <span class="jser-tag">Tools</span></p> |
| 218 | + |
| 219 | +未使用のファイル、未使用の依存関係、未使用のエクスポートなどを検出や削除できるツール。 |
| 220 | +さまざまなツールのプラグインとして対応している。 |
| 221 | + |
| 222 | + |
| 223 | +---- |
| 224 | + |
| 225 | +## vanjs-org/van: 🍦VanJS (Vanilla JavaScript): World's smallest reactive UI framework |
| 226 | +[github.com/vanjs-org/van](https://github.com/vanjs-org/van "vanjs-org/van: 🍦VanJS (Vanilla JavaScript): World's smallest reactive UI framework") |
| 227 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">JavaScript</span> <span class="jser-tag">library</span> <span class="jser-tag">GUI</span></p> |
| 228 | + |
| 229 | +ファイルサイズが小さなReactive UIフレームワーク |
| 230 | + |
| 231 | + |
| 232 | +---- |
| 233 | + |
| 234 | +## mizchi/lizod |
| 235 | +[github.com/mizchi/lizod](https://github.com/mizchi/lizod "mizchi/lizod") |
| 236 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">TypeScript</span> <span class="jser-tag">library</span></p> |
| 237 | + |
| 238 | +zodライクなTypeScriptの型として利用できるバリデーションライブラリ。 |
| 239 | +zodからメソッドチェーンや複雑なバリデーションを取り除いたAPIを作ることで、ファイルサイズが小さくなることを目的にしている |
| 240 | + |
| 241 | +- [lizod: 1kb 未満の zod の精神的後継](https://zenn.dev/mizchi/articles/lizod-is-lightweight-zod "lizod: 1kb 未満の zod の精神的後継") |
| 242 | + |
| 243 | +---- |
| 244 | +<h1 class="site-genre">書籍関係</h1> |
| 245 | + |
| 246 | +---- |
| 247 | + |
| 248 | +## JavaScript Primer 改訂2版 迷わないための入門書 | azu, Suguru Inatomi |本 | 通販 | Amazon |
| 249 | +[www.amazon.co.jp/dp/4048931105/](https://www.amazon.co.jp/dp/4048931105/ "JavaScript Primer 改訂2版 迷わないための入門書 | azu, Suguru Inatomi |本 | 通販 | Amazon") |
| 250 | +<p class="jser-tags jser-tag-icon"><span class="jser-tag">JavaScript</span> <span class="jser-tag">book</span></p> |
| 251 | + |
| 252 | +2023年6月9日発売 |
| 253 | +JavaScriptの入門書 |
| 254 | + |
| 255 | +- [JavaScript Primer 改訂2版の予約が開始されました | Web Scratch](https://efcl.info/2023/05/18/jsprimer-v2-yoyaku/ "JavaScript Primer 改訂2版の予約が開始されました | Web Scratch") |
| 256 | + |
| 257 | +---- |
0 commit comments