JSer.info #726 - Create React Appが非推奨となりました。
create-react-app
は非推奨となり、Reactを使ったフレームワークやVite/Parcel/Rsbuildなどのビルドツールへの移行が推奨されています。
Deno 2.2がリリースされました。
lintのビルトインルールの追加、JavaScriptで書けるLint Plugin APIの追加、deno task
がwildcard(*
)指定に対応しています。
また、deno outdated
にinteractive modeを追加、deno compile
の改善なども含まれています。
unstableな機能としてOpenTelemetryのサポート、WebTransport
APIのサポートなども追加されています。
Bun v1.2.3がリリースされました。
bun ./index.html
で開発サーバが立ち上がるように、Bun.serve
のstatic
オプションをroutes
オプションに変更されています。
bun init
でReactプロジェクトを作成できるように、bun install --analyze
で不足してる依存をpacakge.json
に追加できるようになっています。
また、WasmのinterpreterとしてLLIntではなくIPINTを使うのをデフォルトにして、BUN_JSC_useWasmIPInt=0
で元に戻せるようになっています。
ESLintがCSSのLintをサポートするようになりました。
CSSTreeを使ったCSSのパースといくつかのLintのルールが実装されています。
JSer.infoをサポートするには
- 😘 知り合いにJSer.infoをおすすめする
- ❤️ GitHub Sponsorsで@azuのスポンサーになる
- 🐦 X(Twitter)で@jser_infoをフォローする
JSer.info Sponsors
JSer.info SponsorsはGitHub SponsorsとしてJSer.infoを支援してくれている方々です。
ヘッドライン
Announcing TypeScript 5.8 RC - TypeScript
devblogs.microsoft.com/typescript/announcing-typescript-5-8-rc/
TypeScript 5.8 RCリリース。
conditional return typeの改善、require(esm)
の対応、--module node18
を追加。 Node.jsの--experimental-strip-types
と合わせた設定をする--erasableSyntaxOnly
フラグの追加、--libReplacement
フラグの追加など
Release pnpm 10.4 · pnpm/pnpm
github.com/pnpm/pnpm/releases/tag/v10.4.0
pnpm v10.4.0リリース。
pnpm approve-builds --global
の追加、pnpm --allow-build=<pkg> add
の追加、pnpm approve-builds
のバグ修正など
Sunsetting Create React App – React
react.dev/blog/2025/02/14/sunsetting-create-react-app
create-react-app
は非推奨として、Reactを使ったフレームワークへの移行を推奨するドキュメントが公開された。
vite/packages/vite/CHANGELOG.md at main · vitejs/vite
github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md#610-2025-02-05
Vite 6.1.0リリース。
Release v3.0.5 · vitest-dev/vitest
github.com/vitest-dev/vitest/releases/tag/v3.0.5
vitest v3.0.5リリース。
Vitest UIのAPIサーバはリクエストのOriginチェックをしていなかったため、罠サイトへのアクセス時にホストマシンで任意のコード実行ができるRCEの脆弱性の修正が含まれている。
Release v2.20.0 · codesandbox/sandpack
github.com/codesandbox/sandpack/releases/tag/v2.20.0
sandpack 2.20.0リリース。
React 19に対応
Deno 2.2: OpenTelemetry, Lint Plugins, node:sqlite
Deno v2.2リリース。
lintのビルトインルールの追加、JavaScriptで書けるLint Plugin APIの追加、deno task
がwildcard(*
)指定に対応。
deno outdated
にinteractive modeを追加、deno compile
の改善。
unstableな機能としてOpenTelemetryのサポート、WebTransport
APIのサポートなど
Bun v1.2.3 | Bun Blog
Bun v1.2.3リリース。
bun ./index.html
で開発サーバが立ち上がるように、Bun.serve
のstatic
オプションをroutes
オプションに変更。
bun init
でReactプロジェクトを作成できるように、bun install --analyze
で不足してる依存をpacakge.json
に追加。
WasmのinterpreterとしてLLIntではなくIPINTを使うのをデフォルトにして、BUN_JSC_useWasmIPInt=0
で元に戻せるように
Release v2.6.0 · reduxjs/redux-toolkit
github.com/reduxjs/redux-toolkit/releases/tag/v2.6.0
Redux Toolkit v2.6.0リリース。
Infinite Queryのサポートなど
ECMAScript proposal updates @ 2025-02 | ECMAScript Daily
ecmascript-daily.github.io/ecmascript/2025/02/24/ecmascript-proposal-update
2025年2月のTC39 MeetingでのECMAScript Proposalのステータス変更まとめ。
RegExp.escape
とFloat16がStage 4となり、ECMAScript 2025に入ることが決まった
アーティクル
ESLint now officially supports linting of CSS - ESLint - Pluggable JavaScript Linter
eslint.org/blog/2025/02/eslint-css-support/
ESLintがCSSのLintを正式にサポート。
@eslint/css
プラグインでCSSのLintに対応、tolerant
オプションで構文エラーのケースにも対応、customSyntax
で独自の@at-rule
などにも対応している
The Popover API is now Baseline Newly available | Blog | web.dev
web.dev/blog/popover-baseline?hl=en
Popover APIがBaselineとなり多くのブラウザで利用できるようになった。
Interop 2025がスタート | フロントエンドBlog | ミツエーリンクス
www.mitsue.co.jp/knowledge/blog/frontend/202502/17_0829.html
ブラウザの相互運用性向上の取り組みであるInterop 2025が発表された。
- Announcing Interop 2025 | WebKit
- Interop 2025 Launch - Bocoup
- Interop 2025: another year of web platform improvements | Blog | web.dev
- Interop 2025 | Igalia
- Microsoft Edge and Interop 2025 - Microsoft Edge Blog
- Launching Interop 2025 - Mozilla Hacks - the Web developer blog
Web技術の互換性を把握するためのBaselineとWeb Platform Status Dashboard
zenn.dev/sakito/articles/26cba8397c4dbe
BaselineとWeb Platform Status Dashboardについて
ソフトウェア、ツール、ライブラリ関係
The Typescript AI framework - Mastra
OpenAI/Anthropic/Google GeminiなどのLLM ProviderのAPIを使ったAgentやツールなどを書けるAIフレームワーク。
Gatsbyの人たちが作成している
le0pard/re2js: RE2JS is the JavaScript port of RE2, a regular expression engine that provides linear time matching
正規表現エンジンのRE2のJavaScript Port