@crossbind/port-geos 2.0.0-beta.56 → 2.0.0-beta.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  export default {
2
- sha256: '3c20919cda9a505db07b5216baa980bacdaa0702da715b43f176fb07eff7e716', // geos-3.14.1.tar.bz2
2
+ sha256: 'd5e5192a686d065eaed082de14dd26244c5c8e02bff16b2c6cce3265f648e00e', // geos-3.15.0.tar.bz2
3
3
  getURL: (version) => `https://download.osgeo.org/geos/geos-${version}.tar.bz2`,
4
4
  // wasi-sdk 34 libc++ include hygiene; a no-op elsewhere - re-check on GEOS bumps.
5
5
  replaceList: [
package/mergeConfig.mjs CHANGED
@@ -8,6 +8,16 @@ export default (newConfig = {}) => ({
8
8
  type: 'cmake',
9
9
  bundle: false,
10
10
  libName: ['geos', 'geos_c'],
11
+ // GEOS C++ headers forward-declare the geometry classes their signatures use; bindings need them complete.
12
+ // These are the headers geos/geom.h includes: geos/geom.h itself adds `using namespace geos::geom` globally.
13
+ headerPrelude: [
14
+ 'geos/geom/Coordinate.h', 'geos/geom/CoordinateFilter.h', 'geos/geom/CoordinateSequence.h', 'geos/geom/Dimension.h',
15
+ 'geos/geom/Envelope.h', 'geos/geom/Geometry.h', 'geos/geom/GeometryCollection.h', 'geos/geom/GeometryComponentFilter.h',
16
+ 'geos/geom/GeometryFactory.h', 'geos/geom/GeometryFilter.h', 'geos/geom/LineString.h', 'geos/geom/LinearRing.h',
17
+ 'geos/geom/MultiLineString.h', 'geos/geom/MultiPoint.h', 'geos/geom/MultiPolygon.h', 'geos/geom/Point.h',
18
+ 'geos/geom/Polygon.h', 'geos/geom/PrecisionModel.h', 'geos/geom/LineSegment.h', 'geos/geom/IntersectionMatrix.h',
19
+ 'geos/geom/Location.h',
20
+ ],
11
21
  ...(newConfig.export || {}),
12
22
  },
13
23
  paths: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@crossbind/port-geos",
3
- "version": "2.0.0-beta.56",
4
- "nativeVersion": "3.14.1",
3
+ "version": "2.0.0-beta.60",
4
+ "nativeVersion": "3.15.0",
5
5
  "description": "This package provides the precompiled GEOS library, built using crossbind, for seamless integration into JavaScript, WebAssembly, and React Native projects. It supports advanced geometry operations, including spatial analysis and topological calculations, delivering high performance and cross-platform compatibility. Perfect for web, server-side, and mobile geospatial applications.",
6
6
  "homepage": "https://github.com/crossbind/crossbind/tree/main/ports/geos#readme",
7
7
  "repository": {