Skip to content

Commit

Permalink
Update dev-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jan 19, 2021
1 parent 9bf2466 commit 7378972
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ function onclose() {
yauzl.open('archive.zip', {lazyEntries: true}, onopen)
}

function onopen(err, archive) {
bail(err)
function onopen(error, archive) {
bail(error)

read()

Expand All @@ -67,8 +67,8 @@ function onopen(err, archive) {
archive.openReadStream(entry, onreadstream)
}

function onreadstream(err, rs) {
bail(err)
function onreadstream(error, rs) {
bail(error)
rs.pipe(concat(onconcat)).on('error', bail)
rs.on('end', read)
}
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@
"concat-stream": "^2.0.0",
"d3-dsv": "^2.0.0",
"prettier": "^2.0.0",
"remark-cli": "^9.0.0-alpha.1",
"remark-cli": "^9.0.0",
"remark-preset-wooorm": "^8.0.0",
"tape": "^5.0.0",
"tinyify": "^3.0.0",
"xo": "^0.33.0",
"xo": "^0.37.0",
"yauzl": "^2.0.0"
},
"scripts": {
"generate": "node build",
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
"build-bundle": "browserify index.json -s iso6393 -o iso-639-3.js",
"build-mangle": "browserify index.json -s iso6393 -p tinyify -o iso-639-3.min.js",
"build-mangle": "browserify index.json -s iso6393 -o iso-639-3.min.js -p tinyify",
"build": "npm run build-bundle && npm run build-mangle",
"test-api": "node test",
"test": "npm run format && npm run build && npm run test-api"
Expand All @@ -65,7 +65,7 @@
"prettier": true,
"esnext": false,
"rules": {
"unicorn/no-fn-reference-in-iterator": "off"
"unicorn/no-array-callback-reference": "off"
},
"ignores": [
"iso-639-3.js"
Expand Down

0 comments on commit 7378972

Please sign in to comment.