Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

fix: remove node globals #124

Merged
merged 2 commits into from
Mar 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
},
"homepage": "https://github.com/ipld/js-ipld-dag-cbor",
"dependencies": {
"borc": "^2.1.0",
"borc": "^2.1.2",
"buffer": "^5.5.0",
"cids": "~0.8.0",
"is-circular": "^1.0.2",
"multicodec": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/resolver.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'

const CID = require('cids')

const { Buffer } = require('buffer')
const util = require('./util')

/**
Expand Down
1 change: 1 addition & 0 deletions src/util.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'use strict'

const cbor = require('borc')
const { Buffer } = require('buffer')
const multicodec = require('multicodec')
const multihashing = require('multihashing-async')
const CID = require('cids')
Expand Down
1 change: 1 addition & 0 deletions test/util.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* eslint-env mocha */
'use strict'

const { Buffer } = require('buffer')
const chai = require('chai')
const dirtyChai = require('dirty-chai')
const expect = chai.expect
Expand Down