Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/it-glob-3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain authored Sep 12, 2024
2 parents 909cc0c + fb1249a commit 5888da4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
"@types/readable-stream": "^4.0.11",
"@types/sinon": "^17.0.3",
"@web-std/file": "^3.0.3",
"aegir": "^42.2.5",
"aegir": "^44.0.1",
"blockstore-core": "^4.4.1",
"buffer": "^6.0.3",
"delay": "^6.0.0",
Expand All @@ -206,15 +206,15 @@
"it-pipe": "^3.0.1",
"it-tar": "^6.0.0",
"it-to-buffer": "^4.0.5",
"kubo": "^0.28.0",
"kubo": "^0.29.0",
"mock-ipfs-pinning-service": "^0.4.2",
"nock": "^13.2.9",
"p-defer": "^4.0.0",
"p-event": "^6.0.1",
"p-retry": "^6.2.0",
"pako": "^2.0.4",
"readable-stream": "^4.2.0",
"sinon": "^17.0.1"
"sinon": "^18.0.0"
},
"browser": {
"kubo": false,
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ export function create (options: string | Multiaddr | URL | Options = {}): KuboR
return createKuboRPCClient(options)
}

export { create as createKuboRPCClient }
export { CID } from 'multiformats/cid'
export { multiaddr } from '@multiformats/multiaddr'
export * from './lib/glob-source.js'
Expand Down
2 changes: 1 addition & 1 deletion src/lib/glob-source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export async function * globSource (cwd: string, pattern: string, options?: Glob
realpath: false,
absolute: true,
dot: Boolean(options.hidden),
follow: options.followSymlinks != null ? options.followSymlinks : true
follow: options.followSymlinks ?? true
})

for await (const p of glob(cwd, pattern, globOptions)) {
Expand Down
2 changes: 1 addition & 1 deletion test/utils/mock-pinning-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class PinningService {

async stop (): Promise<void> {
return new Promise<void>((resolve, reject) => {
this.server.close((err: any) => {
this.server.close((err?: Error | undefined) => {
if (err != null) {
reject(err)
} else {
Expand Down

0 comments on commit 5888da4

Please sign in to comment.