Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 77 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"eslint": "^10.7.0",
"eslint": "^10.8.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import-x": "^4.17.1",
"eslint-plugin-unicorn": "^71.1.0",
"eslint-plugin-unicorn": "^72.0.0",
"globals": "^17.7.0",
"prettier": "^3.9.5"
}
Expand Down
2 changes: 1 addition & 1 deletion update/usa.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ for (const code of codes) {

const agg = {};
for (const line of data.split('\n')) {
const [rawCountry, zip, , , rawState] = line.split('\t'); // eslint-disable-line unicorn/no-unreadable-array-destructuring
const [rawCountry, zip, , , rawState] = line.split('\t', 5); // eslint-disable-line unicorn/no-unreadable-array-destructuring
const state = rawCountry === 'US' ? rawState : rawCountry;
if (state) {
const region = `US-${state}`;
Expand Down