mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-25 16:03:13 +00:00
Remove node: prefix from imports (#3584)
* Remove node: prefix from imports.
This commit is contained in:
parent
a3a4567b63
commit
ea06db5a13
@ -1,6 +1,6 @@
|
||||
'use strict'
|
||||
|
||||
const { emitWarning } = require('node:process')
|
||||
const { emitWarning } = require('process')
|
||||
|
||||
//Parse method copied from https://github.com/brianc/node-postgres
|
||||
//Copyright (c) 2010-2014 Brian Carlson (brian.m.carlson@gmail.com)
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
const assert = require('node:assert')
|
||||
const assert = require('assert')
|
||||
const test = require('node:test')
|
||||
const { describe, it } = test
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import assert from 'node:assert'
|
||||
import assert from 'assert'
|
||||
import { describe, it } from 'node:test'
|
||||
import { CloudflareSocket } from 'pg-cloudflare'
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import assert from 'node:assert'
|
||||
import assert from 'assert'
|
||||
import { describe, it } from 'node:test'
|
||||
import { parse, toClientConfig, parseIntoClientConfig } from 'pg-connection-string'
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import assert from 'node:assert'
|
||||
import assert from 'assert'
|
||||
import { describe, it } from 'node:test'
|
||||
import Cursor from 'pg-cursor'
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import assert from 'node:assert'
|
||||
import assert from 'assert'
|
||||
import { describe, it } from 'node:test'
|
||||
import Client from 'pg-native'
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import assert from 'node:assert'
|
||||
import assert from 'assert'
|
||||
import { describe, it } from 'node:test'
|
||||
import Pool from 'pg-pool'
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import protocol, { NoticeMessage, DatabaseError } from 'pg-protocol/dist/messages.js'
|
||||
import { describe, it } from 'node:test'
|
||||
import { strict as assert } from 'node:assert'
|
||||
import { strict as assert } from 'assert'
|
||||
|
||||
describe('pg-protocol', () => {
|
||||
it('should export database error', () => {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import assert from 'node:assert'
|
||||
import assert from 'assert'
|
||||
import { describe, it } from 'node:test'
|
||||
import QueryStream from 'pg-query-stream'
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import assert from 'node:assert'
|
||||
import assert from 'assert'
|
||||
import { describe, it } from 'node:test'
|
||||
import pg, {
|
||||
Client,
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { Pool } from 'pg'
|
||||
import { test } from 'vitest'
|
||||
import assert from 'node:assert'
|
||||
import assert from 'assert'
|
||||
import args from '../cli'
|
||||
|
||||
test('default', async () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user