Skip to content

Commit

Permalink
Dropped buffer from web.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chriztiaan committed Jul 15, 2024
1 parent a2cac24 commit cfc5054
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 27 deletions.
1 change: 0 additions & 1 deletion packages/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
"@powersync/common": "workspace:*",
"async-mutex": "^0.4.0",
"bson": "^6.6.0",
"buffer": "^6.0.3",
"comlink": "^4.4.1",
"js-logger": "^1.6.1",
"lodash": "^4.17.21"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ import {
type ManualSharedSyncPayload
} from './SharedSyncImplementation';
import Logger from 'js-logger';
import { Buffer } from 'buffer';

if (typeof self.Buffer == 'undefined') {
self.Buffer = Buffer;
}

const _self: SharedWorkerGlobalScope = self as any;
Logger.useDefaults();
Expand Down
53 changes: 32 additions & 21 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cfc5054

Please sign in to comment.