From ca945e270f24c02c0c0c12aed74ecdcd9d217ba4 Mon Sep 17 00:00:00 2001 From: azu Date: Fri, 29 Sep 2023 08:22:50 +0000 Subject: [PATCH 01/18] Update 663 draft --- _i18n/ja/_posts/2023/2023-09-29-663draft.md | 28 +++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 _i18n/ja/_posts/2023/2023-09-29-663draft.md diff --git a/_i18n/ja/_posts/2023/2023-09-29-663draft.md b/_i18n/ja/_posts/2023/2023-09-29-663draft.md new file mode 100644 index 00000000000..b3bec941119 --- /dev/null +++ b/_i18n/ja/_posts/2023/2023-09-29-663draft.md @@ -0,0 +1,28 @@ +--- +title: "2023-09-29のJS: " +author: "azu" +layout: post +date : 2023-09-29T08:22:23.779Z +category: JSer +tags: +- nodejs + +--- + +JSer.info #663 + +---- + +

ヘッドライン

+ +---- + +## Node v20.8.0 (Current) | Node.js +[nodejs.org/en/blog/release/v20.8.0](https://nodejs.org/en/blog/release/v20.8.0 "Node v20.8.0 (Current) | Node.js") +

nodejs ReleaseNote

+ +Node.js v20.8.0リリース。 +Streamのパフォーマンス改善、`vm`に`importModuleDynamically`オプションを追加、Jestなどで起きていたメモリリークの問題を修正など + + +---- From cbd623e3f6c24274d762eb55d5bb35cf00f85994 Mon Sep 17 00:00:00 2001 From: azu Date: Fri, 29 Sep 2023 08:28:17 +0000 Subject: [PATCH 02/18] Update 663 draft --- _i18n/ja/_posts/2023/2023-09-29-663draft.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_i18n/ja/_posts/2023/2023-09-29-663draft.md b/_i18n/ja/_posts/2023/2023-09-29-663draft.md index b3bec941119..4234d50bcd0 100644 --- a/_i18n/ja/_posts/2023/2023-09-29-663draft.md +++ b/_i18n/ja/_posts/2023/2023-09-29-663draft.md @@ -2,7 +2,7 @@ title: "2023-09-29のJS: " author: "azu" layout: post -date : 2023-09-29T08:22:23.779Z +date : 2023-09-29T08:27:49.416Z category: JSer tags: - nodejs @@ -22,7 +22,7 @@ JSer.info #663

nodejs ReleaseNote

Node.js v20.8.0リリース。 -Streamのパフォーマンス改善、`vm`に`importModuleDynamically`オプションを追加、Jestなどで起きていたメモリリークの問題を修正など +Streamのパフォーマンス改善、`vm`に`importModuleDynamically`オプションを追加、主にJestなどで起きていた`vm`のメモリリークの問題を修正など ---- From 2d3efd94e1b13e855d06ffbd7d81c9f8c17c6411 Mon Sep 17 00:00:00 2001 From: azu Date: Sat, 30 Sep 2023 03:24:06 +0000 Subject: [PATCH 03/18] Update 663 draft --- _i18n/ja/_posts/2023/2023-09-29-663draft.md | 28 --------------- _i18n/ja/_posts/2023/2023-09-30-663draft.md | 40 +++++++++++++++++++++ 2 files changed, 40 insertions(+), 28 deletions(-) delete mode 100644 _i18n/ja/_posts/2023/2023-09-29-663draft.md create mode 100644 _i18n/ja/_posts/2023/2023-09-30-663draft.md diff --git a/_i18n/ja/_posts/2023/2023-09-29-663draft.md b/_i18n/ja/_posts/2023/2023-09-29-663draft.md deleted file mode 100644 index 4234d50bcd0..00000000000 --- a/_i18n/ja/_posts/2023/2023-09-29-663draft.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: "2023-09-29のJS: " -author: "azu" -layout: post -date : 2023-09-29T08:27:49.416Z -category: JSer -tags: -- nodejs - ---- - -JSer.info #663 - ----- - -

ヘッドライン

- ----- - -## Node v20.8.0 (Current) | Node.js -[nodejs.org/en/blog/release/v20.8.0](https://nodejs.org/en/blog/release/v20.8.0 "Node v20.8.0 (Current) | Node.js") -

nodejs ReleaseNote

- -Node.js v20.8.0リリース。 -Streamのパフォーマンス改善、`vm`に`importModuleDynamically`オプションを追加、主にJestなどで起きていた`vm`のメモリリークの問題を修正など - - ----- diff --git a/_i18n/ja/_posts/2023/2023-09-30-663draft.md b/_i18n/ja/_posts/2023/2023-09-30-663draft.md new file mode 100644 index 00000000000..771c9d0463b --- /dev/null +++ b/_i18n/ja/_posts/2023/2023-09-30-663draft.md @@ -0,0 +1,40 @@ +--- +title: "2023-09-30のJS: " +author: "azu" +layout: post +date : 2023-09-30T03:23:35.597Z +category: JSer +tags: +- nodejs +- UI + +--- + +JSer.info #663 + +---- + +

ヘッドライン

+ +---- + +## Node v20.8.0 (Current) | Node.js +[nodejs.org/en/blog/release/v20.8.0](https://nodejs.org/en/blog/release/v20.8.0 "Node v20.8.0 (Current) | Node.js") +

nodejs ReleaseNote

+ +Node.js v20.8.0リリース。 +Streamのパフォーマンス改善、`vm`に`importModuleDynamically`オプションを追加、主にJestなどで起きていた`vm`のメモリリークの問題を修正など + + +---- + +## Lit 3.0 Prerelease 2 and more! – Lit +[lit.dev/blog/2023-09-27-lit-3.0-prerelease-2/](https://lit.dev/blog/2023-09-27-lit-3.0-prerelease-2/ "Lit 3.0 Prerelease 2 and more! – Lit") +

JavaScript UI library ReleaseNote

