Skip to content
This repository was archived by the owner on Apr 29, 2020. It is now read-only.

Commit f41c646

Browse files
Alan Shawhugomrdias
Alan Shaw
authored andcommitted
chore: update hapi deps (#15)
They moved to `@hapi` namespace and now spew warnings on npm install. refs ipfs/js-ipfs#2225 License: MIT Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
1 parent 2b0f86c commit f41c646

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"release-major": "aegir release --type major --target node"
2727
},
2828
"dependencies": {
29-
"content": "^4.0.6",
29+
"@hapi/content": "^4.1.0",
3030
"dicer": "~0.3.0"
3131
},
3232
"devDependencies": {

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict'
22

3-
const content = require('content')
3+
const content = require('@hapi/content')
44
const Parser = require('./parser')
55

66
module.exports = {

src/parser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict'
22

33
const Dicer = require('dicer')
4-
const Content = require('content')
4+
const Content = require('@hapi/content')
55
const stream = require('stream')
66
const util = require('util')
77
const Transform = stream.Transform

0 commit comments

Comments
 (0)