Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@loaders.gl/gis

Package Overview
Dependencies
Maintainers
9
Versions
259
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loaders.gl/gis - npm Package Compare versions

Comparing version 4.0.0-beta.5 to 4.0.0-beta.6

1

dist/lib/flat-geojson-to-binary.js

@@ -223,2 +223,3 @@ import { earcut } from '@math.gl/polygon';

const binaryFeatures = {
shape: 'binary-feature-collection',
points: {

@@ -225,0 +226,0 @@ ...points,

8

package.json
{
"name": "@loaders.gl/gis",
"description": "Helpers for GIS category data",
"version": "4.0.0-beta.5",
"version": "4.0.0-beta.6",
"license": "MIT",

@@ -35,4 +35,4 @@ "type": "module",

"dependencies": {
"@loaders.gl/loader-utils": "4.0.0-beta.5",
"@loaders.gl/schema": "4.0.0-beta.5",
"@loaders.gl/loader-utils": "4.0.0-beta.6",
"@loaders.gl/schema": "4.0.0-beta.6",
"@mapbox/vector-tile": "^1.3.1",

@@ -45,3 +45,3 @@ "@math.gl/polygon": "^4.0.0",

},
"gitHead": "a6f5a0d1a316cc22396e5a4d480c14329d1ef146"
"gitHead": "2840f605b7a551e2ffef5f960231d989a0414c50"
}

@@ -53,19 +53,2 @@ // loaders.gl, MIT license

/** @deprecated use `binaryToGeojson` or `binaryToGeometry` instead *
export function binaryToGeoJson(
data: BinaryGeometry | BinaryFeatureCollection,
type?: BinaryGeometryType,
format: 'feature' | 'geometry' = 'feature'
): Geometry | Feature[] {
switch (format) {
case 'feature':
return parseFeatures(data as BinaryFeatureCollection, type);
case 'geometry':
return binaryToGeometry(data as any);
default:
throw new Error(format);
}
}
*/
/**

@@ -72,0 +55,0 @@ * Return a single feature from a binary geometry representation as GeoJSON

@@ -489,2 +489,3 @@ /* eslint-disable indent */

const binaryFeatures: BinaryFeatureCollection = {
shape: 'binary-feature-collection',
points: {

@@ -491,0 +492,0 @@ ...points,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc