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

Commit

Permalink
chore(package): update aegir to version 20.0.0
Browse files Browse the repository at this point in the history
The new version has stricter linting rules, hence fixing those
issues as well.
  • Loading branch information
greenkeeper[bot] authored and vmx committed Jul 16, 2019
1 parent 135ee35 commit e2ec84f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"multihashing-async": "~0.7.0"
},
"devDependencies": {
"aegir": "^19.0.3",
"aegir": "^20.0.0",
"chai": "^4.2.0",
"detect-node": "^2.0.4",
"dirty-chai": "^2.0.1",
Expand Down
2 changes: 1 addition & 1 deletion src/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ exports.configureDecoder = (options) => {
maxSize = defaultMaxSize
}

let decoderOptions = {
const decoderOptions = {
tags: tags,
size: currentSize
}
Expand Down
6 changes: 3 additions & 3 deletions test/util.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ describe('util', () => {

it('fuzz serialize and deserialize with garbage', () => {
for (let ii = 0; ii < 1000; ii++) {
let original = { in: garbage(100) }
let encoded = dagCBOR.util.serialize(original)
let decoded = dagCBOR.util.deserialize(encoded)
const original = { in: garbage(100) }
const encoded = dagCBOR.util.serialize(original)
const decoded = dagCBOR.util.deserialize(encoded)
expect(decoded).to.eql(original)
}
})
Expand Down

0 comments on commit e2ec84f

Please sign in to comment.