+ +Lit 3.0.0-pre.1リリース。 +Lit 3.0では、IE11のサポート終了、ECMAScript Proposal Stage 3のDecoratorの対応などが含まれる。 + +- [Release lit@3.0.0-pre.1 · lit/lit](https://github.com/lit/lit/releases/tag/lit%403.0.0-pre.1 "Release lit@3.0.0-pre.1 · lit/lit") + +---- From 2fd150c2f304d4a2b8e91943cfdb83dbe43b848d Mon Sep 17 00:00:00 2001 From: azu Date: Sat, 30 Sep 2023 11:35:36 +0000 Subject: [PATCH 04/18] Update 663 draft --- _i18n/ja/_posts/2023/2023-09-30-663draft.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/_i18n/ja/_posts/2023/2023-09-30-663draft.md b/_i18n/ja/_posts/2023/2023-09-30-663draft.md index 771c9d0463b..8b2a0864a12 100644 --- a/_i18n/ja/_posts/2023/2023-09-30-663draft.md +++ b/_i18n/ja/_posts/2023/2023-09-30-663draft.md @@ -2,11 +2,12 @@ title: "2023-09-30のJS: " author: "azu" layout: post -date : 2023-09-30T03:23:35.597Z +date : 2023-09-30T11:35:09.764Z category: JSer tags: - nodejs - UI +- npm --- @@ -37,4 +38,14 @@ Lit 3.0では、IE11のサポート終了、ECMAScript Proposal Stage 3のDecora - [Release lit@3.0.0-pre.1 · lit/lit](https://github.com/lit/lit/releases/tag/lit%403.0.0-pre.1 "Release lit@3.0.0-pre.1 · lit/lit") +---- + +## npm provenance general availability - The GitHub Blog +[github.blog/changelog/2023-09-26-npm-provenance-general-availability/](https://github.blog/changelog/2023-09-26-npm-provenance-general-availability/ "npm provenance general availability - The GitHub Blog") +

npm news

+ +npm provenanceを使ってパッケージを公開できるようになった。 +CI/CDからパッケージを公開する際に、コミットとパッケージを紐づけて公開できるようになる。 + + ---- From 745c2bffd39a6c517a763855b6ecf5f7c0791634 Mon Sep 17 00:00:00 2001 From: azu Date: Sat, 30 Sep 2023 11:48:58 +0000 Subject: [PATCH 05/18] Update 663 draft --- _i18n/ja/_posts/2023/2023-09-30-663draft.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/_i18n/ja/_posts/2023/2023-09-30-663draft.md b/_i18n/ja/_posts/2023/2023-09-30-663draft.md index 8b2a0864a12..36997931d84 100644 --- a/_i18n/ja/_posts/2023/2023-09-30-663draft.md +++ b/_i18n/ja/_posts/2023/2023-09-30-663draft.md @@ -2,7 +2,7 @@ title: "2023-09-30のJS: " author: "azu" layout: post -date : 2023-09-30T11:35:09.764Z +date : 2023-09-30T11:48:31.386Z category: JSer tags: - nodejs @@ -48,4 +48,16 @@ npm provenanceを使ってパッケージを公開できるようになった。 CI/CDからパッケージを公開する際に、コミットとパッケージを紐づけて公開できるようになる。 +---- +

ソフトウェア、ツール、ライブラリ関係

+ +---- + +## runk/node-chardet: Character encoding detection tool for NodeJS +[github.com/runk/node-chardet](https://github.com/runk/node-chardet "runk/node-chardet: Character encoding detection tool for NodeJS") +

JavaScript library

+ +文字コード判定ライブラリ + + ---- From 0f28614c32c1d8419b1302bfa2f1a730edf5b6d3 Mon Sep 17 00:00:00 2001 From: azu Date: Sat, 30 Sep 2023 14:31:40 +0000 Subject: [PATCH 06/18] Update 663 draft --- _i18n/ja/_posts/2023/2023-09-30-663draft.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/_i18n/ja/_posts/2023/2023-09-30-663draft.md b/_i18n/ja/_posts/2023/2023-09-30-663draft.md index 36997931d84..a2d475a8d31 100644 --- a/_i18n/ja/_posts/2023/2023-09-30-663draft.md +++ b/_i18n/ja/_posts/2023/2023-09-30-663draft.md @@ -2,12 +2,14 @@ title: "2023-09-30のJS: " author: "azu" layout: post -date : 2023-09-30T11:48:31.386Z +date : 2023-09-30T14:31:13.957Z category: JSer tags: - nodejs - UI - npm +- cloudflare +- API --- @@ -48,6 +50,19 @@ npm provenanceを使ってパッケージを公開できるようになった。 CI/CDからパッケージを公開する際に、コミットとパッケージを紐づけて公開できるようになる。 +---- +

アーティクル

+ +---- + +## A Socket API that works across JavaScript runtimes — announcing a WinterCG spec and Node.js implementation of connect() +[blog.cloudflare.com/socket-api-works-javascript-runtimes-wintercg-polyfill-connect/](https://blog.cloudflare.com/socket-api-works-javascript-runtimes-wintercg-polyfill-connect/ "A Socket API that works across JavaScript runtimes — announcing a WinterCG spec and Node.js implementation of connect()") +

nodejs cloudflare API article

+ +WinterCGで策定しているSocket APIについて + +- [Sockets API](https://sockets-api.proposal.wintercg.org/ "Sockets API") + ----

ソフトウェア、ツール、ライブラリ関係

From 5f10e4aadfd01900d5a080c451481b2f49bbe721 Mon Sep 17 00:00:00 2001 From: azu Date: Sun, 1 Oct 2023 03:10:42 +0000 Subject: [PATCH 07/18] Update 663 draft --- ...023-09-30-663draft.md => 2023-10-01-663draft.md} | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) rename _i18n/ja/_posts/2023/{2023-09-30-663draft.md => 2023-10-01-663draft.md} (84%) diff --git a/_i18n/ja/_posts/2023/2023-09-30-663draft.md b/_i18n/ja/_posts/2023/2023-10-01-663draft.md similarity index 84% rename from _i18n/ja/_posts/2023/2023-09-30-663draft.md rename to _i18n/ja/_posts/2023/2023-10-01-663draft.md index a2d475a8d31..bc4954618df 100644 --- a/_i18n/ja/_posts/2023/2023-09-30-663draft.md +++ b/_i18n/ja/_posts/2023/2023-10-01-663draft.md @@ -1,8 +1,8 @@ --- -title: "2023-09-30のJS: " +title: "2023-10-01のJS: " author: "azu" layout: post -date : 2023-09-30T14:31:13.957Z +date : 2023-10-01T03:10:15.250Z category: JSer tags: - nodejs @@ -75,4 +75,13 @@ WinterCGで策定しているSocket APIについて 文字コード判定ライブラリ +---- + +## instant-dev/instant: Build APIs with a Rails-inspired JavaScript ORM and Migrations for Postgres +[github.com/instant-dev/instant](https://github.com/instant-dev/instant "instant-dev/instant: Build APIs with a Rails-inspired JavaScript ORM and Migrations for Postgres") +

