@pgxsinkit/pgwasm-pg-dump 0.6.0-rc.2 → 0.6.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/NOTICE +10 -10
- package/README.md +4 -4
- package/artefacts/pg_dump.wasm +0 -0
- package/dist/artefact-pins.d.ts +8 -8
- package/dist/artefact-pins.d.ts.map +1 -1
- 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
|
|
29
|
-
(https://github.com/pgxsinkit/pgwasm-postgres/releases/tag/19.0.0
|
|
28
|
+
`artefacts/` holds two files: assets of the pgwasm-postgres release 19.0.0
|
|
29
|
+
(https://github.com/pgxsinkit/pgwasm-postgres/releases/tag/19.0.0), 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 19.0 (it reports
|
|
34
|
+
`pg_dump (PostgreSQL) 19.0`), 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 19.0 (the upstream tag REL_19_0, commit
|
|
39
|
+
5c839a2a08b9b87a349be97371fac6c5a2873b10) 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
|
|
44
|
-
|
|
43
|
+
ElectricSQL and contributors). Release 19.0.0 is pgwasm-postgres commit
|
|
44
|
+
77228df75b0b80e633c6153cbc17db69ca3a7f6e, 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,10 +71,10 @@ 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 19.0, with changes derived from ElectricSQL's for PGlite (pg_dump.wasm)
|
|
75
75
|
------------------------------------------------------------------------------
|
|
76
76
|
|
|
77
|
-
Source: https://github.com/postgres/postgres at
|
|
77
|
+
Source: https://github.com/postgres/postgres at 5c839a2a08b9b87a349be97371fac6c5a2873b10,
|
|
78
78
|
file COPYRIGHT. The derived ElectricSQL changes are distributed under the same license.
|
|
79
79
|
|
|
80
80
|
PostgreSQL Database Management System
|
package/README.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.0's
|
|
5
5
|
pg_dump compiled to WebAssembly, run against a database in the same page, worker or Bun process.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
Install the same toolkit version of all three packages; the server and dumper use the matching
|
|
8
|
+
pgwasm-postgres `19.0.0` assets:
|
|
9
9
|
|
|
10
10
|
```bash
|
|
11
|
-
bun add @pgxsinkit/pgwasm
|
|
11
|
+
bun add @pgxsinkit/pgwasm @pgxsinkit/pgwasm-c @pgxsinkit/pgwasm-pg-dump
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
Use fresh, separately named PG19 stores. PG19's format-2 data directories and Store backups do not
|
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
|
|
14
|
-
readonly name: "pgwasm-postgres 19.0.0
|
|
15
|
-
readonly commit: "
|
|
13
|
+
readonly tag: "19.0.0";
|
|
14
|
+
readonly name: "pgwasm-postgres 19.0.0";
|
|
15
|
+
readonly commit: "77228df75b0b80e633c6153cbc17db69ca3a7f6e";
|
|
16
16
|
readonly upstream: {
|
|
17
|
-
readonly tag: "
|
|
18
|
-
readonly commit: "
|
|
17
|
+
readonly tag: "REL_19_0";
|
|
18
|
+
readonly commit: "5c839a2a08b9b87a349be97371fac6c5a2873b10";
|
|
19
19
|
};
|
|
20
20
|
readonly dataFormat: 2;
|
|
21
21
|
readonly builderImage: "ghcr.io/pgxsinkit/pgwasm-builder@sha256:cbb378a50de43cd2fbd8718b72ce4c7595ffe421148a3c32435906f096bc5130";
|
|
22
|
-
readonly manifestSha256: "
|
|
22
|
+
readonly manifestSha256: "89e117f0eea51612a5b917466158047c8ce540b5ba226c60e6c1828986524c49";
|
|
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: 664987;
|
|
32
|
+
readonly sha256: "97d16fc60b4cf729efcf005e572d8ce1ead2fbeb834cd6fe552915132b2a1680";
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
35
|
export type ArtefactName = keyof typeof ARTEFACT_FILES;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"artefact-pins.d.ts","sourceRoot":"","sources":["../src/artefact-pins.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,2CAA2C;AAC3C,eAAO,MAAM,gBAAgB;aAC3B,UAAU,EAAE,2BAA2B;aACvC,GAAG,EAAE,
|
|
1
|
+
{"version":3,"file":"artefact-pins.d.ts","sourceRoot":"","sources":["../src/artefact-pins.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,2CAA2C;AAC3C,eAAO,MAAM,gBAAgB;aAC3B,UAAU,EAAE,2BAA2B;aACvC,GAAG,EAAE,QAAQ;aACb,IAAI,EAAE,wBAAwB;aAC9B,MAAM,EAAE,0CAA0C;aAClD,QAAQ;iBAAI,GAAG,EAAE,UAAU;iBAAE,MAAM,EAAE,0CAA0C;;aAC/E,UAAU,EAAE,CAAC;aACb,YAAY,EACV,0GAA0G;aAC5G,cAAc,EAAE,kEAAkE;CAC1E,CAAC;AAEX,2FAA2F;AAC3F,eAAO,MAAM,cAAc;aACzB,YAAY;iBAAI,KAAK,EAAE,MAAM;iBAAE,MAAM,EAAE,kEAAkE;;aACzG,cAAc;iBAAI,KAAK,EAAE,MAAM;iBAAE,MAAM,EAAE,kEAAkE;;CACnG,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,cAAc,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pgxsinkit/pgwasm-pg-dump",
|
|
3
|
-
"version": "0.6.0
|
|
3
|
+
"version": "0.6.0",
|
|
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
|
|
42
|
+
"@pgxsinkit/pgwasm": "0.6.0"
|
|
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
|
|
15
|
-
name: "pgwasm-postgres 19.0.0
|
|
16
|
-
commit: "
|
|
17
|
-
upstream: { tag: "
|
|
14
|
+
tag: "19.0.0",
|
|
15
|
+
name: "pgwasm-postgres 19.0.0",
|
|
16
|
+
commit: "77228df75b0b80e633c6153cbc17db69ca3a7f6e",
|
|
17
|
+
upstream: { tag: "REL_19_0", commit: "5c839a2a08b9b87a349be97371fac6c5a2873b10" },
|
|
18
18
|
dataFormat: 2,
|
|
19
19
|
builderImage:
|
|
20
20
|
"ghcr.io/pgxsinkit/pgwasm-builder@sha256:cbb378a50de43cd2fbd8718b72ce4c7595ffe421148a3c32435906f096bc5130",
|
|
21
|
-
manifestSha256: "
|
|
21
|
+
manifestSha256: "89e117f0eea51612a5b917466158047c8ce540b5ba226c60e6c1828986524c49",
|
|
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: 664987, sha256: "97d16fc60b4cf729efcf005e572d8ce1ead2fbeb834cd6fe552915132b2a1680" },
|
|
28
28
|
} as const;
|
|
29
29
|
|
|
30
30
|
export type ArtefactName = keyof typeof ARTEFACT_FILES;
|