Skip to content

Bump geolib from 3.3.14 to 4.0.2 - #230

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/geolib-4.0.2
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/geolib-4.0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 11, 2026

Copy link
Copy Markdown
Contributor

Bumps geolib from 3.3.14 to 4.0.2.

Release notes

Sourced from geolib's releases.

v4.0.2

4.0.2 (2026-11-07)

Fixes

  • keep edges across the prime meridian intact in isPointInPolygon (#327) (1fd8e35), closes #326

v4.0.1

4.0.1 (2026-10-30)

Docs

v4.0.0

4.0.0 (2026-10-08)

⚠ BREAKING CHANGES

  • isPointInPolygon treats polygon edges that span more than 180 (but less than 360) degrees of longitude as crossing the antimeridian. Polygons that relied on such edges going the long way around need an additional vertex in between.
  • computeDestinationPoint uses earthRadius (6,378,137 meters) as its default radius, which moves results by about 0.1%. Pass 6371000 as the fourth argument to get the previous results.
  • getDistanceFromLine now rounds its result to the given accuracy (1 meter by default) and returns more precise values. Pass an accuracy of 0 to get the unrounded distance.
  • The geolib/es/* and geolib/lib/* deep imports are gone. Import named functions from the package root instead, e.g. import { getDistance } from 'geolib', which is fully tree-shakeable now. The browser build moved from lib/index.js to dist/geolib.iife.js and no longer supports AMD loaders. There is no default export: use import * as geolib from 'geolib' instead of import geolib from 'geolib'. The output targets ES2020, so very old browsers such as Internet Explorer are no longer supported, and the type definitions require TypeScript 4.7 or newer.

Features

  • add getIntersectionOfLines (2b761cb), closes #173
  • add isPointInBoundingBox (3268eb8), closes #273
  • export the TypeScript types from the package entry (9d398d5)
  • keep the type of the points in orderByDistance and findNearest (53d4d8a), closes #198
  • return the unrounded distance for an accuracy of 0 (0d66b24), closes #306

Fixes

  • compare the unrounded distance in isPointNearLine (33d5e69)

... (truncated)

Changelog

Sourced from geolib's changelog.

4.0.2 (2026-11-07)

Fixes

  • keep edges across the prime meridian intact in isPointInPolygon (#327) (1fd8e35), closes #326

4.0.1 (2026-10-30)

Docs

4.0.0 (2026-10-08)

⚠ BREAKING CHANGES

  • isPointInPolygon treats polygon edges that span more than 180 (but less than 360) degrees of longitude as crossing the antimeridian. Polygons that relied on such edges going the long way around need an additional vertex in between.
  • computeDestinationPoint uses earthRadius (6,378,137 meters) as its default radius, which moves results by about 0.1%. Pass 6371000 as the fourth argument to get the previous results.
  • getDistanceFromLine now rounds its result to the given accuracy (1 meter by default) and returns more precise values. Pass an accuracy of 0 to get the unrounded distance.
  • The geolib/es/* and geolib/lib/* deep imports are gone. Import named functions from the package root instead, e.g. import { getDistance } from 'geolib', which is fully tree-shakeable now. The browser build moved from lib/index.js to dist/geolib.iife.js and no longer supports AMD loaders. There is no default export: use import * as geolib from 'geolib' instead of import geolib from 'geolib'. The output targets ES2020, so very old browsers such as Internet Explorer are no longer supported, and the type definitions require TypeScript 4.7 or newer.

Features

  • add getIntersectionOfLines (2b761cb), closes #173
  • add isPointInBoundingBox (3268eb8), closes #273
  • export the TypeScript types from the package entry (9d398d5)
  • keep the type of the points in orderByDistance and findNearest (53d4d8a), closes #198
  • return the unrounded distance for an accuracy of 0 (0d66b24), closes #306

Fixes

  • compare the unrounded distance in isPointNearLine (33d5e69)
  • compare the unrounded distance in isPointWithinRadius (dcfbb67)
  • default convertArea to square meters (77e336b)
  • make isPointInLine precise for long and short lines (e5d5a63), closes #237 #237

... (truncated)

Commits
  • d77a2e7 release: 4.0.2 - 2026-11-07T19:15:32.910Z [skip ci]
  • 1fd8e35 fix: keep edges across the prime meridian intact in isPointInPolygon (#327)
  • f7418f4 release: 4.0.1 - 2026-10-30T04:01:02.128Z [skip ci]
  • 033a50c docs: fix and complete the README (#325)
  • 497a6e2 build(deps): refresh the lockfile (#324)
  • a7391cd build(deps): bump postcss-selector-parser from 7.1.1 to 7.1.6 (#319)
  • 1135aeb build(deps): bump ip-address from 10.1.0 to 10.7.3 (#320)
  • ce5bf5a build(deps): bump handlebars from 4.7.9 to 4.7.10 (#321)
  • 143a749 release: 4.0.0 - 2026-10-08T02:10:08.162Z [skip ci]
  • 559a800 Merge pull request #318 from manuelbieh/release/v4
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [geolib](https://github.com/manuelbieh/geolib) from 3.3.14 to 4.0.2.
- [Release notes](https://github.com/manuelbieh/geolib/releases)
- [Changelog](https://github.com/manuelbieh/geolib/blob/master/CHANGELOG.md)
- [Commits](manuelbieh/geolib@v3.3.14...v4.0.2)

---
updated-dependencies:
- dependency-name: geolib
  dependency-version: 4.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 11, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Roadmap Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

0 participants