Skip to content
This repository was archived by the owner on May 4, 2024. It is now read-only.

Commit f3e1998

Browse files
committedMay 24, 2018
standard@10.0.2
1 parent f60cf06 commit f3e1998

6 files changed

+719
-449
lines changed
 

‎package-lock.json

+717-443
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"devDependencies": {
3737
"readable-stream": "^2.0.6",
3838
"require-inject": "^1.4.0",
39-
"standard": "^7.1.2",
39+
"standard": "^10.0.2",
4040
"tap": "^10.3.2",
4141
"through2": "^2.0.0"
4242
},

‎progress-bar.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function repeat (string, width) {
2727
result += string
2828
}
2929
n = Math.floor(n / 2)
30-
/*eslint no-self-assign: 0*/
30+
/* eslint no-self-assign: 0 */
3131
string += string
3232
} while (n && stringWidth(result) < width)
3333

‎render-template.js

-2
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,11 @@ function prepareItems (width, template, values) {
8282

8383
var output = template.map(cloneAndObjectify).filter(function (item) { return item != null })
8484

85-
var outputLength = 0
8685
var remainingSpace = width
8786
var variableCount = output.length
8887

8988
function consumeSpace (length) {
9089
if (length > remainingSpace) length = remainingSpace
91-
outputLength += length
9290
remainingSpace -= length
9391
}
9492

‎template-item.js

-1
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,3 @@ TemplateItem.prototype.getMinLength = function () {
7070
if (this.minLength == null) return null
7171
return this.minLength + this.padLeft + this.padRight
7272
}
73-

‎theme-set.js

-1
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,3 @@ ThemeSetProto.newThemeSet = function () {
112112
defaults: JSON.parse(JSON.stringify(this.defaults || {}))
113113
})
114114
}
115-

0 commit comments

Comments
 (0)
This repository has been archived.