Remove node: prefix from imports (#3584)

* Remove node: prefix from imports.
This commit is contained in:
Brian C 2026-01-20 12:07:49 -06:00 committed by GitHub
parent a3a4567b63
commit ea06db5a13
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
11 changed files with 11 additions and 11 deletions

View File

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

View File

@ -1,4 +1,4 @@
const assert = require('node:assert')
const assert = require('assert')
const test = require('node:test')
const { describe, it } = test

View File

@ -1,4 +1,4 @@
import assert from 'node:assert'
import assert from 'assert'
import { describe, it } from 'node:test'
import { CloudflareSocket } from 'pg-cloudflare'

View File

@ -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'

View File

@ -1,4 +1,4 @@
import assert from 'node:assert'
import assert from 'assert'
import { describe, it } from 'node:test'
import Cursor from 'pg-cursor'

View File

@ -1,4 +1,4 @@
import assert from 'node:assert'
import assert from 'assert'
import { describe, it } from 'node:test'
import Client from 'pg-native'

View File

@ -1,4 +1,4 @@
import assert from 'node:assert'
import assert from 'assert'
import { describe, it } from 'node:test'
import Pool from 'pg-pool'

View File

@ -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', () => {

View File

@ -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'

View File

@ -1,4 +1,4 @@
import assert from 'node:assert'
import assert from 'assert'
import { describe, it } from 'node:test'
import pg, {
Client,

View File

@ -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 () => {