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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.3.1

### Fixes

- Read Cursor's local state database through a filesystem-backed SQLite driver instead of copying and loading the entire file into memory. This fixes authentication when `state.vscdb` is larger than 2 GiB ([#12](https://github.com/CodyKoInABox/cursor-plan-usage/issues/12))

## 0.3.0

### Features
Expand Down
9 changes: 7 additions & 2 deletions esbuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,13 @@ function copyStatic() {
path.join(mediaOut, 'view.js')
);

const wasmSrc = require.resolve('sql.js/dist/sql-wasm.wasm');
fs.copyFileSync(wasmSrc, path.join(__dirname, 'out', 'sql-wasm.wasm'));
const wasmSrc = require.resolve(
'node-sqlite3-wasm/dist/node-sqlite3-wasm.wasm'
);
fs.copyFileSync(
wasmSrc,
path.join(__dirname, 'out', 'node-sqlite3-wasm.wasm')
);
}

/** @type {import('esbuild').BuildOptions} */
Expand Down
Loading
Loading