Skip to content

Commit

Permalink
feat: js-ipfs 0.30
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias authored and Pedro Teixeira committed Jul 16, 2018
1 parent e1d1a11 commit 3ab02a1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 15 deletions.
21 changes: 10 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"main": "src/index.js",
"scripts": {
"lint": "aegir lint",
"test": "npm run lint && npm run test:node && npm run test:browser",
"test:node": "aegir test --target node",
"test:browser": "aegir test --target browser --dom"
"test": "npm run test -t node -t browser",
"test:node": "aegir test -t node",
"test:browser": "aegir test - browser"
},
"repository": {
"type": "git",
Expand All @@ -27,18 +27,17 @@
},
"homepage": "https://github.com/ipfs-shipyard/ipfs-pubsub-room#readme",
"dependencies": {
"hyperdiff": "^2.0.3",
"hyperdiff": "^2.0.5",
"lodash.clonedeep": "^4.5.0",
"pull-pushable": "^2.1.1",
"pull-stream": "^3.6.1",
"safe-buffer": "^5.1.1"
"pull-pushable": "^2.2.0",
"pull-stream": "^3.6.8"
},
"devDependencies": {
"async": "^2.5.0",
"chai": "^4.1.1",
"async": "^2.6.1",
"chai": "^4.1.2",
"dirty-chai": "^2.0.1",
"aegir": "^12.1.3",
"ipfs": "~0.29.1"
"aegir": "^15.0.0",
"ipfs": "~0.30.0"
},
"browser": {
"./test/utils/create-repo-node.js": "./test/utils/create-repo-browser.js"
Expand Down
1 change: 0 additions & 1 deletion src/direct-connection-handler.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
'use strict'

const pull = require('pull-stream')
const Buffer = require('safe-buffer').Buffer
const EventEmitter = require('events')

const emitter = new EventEmitter()
Expand Down
2 changes: 0 additions & 2 deletions src/encoding.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
'use strict'

const Buffer = require('safe-buffer').Buffer

module.exports = (_message) => {
let message = _message
if (!Buffer.isBuffer(message)) {
Expand Down
1 change: 0 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ const diff = require('hyperdiff')
const EventEmitter = require('events')
const timers = require('timers')
const clone = require('lodash.clonedeep')
const Buffer = require('safe-buffer').Buffer

const PROTOCOL = require('./protocol')
const Connection = require('./connection')
Expand Down

0 comments on commit 3ab02a1

Please sign in to comment.