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) {