Skip to content

Commit d0f301b

Browse files
deps: bump aegir from 38.1.8 to 39.0.9 (#225)
* deps: bump aegir from 38.1.8 to 39.0.9 Bumps [aegir](https://github.com/ipfs/aegir) from 38.1.8 to 39.0.9. - [Release notes](https://github.com/ipfs/aegir/releases) - [Changelog](https://github.com/ipfs/aegir/blob/master/CHANGELOG.md) - [Commits](ipfs/aegir@v38.1.8...v39.0.9) --- updated-dependencies: - dependency-name: aegir dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * chore: fix deps and linting * chore: linting * chore: errors were moved --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: achingbrain <[email protected]>
1 parent 03c8959 commit d0f301b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+192
-193
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
"dep-check": "aegir run dep-check",
3535
"release": "npm run docs:no-publish && aegir run release && npm run docs"
3636
},
37-
"dependencies": {
38-
"aegir": "^38.1.0"
37+
"devDependencies": {
38+
"aegir": "^39.0.9"
3939
},
4040
"workspaces": [
4141
"packages/*"

packages/blockstore-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
"multiformats": "^11.0.2"
178178
},
179179
"devDependencies": {
180-
"aegir": "^38.1.7",
180+
"aegir": "^39.0.9",
181181
"interface-blockstore-tests": "^6.0.0"
182182
},
183183
"typedoc": {

packages/blockstore-core/src/memory.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import { BaseBlockstore } from './base.js'
21
import { base32 } from 'multiformats/bases/base32'
3-
import * as raw from 'multiformats/codecs/raw'
42
import { CID } from 'multiformats/cid'
3+
import * as raw from 'multiformats/codecs/raw'
54
import * as Digest from 'multiformats/hashes/digest'
5+
import { BaseBlockstore } from './base.js'
66
import * as Errors from './errors.js'
7-
import type { Await, AwaitIterable } from 'interface-store'
87
import type { Pair } from 'interface-blockstore'
8+
import type { Await, AwaitIterable } from 'interface-store'
99

1010
export class MemoryBlockstore extends BaseBlockstore {
1111
private readonly data: Map<string, Uint8Array>

packages/blockstore-fs/benchmarks/encoding/src/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import { Bench } from 'tinybench'
2-
import { CID } from 'multiformats/cid'
3-
import { base8 } from 'multiformats/bases/base8'
41
import { base10 } from 'multiformats/bases/base10'
52
import { base16upper } from 'multiformats/bases/base16'
3+
import { base256emoji } from 'multiformats/bases/base256emoji'
64
import { base32, base32upper, base32hexupper, base32z } from 'multiformats/bases/base32'
75
import { base36, base36upper } from 'multiformats/bases/base36'
8-
import { base256emoji } from 'multiformats/bases/base256emoji'
6+
import { base8 } from 'multiformats/bases/base8'
7+
import { CID } from 'multiformats/cid'
8+
import { Bench } from 'tinybench'
99

1010
const RESULT_PRECISION = 2
1111

packages/blockstore-fs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
"multiformats": "^11.0.2"
174174
},
175175
"devDependencies": {
176-
"aegir": "^38.1.7",
176+
"aegir": "^39.0.9",
177177
"interface-blockstore-tests": "^6.0.0"
178178
},
179179
"typedoc": {

packages/blockstore-fs/src/index.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
import fs from 'node:fs/promises'
2-
import glob from 'it-glob'
32
import path from 'node:path'
43
import { promisify } from 'node:util'
54
import {
65
Errors
76
} from 'blockstore-core'
8-
import map from 'it-map'
9-
import parallelBatch from 'it-parallel-batch'
107
// @ts-expect-error no types
118
import fwa from 'fast-write-atomic'
12-
import type { CID } from 'multiformats/cid'
9+
import glob from 'it-glob'
10+
import map from 'it-map'
11+
import parallelBatch from 'it-parallel-batch'
12+
import { NextToLast, type ShardingStrategy } from './sharding.js'
1313
import type { Blockstore, Pair } from 'interface-blockstore'
1414
import type { AwaitIterable } from 'interface-store'
15-
import { NextToLast, ShardingStrategy } from './sharding.js'
15+
import type { CID } from 'multiformats/cid'
1616

1717
const writeAtomic = promisify(fwa)
1818

@@ -110,8 +110,6 @@ export class FsBlockstore implements Blockstore {
110110
if (this.errorIfExists) {
111111
throw Errors.openFailedError(new Error(`Blockstore directory: ${this.path} already exists`))
112112
}
113-
114-
return
115113
} catch (err: any) {
116114
if (err.code === 'ENOENT') {
117115
if (this.createIfMissing) {

packages/blockstore-fs/src/sharding.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import path from 'node:path'
2-
import { CID } from 'multiformats/cid'
32
import { base32upper } from 'multiformats/bases/base32'
3+
import { CID } from 'multiformats/cid'
44
import type { MultibaseCodec } from 'multiformats/bases/interface'
55

66
export interface ShardingStrategy {

packages/blockstore-fs/test/index.spec.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/* eslint-env mocha */
2-
import { expect } from 'aegir/chai'
3-
import path from 'node:path'
4-
import os from 'node:os'
52
import fs from 'node:fs/promises'
6-
import { CID } from 'multiformats/cid'
3+
import os from 'node:os'
4+
import path from 'node:path'
5+
import { expect } from 'aegir/chai'
76
import { interfaceBlockstoreTests } from 'interface-blockstore-tests'
7+
import { base256emoji } from 'multiformats/bases/base256emoji'
8+
import { CID } from 'multiformats/cid'
89
import { FsBlockstore } from '../src/index.js'
910
import { FlatDirectory, NextToLast } from '../src/sharding.js'
10-
import { base256emoji } from 'multiformats/bases/base256emoji'
1111

1212
const utf8Encoder = new TextEncoder()
1313

packages/blockstore-fs/test/sharding.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/* eslint-env mocha */
22
import { expect } from 'aegir/chai'
3+
import { base32upper } from 'multiformats/bases/base32'
34
import { CID } from 'multiformats/cid'
45
import { FlatDirectory, NextToLast } from '../src/sharding.js'
5-
import { base32upper } from 'multiformats/bases/base32'
66

77
describe('flat', () => {
88
it('should encode', () => {

packages/blockstore-idb/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
"multiformats": "^11.0.2"
150150
},
151151
"devDependencies": {
152-
"aegir": "^38.1.7",
152+
"aegir": "^39.0.9",
153153
"interface-blockstore-tests": "^6.0.0"
154154
},
155155
"typedoc": {

0 commit comments

Comments
 (0)