Skip to content

Commit 00cb8a9

Browse files
Bump standard from 16.0.4 to 17.1.0 (#83)
* Bump standard from 16.0.4 to 17.1.0 Bumps [standard](https://github.com/standard/standard) from 16.0.4 to 17.1.0. - [Release notes](https://github.com/standard/standard/releases) - [Changelog](https://github.com/standard/standard/blob/master/CHANGELOG.md) - [Commits](standard/standard@v16.0.4...v17.1.0) --- updated-dependencies: - dependency-name: standard dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Fix linting errors --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 83a74fc commit 00cb8a9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

index.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ const legacyPcBlocksByIdmeta = Object.entries(mcData.legacy.pc.blocks).reduce((o
1313
const s = name.split('[')[1]?.replace(']', '')
1414
obj[idmeta] = s
1515
? Object.fromEntries(s.split(',').map(s => {
16-
let [k, v] = s.split('=')
17-
if (!isNaN(parseInt(v))) v = parseInt(v)
18-
return [k, v]
19-
}))
16+
let [k, v] = s.split('=')
17+
if (!isNaN(parseInt(v))) v = parseInt(v)
18+
return [k, v]
19+
}))
2020
: {}
2121
return obj // array of { '255:0': { mode: 'save' }, }
2222
}, {})

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"minecraft-wrap": "^1.4.0",
2828
"mocha": "^10.0.0",
2929
"prismarine-block": "file:",
30-
"standard": "^16.0.4"
30+
"standard": "^17.1.0"
3131
},
3232
"keywords": [
3333
"prismarine",

0 commit comments

Comments
 (0)