Skip to content

Commit fabeb50

Browse files
stevensJourneyshoestringrrhashimoto
authored
[Update] powersync sqlite core (#3)
* Work around stack overflow in debug build. * Handle 64-bit arguments with Emscripten legalization. * Export all SQLite3 API functions, plus Emscripten utilities. * Update issue templates * Update follow-redirects per Dependabot. * Fix rhashimoto#143. Handle detached buffers in IDBBatchAtomicVFS. * Bump package version. * Fix rhashimoto#143 for Safari (no ArrayBuffer.prototype.detached). * Bump package version. * updated powersync-sqlite-core to v0.1.6 * updated from upstream * publish packages on workflow dispatch --------- Co-authored-by: Roy Hashimoto <roy@shoestringresearch.com> Co-authored-by: Roy Hashimoto <156154+rhashimoto@users.noreply.github.com>
1 parent 760a35d commit fabeb50

17 files changed

+590
-244
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@journeyapps/wa-sqlite": patch
3+
---
4+
5+
Updated from upstream changes

.changeset/rare-panthers-study.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@journeyapps/wa-sqlite": patch
3+
---
4+
5+
Updated powersync-sqlite-core to v0.1.6

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: Bug report
3+
about: Report potential problems in project code
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
In this project, Issues are only for possible bugs in project code. Please don't ask for help debugging _your_ code; I have plenty of challenges debugging _my_ code. 🥲

.github/workflows/dev-packages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Packages are versioned as `0.0.0-{tag}-DATETIMESTAMP`
33
name: Packages Deploy
44

5-
on: push
5+
on: workflow_dispatch
66

77
jobs:
88
publish:
@@ -14,7 +14,7 @@ jobs:
1414
- name: Setup NodeJS
1515
uses: actions/setup-node@v2
1616
with:
17-
node-version: 18
17+
node-version: 16
1818

1919
- name: Setup Yarn
2020
run: |

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
- name: Checkout Repo
1616
uses: actions/checkout@v3
1717

18-
- name: Setup Node.js 18
18+
- name: Setup Node.js 16
1919
uses: actions/setup-node@v3
2020
with:
21-
node-version: 18
21+
node-version: 16
2222

2323
- name: Install Dependencies
2424
run: yarn

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ EMFLAGS_COMMON = \
5656

5757
EMFLAGS_DEBUG = \
5858
-s ASSERTIONS=1 \
59-
-g \
59+
-g -Oz \
6060
$(EMFLAGS_COMMON)
6161

6262
EMFLAGS_DIST = \

dist/wa-sqlite-async.mjs

Lines changed: 134 additions & 100 deletions
Large diffs are not rendered by default.

dist/wa-sqlite-async.wasm

55.1 KB
Binary file not shown.

dist/wa-sqlite.mjs

Lines changed: 130 additions & 95 deletions
Large diffs are not rendered by default.

dist/wa-sqlite.wasm

20.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)