Skip to content

Commit

Permalink
ncu -u && yarn && yarn prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
mceachen committed Aug 10, 2023
1 parent 8adfb6c commit 58a5728
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions pack.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ function tile(candidates, etc_tzid, min_lat, min_lon, max_lat, max_lon, depth) {
min_lat,
min_lon,
max_lat,
max_lon
max_lon,
);
if (overlap < EPS) {
continue;
Expand Down Expand Up @@ -377,7 +377,7 @@ function tile(candidates, etc_tzid, min_lat, min_lon, max_lat, max_lon, depth) {
min_lon,
max_lat,
mid_lon,
child_depth
child_depth,
),
tile(
subset_candidates,
Expand All @@ -386,7 +386,7 @@ function tile(candidates, etc_tzid, min_lat, min_lon, max_lat, max_lon, depth) {
mid_lon,
max_lat,
max_lon,
child_depth
child_depth,
),
tile(
subset_candidates,
Expand All @@ -395,7 +395,7 @@ function tile(candidates, etc_tzid, min_lat, min_lon, max_lat, max_lon, depth) {
min_lon,
mid_lat,
mid_lon,
child_depth
child_depth,
),
tile(
subset_candidates,
Expand All @@ -404,7 +404,7 @@ function tile(candidates, etc_tzid, min_lat, min_lon, max_lat, max_lon, depth) {
mid_lon,
mid_lat,
max_lon,
child_depth
child_depth,
),
];

Expand Down Expand Up @@ -462,7 +462,7 @@ for (let row = 0; row < ROWS; row++) {
min_lon,
max_lat,
max_lon,
1
1,
);
}
}
Expand Down Expand Up @@ -532,5 +532,5 @@ console.log(
fs
.readFileSync("tz_template.js", "utf8")
.replace(/__TZDATA__/, () => JSON.stringify(tz_data))
.replace(/__TZLIST__/, () => JSON.stringify(tz_list))
.replace(/__TZLIST__/, () => JSON.stringify(tz_list)),
);
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"devDependencies": {
"geo-tz": "^7.0.7",
"inhabited": "^2.0.3",
"luxon": "^3.3.0",
"luxon": "^3.4.0",
"mocha": "^10.2.0",
"prettier": "^2.8.8",
"prettier": "^3.0.1",
"uglify-js": "^3.17.4"
},
"keywords": [
Expand Down
12 changes: 6 additions & 6 deletions test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
describe("tzlookup", function () {
this.timeout(10_000) // windows GHA is slow
"use strict";
this.timeout(10_000); // windows GHA is slow
("use strict");
var tz;
if (typeof tzlookup !== "undefined") {
tz = tzlookup;
Expand Down Expand Up @@ -28,10 +28,10 @@ describe("tzlookup", function () {

if (actual !== expected) {
throw new Error(
'expected "' + actual + '" to equal "' + expected + '"'
'expected "' + actual + '" to equal "' + expected + '"',
);
}
}
},
);

if (globalThis.window == null) {
Expand All @@ -46,10 +46,10 @@ describe("tzlookup", function () {
expectedGeoTz +
'" but geo-tz says "' +
actual +
'"'
'"',
);
}
}
},
);
}
}
Expand Down

0 comments on commit 58a5728

Please sign in to comment.