Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
BREAKING CHANGE: uses new interface-datastore interfaces
  • Loading branch information
achingbrain committed Jul 6, 2021
1 parent 5187775 commit 7e20056
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
},
"homepage": "https://github.com/ipfs/js-datastore-level#readme",
"dependencies": {
"datastore-core": "^4.0.0",
"interface-datastore": "^4.0.0",
"datastore-core": "^5.0.0",
"interface-datastore": "^5.1.1",
"it-filter": "^1.0.2",
"it-map": "^1.0.5",
"it-take": "^1.0.1",
Expand All @@ -54,6 +54,7 @@
"assert": "^2.0.0",
"buffer": "^6.0.3",
"cids": "^1.1.5",
"interface-datastore-tests": "^1.0.0",
"level-mem": "^5.0.1",
"rimraf": "^3.0.0",
"util": "^0.12.3"
Expand Down
4 changes: 2 additions & 2 deletions test/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const LevelStore = require('../src')
describe('LevelDatastore', () => {
describe('interface-datastore (leveljs)', () => {
// @ts-ignore
require('interface-datastore/src/tests')({
require('interface-datastore-tests')({
setup: () => new LevelStore('hello', { db: leveljs }),
teardown: () => new Promise((resolve, reject) => {
// @ts-ignore
Expand All @@ -24,7 +24,7 @@ describe('LevelDatastore', () => {

describe('interface-datastore (mount(leveljs, leveljs, leveljs))', () => {
// @ts-ignore
require('interface-datastore/src/tests')({
require('interface-datastore-tests')({
setup () {
return new MountDatastore([{
prefix: new Key('/a'),
Expand Down
2 changes: 1 addition & 1 deletion test/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe('LevelDatastore', () => {
;[levelmem, level].forEach(database => {
describe(`interface-datastore ${database.name}`, () => {
// @ts-ignore
require('interface-datastore/src/tests')({
require('interface-datastore-tests')({
setup: () => new LevelStore(utils.tmpdir(), { db: database }),
teardown () {}
})
Expand Down
2 changes: 1 addition & 1 deletion test/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const childProcess = require('child_process')
// @ts-ignore
const level = require('level')
// @ts-ignore
const tests = require('interface-datastore/src/tests')
const tests = require('interface-datastore-tests')

const LevelStore = require('../src')

Expand Down

0 comments on commit 7e20056

Please sign in to comment.