From 7cc57c1d9c0b5727895ee6cd0ab4ad80b20f60ab Mon Sep 17 00:00:00 2001 From: Shion Ichikawa Date: Thu, 18 Jun 2026 06:12:58 +0900 Subject: [PATCH 1/2] fix: correct spelling mistakes across codebase MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - "bye" → "byte" in parser.ts comment - "interal" → "internal" in CHANGELOG.md - "PostgresSQL" → "PostgreSQL" in pg-connection-string package.json and README.md - "immediatley" → "immediately" in network-partition-tests.js - "connectet" → "connected" in network-partition-tests.js --- CHANGELOG.md | 2 +- packages/pg-connection-string/README.md | 2 +- packages/pg-connection-string/package.json | 2 +- packages/pg-protocol/src/parser.ts | 2 +- .../pg/test/integration/client/network-partition-tests.js | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dd26374a1..eec6e2a38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,7 +17,7 @@ We do not include break-fix version release in this file. ## pg@8.19.0 -- [Deprecate interal query queue](https://github.com/brianc/node-postgres/pull/3603). +- [Deprecate internal query queue](https://github.com/brianc/node-postgres/pull/3603). - Pass connection parameters [to password callback](https://github.com/brianc/node-postgres/pull/3602). ## pg@8.18.0 diff --git a/packages/pg-connection-string/README.md b/packages/pg-connection-string/README.md index e47adc816..5475f63bf 100644 --- a/packages/pg-connection-string/README.md +++ b/packages/pg-connection-string/README.md @@ -3,7 +3,7 @@ pg-connection-string [![NPM](https://nodei.co/npm/pg-connection-string.png?compact=true)](https://nodei.co/npm/pg-connection-string/) -Functions for dealing with a PostgresSQL connection string +Functions for dealing with a PostgreSQL connection string `parse` method taken from [node-postgres](https://github.com/brianc/node-postgres.git) Copyright (c) 2010-2014 Brian Carlson (brian.m.carlson@gmail.com) diff --git a/packages/pg-connection-string/package.json b/packages/pg-connection-string/package.json index aa075e154..ffa6705af 100644 --- a/packages/pg-connection-string/package.json +++ b/packages/pg-connection-string/package.json @@ -1,7 +1,7 @@ { "name": "pg-connection-string", "version": "2.13.0", - "description": "Functions for dealing with a PostgresSQL connection string", + "description": "Functions for dealing with a PostgreSQL connection string", "main": "./index.js", "types": "./index.d.ts", "exports": { diff --git a/packages/pg-protocol/src/parser.ts b/packages/pg-protocol/src/parser.ts index 998077a00..3d8ce80c7 100644 --- a/packages/pg-protocol/src/parser.ts +++ b/packages/pg-protocol/src/parser.ts @@ -28,7 +28,7 @@ import { } from './messages' import { BufferReader } from './buffer-reader' -// every message is prefixed with a single bye +// every message is prefixed with a single byte const CODE_LENGTH = 1 // every message has an int32 length which includes itself but does // NOT include the code in the length diff --git a/packages/pg/test/integration/client/network-partition-tests.js b/packages/pg/test/integration/client/network-partition-tests.js index 6ebdb8b45..362a40abc 100644 --- a/packages/pg/test/integration/client/network-partition-tests.js +++ b/packages/pg/test/integration/client/network-partition-tests.js @@ -14,8 +14,8 @@ const Server = function (response) { Server.prototype.start = function (cb) { // this is our fake postgres server - // it responds with our specified response immediatley after receiving every buffer - // this is sufficient into convincing the client its connectet to a valid backend + // it responds with our specified response immediately after receiving every buffer + // this is sufficient into convincing the client its connected to a valid backend // if we respond with a readyForQuery message this.server = net.createServer( function (socket) { From 144ef9a6fe961800e9d4294d014646c15961668b Mon Sep 17 00:00:00 2001 From: Shion Ichikawa Date: Thu, 18 Jun 2026 06:17:59 +0900 Subject: [PATCH 2/2] revert: restore original CHANGELOG.md spelling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CHANGELOG is a historical record of past releases and should not be modified. Reverting the "interal" → "internal" fix from 7cc57c1d. --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eec6e2a38..dd26374a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,7 +17,7 @@ We do not include break-fix version release in this file. ## pg@8.19.0 -- [Deprecate internal query queue](https://github.com/brianc/node-postgres/pull/3603). +- [Deprecate interal query queue](https://github.com/brianc/node-postgres/pull/3603). - Pass connection parameters [to password callback](https://github.com/brianc/node-postgres/pull/3602). ## pg@8.18.0