JavaScript library database

+ +Rails/ActiveRecordをインスパイアしたORMマッパー、マイグレーション管理ツール。 + + ---- From bb64314af97fbb98c9413555bbfaeb89d11fea0f Mon Sep 17 00:00:00 2001 From: azu Date: Sun, 1 Oct 2023 03:13:32 +0000 Subject: [PATCH 08/18] Update 663 draft --- _i18n/ja/_posts/2023/2023-10-01-663draft.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/_i18n/ja/_posts/2023/2023-10-01-663draft.md b/_i18n/ja/_posts/2023/2023-10-01-663draft.md index bc4954618df..fd3f686897d 100644 --- a/_i18n/ja/_posts/2023/2023-10-01-663draft.md +++ b/_i18n/ja/_posts/2023/2023-10-01-663draft.md @@ -2,7 +2,7 @@ title: "2023-10-01のJS: " author: "azu" layout: post -date : 2023-10-01T03:10:15.250Z +date : 2023-10-01T03:13:32.762Z category: JSer tags: - nodejs @@ -84,4 +84,14 @@ WinterCGで策定しているSocket APIについて Rails/ActiveRecordをインスパイアしたORMマッパー、マイグレーション管理ツール。 +---- + +## aidenybai/pattycake: Zero-runtime pattern matching +[github.com/aidenybai/pattycake](https://github.com/aidenybai/pattycake "aidenybai/pattycake: Zero-runtime pattern matching") +

TypeScript Tools performance

