Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: replace fast-atomic-write with steno #285

Prev Previous commit
Next Next commit
deps: replace steno-patched with steno
SgtPooki committed Apr 19, 2024
commit 57048debcdd2efb771e77d806231dd9c22538aeb
4 changes: 2 additions & 2 deletions packages/blockstore-fs/package.json
Original file line number Diff line number Diff line change
@@ -76,14 +76,14 @@
"dep-check": "aegir dep-check"
},
"dependencies": {
"@sgtpooki/steno-patched": "^3.1.1",
"blockstore-core": "^4.0.0",
"interface-blockstore": "^5.0.0",
"interface-store": "^5.0.0",
"it-glob": "^2.0.6",
"it-map": "^3.0.5",
"it-parallel-batch": "^3.0.4",
"multiformats": "^13.0.1"
"multiformats": "^13.0.1",
"steno": "^4.0.2"
},
"devDependencies": {
"aegir": "^42.2.3",
2 changes: 1 addition & 1 deletion packages/blockstore-fs/src/index.ts
Original file line number Diff line number Diff line change
@@ -14,13 +14,13 @@

import fs from 'node:fs/promises'
import path from 'node:path'
import { Writer as StenoWriter } from '@sgtpooki/steno-patched'
import {
Errors
} from 'blockstore-core'
import glob from 'it-glob'
import map from 'it-map'
import parallelBatch from 'it-parallel-batch'
import { Writer as StenoWriter } from 'steno'
import { NextToLast, type ShardingStrategy } from './sharding.js'
import type { Blockstore, Pair } from 'interface-blockstore'
import type { AwaitIterable } from 'interface-store'
4 changes: 2 additions & 2 deletions packages/datastore-fs/package.json
Original file line number Diff line number Diff line change
@@ -55,13 +55,13 @@
"dep-check": "aegir dep-check"
},
"dependencies": {
"@sgtpooki/steno-patched": "^3.1.1",
"datastore-core": "^9.0.0",
"interface-datastore": "^8.0.0",
"interface-store": "^5.0.0",
"it-glob": "^2.0.6",
"it-map": "^3.0.5",
"it-parallel-batch": "^3.0.4"
"it-parallel-batch": "^3.0.4",
"steno": "^4.0.2"
},
"devDependencies": {
"@types/mkdirp": "^2.0.0",
2 changes: 1 addition & 1 deletion packages/datastore-fs/src/index.ts
Original file line number Diff line number Diff line change
@@ -14,7 +14,6 @@

import fs from 'node:fs/promises'
import path from 'node:path'
import { Writer as StenoWriter } from '@sgtpooki/steno-patched'
import {
BaseDatastore, Errors
} from 'datastore-core'
@@ -24,6 +23,7 @@ import {
import glob from 'it-glob'
import map from 'it-map'
import parallel from 'it-parallel-batch'
import { Writer as StenoWriter } from 'steno'
import type { AwaitIterable } from 'interface-store'

/**