Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/pg-connection-string/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion packages/pg-connection-string/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion packages/pg-protocol/src/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Loading