+ +ts-patternのパターンマッチをインライン化して、Runtimeライブラリの依存をなくすツール。 + +- [gvergnaud/ts-pattern: 🎨 The exhaustive Pattern Matching library for TypeScript, with smart type inference.](https://github.com/gvergnaud/ts-pattern "gvergnaud/ts-pattern: 🎨 The exhaustive Pattern Matching library for TypeScript, with smart type inference.") + ---- From 7bdc7b69c4edb266af9e02092755715f375015ec Mon Sep 17 00:00:00 2001 From: azu Date: Sun, 1 Oct 2023 11:35:36 +0000 Subject: [PATCH 09/18] Update 663 draft --- _i18n/ja/_posts/2023/2023-10-01-663draft.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/_i18n/ja/_posts/2023/2023-10-01-663draft.md b/_i18n/ja/_posts/2023/2023-10-01-663draft.md index fd3f686897d..5cf209158d5 100644 --- a/_i18n/ja/_posts/2023/2023-10-01-663draft.md +++ b/_i18n/ja/_posts/2023/2023-10-01-663draft.md @@ -2,7 +2,7 @@ title: "2023-10-01のJS: " author: "azu" layout: post -date : 2023-10-01T03:13:32.762Z +date : 2023-10-01T11:35:10.108Z category: JSer tags: - nodejs @@ -94,4 +94,17 @@ ts-patternのパターンマッチをインライン化して、Runtimeライブ - [gvergnaud/ts-pattern: 🎨 The exhaustive Pattern Matching library for TypeScript, with smart type inference.](https://github.com/gvergnaud/ts-pattern "gvergnaud/ts-pattern: 🎨 The exhaustive Pattern Matching library for TypeScript, with smart type inference.") +---- +

書籍関係

+ +---- + +## Learning Vue +[learning.oreilly.com/library/view/learning-vue/9781492098812/](https://learning.oreilly.com/library/view/learning-vue/9781492098812/ "Learning Vue") +

Vue JavaScript book

+ +2023年12月発売 +Vueについての書籍 + + ---- From b3e433dd37b74a4c657cb6f436baecebf845d364 Mon Sep 17 00:00:00 2001 From: azu Date: Sun, 1 Oct 2023 22:57:41 +0000 Subject: [PATCH 10/18] Update 663 draft --- _i18n/ja/_posts/2023/2023-10-01-663draft.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/_i18n/ja/_posts/2023/2023-10-01-663draft.md b/_i18n/ja/_posts/2023/2023-10-01-663draft.md index 5cf209158d5..d1b6eec400d 100644 --- a/_i18n/ja/_posts/2023/2023-10-01-663draft.md +++ b/_i18n/ja/_posts/2023/2023-10-01-663draft.md @@ -2,7 +2,7 @@ title: "2023-10-01のJS: " author: "azu" layout: post -date : 2023-10-01T11:35:10.108Z +date : 2023-10-01T22:57:41.427Z category: JSer tags: - nodejs @@ -50,6 +50,16 @@ npm provenanceを使ってパッケージを公開できるようになった。 CI/CDからパッケージを公開する際に、コミットとパッケージを紐づけて公開できるようになる。 +---- + +## Release 3.33.0 - 2023.10.02 · zloirock/core-js +[github.com/zloirock/core-js/releases/tag/v3.33.0](https://github.com/zloirock/core-js/releases/tag/v3.33.0 "Release 3.33.0 - 2023.10.02 · zloirock/core-js") +

JavaScript polyfill ReleaseNote

+ +core-js v3.33.0リリース。 +`RegExp.escape`の追加、compat dataのアップデートなど + + ----

アーティクル

From 9d9bc3c18e7ce77ffd23f200f7f3787fb11fe10d Mon Sep 17 00:00:00 2001 From: azu Date: Tue, 3 Oct 2023 01:49:13 +0000 Subject: [PATCH 11/18] Update 663 draft --- ...023-10-01-663draft.md => 2023-10-03-663draft.md} | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) rename _i18n/ja/_posts/2023/{2023-10-01-663draft.md => 2023-10-03-663draft.md} (91%) diff --git a/_i18n/ja/_posts/2023/2023-10-01-663draft.md b/_i18n/ja/_posts/2023/2023-10-03-663draft.md similarity index 91% rename from _i18n/ja/_posts/2023/2023-10-01-663draft.md rename to _i18n/ja/_posts/2023/2023-10-03-663draft.md index d1b6eec400d..ea3b96f5d8b 100644 --- a/_i18n/ja/_posts/2023/2023-10-01-663draft.md +++ b/_i18n/ja/_posts/2023/2023-10-03-663draft.md @@ -1,8 +1,8 @@ --- -title: "2023-10-01のJS: " +title: "2023-10-03のJS: " author: "azu" layout: post -date : 2023-10-01T22:57:41.427Z +date : 2023-10-03T01:49:12.867Z category: JSer tags: - nodejs @@ -104,6 +104,15 @@ ts-patternのパターンマッチをインライン化して、Runtimeライブ - [gvergnaud/ts-pattern: 🎨 The exhaustive Pattern Matching library for TypeScript, with smart type inference.](https://github.com/gvergnaud/ts-pattern "gvergnaud/ts-pattern: 🎨 The exhaustive Pattern Matching library for TypeScript, with smart type inference.") +---- + +## tldraw/tldraw: a very good whiteboard +[github.com/tldraw/tldraw](https://github.com/tldraw/tldraw "tldraw/tldraw: a very good whiteboard") +

JavaScript library illust diagram communication

+ +共同編集できるホワイトボードライブラリ。 + + ----

書籍関係

From 02d9908b5f36fe099632bff732619473546c147e Mon Sep 17 00:00:00 2001 From: azu Date: Tue, 3 Oct 2023 04:17:31 +0000 Subject: [PATCH 12/18] Update 663 draft --- _i18n/ja/_posts/2023/2023-10-03-663draft.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/_i18n/ja/_posts/2023/2023-10-03-663draft.md b/_i18n/ja/_posts/2023/2023-10-03-663draft.md index ea3b96f5d8b..8ce5c3b3b61 100644 --- a/_i18n/ja/_posts/2023/2023-10-03-663draft.md +++ b/_i18n/ja/_posts/2023/2023-10-03-663draft.md @@ -2,7 +2,7 @@ title: "2023-10-03のJS: " author: "azu" layout: post -date : 2023-10-03T01:49:12.867Z +date : 2023-10-03T04:17:04.928Z category: JSer tags: - nodejs @@ -60,6 +60,17 @@ core-js v3.33.0リリース。 `RegExp.escape`の追加、compat dataのアップデートなど +---- + +## Release v1.0.0-beta.0 · vitest-dev/vitest +[github.com/vitest-dev/vitest/releases/tag/v1.0.0-beta.0](https://github.com/vitest-dev/vitest/releases/tag/v1.0.0-beta.0 "Release v1.0.0-beta.0 · vitest-dev/vitest") +

JavaScript testing library ReleaseNote

+ +vitest v1.0.0-beta.0リリース。 +`node:child_process`を使った並列実行をサポート、`pool`と`poolOptions`をサポートし関連する古いフラグを削除など + +- [Feature: Support \`child\_process\` runtime · Issue #64 · tinylibs/tinypool](https://github.com/tinylibs/tinypool/issues/64 "Feature: Support \`child\_process\` runtime · Issue #64 · tinylibs/tinypool") + ----

アーティクル

From 32f9a02bf9638c8079f90f727418deae7fb41e74 Mon Sep 17 00:00:00 2001 From: azu Date: Tue, 3 Oct 2023 13:10:53 +0000 Subject: [PATCH 13/18] Update 663 draft --- _i18n/ja/_posts/2023/2023-10-03-663draft.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/_i18n/ja/_posts/2023/2023-10-03-663draft.md b/_i18n/ja/_posts/2023/2023-10-03-663draft.md index 8ce5c3b3b61..504aaa931df 100644 --- a/_i18n/ja/_posts/2023/2023-10-03-663draft.md +++ b/_i18n/ja/_posts/2023/2023-10-03-663draft.md @@ -2,7 +2,7 @@ title: "2023-10-03のJS: " author: "azu" layout: post -date : 2023-10-03T04:17:04.928Z +date : 2023-10-03T13:10:21.794Z category: JSer tags: - nodejs @@ -71,6 +71,17 @@ vitest v1.0.0-beta.0リリース。 - [Feature: Support \`child\_process\` runtime · Issue #64 · tinylibs/tinypool](https://github.com/tinylibs/tinypool/issues/64 "Feature: Support \`child\_process\` runtime · Issue #64 · tinylibs/tinypool") +---- + +## Bun v1.0.4 | Bun Blog +[bun.sh/blog/bun-v1.0.4](https://bun.sh/blog/bun-v1.0.4 "Bun v1.0.4 | Bun Blog") +

Bun ReleaseNote

+ +Bun v1.0.4リリース。 +`Bun.serve()`のメモリ消費量の削減、`server.requestIP()`の追加、`Bun.plugin`でのvirtual modulesのサポート。 +Fetchのtimeoutのデフォルト値を30秒から5分へ変更、DNS解決のバグを修正など + + ----

アーティクル

From 0103898a86eff48ea4b9d23d71b746e500b6a00e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 3 Oct 2023 13:37:18 +0000 Subject: [PATCH 14/18] Update _i18n/ja/_posts/2023/2023-10-03-node-v20.8.0-vitest-v1.0.0-beta.0-instant.devrails-inspired-ormmigrations.md --- ...instant.devrails-inspired-ormmigrations.md | 160 ++++++++++++++++++ 1 file changed, 160 insertions(+) create mode 100644 _i18n/ja/_posts/2023/2023-10-03-node-v20.8.0-vitest-v1.0.0-beta.0-instant.devrails-inspired-ormmigrations.md diff --git a/_i18n/ja/_posts/2023/2023-10-03-node-v20.8.0-vitest-v1.0.0-beta.0-instant.devrails-inspired-ormmigrations.md b/_i18n/ja/_posts/2023/2023-10-03-node-v20.8.0-vitest-v1.0.0-beta.0-instant.devrails-inspired-ormmigrations.md new file mode 100644 index 00000000000..30c53172188 --- /dev/null +++ b/_i18n/ja/_posts/2023/2023-10-03-node-v20.8.0-vitest-v1.0.0-beta.0-instant.devrails-inspired-ormmigrations.md @@ -0,0 +1,160 @@ +--- +title: "2023-10-03のJS: Node v20.8.0、Vitest v1.0.0-beta.0、instant.dev(Rails-inspired ORM/Migrations)" +author: "azu" +layout: post +date : 2023-10-03T13:10:21.794Z +category: JSer +tags: +- nodejs +- UI +- npm +- cloudflare +- API + +--- + +JSer.info #663 - - [Node v20.8.0 (Current) | Node.js](https://nodejs.org/en/blog/release/v20.8.0) +- [Release v1.0.0-beta.0 · vitest-dev/vitest](https://github.com/vitest-dev/vitest/releases/tag/v1.0.0-beta.0) +- [Feature: Support `child_process` runtime · Issue #64 · tinylibs/tinypool](https://github.com/tinylibs/tinypool/issues/64) +- [instant-dev/instant: Build APIs with a Rails-inspired JavaScript ORM and Migrations for Postgres](https://github.com/instant-dev/instant) + - [instant-dev/instant: Build APIs with a Rails-inspired JavaScript ORM and Migrations for Postgres](https://github.com/instant-dev/instant) + + +---- + +{% include inline-support.html %} + +---- + +

ヘッドライン

+ +---- + +## Node v20.8.0 (Current) | Node.js +[nodejs.org/en/blog/release/v20.8.0](https://nodejs.org/en/blog/release/v20.8.0 "Node v20.8.0 (Current) | Node.js") +

nodejs ReleaseNote

+ +Node.js v20.8.0リリース。 +Streamのパフォーマンス改善、`vm`に`importModuleDynamically`オプションを追加、主にJestなどで起きていた`vm`のメモリリークの問題を修正など + + +---- + +## Lit 3.0 Prerelease 2 and more! – Lit +[lit.dev/blog/2023-09-27-lit-3.0-prerelease-2/](https://lit.dev/blog/2023-09-27-lit-3.0-prerelease-2/ "Lit 3.0 Prerelease 2 and more! – Lit") +

JavaScript UI library ReleaseNote

+ +Lit 3.0.0-pre.1リリース。 +Lit 3.0では、IE11のサポート終了、ECMAScript Proposal Stage 3のDecoratorの対応などが含まれる。 + +- [Release lit@3.0.0-pre.1 · lit/lit](https://github.com/lit/lit/releases/tag/lit%403.0.0-pre.1 "Release lit@3.0.0-pre.1 · lit/lit") + +---- + +## npm provenance general availability - The GitHub Blog +[github.blog/changelog/2023-09-26-npm-provenance-general-availability/](https://github.blog/changelog/2023-09-26-npm-provenance-general-availability/ "npm provenance general availability - The GitHub Blog") +

npm news

+ +npm provenanceを使ってパッケージを公開できるようになった。 +CI/CDからパッケージを公開する際に、コミットとパッケージを紐づけて公開できるようになる。 + + +---- + +## Release 3.33.0 - 2023.10.02 · zloirock/core-js +[github.com/zloirock/core-js/releases/tag/v3.33.0](https://github.com/zloirock/core-js/releases/tag/v3.33.0 "Release 3.33.0 - 2023.10.02 · zloirock/core-js") +

JavaScript polyfill ReleaseNote

+ +core-js v3.33.0リリース。 +`RegExp.escape`の追加、compat dataのアップデートなど + + +---- + +## Release v1.0.0-beta.0 · vitest-dev/vitest +[github.com/vitest-dev/vitest/releases/tag/v1.0.0-beta.0](https://github.com/vitest-dev/vitest/releases/tag/v1.0.0-beta.0 "Release v1.0.0-beta.0 · vitest-dev/vitest") +

JavaScript testing library ReleaseNote

+ +vitest v1.0.0-beta.0リリース。 +`node:child_process`を使った並列実行をサポート、`pool`と`poolOptions`をサポートし関連する古いフラグを削除など + +- [Feature: Support \`child\_process\` runtime · Issue #64 · tinylibs/tinypool](https://github.com/tinylibs/tinypool/issues/64 "Feature: Support \`child\_process\` runtime · Issue #64 · tinylibs/tinypool") + +---- + +## Bun v1.0.4 | Bun Blog +[bun.sh/blog/bun-v1.0.4](https://bun.sh/blog/bun-v1.0.4 "Bun v1.0.4 | Bun Blog") +

Bun ReleaseNote

+ +Bun v1.0.4リリース。 +`Bun.serve()`のメモリ消費量の削減、`server.requestIP()`の追加、`Bun.plugin`でのvirtual modulesのサポート。 +Fetchのtimeoutのデフォルト値を30秒から5分へ変更、DNS解決のバグを修正など + + +---- +

アーティクル

+ +---- + +## A Socket API that works across JavaScript runtimes — announcing a WinterCG spec and Node.js implementation of connect() +[blog.cloudflare.com/socket-api-works-javascript-runtimes-wintercg-polyfill-connect/](https://blog.cloudflare.com/socket-api-works-javascript-runtimes-wintercg-polyfill-connect/ "A Socket API that works across JavaScript runtimes — announcing a WinterCG spec and Node.js implementation of connect()") +

nodejs cloudflare API article

+ +WinterCGで策定しているSocket APIについて + +- [Sockets API](https://sockets-api.proposal.wintercg.org/ "Sockets API") + +---- +

ソフトウェア、ツール、ライブラリ関係

+ +---- + +## runk/node-chardet: Character encoding detection tool for NodeJS +[github.com/runk/node-chardet](https://github.com/runk/node-chardet "runk/node-chardet: Character encoding detection tool for NodeJS") +

JavaScript library

+ +文字コード判定ライブラリ + + +---- + +## instant-dev/instant: Build APIs with a Rails-inspired JavaScript ORM and Migrations for Postgres +[github.com/instant-dev/instant](https://github.com/instant-dev/instant "instant-dev/instant: Build APIs with a Rails-inspired JavaScript ORM and Migrations for Postgres") +

JavaScript library database

+ +Rails/ActiveRecordをインスパイアしたORMマッパー、マイグレーション管理ツール。 + + +---- + +## aidenybai/pattycake: Zero-runtime pattern matching +[github.com/aidenybai/pattycake](https://github.com/aidenybai/pattycake "aidenybai/pattycake: Zero-runtime pattern matching") +

TypeScript Tools performance

+ +ts-patternのパターンマッチをインライン化して、Runtimeライブラリの依存をなくすツール。 + +- [gvergnaud/ts-pattern: 🎨 The exhaustive Pattern Matching library for TypeScript, with smart type inference.](https://github.com/gvergnaud/ts-pattern "gvergnaud/ts-pattern: 🎨 The exhaustive Pattern Matching library for TypeScript, with smart type inference.") + +---- + +## tldraw/tldraw: a very good whiteboard +[github.com/tldraw/tldraw](https://github.com/tldraw/tldraw "tldraw/tldraw: a very good whiteboard") +

JavaScript library illust diagram communication

+ +共同編集できるホワイトボードライブラリ。 + + +---- +

書籍関係

+ +---- + +## Learning Vue +[learning.oreilly.com/library/view/learning-vue/9781492098812/](https://learning.oreilly.com/library/view/learning-vue/9781492098812/ "Learning Vue") +

Vue JavaScript book

+ +2023年12月発売 +Vueについての書籍 + + +---- From 9a2b606326e3f905591b8609532c39b9a3f88b82 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 3 Oct 2023 13:37:19 +0000 Subject: [PATCH 15/18] Delete _i18n/ja/_posts/2023/2023-10-03-663draft.md --- _i18n/ja/_posts/2023/2023-10-03-663draft.md | 151 -------------------- 1 file changed, 151 deletions(-) delete mode 100644 _i18n/ja/_posts/2023/2023-10-03-663draft.md diff --git a/_i18n/ja/_posts/2023/2023-10-03-663draft.md b/_i18n/ja/_posts/2023/2023-10-03-663draft.md deleted file mode 100644 index 504aaa931df..00000000000 --- a/_i18n/ja/_posts/2023/2023-10-03-663draft.md +++ /dev/null @@ -1,151 +0,0 @@ ---- -title: "2023-10-03のJS: " -author: "azu" -layout: post -date : 2023-10-03T13:10:21.794Z -category: JSer -tags: -- nodejs -- UI -- npm -- cloudflare -- API - ---- - -JSer.info #663 - ----- - -

ヘッドライン

- ----- - -## Node v20.8.0 (Current) | Node.js -[nodejs.org/en/blog/release/v20.8.0](https://nodejs.org/en/blog/release/v20.8.0 "Node v20.8.0 (Current) | Node.js") -

nodejs ReleaseNote

- -Node.js v20.8.0リリース。 -Streamのパフォーマンス改善、`vm`に`importModuleDynamically`オプションを追加、主にJestなどで起きていた`vm`のメモリリークの問題を修正など - - ----- - -## Lit 3.0 Prerelease 2 and more! – Lit -[lit.dev/blog/2023-09-27-lit-3.0-prerelease-2/](https://lit.dev/blog/2023-09-27-lit-3.0-prerelease-2/ "Lit 3.0 Prerelease 2 and more! – Lit") -

JavaScript UI library ReleaseNote

- -Lit 3.0.0-pre.1リリース。 -Lit 3.0では、IE11のサポート終了、ECMAScript Proposal Stage 3のDecoratorの対応などが含まれる。 - -- [Release lit@3.0.0-pre.1 · lit/lit](https://github.com/lit/lit/releases/tag/lit%403.0.0-pre.1 "Release lit@3.0.0-pre.1 · lit/lit") - ----- - -## npm provenance general availability - The GitHub Blog -[github.blog/changelog/2023-09-26-npm-provenance-general-availability/](https://github.blog/changelog/2023-09-26-npm-provenance-general-availability/ "npm provenance general availability - The GitHub Blog") -

npm news

- -npm provenanceを使ってパッケージを公開できるようになった。 -CI/CDからパッケージを公開する際に、コミットとパッケージを紐づけて公開できるようになる。 - - ----- - -## Release 3.33.0 - 2023.10.02 · zloirock/core-js -[github.com/zloirock/core-js/releases/tag/v3.33.0](https://github.com/zloirock/core-js/releases/tag/v3.33.0 "Release 3.33.0 - 2023.10.02 · zloirock/core-js") -

JavaScript polyfill ReleaseNote

- -core-js v3.33.0リリース。 -`RegExp.escape`の追加、compat dataのアップデートなど - - ----- - -## Release v1.0.0-beta.0 · vitest-dev/vitest -[github.com/vitest-dev/vitest/releases/tag/v1.0.0-beta.0](https://github.com/vitest-dev/vitest/releases/tag/v1.0.0-beta.0 "Release v1.0.0-beta.0 · vitest-dev/vitest") -

JavaScript testing library ReleaseNote

- -vitest v1.0.0-beta.0リリース。 -`node:child_process`を使った並列実行をサポート、`pool`と`poolOptions`をサポートし関連する古いフラグを削除など - -- [Feature: Support \`child\_process\` runtime · Issue #64 · tinylibs/tinypool](https://github.com/tinylibs/tinypool/issues/64 "Feature: Support \`child\_process\` runtime · Issue #64 · tinylibs/tinypool") - ----- - -## Bun v1.0.4 | Bun Blog -[bun.sh/blog/bun-v1.0.4](https://bun.sh/blog/bun-v1.0.4 "Bun v1.0.4 | Bun Blog") -

Bun ReleaseNote

- -Bun v1.0.4リリース。 -`Bun.serve()`のメモリ消費量の削減、`server.requestIP()`の追加、`Bun.plugin`でのvirtual modulesのサポート。 -Fetchのtimeoutのデフォルト値を30秒から5分へ変更、DNS解決のバグを修正など - - ----- -

アーティクル

- ----- - -## A Socket API that works across JavaScript runtimes — announcing a WinterCG spec and Node.js implementation of connect() -[blog.cloudflare.com/socket-api-works-javascript-runtimes-wintercg-polyfill-connect/](https://blog.cloudflare.com/socket-api-works-javascript-runtimes-wintercg-polyfill-connect/ "A Socket API that works across JavaScript runtimes — announcing a WinterCG spec and Node.js implementation of connect()") -

nodejs cloudflare API article

- -WinterCGで策定しているSocket APIについて - -- [Sockets API](https://sockets-api.proposal.wintercg.org/ "Sockets API") - ----- -

ソフトウェア、ツール、ライブラリ関係

- ----- - -## runk/node-chardet: Character encoding detection tool for NodeJS -[github.com/runk/node-chardet](https://github.com/runk/node-chardet "runk/node-chardet: Character encoding detection tool for NodeJS") -

JavaScript library

- -文字コード判定ライブラリ - - ----- - -## instant-dev/instant: Build APIs with a Rails-inspired JavaScript ORM and Migrations for Postgres -[github.com/instant-dev/instant](https://github.com/instant-dev/instant "instant-dev/instant: Build APIs with a Rails-inspired JavaScript ORM and Migrations for Postgres") -

JavaScript library database

- -Rails/ActiveRecordをインスパイアしたORMマッパー、マイグレーション管理ツール。 - - ----- - -## aidenybai/pattycake: Zero-runtime pattern matching -[github.com/aidenybai/pattycake](https://github.com/aidenybai/pattycake "aidenybai/pattycake: Zero-runtime pattern matching") -

TypeScript Tools performance

- -ts-patternのパターンマッチをインライン化して、Runtimeライブラリの依存をなくすツール。 - -- [gvergnaud/ts-pattern: 🎨 The exhaustive Pattern Matching library for TypeScript, with smart type inference.](https://github.com/gvergnaud/ts-pattern "gvergnaud/ts-pattern: 🎨 The exhaustive Pattern Matching library for TypeScript, with smart type inference.") - ----- - -## tldraw/tldraw: a very good whiteboard -[github.com/tldraw/tldraw](https://github.com/tldraw/tldraw "tldraw/tldraw: a very good whiteboard") -

JavaScript library illust diagram communication

- -共同編集できるホワイトボードライブラリ。 - - ----- -

書籍関係

- ----- - -## Learning Vue -[learning.oreilly.com/library/view/learning-vue/9781492098812/](https://learning.oreilly.com/library/view/learning-vue/9781492098812/ "Learning Vue") -

Vue JavaScript book

- -2023年12月発売 -Vueについての書籍 - - ----- From d271711c06cacdfde00611790965259cbe48353f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 3 Oct 2023 13:49:20 +0000 Subject: [PATCH 16/18] Update _i18n/ja/_posts/2023/2023-10-03-node-v20.8.0-vitest-v1.0.0-beta.0-instant.devrails-inspired-ormmigrations.md --- ...instant.devrails-inspired-ormmigrations.md | 38 ++++++++++++++++++- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/_i18n/ja/_posts/2023/2023-10-03-node-v20.8.0-vitest-v1.0.0-beta.0-instant.devrails-inspired-ormmigrations.md b/_i18n/ja/_posts/2023/2023-10-03-node-v20.8.0-vitest-v1.0.0-beta.0-instant.devrails-inspired-ormmigrations.md index 30c53172188..dfee60b3d2e 100644 --- a/_i18n/ja/_posts/2023/2023-10-03-node-v20.8.0-vitest-v1.0.0-beta.0-instant.devrails-inspired-ormmigrations.md +++ b/_i18n/ja/_posts/2023/2023-10-03-node-v20.8.0-vitest-v1.0.0-beta.0-instant.devrails-inspired-ormmigrations.md @@ -13,11 +13,45 @@ tags: --- -JSer.info #663 - - [Node v20.8.0 (Current) | Node.js](https://nodejs.org/en/blog/release/v20.8.0) +JSer.info #663 - Node.js 20.8.0がリリースされました。 + +- [Node v20.8.0 (Current) | Node.js](https://nodejs.org/en/blog/release/v20.8.0) + +`stream`に関するフラグをビットマップで管理することでメモリ消費量とパフォーマンスが改善されています。 + +- [stream: use bitmap in readable state by benjamingr · Pull Request #49745 · nodejs/node](https://github.com/nodejs/node/pull/49745) + +`vm`に`importModuleDynamically`オプションを追加、主にJestなどで起きていた`vm`のメモリリークの問題を修正なども含まれています。 + +Node.jsのアップデートが起因でJestのメモリリークが起きる問題としては、次のIssueがあります。 +こちらのIssueは、Node.js 20.8.0ではまだ修正されていません。 + +- [[Bug]: Memory consumption issues on Node JS 16.11.0+ · Issue #11956 · jestjs/jest](https://github.com/jestjs/jest/issues/11956#issuecomment-1740360337) + +こちらの問題は、次のPull Requestで解決されるようです。 + +- [vm: use default host-defined options when importModuleDynamically is not set by joyeecheung · Pull Request #49950 · nodejs/node](https://github.com/nodejs/node/pull/49950) + +--- + +Vitest v1.0.0-beta.0がリリースされました。 + - [Release v1.0.0-beta.0 · vitest-dev/vitest](https://github.com/vitest-dev/vitest/releases/tag/v1.0.0-beta.0) + +今までは`node:worker_threads`を使った並列実行のみがサポートされていましたが、今回`node:child_process`を使った並列実行をサポートが追加されています。 +これは、`node:worker_threads`ではnative moduleを含むコードを実行するとSegmentation faultとなってしまうケースがあるためです。次のIssueで詳しく解説されています。 + - [Feature: Support `child_process` runtime · Issue #64 · tinylibs/tinypool](https://github.com/tinylibs/tinypool/issues/64) + +この変更により、`--threads`などのフラグが廃止され、代わりとなる`--pool`と`--poolOptions`フラグが追加されています。 + +--- + +RailsをインスパイアしたORMマッパーとマイグレーション管理ツールである instant.dev が公開されています。 + - [instant-dev/instant: Build APIs with a Rails-inspired JavaScript ORM and Migrations for Postgres](https://github.com/instant-dev/instant) - - [instant-dev/instant: Build APIs with a Rails-inspired JavaScript ORM and Migrations for Postgres](https://github.com/instant-dev/instant) + +モデルの生成やマイグレーションの管理を行うInstant CLIと、ORMである[Instant ORM](https://github.com/instant-dev/orm)からなつツールになっています。 ---- From b37a6c1b94b02dca866ccd7b315542a9e24d3a89 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 3 Oct 2023 13:50:12 +0000 Subject: [PATCH 17/18] Update _i18n/ja/_posts/2023/2023-10-03-node-v20.8.0-vitest-v1.0.0-beta.0-instant.devrails-inspired-ormmigrations.md --- ...t-v1.0.0-beta.0-instant.devrails-inspired-ormmigrations.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/_i18n/ja/_posts/2023/2023-10-03-node-v20.8.0-vitest-v1.0.0-beta.0-instant.devrails-inspired-ormmigrations.md b/_i18n/ja/_posts/2023/2023-10-03-node-v20.8.0-vitest-v1.0.0-beta.0-instant.devrails-inspired-ormmigrations.md index dfee60b3d2e..71429f4846c 100644 --- a/_i18n/ja/_posts/2023/2023-10-03-node-v20.8.0-vitest-v1.0.0-beta.0-instant.devrails-inspired-ormmigrations.md +++ b/_i18n/ja/_posts/2023/2023-10-03-node-v20.8.0-vitest-v1.0.0-beta.0-instant.devrails-inspired-ormmigrations.md @@ -32,6 +32,10 @@ Node.jsのアップデートが起因でJestのメモリリークが起きる問 - [vm: use default host-defined options when importModuleDynamically is not set by joyeecheung · Pull Request #49950 · nodejs/node](https://github.com/nodejs/node/pull/49950) +📝 Node.js 20.x は2023-10-24からLTSとなります。 + +- [nodejs/Release: Node.js Release Working Group](https://github.com/nodejs/release#release-schedule) + --- Vitest v1.0.0-beta.0がリリースされました。 From 8ca4a5b20795f5b65f6eb97c9718792c44e59576 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 3 Oct 2023 13:50:35 +0000 Subject: [PATCH 18/18] Update _i18n/ja/_posts/2023/2023-10-03-node-v20.8.0-vitest-v1.0.0-beta.0-instant.devrails-inspired-ormmigrations.md --- ...est-v1.0.0-beta.0-instant.devrails-inspired-ormmigrations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_i18n/ja/_posts/2023/2023-10-03-node-v20.8.0-vitest-v1.0.0-beta.0-instant.devrails-inspired-ormmigrations.md b/_i18n/ja/_posts/2023/2023-10-03-node-v20.8.0-vitest-v1.0.0-beta.0-instant.devrails-inspired-ormmigrations.md index 71429f4846c..344b23deb2d 100644 --- a/_i18n/ja/_posts/2023/2023-10-03-node-v20.8.0-vitest-v1.0.0-beta.0-instant.devrails-inspired-ormmigrations.md +++ b/_i18n/ja/_posts/2023/2023-10-03-node-v20.8.0-vitest-v1.0.0-beta.0-instant.devrails-inspired-ormmigrations.md @@ -43,7 +43,7 @@ Vitest v1.0.0-beta.0がリリースされました。 - [Release v1.0.0-beta.0 · vitest-dev/vitest](https://github.com/vitest-dev/vitest/releases/tag/v1.0.0-beta.0) 今までは`node:worker_threads`を使った並列実行のみがサポートされていましたが、今回`node:child_process`を使った並列実行をサポートが追加されています。 -これは、`node:worker_threads`ではnative moduleを含むコードを実行するとSegmentation faultとなってしまうケースがあるためです。次のIssueで詳しく解説されています。 +これは、`node:worker_threads`ではnative moduleを含むコードを実行すると、Segmentation faultになるケースがあるためです。次のIssueで詳しく解説されています。 - [Feature: Support `child_process` runtime · Issue #64 · tinylibs/tinypool](https://github.com/tinylibs/tinypool/issues/64)