Skip to content

Commit d50de71

Browse files
committed
Upgrade standard devDependency from ^12.0.1 to ^14.3.1
1 parent deedcd9 commit d50de71

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

benchmarks/index.js

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

3-
exports['put'] = require('./put')
3+
exports.put = require('./put')
44
exports['batch-put'] = require('./batch-put')
55
exports['self-distribution'] = require('./self-distribution')

lib/meta.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function id (meta, peers, invert, opts) {
5858
const res = profile(meta, peers, invert)
5959
if (!res) return null
6060

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

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

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

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

133-
for (let peer of peers) {
133+
for (const peer of peers) {
134134
if (peer !== obj && !deepEqual(peer && peer[k], v)) {
135135
different = !invert
136136
break

lib/run.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ module.exports = function (benchmark, targetId, options) {
4949
Object.setPrototypeOf(target.prototype, from(cwd, proto).prototype)
5050
}
5151

52-
for (let k of ['db', 'benchmark']) {
52+
for (const k of ['db', 'benchmark']) {
5353
const opts = options[k] = options[k] || {}
5454

5555
// Parse e.g. "--cacheSize 8mb"
56-
for (let k of byteOptions) {
56+
for (const k of byteOptions) {
5757
if (opts[k] != null) opts[k] = bytes.parse(opts[k])
5858
}
5959
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"hallmark": "^2.0.0",
3434
"level-community": "^3.0.0",
3535
"nyc": "^14.1.1",
36-
"standard": "^12.0.1",
36+
"standard": "^14.3.1",
3737
"tape": "^4.10.1"
3838
},
3939
"hallmark": {

0 commit comments

Comments
 (0)