From 6d0c4bcbf8706c3a48da9d3f81620e5f2e9259f6 Mon Sep 17 00:00:00 2001 From: wellwelwel <46850407+wellwelwel@users.noreply.github.com> Date: Sun, 13 Sep 2026 21:22:39 -0300 Subject: [PATCH] fix: ensure Node.js 12 compatibility --- biome.json | 3 ++- src/index.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/biome.json b/biome.json index 8b4b287..be510ce 100644 --- a/biome.json +++ b/biome.json @@ -63,7 +63,8 @@ "useNamingConvention": "off", "useBlockStatements": "off", "noNonNullAssertion": "off", - "useTemplate": "off" + "useTemplate": "off", + "useNodejsImportProtocol": "off" } } }, diff --git a/src/index.ts b/src/index.ts index 2e536dd..8d22d68 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,7 +4,7 @@ */ import type { Raw, SqlValue, TemporalValue, Timezone } from './types.js'; -import { Buffer } from 'node:buffer'; +import { Buffer } from 'buffer'; export type { Raw, SqlValue, TemporalValue, Timezone } from './types.js';