sql.js 1.13.0 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.devcontainer/Dockerfile +7 -7
- package/.devcontainer/devcontainer.json +2 -2
- package/CONTRIBUTING.md +2 -2
- package/dist/sql-asm-debug.js +4868 -4674
- package/dist/sql-asm-memory-growth.js +104 -110
- package/dist/sql-asm.js +103 -110
- package/dist/sql-wasm-browser-debug.js +7122 -0
- package/dist/sql-wasm-browser-debug.wasm +0 -0
- package/dist/sql-wasm-browser.js +181 -0
- package/dist/sql-wasm-browser.wasm +0 -0
- package/dist/sql-wasm-debug.js +1215 -974
- package/dist/sql-wasm-debug.wasm +0 -0
- package/dist/sql-wasm.js +92 -95
- package/dist/sql-wasm.wasm +0 -0
- package/dist/worker.sql-asm-debug.js +4868 -4676
- package/dist/worker.sql-asm.js +103 -112
- package/dist/worker.sql-wasm-debug.js +1215 -976
- package/dist/worker.sql-wasm.js +92 -97
- package/eslint.config.cjs +57 -0
- package/package.json +12 -6
- package/dist/sqljs-all.zip +0 -0
- package/dist/sqljs-wasm.zip +0 -0
- package/dist/sqljs-worker-wasm.zip +0 -0
package/.devcontainer/Dockerfile
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
# --------------------------------------------------------------------
|
|
5
5
|
# BEGIN Standard MS Devcontainer for Typescript-Node
|
|
6
6
|
|
|
7
|
-
# See here for image contents: https://github.com/
|
|
8
|
-
# [Choice] Node.js version
|
|
9
|
-
ARG VARIANT="
|
|
10
|
-
FROM mcr.microsoft.com/
|
|
7
|
+
# See here for image contents: https://github.com/devcontainers/images/tree/main/src/typescript-node
|
|
8
|
+
# [Choice] Node.js version comes from the base devcontainer variant
|
|
9
|
+
ARG VARIANT="24-bookworm"
|
|
10
|
+
FROM mcr.microsoft.com/devcontainers/typescript-node:${VARIANT}
|
|
11
11
|
|
|
12
12
|
# [Optional] Uncomment if you want to install an additional version of node using nvm
|
|
13
13
|
# ARG EXTRA_NODE_VERSION=10
|
|
@@ -24,7 +24,7 @@ FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:1-${VARIANT}
|
|
|
24
24
|
# Install EMSDK to /emsdk just like the EMSDK Dockerfile: https://github.com/emscripten-core/emsdk/blob/master/docker/Dockerfile
|
|
25
25
|
ENV EMSDK /emsdk
|
|
26
26
|
# We pin the EMSDK version rather than 'latest' so that everyone is using the same compiler version
|
|
27
|
-
ENV EMSCRIPTEN_VERSION
|
|
27
|
+
ENV EMSCRIPTEN_VERSION 5.0.0
|
|
28
28
|
|
|
29
29
|
RUN git clone https://github.com/emscripten-core/emsdk.git $EMSDK
|
|
30
30
|
|
|
@@ -72,5 +72,5 @@ RUN echo 'export EM_NODE_JS="$EMSDK_NODE"' >> /etc/bash.bashrc
|
|
|
72
72
|
|
|
73
73
|
# Install wget, gnupg, and sha3sum
|
|
74
74
|
RUN apt-get update \
|
|
75
|
-
&& apt-get install -y wget gnupg libdigest-sha3-perl \
|
|
76
|
-
&& rm -rf /var/lib/apt/lists/*
|
|
75
|
+
&& apt-get install -y wget gnupg libdigest-sha3-perl default-jre-headless \
|
|
76
|
+
&& rm -rf /var/lib/apt/lists/*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"dockerfile": "Dockerfile",
|
|
7
7
|
// Update 'VARIANT' to pick a Node version
|
|
8
8
|
"args": {
|
|
9
|
-
"VARIANT": "
|
|
9
|
+
"VARIANT": "24-bookworm"
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
12
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
"postCreateCommand": "npm ci",
|
|
18
18
|
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
|
19
19
|
"remoteUser": "node"
|
|
20
|
-
}
|
|
20
|
+
}
|
package/CONTRIBUTING.md
CHANGED
|
@@ -31,7 +31,7 @@ You're now ready to test the dev environment:
|
|
|
31
31
|
4. Click on Terminal->New Terminal to be dropped into a terminal inside the dev environment.
|
|
32
32
|
5. Run `$ npm install` to install the required modules
|
|
33
33
|
6. Run `$ npm test` to ensure all tests pass
|
|
34
|
-
7. Run `$ npm rebuild` to re-compile the project from scratch (using the version of EMSDK installed in the container).
|
|
34
|
+
7. Run `$ npm run rebuild` to re-compile the project from scratch (using the version of EMSDK installed in the container).
|
|
35
35
|
8. Run `$ npm test` to ensure all tests pass after said rebuild
|
|
36
36
|
|
|
37
37
|
You're now ready for development!
|
|
@@ -47,7 +47,7 @@ Instructions:
|
|
|
47
47
|
2. Clone this repository
|
|
48
48
|
3. Run `$ npm install` to install the required modules
|
|
49
49
|
4. Run `$ npm test` to ensure all tests pass
|
|
50
|
-
5. Run `$ npm rebuild` to re-compile the project from scratch (using the version of EMSDK installed in the container).
|
|
50
|
+
5. Run `$ npm run rebuild` to re-compile the project from scratch (using the version of EMSDK installed in the container).
|
|
51
51
|
6. Run `$ npm test` to ensure all tests pass after said rebuild
|
|
52
52
|
|
|
53
53
|
## Compiling SQLite with different options
|