Skip to content

Commit 40cc239

Browse files
authored
Update 2025-08-31-bun-v1.2.21-apollo-client-v4-nx.md
1 parent bb8d049 commit 40cc239

File tree

1 file changed

+102
-63
lines changed

1 file changed

+102
-63
lines changed
Lines changed: 102 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,98 @@
11
---
2-
title: "2025-08-31のJS: Bun v1.2.21、 Apollo Client v4、nxパッケージへのサプライチェーン攻撃"
2+
title: "2025-08-31のJS: Bun v1.2.21、Apollo Client v4、nxパッケージ侵害とサプライチェーン攻撃"
33
author: "azu"
44
layout: post
55
date: 2025-08-31T09:27:04.484Z
66
category: JSer
77
tags:
8-
- nodejs
9-
- ESLint
10-
- express
11-
- Bun
12-
- GraphQL
8+
- nodejs
9+
- ESLint
10+
- express
11+
- Bun
12+
- GraphQL
13+
---
14+
15+
JSer.info #746 - Bun v1.2.21 がリリースされました。
16+
17+
- [Bun v1.2.21 | Bun Blog](https://bun.com/blog/bun-v1.2.21)
18+
19+
`Bun.SQL`が MySQL/MariaDB/SQLite/PostgreSQL に対応し、YAML のネイティブサポートが追加されました。また、`Bun.secrets`の追加、`Bun.build` API で`--compile`のサポート、`bunx``--package`フラグのサポートなどが含まれています。
1320

1421
---
1522

16-
JSer.info #746 - - [Bun v1.2.21 | Bun Blog](https://bun.com/blog/bun-v1.2.21)
23+
Apollo Client 4.0 がリリースされました。
24+
1725
- [Release @apollo/client@4.0.0 · apollographql/apollo-client](https://github.com/apollographql/apollo-client/releases/tag/%40apollo%2Fclient%404.0.0)
1826
- [Migrating to Apollo Client 4.0 - Apollo GraphQL Docs](https://www.apollographql.com/docs/react/migrating/apollo-client-4-migration)
27+
28+
React 依存を`@apollo/client/react`に分離してコアをフレームワーク非依存にし、エラーハンドリングを刷新して`ApolloError`を廃止、Link をクラス化するなど大幅な変更が含まれています。また、`@defer`のサポート、React Compiler でコンパイル済みの Hooks の公開、SSR API の刷新なども行われています。
29+
30+
---
31+
32+
nx パッケージにマルウェアを含む不正なバージョンが公開される問題が発生しました。
33+
1934
- [Malicious versions of Nx and some supporting plugins were published · Advisory · nrwl/nx](https://github.com/nrwl/nx/security/advisories/GHSA-cxm3-wv7p-598c)
2035
- [Supply Chain Security Alert: Popular Nx Build System Package Compromised with Data-Stealing Malware - StepSecurity](https://www.stepsecurity.io/blog/supply-chain-security-alert-popular-nx-build-system-package-compromised-with-data-stealing-malware)
2136

22-
----
37+
21.5.0、20.9.0、20.10.0 など複数のバージョンに問題があり、データを盗むマルウェアが含まれていました。
38+
該当バージョンを使用している場合は、nxパッケージの更新が必要です。
39+
40+
---
2341

2442
{% include inline-support.html %}
2543

26-
----
44+
---
2745

2846
<h1 class="site-genre">ヘッドライン</h1>
2947

30-
----
48+
---
3149

3250
## ESLint v9.34.0 released - ESLint - Pluggable JavaScript Linter
51+
3352
[eslint.org/blog/2025/08/eslint-v9.34.0-released/](https://eslint.org/blog/2025/08/eslint-v9.34.0-released/ "ESLint v9.34.0 released - ESLint - Pluggable JavaScript Linter")
34-
<p class="jser-tags jser-tag-icon"><span class="jser-tag">ESLint</span> <span class="jser-tag">ReleaseNote</span></p>
3553

36-
ESLint v9.34.0リリース。
37-
`--concurrency=auto`でmultithread lintingのサポート
54+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">ESLint</span> <span class="jser-tag">ReleaseNote</span></p>
3855

56+
ESLint v9.34.0 リリース。
57+
`--concurrency=auto`で multithread linting のサポート
3958

40-
----
59+
---
4160

4261
## Bun v1.2.21 | Bun Blog
62+
4363
[bun.com/blog/bun-v1.2.21](https://bun.com/blog/bun-v1.2.21 "Bun v1.2.21 | Bun Blog")
44-
<p class="jser-tags jser-tag-icon"><span class="jser-tag">Bun</span> <span class="jser-tag">ReleaseNote</span></p>
4564

46-
Bun v1.2.21リリース。
47-
`Bun.SQL`がMySQL/MariaDB/SQLite/PostgreSQLを利用できるように、YAMLのネイティブサポート、Bun.secrets`の追加。
65+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">Bun</span> <span class="jser-tag">ReleaseNote</span></p>
4866

49-
`Bun.build` APIで`--compile`をサポート、`bunx``--package`フラグをサポートなど
67+
Bun v1.2.21 リリース。
68+
`Bun.SQL`が MySQL/MariaDB/SQLite/PostgreSQL を利用できるように、YAML のネイティブサポート、Bun.secrets`の追加。
5069

70+
`Bun.build` API で`--compile`をサポート、`bunx``--package`フラグをサポートなど
5171

52-
----
72+
---
5373

5474
## Release @apollo/client@4.0.0 · apollographql/apollo-client
75+
5576
[github.com/apollographql/apollo-client/releases/tag/%40apollo%2Fclient%404.0.0](https://github.com/apollographql/apollo-client/releases/tag/%40apollo%2Fclient%404.0.0 "Release @apollo/client@4.0.0 · apollographql/apollo-client")
77+
5678
<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">GraphQL</span></p>
5779

58-
Apollo Client 4.0リリース
59-
React依存を`@apollo/client/react`に分離しコアをフレームワーク非依存化、`ApolloClient``link`必須化/`uri`等のショートカット削除など。
60-
エラーハンドリング刷新し`ApolloError`廃止しエラーごとに用意したクラスへ変更、Linkは関数からクラス化、RxJSを標準Observable実装に採用
61-
`dataState`プロパティでクエリ結果がわかるように、`@defer`のサポート、`localState`オプションの追加、React Compilerでコンパイル済みのHooksの公開
62-
TypeScriptの名前空間型整理/厳格化とツリーシェイク改善、SSR API刷新(`prerenderStatic`)。
63-
`useLazyQuery`のAPIの変更`useQuery`から`onCompleted``onError`を削除。
64-
マイグレーションのためのCodemodも提供している
80+
Apollo Client 4.0 リリース
81+
React 依存を`@apollo/client/react`に分離しコアをフレームワーク非依存化、`ApolloClient``link`必須化/`uri`等のショートカット削除など。
82+
エラーハンドリング刷新し`ApolloError`廃止しエラーごとに用意したクラスへ変更、Link は関数からクラス化、RxJS を標準 Observable 実装に採用
83+
`dataState`プロパティでクエリ結果がわかるように、`@defer`のサポート、`localState`オプションの追加、React Compiler でコンパイル済みの Hooks の公開
84+
TypeScript の名前空間型整理/厳格化とツリーシェイク改善、SSR API 刷新(`prerenderStatic`)。
85+
`useLazyQuery`の API の変更`useQuery`から`onCompleted``onError`を削除。
86+
マイグレーションのための Codemod も提供している
6587

6688
- [Migrating to Apollo Client 4.0 - Apollo GraphQL Docs](https://www.apollographql.com/docs/react/migrating/apollo-client-4-migration "Migrating to Apollo Client 4.0 - Apollo GraphQL Docs")
6789

68-
----
90+
---
6991

7092
## Malicious versions of Nx were published · Advisory · nrwl/nx
93+
7194
[github.com/nrwl/nx/security/advisories/GHSA-cxm3-wv7p-598c](https://github.com/nrwl/nx/security/advisories/GHSA-cxm3-wv7p-598c "Malicious versions of Nx were published · Advisory · nrwl/nx")
95+
7296
<p class="jser-tags jser-tag-icon"><span class="jser-tag">nodejs</span> <span class="jser-tag">security</span> <span class="jser-tag">ReleaseNote</span></p>
7397

7498
`nx`パッケージのマルウェアを含むバージョンが公開された問題。
@@ -83,113 +107,128 @@ TypeScriptの名前空間型整理/厳格化とツリーシェイク改善、SSR
83107
- 21.8.0
84108
- 20.12.0
85109

110+
関連記事:
111+
86112
- [Supply Chain Security Alert: Popular Nx Build System Package Compromised with Data-Stealing Malware - StepSecurity](https://www.stepsecurity.io/blog/supply-chain-security-alert-popular-nx-build-system-package-compromised-with-data-stealing-malware "Supply Chain Security Alert: Popular Nx Build System Package Compromised with Data-Stealing Malware - StepSecurity")
87113

88-
----
114+
---
89115

90116
## Announcing Rspack 1.5 - Rspack
117+
91118
[rspack.rs/blog/announcing-1-5](https://rspack.rs/blog/announcing-1-5 "Announcing Rspack 1.5 - Rspack")
119+
92120
<p class="jser-tags jser-tag-icon"><span class="jser-tag">rspack</span> <span class="jser-tag">ReleaseNote</span></p>
93121

94-
Rspack 1.5リリース
95-
Node.js 16のサポート終了
96-
Barrel fileの最適化`watchpack`の代わりにネイティブ実装を追加、`@rspack/browser`でブラウザでのbundleをサポート
97-
RustでRspackを拡張するbindingをかけるように、定数のインライン化をサポートなど
122+
Rspack 1.5 リリース
123+
Node.js 16 のサポート終了
124+
Barrel file の最適化`watchpack`の代わりにネイティブ実装を追加、`@rspack/browser`でブラウザでの bundle をサポート
125+
Rust で Rspack を拡張する binding をかけるように、定数のインライン化をサポートなど
98126

127+
---
99128

100-
----
129+
## Node.js v22.19.0 (LTS)
101130

102-
## Node.js v22.19.0 (LTS)
103131
[nodejs.org/en/blog/release/v22.19.0](https://nodejs.org/en/blog/release/v22.19.0 "Node.js v22.19.0 (LTS) ")
132+
104133
<p class="jser-tags jser-tag-icon"><span class="jser-tag">nodejs</span> <span class="jser-tag">rlee</span></p>
105134

106-
Node.js v22.19.0リリース
135+
Node.js v22.19.0 リリース
107136
`NODE_USE_SYSTEM_CA=1`を追加、`--experimental-wasm-modules`のフラグを外す変更、`zstdCompress`の辞書をサポートなど
108137

109-
110-
----
138+
---
111139

112140
## Node.js v24.7.0 (Current)
141+
113142
[nodejs.org/en/blog/release/v24.7.0](https://nodejs.org/en/blog/release/v24.7.0 "Node.js v24.7.0 (Current)")
114-
<p class="jser-tags jser-tag-icon"><span class="jser-tag">nodejs</span> <span class="jser-tag">ReleaseNote</span></p>
115143

116-
Node.js v24.7.0リリース。
117-
`node:crypto`でPost-Quantum CryptographyとしてML-KEM/ML-DSAをサポート、Web Cryptography APIのサポートの改善。
118-
single executable applicationsで`execArgv`などフィールドのサポートなど
144+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">nodejs</span> <span class="jser-tag">ReleaseNote</span></p>
119145

146+
Node.js v24.7.0 リリース。
147+
`node:crypto`で Post-Quantum Cryptography として ML-KEM/ML-DSA をサポート、Web Cryptography API のサポートの改善。
148+
single executable applications で`execArgv`などフィールドのサポートなど
120149

121-
----
150+
---
122151

123152
## August 25, 2025 Release – React Spectrum Releases
153+
124154
[react-spectrum.adobe.com/releases/2025-08-25.html](https://react-spectrum.adobe.com/releases/2025-08-25.html "August 25, 2025 Release – React Spectrum Releases")
155+
125156
<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>
126157

127158
React Spectrum August 25, 2025 Release。
128-
Popover/Tooltipのorigin-aware overlayアニメーション追加、AutocompleteをRC化`GridListSection`の追加など
159+
Popover/Tooltip の origin-aware overlay アニメーション追加、Autocomplete を RC 化`GridListSection`の追加など
129160

161+
---
130162

131-
----
132163
<h1 class="site-genre">アーティクル</h1>
133164

134-
----
165+
---
135166

136167
## Run Express.js on Cloudflare Workers
168+
137169
[jross.me/run-express-js-on-cloudflare-workers/](https://jross.me/run-express-js-on-cloudflare-workers/ "Run Express.js on Cloudflare Workers")
138-
<p class="jser-tags jser-tag-icon"><span class="jser-tag">nodejs</span> <span class="jser-tag">express</span> <span class="jser-tag">article</span></p>
139170

140-
Cloudflare Workersの`enable_nodejs_http_server_modules`フラグでexpressが動作するようになったという話
171+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">nodejs</span> <span class="jser-tag">express</span> <span class="jser-tag">article</span></p>
141172

173+
Cloudflare Workers の`enable_nodejs_http_server_modules`フラグで express が動作するようになったという話
142174

143-
----
175+
---
144176

145177
## The Power Of The Intl API: A Definitive Guide To Browser-Native Internationalization — Smashing Magazine
178+
146179
[www.smashingmagazine.com/2025/08/power-intl-api-guide-browser-native-internationalization/](https://www.smashingmagazine.com/2025/08/power-intl-api-guide-browser-native-internationalization/ "The Power Of The Intl API: A Definitive Guide To Browser-Native Internationalization — Smashing Magazine")
147-
<p class="jser-tags jser-tag-icon"><span class="jser-tag">i18n</span> <span class="jser-tag">JavaScript</span> <span class="jser-tag">article</span></p>
148180

149-
Intl APIについて
181+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">i18n</span> <span class="jser-tag">JavaScript</span> <span class="jser-tag">article</span></p>
150182

183+
Intl API について
151184

152-
----
185+
---
153186

154187
## The Complete Guide to Self-Hosting Next.js at Scale — @dlhck
188+
155189
[dlhck.com/thoughts/the-complete-guide-to-self-hosting-nextjs-at-scale](https://dlhck.com/thoughts/the-complete-guide-to-self-hosting-nextjs-at-scale "The Complete Guide to Self-Hosting Next.js at Scale — @dlhck")
190+
156191
<p class="jser-tags jser-tag-icon"><span class="jser-tag">Next.js</span> <span class="jser-tag">article</span></p>
157192

158-
Next.jsをセルフホスティングする時に気をつけるべき点についてや設定についてなど
193+
Next.js をセルフホスティングする時に気をつけるべき点についてや設定についてなど
159194

195+
---
160196

161-
----
162197
<h1 class="site-genre">ソフトウェア、ツール、ライブラリ関係</h1>
163198

164-
----
199+
---
165200

166201
## sidequestjs/sidequest: Sidequest is a modern, scalable background job processor for Node.js applications.
202+
167203
[github.com/sidequestjs/sidequest](https://github.com/sidequestjs/sidequest "sidequestjs/sidequest: Sidequest is a modern, scalable background job processor for Node.js applications.")
204+
168205
<p class="jser-tags jser-tag-icon"><span class="jser-tag">nodejs</span> <span class="jser-tag">library</span></p>
169206

170-
Node.jsでバックグラウンドジョブを処理するライブラリ
207+
Node.js でバックグラウンドジョブを処理するライブラリ
171208
`node:worker_threads`を使った実装になっている
172209

173210
- [Sidequest.js](https://sidequestjs.com/posts/intro-to-sidequest/ "Sidequest.js")
174211

175-
----
212+
---
176213

177214
## adamhl8/filterql: A tiny query language for filtering structured data
215+
178216
[github.com/adamhl8/filterql](https://github.com/adamhl8/filterql "adamhl8/filterql: A tiny query language for filtering structured data")
217+
179218
<p class="jser-tags jser-tag-icon"><span class="jser-tag">JavaScript</span> <span class="jser-tag">library</span> <span class="jser-tag">search</span></p>
180219

181-
データのスキーマを定義して、検索を行うDSLを提供するライブラリ
220+
データのスキーマを定義して、検索を行う DSL を提供するライブラリ
182221
一致検索、比較、ソートなどを行う検索演算子に対応している。
183222

184-
185-
----
223+
---
186224

187225
## image-js/image-js: Image processing and manipulation in JavaScript
226+
188227
[github.com/image-js/image-js](https://github.com/image-js/image-js "image-js/image-js: Image processing and manipulation in JavaScript")
189-
<p class="jser-tags jser-tag-icon"><span class="jser-tag">JavaScript</span> <span class="jser-tag">Image</span> <span class="jser-tag">library</span></p>
190228

191-
JavaScriptで画像処理を行うライブラリ。
192-
Node.jsとブラウザで動作し、PNG/JPEG/TIFFなどの画像の読み書きや、ピクセル単位の処理、フィルター、マスクなど画像処理を提供している
229+
<p class="jser-tags jser-tag-icon"><span class="jser-tag">JavaScript</span> <span class="jser-tag">Image</span> <span class="jser-tag">library</span></p>
193230

231+
JavaScript で画像処理を行うライブラリ。
232+
Node.js とブラウザで動作し、PNG/JPEG/TIFF などの画像の読み書きや、ピクセル単位の処理、フィルター、マスクなど画像処理を提供している
194233

195-
----
234+
---

0 commit comments

Comments
 (0)