From 9ac2061740ecaa03b285ed38a5462449e20972ee Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 2 Aug 2024 10:48:07 +0000 Subject: [PATCH 1/4] deps(dev): bump aegir from 42.2.11 to 44.1.0 Bumps [aegir](https://github.com/ipfs/aegir) from 42.2.11 to 44.1.0. - [Release notes](https://github.com/ipfs/aegir/releases) - [Changelog](https://github.com/ipfs/aegir/blob/master/CHANGELOG.md) - [Commits](https://github.com/ipfs/aegir/compare/v42.2.11...v44.1.0) --- updated-dependencies: - dependency-name: aegir dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- packages/blockstore-core/package.json | 2 +- packages/blockstore-fs/package.json | 2 +- packages/blockstore-idb/package.json | 2 +- packages/blockstore-level/package.json | 2 +- packages/blockstore-s3/package.json | 2 +- packages/datastore-core/package.json | 2 +- packages/datastore-fs/package.json | 2 +- packages/datastore-idb/package.json | 2 +- packages/datastore-level/package.json | 2 +- packages/datastore-s3/package.json | 2 +- packages/interface-blockstore-tests/package.json | 2 +- packages/interface-blockstore/package.json | 2 +- packages/interface-datastore-tests/package.json | 2 +- packages/interface-datastore/package.json | 2 +- packages/interface-store/package.json | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index f6902bd1..ea189d92 100644 --- a/package.json +++ b/package.json @@ -118,7 +118,7 @@ "docs:no-publish": "aegir docs --publish false" }, "devDependencies": { - "aegir": "^42.2.3", + "aegir": "^44.1.0", "npm-run-all": "^4.1.5" }, "workspaces": [ diff --git a/packages/blockstore-core/package.json b/packages/blockstore-core/package.json index ce215475..ea9b45ca 100644 --- a/packages/blockstore-core/package.json +++ b/packages/blockstore-core/package.json @@ -108,7 +108,7 @@ "multiformats": "^13.0.1" }, "devDependencies": { - "aegir": "^42.2.3", + "aegir": "^44.1.0", "interface-blockstore-tests": "^6.0.0", "it-all": "^3.0.4", "uint8arrays": "^5.0.2" diff --git a/packages/blockstore-fs/package.json b/packages/blockstore-fs/package.json index c532c84e..31802c75 100644 --- a/packages/blockstore-fs/package.json +++ b/packages/blockstore-fs/package.json @@ -86,7 +86,7 @@ "multiformats": "^13.0.1" }, "devDependencies": { - "aegir": "^42.2.3", + "aegir": "^44.1.0", "interface-blockstore-tests": "^6.0.0" } } diff --git a/packages/blockstore-idb/package.json b/packages/blockstore-idb/package.json index f4a3ee04..deb894ce 100644 --- a/packages/blockstore-idb/package.json +++ b/packages/blockstore-idb/package.json @@ -63,7 +63,7 @@ "multiformats": "^13.0.1" }, "devDependencies": { - "aegir": "^42.2.3", + "aegir": "^44.1.0", "interface-blockstore-tests": "^6.0.0" } } diff --git a/packages/blockstore-level/package.json b/packages/blockstore-level/package.json index 20cb946d..1e6f7040 100644 --- a/packages/blockstore-level/package.json +++ b/packages/blockstore-level/package.json @@ -66,7 +66,7 @@ "multiformats": "^13.0.1" }, "devDependencies": { - "aegir": "^42.2.3", + "aegir": "^44.1.0", "interface-blockstore-tests": "^6.0.0", "ipfs-utils": "^9.0.14", "memory-level": "^1.0.0" diff --git a/packages/blockstore-s3/package.json b/packages/blockstore-s3/package.json index 3fd314b4..d084ab52 100644 --- a/packages/blockstore-s3/package.json +++ b/packages/blockstore-s3/package.json @@ -67,7 +67,7 @@ }, "devDependencies": { "@types/sinon": "^17.0.3", - "aegir": "^42.2.3", + "aegir": "^44.1.0", "interface-blockstore-tests": "^6.0.0", "p-defer": "^4.0.0", "sinon": "^18.0.0" diff --git a/packages/datastore-core/package.json b/packages/datastore-core/package.json index fb04ded2..02b7d0ce 100644 --- a/packages/datastore-core/package.json +++ b/packages/datastore-core/package.json @@ -127,7 +127,7 @@ "it-take": "^3.0.4" }, "devDependencies": { - "aegir": "^42.2.3", + "aegir": "^44.1.0", "interface-datastore-tests": "^5.0.0", "it-all": "^3.0.4", "uint8arrays": "^5.0.2" diff --git a/packages/datastore-fs/package.json b/packages/datastore-fs/package.json index b29f1977..94f92094 100644 --- a/packages/datastore-fs/package.json +++ b/packages/datastore-fs/package.json @@ -65,7 +65,7 @@ }, "devDependencies": { "@types/mkdirp": "^2.0.0", - "aegir": "^42.2.3", + "aegir": "^44.1.0", "interface-datastore-tests": "^5.0.0", "ipfs-utils": "^9.0.14" } diff --git a/packages/datastore-idb/package.json b/packages/datastore-idb/package.json index 2334d138..3cf4ad5c 100644 --- a/packages/datastore-idb/package.json +++ b/packages/datastore-idb/package.json @@ -65,7 +65,7 @@ "it-sort": "^3.0.4" }, "devDependencies": { - "aegir": "^42.2.3", + "aegir": "^44.1.0", "interface-datastore-tests": "^5.0.0" } } diff --git a/packages/datastore-level/package.json b/packages/datastore-level/package.json index 940d1fdb..8510c19d 100644 --- a/packages/datastore-level/package.json +++ b/packages/datastore-level/package.json @@ -70,7 +70,7 @@ "level": "^8.0.1" }, "devDependencies": { - "aegir": "^42.2.3", + "aegir": "^44.1.0", "interface-datastore-tests": "^5.0.0", "ipfs-utils": "^9.0.14", "memory-level": "^1.0.0" diff --git a/packages/datastore-s3/package.json b/packages/datastore-s3/package.json index 897e0b02..4bd98c16 100644 --- a/packages/datastore-s3/package.json +++ b/packages/datastore-s3/package.json @@ -68,7 +68,7 @@ }, "devDependencies": { "@types/sinon": "^17.0.3", - "aegir": "^42.2.3", + "aegir": "^44.1.0", "interface-datastore-tests": "^5.0.0", "p-defer": "^4.0.0", "sinon": "^18.0.0" diff --git a/packages/interface-blockstore-tests/package.json b/packages/interface-blockstore-tests/package.json index 16b241c2..5c75b844 100644 --- a/packages/interface-blockstore-tests/package.json +++ b/packages/interface-blockstore-tests/package.json @@ -57,6 +57,6 @@ "uint8arrays": "^5.0.2" }, "devDependencies": { - "aegir": "^42.2.3" + "aegir": "^44.1.0" } } diff --git a/packages/interface-blockstore/package.json b/packages/interface-blockstore/package.json index aa8da379..932e8d2b 100644 --- a/packages/interface-blockstore/package.json +++ b/packages/interface-blockstore/package.json @@ -47,6 +47,6 @@ "multiformats": "^13.0.1" }, "devDependencies": { - "aegir": "^42.2.3" + "aegir": "^44.1.0" } } diff --git a/packages/interface-datastore-tests/package.json b/packages/interface-datastore-tests/package.json index 8fce8d9b..6df21bd2 100644 --- a/packages/interface-datastore-tests/package.json +++ b/packages/interface-datastore-tests/package.json @@ -58,6 +58,6 @@ "uint8arrays": "^5.0.2" }, "devDependencies": { - "aegir": "^42.2.3" + "aegir": "^44.1.0" } } diff --git a/packages/interface-datastore/package.json b/packages/interface-datastore/package.json index a872fc82..66070f06 100644 --- a/packages/interface-datastore/package.json +++ b/packages/interface-datastore/package.json @@ -80,6 +80,6 @@ "uint8arrays": "^5.0.2" }, "devDependencies": { - "aegir": "^42.2.3" + "aegir": "^44.1.0" } } diff --git a/packages/interface-store/package.json b/packages/interface-store/package.json index ba1690dc..aa80fbb4 100644 --- a/packages/interface-store/package.json +++ b/packages/interface-store/package.json @@ -49,6 +49,6 @@ "dep-check": "aegir dep-check" }, "devDependencies": { - "aegir": "^42.2.3" + "aegir": "^44.1.0" } } From a8787fe155228f105998a88ad26f595f8f4e33b1 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Fri, 2 Aug 2024 17:56:53 +0100 Subject: [PATCH 2/4] chore: fix linting --- packages/blockstore-s3/src/index.ts | 2 +- packages/blockstore-s3/test/utils/s3-mock.ts | 4 ++-- packages/datastore-s3/src/index.ts | 2 +- packages/datastore-s3/test/utils/s3-mock.ts | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/blockstore-s3/src/index.ts b/packages/blockstore-s3/src/index.ts index f858e18f..5febb515 100644 --- a/packages/blockstore-s3/src/index.ts +++ b/packages/blockstore-s3/src/index.ts @@ -220,7 +220,7 @@ export class S3Blockstore extends BaseBlockstore { return } - if (data == null || data.Contents == null) { + if (data?.Contents == null) { throw new Error('Not found') } diff --git a/packages/blockstore-s3/test/utils/s3-mock.ts b/packages/blockstore-s3/test/utils/s3-mock.ts index 1b4aadd5..06118f5c 100644 --- a/packages/blockstore-s3/test/utils/s3-mock.ts +++ b/packages/blockstore-s3/test/utils/s3-mock.ts @@ -17,11 +17,11 @@ export class S3Error extends Error { } } -export const s3Resolve = (res?: any): any => { +export function s3Resolve (res?: any): any { return Promise.resolve(res) } -export const s3Reject = (err: T): any => { +export function s3Reject (err: Error): any { return Promise.reject(err) } diff --git a/packages/datastore-s3/src/index.ts b/packages/datastore-s3/src/index.ts index cdd6d1d1..906b0e6f 100644 --- a/packages/datastore-s3/src/index.ts +++ b/packages/datastore-s3/src/index.ts @@ -233,7 +233,7 @@ export class S3Datastore extends BaseDatastore { return } - if (data == null || data.Contents == null) { + if (data?.Contents == null) { throw new Error('Not found') } diff --git a/packages/datastore-s3/test/utils/s3-mock.ts b/packages/datastore-s3/test/utils/s3-mock.ts index f49ea81a..6b11726f 100644 --- a/packages/datastore-s3/test/utils/s3-mock.ts +++ b/packages/datastore-s3/test/utils/s3-mock.ts @@ -17,11 +17,11 @@ export class S3Error extends Error { } } -export const s3Resolve = (res?: any): any => { +export function s3Resolve (res?: any): any { return Promise.resolve(res) } -export const s3Reject = (err: T): any => { +export function s3Reject (err: Error): any { return Promise.reject(err) } From 035877c8906cb7cf5c6a37212c610c5e12e90077 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Fri, 2 Aug 2024 18:02:58 +0100 Subject: [PATCH 3/4] chore: update project config --- README.md | 34 +++++++++---------- packages/blockstore-core/README.md | 6 ++-- packages/blockstore-core/package.json | 17 +++++----- packages/blockstore-fs/README.md | 4 +-- packages/blockstore-fs/package.json | 9 ++--- packages/blockstore-fs/tsconfig.json | 3 -- packages/blockstore-idb/README.md | 6 ++-- packages/blockstore-idb/package.json | 5 +-- packages/blockstore-level/README.md | 6 ++-- packages/blockstore-level/package.json | 5 +-- packages/blockstore-s3/README.md | 6 ++-- packages/blockstore-s3/package.json | 13 +++---- packages/datastore-core/README.md | 6 ++-- packages/datastore-core/package.json | 21 ++++++------ packages/datastore-fs/README.md | 4 +-- packages/datastore-fs/package.json | 8 ++--- packages/datastore-idb/README.md | 6 ++-- packages/datastore-idb/package.json | 10 +++--- packages/datastore-idb/tsconfig.json | 3 ++ packages/datastore-level/README.md | 6 ++-- packages/datastore-level/package.json | 14 ++++---- packages/datastore-level/tsconfig.json | 3 ++ packages/datastore-s3/README.md | 6 ++-- packages/datastore-s3/package.json | 14 ++++---- packages/interface-blockstore-tests/README.md | 4 +-- .../interface-blockstore-tests/package.json | 8 ++--- packages/interface-blockstore/README.md | 4 +-- packages/interface-blockstore/package.json | 2 +- packages/interface-datastore-tests/README.md | 4 +-- .../interface-datastore-tests/package.json | 8 ++--- packages/interface-datastore/README.md | 6 ++-- packages/interface-datastore/package.json | 2 +- packages/interface-store/README.md | 4 +-- packages/interface-store/package.json | 4 +-- 34 files changed, 135 insertions(+), 126 deletions(-) diff --git a/README.md b/README.md index 1dd9ec84..ea6b756e 100644 --- a/README.md +++ b/README.md @@ -9,21 +9,21 @@ # Packages -- [`/packages/blockstore-core`](./packages/blockstore-core) Contains various implementations of the API contract described in interface-blockstore -- [`/packages/blockstore-fs`](./packages/blockstore-fs) Blockstore implementation with file system backend -- [`/packages/blockstore-idb`](./packages/blockstore-idb) Blockstore implementation with IndexedDB backend -- [`/packages/blockstore-level`](./packages/blockstore-level) Blockstore implementation with level(up|down) backend -- [`/packages/blockstore-s3`](./packages/blockstore-s3) IPFS blockstore implementation backed by s3 -- [`/packages/datastore-core`](./packages/datastore-core) Wrapper implementation for interface-datastore -- [`/packages/datastore-fs`](./packages/datastore-fs) Datastore implementation with file system backend -- [`/packages/datastore-idb`](./packages/datastore-idb) Datastore implementation with IndexedDB backend. -- [`/packages/datastore-level`](./packages/datastore-level) Datastore implementation with level(up|down) backend -- [`/packages/datastore-s3`](./packages/datastore-s3) IPFS datastore implementation backed by s3 -- [`/packages/interface-blockstore`](./packages/interface-blockstore) An interface for storing and retrieving blocks -- [`/packages/interface-blockstore-tests`](./packages/interface-blockstore-tests) Compliance tests for the blockstore interface -- [`/packages/interface-datastore`](./packages/interface-datastore) datastore interface -- [`/packages/interface-datastore-tests`](./packages/interface-datastore-tests) Compliance tests for the datastore interface -- [`/packages/interface-store`](./packages/interface-store) A generic interface for storing and retrieving data +- [`packages/blockstore-core`](https://github.com/ipfs/js-stores/tree/main/packages/blockstore-core) Contains various implementations of the API contract described in interface-blockstore +- [`packages/blockstore-fs`](https://github.com/ipfs/js-stores/tree/main/packages/blockstore-fs) Blockstore implementation with file system backend +- [`packages/blockstore-idb`](https://github.com/ipfs/js-stores/tree/main/packages/blockstore-idb) Blockstore implementation with IndexedDB backend +- [`packages/blockstore-level`](https://github.com/ipfs/js-stores/tree/main/packages/blockstore-level) Blockstore implementation with level(up|down) backend +- [`packages/blockstore-s3`](https://github.com/ipfs/js-stores/tree/main/packages/blockstore-s3) IPFS blockstore implementation backed by s3 +- [`packages/datastore-core`](https://github.com/ipfs/js-stores/tree/main/packages/datastore-core) Wrapper implementation for interface-datastore +- [`packages/datastore-fs`](https://github.com/ipfs/js-stores/tree/main/packages/datastore-fs) Datastore implementation with file system backend +- [`packages/datastore-idb`](https://github.com/ipfs/js-stores/tree/main/packages/datastore-idb) Datastore implementation with IndexedDB backend. +- [`packages/datastore-level`](https://github.com/ipfs/js-stores/tree/main/packages/datastore-level) Datastore implementation with level(up|down) backend +- [`packages/datastore-s3`](https://github.com/ipfs/js-stores/tree/main/packages/datastore-s3) IPFS datastore implementation backed by s3 +- [`packages/interface-blockstore`](https://github.com/ipfs/js-stores/tree/main/packages/interface-blockstore) An interface for storing and retrieving blocks +- [`packages/interface-blockstore-tests`](https://github.com/ipfs/js-stores/tree/main/packages/interface-blockstore-tests) Compliance tests for the blockstore interface +- [`packages/interface-datastore`](https://github.com/ipfs/js-stores/tree/main/packages/interface-datastore) datastore interface +- [`packages/interface-datastore-tests`](https://github.com/ipfs/js-stores/tree/main/packages/interface-datastore-tests) Compliance tests for the datastore interface +- [`packages/interface-store`](https://github.com/ipfs/js-stores/tree/main/packages/interface-store) A generic interface for storing and retrieving data # API Docs @@ -33,8 +33,8 @@ Licensed under either of -- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) -- MIT ([LICENSE-MIT](LICENSE-MIT) / ) +- Apache 2.0, ([LICENSE-APACHE](https://github.com/ipfs/js-stores/blob/main/LICENSE-APACHE) / ) +- MIT ([LICENSE-MIT](https://github.com/ipfs/js-stores/blob/main/LICENSE-MIT) / ) # Contribute diff --git a/packages/blockstore-core/README.md b/packages/blockstore-core/README.md index 94943a86..90d85c72 100644 --- a/packages/blockstore-core/README.md +++ b/packages/blockstore-core/README.md @@ -97,7 +97,7 @@ $ npm i blockstore-core ## Browser ` @@ -111,8 +111,8 @@ Loading this module through a script tag will make it's exports available as `Bl Licensed under either of -- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) -- MIT ([LICENSE-MIT](LICENSE-MIT) / ) +- Apache 2.0, ([LICENSE-APACHE](https://github.com/ipfs/js-stores/blob/main/packages/blockstore-core/LICENSE-APACHE) / ) +- MIT ([LICENSE-MIT](https://github.com/ipfs/js-stores/blob/main/packages/blockstore-core/LICENSE-MIT) / ) # Contribute diff --git a/packages/blockstore-core/package.json b/packages/blockstore-core/package.json index 7f9e00f0..294c6d92 100644 --- a/packages/blockstore-core/package.json +++ b/packages/blockstore-core/package.json @@ -94,22 +94,23 @@ "test:firefox": "aegir test -t browser -- --browser firefox", "test:firefox-webworker": "aegir test -t webworker -- --browser firefox", "test:electron-main": "aegir test -t electron-main", - "dep-check": "aegir dep-check" + "dep-check": "aegir dep-check", + "release": "aegir release" }, "dependencies": { - "@libp2p/logger": "^4.0.6", + "@libp2p/logger": "^4.0.19", "interface-blockstore": "^5.0.0", "interface-store": "^5.0.0", - "it-drain": "^3.0.5", - "it-filter": "^3.0.4", - "it-merge": "^3.0.3", + "it-drain": "^3.0.7", + "it-filter": "^3.1.1", + "it-merge": "^3.0.5", "it-pushable": "^3.2.3", - "multiformats": "^13.0.1" + "multiformats": "^13.2.2" }, "devDependencies": { "aegir": "^44.1.0", "interface-blockstore-tests": "^6.0.0", - "it-all": "^3.0.4", - "uint8arrays": "^5.0.2" + "it-all": "^3.0.6", + "uint8arrays": "^5.1.0" } } diff --git a/packages/blockstore-fs/README.md b/packages/blockstore-fs/README.md index a7e4b185..aa6a1bd2 100644 --- a/packages/blockstore-fs/README.md +++ b/packages/blockstore-fs/README.md @@ -33,8 +33,8 @@ $ npm i blockstore-fs Licensed under either of -- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) -- MIT ([LICENSE-MIT](LICENSE-MIT) / ) +- Apache 2.0, ([LICENSE-APACHE](https://github.com/ipfs/js-stores/blob/main/packages/blockstore-fs/LICENSE-APACHE) / ) +- MIT ([LICENSE-MIT](https://github.com/ipfs/js-stores/blob/main/packages/blockstore-fs/LICENSE-MIT) / ) # Contribute diff --git a/packages/blockstore-fs/package.json b/packages/blockstore-fs/package.json index d29d1b25..aa048efa 100644 --- a/packages/blockstore-fs/package.json +++ b/packages/blockstore-fs/package.json @@ -73,16 +73,17 @@ "test": "aegir test -t node -t electron-main", "test:node": "aegir test -t node", "test:electron-main": "aegir test -t electron-main", - "dep-check": "aegir dep-check" + "dep-check": "aegir dep-check", + "release": "aegir release" }, "dependencies": { "fast-write-atomic": "^0.2.1", "interface-blockstore": "^5.0.0", "interface-store": "^5.0.0", "it-glob": "^3.0.1", - "it-map": "^3.0.5", - "it-parallel-batch": "^3.0.4", - "multiformats": "^13.0.1" + "it-map": "^3.1.1", + "it-parallel-batch": "^3.0.6", + "multiformats": "^13.2.2" }, "devDependencies": { "aegir": "^44.1.0", diff --git a/packages/blockstore-fs/tsconfig.json b/packages/blockstore-fs/tsconfig.json index e27c7fa6..73395b59 100644 --- a/packages/blockstore-fs/tsconfig.json +++ b/packages/blockstore-fs/tsconfig.json @@ -8,9 +8,6 @@ "test" ], "references": [ - { - "path": "../blockstore-core" - }, { "path": "../interface-blockstore" }, diff --git a/packages/blockstore-idb/README.md b/packages/blockstore-idb/README.md index 7009d9ac..15f347a4 100644 --- a/packages/blockstore-idb/README.md +++ b/packages/blockstore-idb/README.md @@ -27,7 +27,7 @@ $ npm i blockstore-idb ## Browser ` @@ -41,8 +41,8 @@ Loading this module through a script tag will make it's exports available as `Bl Licensed under either of -- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) -- MIT ([LICENSE-MIT](LICENSE-MIT) / ) +- Apache 2.0, ([LICENSE-APACHE](https://github.com/ipfs/js-stores/blob/main/packages/blockstore-idb/LICENSE-APACHE) / ) +- MIT ([LICENSE-MIT](https://github.com/ipfs/js-stores/blob/main/packages/blockstore-idb/LICENSE-MIT) / ) # Contribute diff --git a/packages/blockstore-idb/package.json b/packages/blockstore-idb/package.json index deb894ce..52823053 100644 --- a/packages/blockstore-idb/package.json +++ b/packages/blockstore-idb/package.json @@ -53,14 +53,15 @@ "test:chrome-webworker": "aegir test -t webworker", "test:firefox": "aegir test -t browser -- --browser firefox", "test:firefox-webworker": "aegir test -t webworker -- --browser firefox", - "dep-check": "aegir dep-check" + "dep-check": "aegir dep-check", + "release": "aegir release" }, "dependencies": { "blockstore-core": "^4.0.0", "idb": "^8.0.0", "interface-blockstore": "^5.0.0", "interface-store": "^5.0.0", - "multiformats": "^13.0.1" + "multiformats": "^13.2.2" }, "devDependencies": { "aegir": "^44.1.0", diff --git a/packages/blockstore-level/README.md b/packages/blockstore-level/README.md index a7cdfd73..f2280dff 100644 --- a/packages/blockstore-level/README.md +++ b/packages/blockstore-level/README.md @@ -29,7 +29,7 @@ $ npm i blockstore-level ## Browser ` @@ -43,8 +43,8 @@ Loading this module through a script tag will make it's exports available as `Bl Licensed under either of -- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) -- MIT ([LICENSE-MIT](LICENSE-MIT) / ) +- Apache 2.0, ([LICENSE-APACHE](https://github.com/ipfs/js-stores/blob/main/packages/blockstore-level/LICENSE-APACHE) / ) +- MIT ([LICENSE-MIT](https://github.com/ipfs/js-stores/blob/main/packages/blockstore-level/LICENSE-MIT) / ) # Contribute diff --git a/packages/blockstore-level/package.json b/packages/blockstore-level/package.json index 1e6f7040..5d29eac0 100644 --- a/packages/blockstore-level/package.json +++ b/packages/blockstore-level/package.json @@ -56,14 +56,15 @@ "test:firefox": "aegir test -t browser -- --browser firefox", "test:firefox-webworker": "aegir test -t webworker -- --browser firefox", "test:electron-main": "aegir test -t electron-main", - "dep-check": "aegir dep-check" + "dep-check": "aegir dep-check", + "release": "aegir release" }, "dependencies": { "blockstore-core": "^4.0.0", "interface-blockstore": "^5.0.0", "interface-store": "^5.0.0", "level": "^8.0.1", - "multiformats": "^13.0.1" + "multiformats": "^13.2.2" }, "devDependencies": { "aegir": "^44.1.0", diff --git a/packages/blockstore-s3/README.md b/packages/blockstore-s3/README.md index fa1f519e..6ce43e21 100644 --- a/packages/blockstore-s3/README.md +++ b/packages/blockstore-s3/README.md @@ -50,7 +50,7 @@ $ npm i blockstore-s3 ## Browser ` @@ -64,8 +64,8 @@ Loading this module through a script tag will make it's exports available as `Bl Licensed under either of -- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) -- MIT ([LICENSE-MIT](LICENSE-MIT) / ) +- Apache 2.0, ([LICENSE-APACHE](https://github.com/ipfs/js-stores/blob/main/packages/blockstore-s3/LICENSE-APACHE) / ) +- MIT ([LICENSE-MIT](https://github.com/ipfs/js-stores/blob/main/packages/blockstore-s3/LICENSE-MIT) / ) # Contribute diff --git a/packages/blockstore-s3/package.json b/packages/blockstore-s3/package.json index d084ab52..9cd7bac6 100644 --- a/packages/blockstore-s3/package.json +++ b/packages/blockstore-s3/package.json @@ -54,22 +54,23 @@ "test:firefox": "aegir test -t browser -- --browser firefox", "test:firefox-webworker": "aegir test -t webworker -- --browser firefox", "test:electron-main": "aegir test -t electron-main", - "dep-check": "aegir dep-check" + "dep-check": "aegir dep-check", + "release": "aegir release" }, "dependencies": { - "@aws-sdk/client-s3": "^3.511.0", + "@aws-sdk/client-s3": "^3.622.0", "blockstore-core": "^4.0.0", "interface-blockstore": "^5.0.0", "interface-store": "^5.0.0", - "it-to-buffer": "^4.0.5", - "multiformats": "^13.0.1", - "uint8arrays": "^5.0.2" + "it-to-buffer": "^4.0.7", + "multiformats": "^13.2.2", + "uint8arrays": "^5.1.0" }, "devDependencies": { "@types/sinon": "^17.0.3", "aegir": "^44.1.0", "interface-blockstore-tests": "^6.0.0", - "p-defer": "^4.0.0", + "p-defer": "^4.0.1", "sinon": "^18.0.0" } } diff --git a/packages/datastore-core/README.md b/packages/datastore-core/README.md index 66a1aa0f..611c3d05 100644 --- a/packages/datastore-core/README.md +++ b/packages/datastore-core/README.md @@ -76,7 +76,7 @@ $ npm i datastore-core ## Browser ` @@ -90,8 +90,8 @@ Loading this module through a script tag will make it's exports available as `Da Licensed under either of -- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) -- MIT ([LICENSE-MIT](LICENSE-MIT) / ) +- Apache 2.0, ([LICENSE-APACHE](https://github.com/ipfs/js-stores/blob/main/packages/datastore-core/LICENSE-APACHE) / ) +- MIT ([LICENSE-MIT](https://github.com/ipfs/js-stores/blob/main/packages/datastore-core/LICENSE-MIT) / ) # Contribute diff --git a/packages/datastore-core/package.json b/packages/datastore-core/package.json index 3ad80761..1c4171d6 100644 --- a/packages/datastore-core/package.json +++ b/packages/datastore-core/package.json @@ -110,25 +110,26 @@ "test:firefox": "aegir test -t browser -- --browser firefox", "test:firefox-webworker": "aegir test -t webworker -- --browser firefox", "test:electron-main": "aegir test -t electron-main", - "dep-check": "aegir dep-check" + "dep-check": "aegir dep-check", + "release": "aegir release" }, "dependencies": { - "@libp2p/logger": "^4.0.6", + "@libp2p/logger": "^4.0.19", "interface-datastore": "^8.0.0", "interface-store": "^5.0.0", - "it-drain": "^3.0.5", - "it-filter": "^3.0.4", - "it-map": "^3.0.5", - "it-merge": "^3.0.3", + "it-drain": "^3.0.7", + "it-filter": "^3.1.1", + "it-map": "^3.1.1", + "it-merge": "^3.0.5", "it-pipe": "^3.0.1", "it-pushable": "^3.2.3", - "it-sort": "^3.0.4", - "it-take": "^3.0.4" + "it-sort": "^3.0.6", + "it-take": "^3.0.6" }, "devDependencies": { "aegir": "^44.1.0", "interface-datastore-tests": "^5.0.0", - "it-all": "^3.0.4", - "uint8arrays": "^5.0.2" + "it-all": "^3.0.6", + "uint8arrays": "^5.1.0" } } diff --git a/packages/datastore-fs/README.md b/packages/datastore-fs/README.md index 04454a72..1fae54c8 100644 --- a/packages/datastore-fs/README.md +++ b/packages/datastore-fs/README.md @@ -33,8 +33,8 @@ $ npm i datastore-fs Licensed under either of -- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) -- MIT ([LICENSE-MIT](LICENSE-MIT) / ) +- Apache 2.0, ([LICENSE-APACHE](https://github.com/ipfs/js-stores/blob/main/packages/datastore-fs/LICENSE-APACHE) / ) +- MIT ([LICENSE-MIT](https://github.com/ipfs/js-stores/blob/main/packages/datastore-fs/LICENSE-MIT) / ) # Contribute diff --git a/packages/datastore-fs/package.json b/packages/datastore-fs/package.json index 94f92094..13b0c5af 100644 --- a/packages/datastore-fs/package.json +++ b/packages/datastore-fs/package.json @@ -48,11 +48,11 @@ "clean": "aegir clean", "lint": "aegir lint", "build": "aegir build --bundle false", - "release": "aegir release", "test": "aegir test -t node -t electron-main", "test:node": "aegir test -t node", "test:electron-main": "aegir test -t electron-main", - "dep-check": "aegir dep-check" + "dep-check": "aegir dep-check", + "release": "aegir release" }, "dependencies": { "datastore-core": "^9.0.0", @@ -60,8 +60,8 @@ "interface-datastore": "^8.0.0", "interface-store": "^5.0.0", "it-glob": "^3.0.1", - "it-map": "^3.0.5", - "it-parallel-batch": "^3.0.4" + "it-map": "^3.1.1", + "it-parallel-batch": "^3.0.6" }, "devDependencies": { "@types/mkdirp": "^2.0.0", diff --git a/packages/datastore-idb/README.md b/packages/datastore-idb/README.md index 68c97a86..7098a0bb 100644 --- a/packages/datastore-idb/README.md +++ b/packages/datastore-idb/README.md @@ -27,7 +27,7 @@ $ npm i datastore-idb ## Browser ` @@ -41,8 +41,8 @@ Loading this module through a script tag will make it's exports available as `Da Licensed under either of -- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) -- MIT ([LICENSE-MIT](LICENSE-MIT) / ) +- Apache 2.0, ([LICENSE-APACHE](https://github.com/ipfs/js-stores/blob/main/packages/datastore-idb/LICENSE-APACHE) / ) +- MIT ([LICENSE-MIT](https://github.com/ipfs/js-stores/blob/main/packages/datastore-idb/LICENSE-MIT) / ) # Contribute diff --git a/packages/datastore-idb/package.json b/packages/datastore-idb/package.json index 42ee38c9..8ad65e20 100644 --- a/packages/datastore-idb/package.json +++ b/packages/datastore-idb/package.json @@ -54,16 +54,16 @@ "test:webworker": "aegir test -t webworker", "build": "aegir build", "lint": "aegir lint", - "release": "aegir release", - "dep-check": "aegir dep-check" + "dep-check": "aegir dep-check", + "release": "aegir release" }, "dependencies": { "datastore-core": "^9.0.0", "idb": "^8.0.0", "interface-datastore": "^8.0.0", - "interface-store": "^5.1.8", - "it-filter": "^3.0.4", - "it-sort": "^3.0.4" + "interface-store": "^5.0.0", + "it-filter": "^3.1.1", + "it-sort": "^3.0.6" }, "devDependencies": { "aegir": "^44.1.0", diff --git a/packages/datastore-idb/tsconfig.json b/packages/datastore-idb/tsconfig.json index 58cae45c..e30932c0 100644 --- a/packages/datastore-idb/tsconfig.json +++ b/packages/datastore-idb/tsconfig.json @@ -16,6 +16,9 @@ }, { "path": "../interface-datastore-tests" + }, + { + "path": "../interface-store" } ] } diff --git a/packages/datastore-level/README.md b/packages/datastore-level/README.md index 938cab76..5821a05f 100644 --- a/packages/datastore-level/README.md +++ b/packages/datastore-level/README.md @@ -59,7 +59,7 @@ $ npm i datastore-level ## Browser ` @@ -73,8 +73,8 @@ Loading this module through a script tag will make it's exports available as `Da Licensed under either of -- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) -- MIT ([LICENSE-MIT](LICENSE-MIT) / ) +- Apache 2.0, ([LICENSE-APACHE](https://github.com/ipfs/js-stores/blob/main/packages/datastore-level/LICENSE-APACHE) / ) +- MIT ([LICENSE-MIT](https://github.com/ipfs/js-stores/blob/main/packages/datastore-level/LICENSE-MIT) / ) # Contribute diff --git a/packages/datastore-level/package.json b/packages/datastore-level/package.json index 626fc7e2..24f2090e 100644 --- a/packages/datastore-level/package.json +++ b/packages/datastore-level/package.json @@ -50,7 +50,6 @@ "clean": "aegir clean", "lint": "aegir lint", "build": "aegir build", - "release": "aegir release", "test": "aegir test", "test:node": "aegir test -t node --cov", "test:chrome": "aegir test -t browser --cov", @@ -58,16 +57,17 @@ "test:firefox": "aegir test -t browser -- --browser firefox", "test:firefox-webworker": "aegir test -t webworker -- --browser firefox", "test:electron-main": "aegir test -t electron-main", - "dep-check": "aegir dep-check" + "dep-check": "aegir dep-check", + "release": "aegir release" }, "dependencies": { "datastore-core": "^9.0.0", "interface-datastore": "^8.0.0", - "interface-store": "^5.1.8", - "it-filter": "^3.0.4", - "it-map": "^3.0.5", - "it-sort": "^3.0.4", - "it-take": "^3.0.4", + "interface-store": "^5.0.0", + "it-filter": "^3.1.1", + "it-map": "^3.1.1", + "it-sort": "^3.0.6", + "it-take": "^3.0.6", "level": "^8.0.1" }, "devDependencies": { diff --git a/packages/datastore-level/tsconfig.json b/packages/datastore-level/tsconfig.json index 031d7aae..8bae2503 100644 --- a/packages/datastore-level/tsconfig.json +++ b/packages/datastore-level/tsconfig.json @@ -16,6 +16,9 @@ }, { "path": "../interface-datastore-tests" + }, + { + "path": "../interface-store" } ] } diff --git a/packages/datastore-s3/README.md b/packages/datastore-s3/README.md index 2abdac48..edd5e80c 100644 --- a/packages/datastore-s3/README.md +++ b/packages/datastore-s3/README.md @@ -50,7 +50,7 @@ $ npm i datastore-s3 ## Browser ` @@ -64,8 +64,8 @@ Loading this module through a script tag will make it's exports available as `Da Licensed under either of -- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) -- MIT ([LICENSE-MIT](LICENSE-MIT) / ) +- Apache 2.0, ([LICENSE-APACHE](https://github.com/ipfs/js-stores/blob/main/packages/datastore-s3/LICENSE-APACHE) / ) +- MIT ([LICENSE-MIT](https://github.com/ipfs/js-stores/blob/main/packages/datastore-s3/LICENSE-MIT) / ) # Contribute diff --git a/packages/datastore-s3/package.json b/packages/datastore-s3/package.json index 4bd98c16..73c4b60c 100644 --- a/packages/datastore-s3/package.json +++ b/packages/datastore-s3/package.json @@ -47,7 +47,6 @@ "clean": "aegir clean", "lint": "aegir lint", "build": "aegir build", - "release": "aegir release", "test": "aegir test", "test:node": "aegir test -t node --cov", "test:chrome": "aegir test -t browser --cov", @@ -55,22 +54,23 @@ "test:firefox": "aegir test -t browser -- --browser firefox", "test:firefox-webworker": "aegir test -t webworker -- --browser firefox", "test:electron-main": "aegir test -t electron-main", - "dep-check": "aegir dep-check" + "dep-check": "aegir dep-check", + "release": "aegir release" }, "dependencies": { - "@aws-sdk/client-s3": "^3.511.0", + "@aws-sdk/client-s3": "^3.622.0", "datastore-core": "^9.0.0", "interface-datastore": "^8.0.0", "interface-store": "^5.0.0", - "it-filter": "^3.0.4", - "it-to-buffer": "^4.0.5", - "uint8arrays": "^5.0.2" + "it-filter": "^3.1.1", + "it-to-buffer": "^4.0.7", + "uint8arrays": "^5.1.0" }, "devDependencies": { "@types/sinon": "^17.0.3", "aegir": "^44.1.0", "interface-datastore-tests": "^5.0.0", - "p-defer": "^4.0.0", + "p-defer": "^4.0.1", "sinon": "^18.0.0" } } diff --git a/packages/interface-blockstore-tests/README.md b/packages/interface-blockstore-tests/README.md index a8bfbdb8..b7e92df6 100644 --- a/packages/interface-blockstore-tests/README.md +++ b/packages/interface-blockstore-tests/README.md @@ -43,8 +43,8 @@ $ npm i interface-blockstore-tests Licensed under either of -- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) -- MIT ([LICENSE-MIT](LICENSE-MIT) / ) +- Apache 2.0, ([LICENSE-APACHE](https://github.com/ipfs/js-stores/blob/main/packages/interface-blockstore-tests/LICENSE-APACHE) / ) +- MIT ([LICENSE-MIT](https://github.com/ipfs/js-stores/blob/main/packages/interface-blockstore-tests/LICENSE-MIT) / ) # Contribute diff --git a/packages/interface-blockstore-tests/package.json b/packages/interface-blockstore-tests/package.json index 5c75b844..fb2c7e95 100644 --- a/packages/interface-blockstore-tests/package.json +++ b/packages/interface-blockstore-tests/package.json @@ -51,10 +51,10 @@ }, "dependencies": { "interface-blockstore": "^5.0.0", - "it-all": "^3.0.4", - "it-drain": "^3.0.5", - "multiformats": "^13.0.1", - "uint8arrays": "^5.0.2" + "it-all": "^3.0.6", + "it-drain": "^3.0.7", + "multiformats": "^13.2.2", + "uint8arrays": "^5.1.0" }, "devDependencies": { "aegir": "^44.1.0" diff --git a/packages/interface-blockstore/README.md b/packages/interface-blockstore/README.md index b8980909..a42ac61e 100644 --- a/packages/interface-blockstore/README.md +++ b/packages/interface-blockstore/README.md @@ -35,8 +35,8 @@ $ npm i interface-blockstore Licensed under either of -- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) -- MIT ([LICENSE-MIT](LICENSE-MIT) / ) +- Apache 2.0, ([LICENSE-APACHE](https://github.com/ipfs/js-stores/blob/main/packages/interface-blockstore/LICENSE-APACHE) / ) +- MIT ([LICENSE-MIT](https://github.com/ipfs/js-stores/blob/main/packages/interface-blockstore/LICENSE-MIT) / ) # Contribute diff --git a/packages/interface-blockstore/package.json b/packages/interface-blockstore/package.json index 932e8d2b..04367bb7 100644 --- a/packages/interface-blockstore/package.json +++ b/packages/interface-blockstore/package.json @@ -44,7 +44,7 @@ }, "dependencies": { "interface-store": "^5.0.0", - "multiformats": "^13.0.1" + "multiformats": "^13.2.2" }, "devDependencies": { "aegir": "^44.1.0" diff --git a/packages/interface-datastore-tests/README.md b/packages/interface-datastore-tests/README.md index 649f63fb..18773b28 100644 --- a/packages/interface-datastore-tests/README.md +++ b/packages/interface-datastore-tests/README.md @@ -43,8 +43,8 @@ $ npm i interface-datastore-tests Licensed under either of -- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) -- MIT ([LICENSE-MIT](LICENSE-MIT) / ) +- Apache 2.0, ([LICENSE-APACHE](https://github.com/ipfs/js-stores/blob/main/packages/interface-datastore-tests/LICENSE-APACHE) / ) +- MIT ([LICENSE-MIT](https://github.com/ipfs/js-stores/blob/main/packages/interface-datastore-tests/LICENSE-MIT) / ) # Contribute diff --git a/packages/interface-datastore-tests/package.json b/packages/interface-datastore-tests/package.json index 6df21bd2..c7e55b5a 100644 --- a/packages/interface-datastore-tests/package.json +++ b/packages/interface-datastore-tests/package.json @@ -52,10 +52,10 @@ "dependencies": { "interface-datastore": "^8.0.0", "iso-random-stream": "^2.0.2", - "it-all": "^3.0.4", - "it-drain": "^3.0.5", - "it-length": "^3.0.4", - "uint8arrays": "^5.0.2" + "it-all": "^3.0.6", + "it-drain": "^3.0.7", + "it-length": "^3.0.6", + "uint8arrays": "^5.1.0" }, "devDependencies": { "aegir": "^44.1.0" diff --git a/packages/interface-datastore/README.md b/packages/interface-datastore/README.md index 48062c9c..b8ebf9ac 100644 --- a/packages/interface-datastore/README.md +++ b/packages/interface-datastore/README.md @@ -111,7 +111,7 @@ $ npm i interface-datastore ## Browser ` @@ -125,8 +125,8 @@ Loading this module through a script tag will make it's exports available as `In Licensed under either of -- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) -- MIT ([LICENSE-MIT](LICENSE-MIT) / ) +- Apache 2.0, ([LICENSE-APACHE](https://github.com/ipfs/js-stores/blob/main/packages/interface-datastore/LICENSE-APACHE) / ) +- MIT ([LICENSE-MIT](https://github.com/ipfs/js-stores/blob/main/packages/interface-datastore/LICENSE-MIT) / ) # Contribute diff --git a/packages/interface-datastore/package.json b/packages/interface-datastore/package.json index 66070f06..b7c70268 100644 --- a/packages/interface-datastore/package.json +++ b/packages/interface-datastore/package.json @@ -77,7 +77,7 @@ }, "dependencies": { "interface-store": "^5.0.0", - "uint8arrays": "^5.0.2" + "uint8arrays": "^5.1.0" }, "devDependencies": { "aegir": "^44.1.0" diff --git a/packages/interface-store/README.md b/packages/interface-store/README.md index 2f152391..8289e5b5 100644 --- a/packages/interface-store/README.md +++ b/packages/interface-store/README.md @@ -25,8 +25,8 @@ $ npm i interface-store Licensed under either of -- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / ) -- MIT ([LICENSE-MIT](LICENSE-MIT) / ) +- Apache 2.0, ([LICENSE-APACHE](https://github.com/ipfs/js-stores/blob/main/packages/interface-store/LICENSE-APACHE) / ) +- MIT ([LICENSE-MIT](https://github.com/ipfs/js-stores/blob/main/packages/interface-store/LICENSE-MIT) / ) # Contribute diff --git a/packages/interface-store/package.json b/packages/interface-store/package.json index 9211067b..72387690 100644 --- a/packages/interface-store/package.json +++ b/packages/interface-store/package.json @@ -51,8 +51,8 @@ "build": "aegir build", "lint": "aegir lint", "clean": "aegir clean", - "release": "aegir release", - "dep-check": "aegir dep-check" + "dep-check": "aegir dep-check", + "release": "aegir release" }, "devDependencies": { "aegir": "^44.1.0" From 276f55f0c8bb93e82a0012120a2ba78122318c6d Mon Sep 17 00:00:00 2001 From: achingbrain Date: Fri, 2 Aug 2024 18:03:33 +0100 Subject: [PATCH 4/4] chore: regenerate readmes --- packages/blockstore-core/README.md | 15 +++++++++++++++ packages/blockstore-fs/README.md | 15 +++++++++++++++ packages/blockstore-idb/README.md | 15 +++++++++++++++ packages/blockstore-level/README.md | 15 +++++++++++++++ packages/blockstore-s3/README.md | 15 +++++++++++++++ packages/datastore-core/README.md | 15 +++++++++++++++ packages/datastore-fs/README.md | 15 +++++++++++++++ packages/datastore-idb/README.md | 15 +++++++++++++++ packages/datastore-level/README.md | 15 +++++++++++++++ packages/datastore-s3/README.md | 15 +++++++++++++++ packages/interface-blockstore-tests/README.md | 15 +++++++++++++++ packages/interface-blockstore/README.md | 15 +++++++++++++++ packages/interface-datastore-tests/README.md | 15 +++++++++++++++ packages/interface-datastore/README.md | 15 +++++++++++++++ packages/interface-store/README.md | 15 +++++++++++++++ 15 files changed, 225 insertions(+) diff --git a/packages/blockstore-core/README.md b/packages/blockstore-core/README.md index 90d85c72..db91f412 100644 --- a/packages/blockstore-core/README.md +++ b/packages/blockstore-core/README.md @@ -9,6 +9,21 @@ # About + + Various Blockstore implementations are available. ## Implementations diff --git a/packages/blockstore-fs/README.md b/packages/blockstore-fs/README.md index aa6a1bd2..61af9aeb 100644 --- a/packages/blockstore-fs/README.md +++ b/packages/blockstore-fs/README.md @@ -9,6 +9,21 @@ # About + + A Blockstore implementation that stores blocks in the local filesystem. ## Example diff --git a/packages/blockstore-idb/README.md b/packages/blockstore-idb/README.md index 15f347a4..906b5879 100644 --- a/packages/blockstore-idb/README.md +++ b/packages/blockstore-idb/README.md @@ -9,6 +9,21 @@ # About + + A Blockstore implementation for browsers that stores blocks in [IndexedDB](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API). ## Example diff --git a/packages/blockstore-level/README.md b/packages/blockstore-level/README.md index f2280dff..2c7b37fd 100644 --- a/packages/blockstore-level/README.md +++ b/packages/blockstore-level/README.md @@ -9,6 +9,21 @@ # About + + A Blockstore implementation that uses a flavour of [Level](https://leveljs.org/) as a backend. N.b. this is here largely for the sake of completeness, in node you should probably use FSDatastore, in browsers you should probably use IDBDatastore. diff --git a/packages/blockstore-s3/README.md b/packages/blockstore-s3/README.md index 6ce43e21..9e36a0e3 100644 --- a/packages/blockstore-s3/README.md +++ b/packages/blockstore-s3/README.md @@ -9,6 +9,21 @@ # About + + A Blockstore implementation that stores blocks on Amazon S3. ## Example - Quickstart diff --git a/packages/datastore-core/README.md b/packages/datastore-core/README.md index 611c3d05..e9dec9aa 100644 --- a/packages/datastore-core/README.md +++ b/packages/datastore-core/README.md @@ -9,6 +9,21 @@ # About + + Various Datastore implementations are available. ## Implementations diff --git a/packages/datastore-fs/README.md b/packages/datastore-fs/README.md index 1fae54c8..30a6c67a 100644 --- a/packages/datastore-fs/README.md +++ b/packages/datastore-fs/README.md @@ -9,6 +9,21 @@ # About + + A Datastore implementation with a file system backend. ## Example diff --git a/packages/datastore-idb/README.md b/packages/datastore-idb/README.md index 7098a0bb..ebbb5f33 100644 --- a/packages/datastore-idb/README.md +++ b/packages/datastore-idb/README.md @@ -9,6 +9,21 @@ # About + + A Datastore implementation for browsers that stores data in [IndexedDB](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API). ## Example diff --git a/packages/datastore-level/README.md b/packages/datastore-level/README.md index 5821a05f..07a6c85e 100644 --- a/packages/datastore-level/README.md +++ b/packages/datastore-level/README.md @@ -9,6 +9,21 @@ # About + + A Datastore implementation that uses a flavour of [Level](https://leveljs.org/) as a backend. This module is targetted at Node.js. It is possible to use it in a browser but you should probably use IDBDatastore instead. diff --git a/packages/datastore-s3/README.md b/packages/datastore-s3/README.md index edd5e80c..49493922 100644 --- a/packages/datastore-s3/README.md +++ b/packages/datastore-s3/README.md @@ -9,6 +9,21 @@ # About + + A Datastore implementation that stores data on Amazon S3. ## Example - Quickstart diff --git a/packages/interface-blockstore-tests/README.md b/packages/interface-blockstore-tests/README.md index b7e92df6..b636423b 100644 --- a/packages/interface-blockstore-tests/README.md +++ b/packages/interface-blockstore-tests/README.md @@ -9,6 +9,21 @@ # About + + A test suite that ensures a given implementation implements the Blockstore interface properly. ## Example diff --git a/packages/interface-blockstore/README.md b/packages/interface-blockstore/README.md index a42ac61e..cc0428ec 100644 --- a/packages/interface-blockstore/README.md +++ b/packages/interface-blockstore/README.md @@ -9,6 +9,21 @@ # About + + A Blockstore is a key/value database that lets use CIDs to store/retrieve binary blobs. It is used by IPFS to store/retrieve the block that a given CID resolves to. diff --git a/packages/interface-datastore-tests/README.md b/packages/interface-datastore-tests/README.md index 18773b28..6a82a0dc 100644 --- a/packages/interface-datastore-tests/README.md +++ b/packages/interface-datastore-tests/README.md @@ -9,6 +9,21 @@ # About + + A test suite that ensures a given implementation implements the Datastore interface properly. ## Example diff --git a/packages/interface-datastore/README.md b/packages/interface-datastore/README.md index b8ebf9ac..748222a1 100644 --- a/packages/interface-datastore/README.md +++ b/packages/interface-datastore/README.md @@ -9,6 +9,21 @@ # About + + A Datastore is a key/value database that lets store/retrieve binary blobs using namespaced Keys. It is used by IPFS to store/retrieve arbitrary metadata needed to run the node - DHT provider records, signed peer records, etc. diff --git a/packages/interface-store/README.md b/packages/interface-store/README.md index 8289e5b5..52fa8d03 100644 --- a/packages/interface-store/README.md +++ b/packages/interface-store/README.md @@ -9,6 +9,21 @@ # About + + An abstraction of the Datastore/Blockstore codebases. # Install