Skip to content
This repository was archived by the owner on Aug 10, 2026. It is now read-only.
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
2 changes: 1 addition & 1 deletion mise.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[tools]
node = "24"
node = "24.19.0"
11 changes: 10 additions & 1 deletion package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
},
"dependencies": {
"check-types": "~1.3.2",
"undici": "^6.0.0",
"waitress": ">=0.0.2"
},
"overrides": {
Expand Down
6 changes: 3 additions & 3 deletions test/integration/placeTextTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ describe('placeSearchText', function() {
var acceptable = result.status === 'OK' || result.status === 'ZERO_RESULTS';
assert.ok(acceptable, 'expected OK or ZERO_RESULTS, got ' + result.status);
});
it('should return a result within the continental US when results exist', function() {
it('should return a result on Earth when results exist', function() {
if (result.status !== 'OK' || !result.results || !result.results.length) return;
var loc = result.results[0].geometry.location;
assertWithinBounds(loc.lat, 25.0, 50.0, 'US result', 'lat');
assertWithinBounds(loc.lng, -125.0, -66.0, 'US result', 'lng');
assertWithinBounds(loc.lat, -90, 90, 'result', 'lat');
assertWithinBounds(loc.lng, -180, 180, 'result', 'lng');
})
});

Expand Down