Skip to content

Commit

Permalink
Upgrade standard devDependency from ^12.0.1 to ^14.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
vweevers committed Sep 22, 2019
1 parent deedcd9 commit d50de71
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion benchmarks/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict'

exports['put'] = require('./put')
exports.put = require('./put')
exports['batch-put'] = require('./batch-put')
exports['self-distribution'] = require('./self-distribution')
8 changes: 4 additions & 4 deletions lib/meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function id (meta, peers, invert, opts) {
const res = profile(meta, peers, invert)
if (!res) return null

for (let k of ['context', 'platform', 'executable', 'harness']) {
for (const k of ['context', 'platform', 'executable', 'harness']) {
if (res[k] && meta[k].name) {
if (invert && !res[k].name) {
res[k].committish = null
Expand All @@ -82,7 +82,7 @@ function id (meta, peers, invert, opts) {
return parts.filter(Boolean).join(' ') || null

function visit (node, path, opts) {
for (let k of sortKeys(Object.keys(node), ORDER)) {
for (const k of sortKeys(Object.keys(node), ORDER)) {
if (opts && opts.include && opts.include.indexOf(k) < 0) continue
if (opts && opts.exclude && opts.exclude.indexOf(k) >= 0) continue
if (k === 'seed') continue
Expand Down Expand Up @@ -115,7 +115,7 @@ function profile (obj, peers, invert) {
if (!peers.length) return
let acc

for (let k of sortKeys(Object.keys(obj), ORDER)) {
for (const k of sortKeys(Object.keys(obj), ORDER)) {
if (k[0] === '_') continue

const v = obj[k]
Expand All @@ -130,7 +130,7 @@ function profile (obj, peers, invert) {
} else {
let different = invert

for (let peer of peers) {
for (const peer of peers) {
if (peer !== obj && !deepEqual(peer && peer[k], v)) {
different = !invert
break
Expand Down
4 changes: 2 additions & 2 deletions lib/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ module.exports = function (benchmark, targetId, options) {
Object.setPrototypeOf(target.prototype, from(cwd, proto).prototype)
}

for (let k of ['db', 'benchmark']) {
for (const k of ['db', 'benchmark']) {
const opts = options[k] = options[k] || {}

// Parse e.g. "--cacheSize 8mb"
for (let k of byteOptions) {
for (const k of byteOptions) {
if (opts[k] != null) opts[k] = bytes.parse(opts[k])
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"hallmark": "^2.0.0",
"level-community": "^3.0.0",
"nyc": "^14.1.1",
"standard": "^12.0.1",
"standard": "^14.3.1",
"tape": "^4.10.1"
},
"hallmark": {
Expand Down

0 comments on commit d50de71

Please sign in to comment.