@pgxsinkit/pgwasm-pg-dump 0.6.0-rc.1 → 0.6.0-rc.2
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/NOTICE +11 -11
- package/README.md +2 -2
- package/artefacts/pg_dump.wasm +0 -0
- package/dist/artefact-pins.d.ts +8 -8
- package/package.json +2 -2
- package/src/artefact-pins.ts +6 -6
package/NOTICE
CHANGED
|
@@ -25,23 +25,23 @@ PostgreSQL License text is in LICENSE.
|
|
|
25
25
|
The artefacts, and what is compiled into them
|
|
26
26
|
------------------------------------------------------------------------------
|
|
27
27
|
|
|
28
|
-
`artefacts/` holds two files: assets of the pgwasm-postgres release 19.0.0-rc.
|
|
29
|
-
(https://github.com/pgxsinkit/pgwasm-postgres/releases/tag/19.0.0-rc.
|
|
28
|
+
`artefacts/` holds two files: assets of the pgwasm-postgres release 19.0.0-rc.2
|
|
29
|
+
(https://github.com/pgxsinkit/pgwasm-postgres/releases/tag/19.0.0-rc.2), the release that also holds `@pgxsinkit/pgwasm-c`'s server, republished
|
|
30
30
|
byte-identical (each file's size and sha256 are pinned in `src/artefact-pins.ts`, from
|
|
31
31
|
the release's manifest.json checked against its SHA256SUMS):
|
|
32
32
|
|
|
33
|
-
- `pg_dump.wasm`: pg_dump from PostgreSQL
|
|
34
|
-
`pg_dump (PostgreSQL)
|
|
33
|
+
- `pg_dump.wasm`: pg_dump from PostgreSQL 19rc2 (it reports
|
|
34
|
+
`pg_dump (PostgreSQL) 19rc2`), compiled to WebAssembly;
|
|
35
35
|
- `pg_dump.js`, its Emscripten-generated loader.
|
|
36
36
|
|
|
37
37
|
pgxsinkit/pgwasm-postgres (https://github.com/pgxsinkit/pgwasm-postgres) builds them
|
|
38
|
-
from PostgreSQL
|
|
39
|
-
|
|
38
|
+
from PostgreSQL 19rc2 (the upstream tag REL_19_RC2, commit
|
|
39
|
+
dffcca2e3c81178c64d4c1f44543a3507d0b7508) plus a patch series and an overlay derived
|
|
40
40
|
from ElectricSQL's PGlite fork of PostgreSQL
|
|
41
41
|
(https://github.com/electric-sql/postgres-pglite at
|
|
42
42
|
b133782cd759f08b3aeb263b80a963b39c7b7af1; PostgreSQL License, Copyright (c)
|
|
43
|
-
ElectricSQL and contributors). Release 19.0.0-rc.
|
|
44
|
-
|
|
43
|
+
ElectricSQL and contributors). Release 19.0.0-rc.2 is pgwasm-postgres commit
|
|
44
|
+
528131bf65a410e6a533a3cf67e69abe2a122842, built inside the builder image
|
|
45
45
|
ghcr.io/pgxsinkit/pgwasm-builder@sha256:cbb378a50de43cd2fbd8718b72ce4c7595ffe421148a3c32435906f096bc5130
|
|
46
46
|
(whose recipe is that repository's `builder/Containerfile`); its manifest.json records
|
|
47
47
|
every file's size and sha256, and the release was published only because a rebuild of
|
|
@@ -71,11 +71,11 @@ Snowball), which pg_dump does not contain.
|
|
|
71
71
|
Each component's notice follows, copied from the file named with it.
|
|
72
72
|
|
|
73
73
|
------------------------------------------------------------------------------
|
|
74
|
-
PostgreSQL
|
|
74
|
+
PostgreSQL 19rc2, with changes derived from ElectricSQL's for PGlite (pg_dump.wasm)
|
|
75
75
|
------------------------------------------------------------------------------
|
|
76
76
|
|
|
77
|
-
Source: https://github.com/
|
|
78
|
-
file COPYRIGHT. ElectricSQL
|
|
77
|
+
Source: https://github.com/postgres/postgres at dffcca2e3c81178c64d4c1f44543a3507d0b7508,
|
|
78
|
+
file COPYRIGHT. The derived ElectricSQL changes are distributed under the same license.
|
|
79
79
|
|
|
80
80
|
PostgreSQL Database Management System
|
|
81
81
|
(also known as Postgres, formerly known as Postgres95)
|
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# @pgxsinkit/pgwasm-pg-dump
|
|
2
2
|
|
|
3
3
|
[pg_dump](https://www.postgresql.org/docs/19/app-pgdump.html) for
|
|
4
|
-
[`@pgxsinkit/pgwasm`](https://www.npmjs.com/package/@pgxsinkit/pgwasm) databases: PostgreSQL 19
|
|
4
|
+
[`@pgxsinkit/pgwasm`](https://www.npmjs.com/package/@pgxsinkit/pgwasm) databases: PostgreSQL 19 RC2's
|
|
5
5
|
pg_dump compiled to WebAssembly, run against a database in the same page, worker or Bun process.
|
|
6
6
|
|
|
7
7
|
This is the experimental PG19 release-candidate channel. Install the same toolkit version of all
|
|
8
|
-
three packages; the server and dumper use the matching pgwasm-postgres `19.0.0-rc.
|
|
8
|
+
three packages; the server and dumper use the matching pgwasm-postgres `19.0.0-rc.2` assets:
|
|
9
9
|
|
|
10
10
|
```bash
|
|
11
11
|
bun add @pgxsinkit/pgwasm@rc @pgxsinkit/pgwasm-c@rc @pgxsinkit/pgwasm-pg-dump@rc
|
package/artefacts/pg_dump.wasm
CHANGED
|
Binary file
|
package/dist/artefact-pins.d.ts
CHANGED
|
@@ -10,16 +10,16 @@
|
|
|
10
10
|
/** The release the files are assets of. */
|
|
11
11
|
export declare const ARTEFACT_RELEASE: {
|
|
12
12
|
readonly repository: "pgxsinkit/pgwasm-postgres";
|
|
13
|
-
readonly tag: "19.0.0-rc.
|
|
14
|
-
readonly name: "pgwasm-postgres 19.0.0-rc.
|
|
15
|
-
readonly commit: "
|
|
13
|
+
readonly tag: "19.0.0-rc.2";
|
|
14
|
+
readonly name: "pgwasm-postgres 19.0.0-rc.2";
|
|
15
|
+
readonly commit: "528131bf65a410e6a533a3cf67e69abe2a122842";
|
|
16
16
|
readonly upstream: {
|
|
17
|
-
readonly tag: "
|
|
18
|
-
readonly commit: "
|
|
17
|
+
readonly tag: "REL_19_RC2";
|
|
18
|
+
readonly commit: "dffcca2e3c81178c64d4c1f44543a3507d0b7508";
|
|
19
19
|
};
|
|
20
20
|
readonly dataFormat: 2;
|
|
21
21
|
readonly builderImage: "ghcr.io/pgxsinkit/pgwasm-builder@sha256:cbb378a50de43cd2fbd8718b72ce4c7595ffe421148a3c32435906f096bc5130";
|
|
22
|
-
readonly manifestSha256: "
|
|
22
|
+
readonly manifestSha256: "aa13280c998ac707210025f77fdf0c1afd9f7970d6f11b03d70757cbf9006d3b";
|
|
23
23
|
};
|
|
24
24
|
/** Every pinned file, by its name in `artefacts/` (the release asset of the same name). */
|
|
25
25
|
export declare const ARTEFACT_FILES: {
|
|
@@ -28,8 +28,8 @@ export declare const ARTEFACT_FILES: {
|
|
|
28
28
|
readonly sha256: "3703508f8e8897e982e3cd1d1ef67b5d721e02e899578435c177895dabac1477";
|
|
29
29
|
};
|
|
30
30
|
readonly "pg_dump.wasm": {
|
|
31
|
-
readonly bytes:
|
|
32
|
-
readonly sha256: "
|
|
31
|
+
readonly bytes: 664958;
|
|
32
|
+
readonly sha256: "4210d9cb9c20bc9138d88fb0e323d8ee79b46b572a5bc7fd3681ca345d0d57f4";
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
35
|
export type ArtefactName = keyof typeof ARTEFACT_FILES;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pgxsinkit/pgwasm-pg-dump",
|
|
3
|
-
"version": "0.6.0-rc.
|
|
3
|
+
"version": "0.6.0-rc.2",
|
|
4
4
|
"license": "PostgreSQL",
|
|
5
5
|
"files": [
|
|
6
6
|
"artefacts",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"build": "bun --cwd ../.. run build:public-packages"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@pgxsinkit/pgwasm": "0.6.0-rc.
|
|
42
|
+
"@pgxsinkit/pgwasm": "0.6.0-rc.2"
|
|
43
43
|
},
|
|
44
44
|
"repository": {
|
|
45
45
|
"type": "git",
|
package/src/artefact-pins.ts
CHANGED
|
@@ -11,20 +11,20 @@
|
|
|
11
11
|
/** The release the files are assets of. */
|
|
12
12
|
export const ARTEFACT_RELEASE = {
|
|
13
13
|
repository: "pgxsinkit/pgwasm-postgres",
|
|
14
|
-
tag: "19.0.0-rc.
|
|
15
|
-
name: "pgwasm-postgres 19.0.0-rc.
|
|
16
|
-
commit: "
|
|
17
|
-
upstream: { tag: "
|
|
14
|
+
tag: "19.0.0-rc.2",
|
|
15
|
+
name: "pgwasm-postgres 19.0.0-rc.2",
|
|
16
|
+
commit: "528131bf65a410e6a533a3cf67e69abe2a122842",
|
|
17
|
+
upstream: { tag: "REL_19_RC2", commit: "dffcca2e3c81178c64d4c1f44543a3507d0b7508" },
|
|
18
18
|
dataFormat: 2,
|
|
19
19
|
builderImage:
|
|
20
20
|
"ghcr.io/pgxsinkit/pgwasm-builder@sha256:cbb378a50de43cd2fbd8718b72ce4c7595ffe421148a3c32435906f096bc5130",
|
|
21
|
-
manifestSha256: "
|
|
21
|
+
manifestSha256: "aa13280c998ac707210025f77fdf0c1afd9f7970d6f11b03d70757cbf9006d3b",
|
|
22
22
|
} as const;
|
|
23
23
|
|
|
24
24
|
/** Every pinned file, by its name in `artefacts/` (the release asset of the same name). */
|
|
25
25
|
export const ARTEFACT_FILES = {
|
|
26
26
|
"pg_dump.js": { bytes: 111187, sha256: "3703508f8e8897e982e3cd1d1ef67b5d721e02e899578435c177895dabac1477" },
|
|
27
|
-
"pg_dump.wasm": { bytes:
|
|
27
|
+
"pg_dump.wasm": { bytes: 664958, sha256: "4210d9cb9c20bc9138d88fb0e323d8ee79b46b572a5bc7fd3681ca345d0d57f4" },
|
|
28
28
|
} as const;
|
|
29
29
|
|
|
30
30
|
export type ArtefactName = keyof typeof ARTEFACT_FILES;
|