@libredb/libredb 0.1.0 → 0.1.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/README.md +4 -2
- package/dist/core.d.ts +1 -1
- package/dist/core.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -98,7 +98,7 @@ bunx jsr add @libredb/libredb
|
|
|
98
98
|
**CDN** — every release is served from the npm registry by the usual CDNs. Pin a version:
|
|
99
99
|
|
|
100
100
|
```ts
|
|
101
|
-
import { open, kv } from "https://esm.sh/@libredb/libredb@0.1.
|
|
101
|
+
import { open, kv } from "https://esm.sh/@libredb/libredb@0.1.2";
|
|
102
102
|
```
|
|
103
103
|
|
|
104
104
|
**Browser** — a dedicated entry that imports nothing from `node:`, so it bundles for the browser
|
|
@@ -149,10 +149,12 @@ executables (Linux, macOS, Windows; x64 and arm64) with `.sha256` checksums on i
|
|
|
149
149
|
[GitHub Release](https://github.com/libredb/libredb-database/releases). Or build one locally with
|
|
150
150
|
`bun run compile`.
|
|
151
151
|
|
|
152
|
-
Or run the CLI from a container (multi-arch, published to GHCR) — mount your data and
|
|
152
|
+
Or run the CLI from a container (multi-arch, published to GHCR and Docker Hub) — mount your data and
|
|
153
|
+
pass a command:
|
|
153
154
|
|
|
154
155
|
```sh
|
|
155
156
|
docker run --rm -v "$PWD:/data" ghcr.io/libredb/libredb inspect /data/app.libredb
|
|
157
|
+
# or from Docker Hub: docker run --rm -v "$PWD:/data" libredb/libredb inspect /data/app.libredb
|
|
156
158
|
```
|
|
157
159
|
|
|
158
160
|
The image is a CLI shell, not a server: LibreDB stays an embedded, in-process database.
|
package/dist/core.d.ts
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
* and discards any record a crash left half-written.
|
|
21
21
|
*/
|
|
22
22
|
/** The LibreDB package version. Kept in sync with package.json. */
|
|
23
|
-
export declare const version = "0.1.
|
|
23
|
+
export declare const version = "0.1.2";
|
|
24
24
|
/**
|
|
25
25
|
* A key in the kernel: an immutable sequence of bytes.
|
|
26
26
|
*
|
package/dist/core.js
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
* and discards any record a crash left half-written.
|
|
21
21
|
*/
|
|
22
22
|
/** The LibreDB package version. Kept in sync with package.json. */
|
|
23
|
-
export const version = "0.1.
|
|
23
|
+
export const version = "0.1.2";
|
|
24
24
|
/**
|
|
25
25
|
* Compare two keys by unsigned byte-lexicographic order: the first differing
|
|
26
26
|
* byte decides, and if one key is a prefix of the other the shorter sorts
|