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

Commit

Permalink
fix: remove node globals (#124)
Browse files Browse the repository at this point in the history
Also update borc.
  • Loading branch information
hugomrdias authored Mar 27, 2020
1 parent bc6ac54 commit 7acfeae
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
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

0 comments on commit 7acfeae

Please sign in to comment.