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 types
  • Loading branch information
achingbrain committed Jul 6, 2021
1 parent d22b53d commit be4fec6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,15 @@
"homepage": "https://github.com/ipfs/js-datastore-s3#readme",
"dependencies": {
"buffer": "^6.0.3",
"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"
},
"devDependencies": {
"aegir": "^33.0.0",
"assert": "^2.0.0",
"aws-sdk": "^2.579.0",
"chai": "^4.2.0",
"dirty-chai": "^2.0.1",
"interface-datastore-tests": "^1.0.0",
"stand-in": "^4.2.0",
"util": "^0.12.3"
},
Expand Down
6 changes: 2 additions & 4 deletions test/index.spec.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
/* eslint-env mocha */
'use strict'

const chai = require('chai')
chai.use(require('dirty-chai'))
const expect = chai.expect
const { expect } = require('aegir/utils/chai')

const { Buffer } = require('buffer')
const standin = require('stand-in')
Expand Down Expand Up @@ -202,7 +200,7 @@ describe('S3Datastore', () => {
})

describe('interface-datastore', () => {
require('interface-datastore/src/tests')({
require('interface-datastore-tests')({
setup () {
const s3 = new S3({
params: { Bucket: 'my-ipfs-bucket' }
Expand Down
4 changes: 1 addition & 3 deletions test/utils/s3-mock.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
'use strict'

const chai = require('chai')
chai.use(require('dirty-chai'))
const expect = chai.expect
const { expect } = require('aegir/utils/chai')
const standin = require('stand-in')

const { Buffer } = require('buffer')
Expand Down

0 comments on commit be4fec6

Please sign in to comment.