Skip to content

Commit c80e8eb

Browse files
Remove "lz4" package import, restore lz4js package import
1 parent 3fa29f3 commit c80e8eb

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

bun.lockb

322 Bytes
Binary file not shown.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sqlitecloud/drivers",
3-
"version": "1.0.218",
3+
"version": "1.0.219",
44
"description": "SQLiteCloud drivers for Typescript/Javascript in edge, web and node clients",
55
"main": "./lib/index.js",
66
"types": "./lib/index.d.ts",
@@ -44,6 +44,7 @@
4444
"homepage": "https://github.com/sqlitecloud/sqlitecloud-js#readme",
4545
"dependencies": {
4646
"eventemitter3": "^5.0.1",
47+
"lz4js": "^0.2.0",
4748
"socket.io": "^4.7.5",
4849
"socket.io-client": "^4.7.5"
4950
},

src/drivers/protocol.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@
55
import { SQLiteCloudError, type SQLCloudRowsetMetadata, type SQLiteCloudDataTypes } from './types'
66
import { SQLiteCloudRowset } from './rowset'
77

8-
import fs from 'fs'
8+
// https://www.npmjs.com/package/lz4js
99
const lz4 = require('lz4js')
1010

11-
import lz4bis from 'lz4'
12-
1311
// The server communicates with clients via commands defined in
1412
// SQLiteCloud Server Protocol (SCSP), see more at:
1513
// https://github.com/sqlitecloud/sdk/blob/master/PROTOCOL.md

0 commit comments

Comments
 (0)