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

@math.gl/polygon

Package Overview
Dependencies
Maintainers
0
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@math.gl/polygon - npm Package Compare versions

Comparing version 4.1.0-alpha.1 to 4.1.0-alpha.2

3

dist/cut-by-grid.js

@@ -0,1 +1,4 @@

// math.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors
/* eslint-disable max-statements, max-depth, complexity, no-unused-expressions */

@@ -2,0 +5,0 @@ import { bitCode, intersect } from "./lineclip.js";

@@ -0,1 +1,4 @@

// math.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors
import { cutPolylineByGrid, cutPolygonByGrid } from "./cut-by-grid.js";

@@ -2,0 +5,0 @@ import { getPointAtIndex, push } from "./utils.js";

26

dist/earcut.js

@@ -1,24 +0,4 @@

/*
Adapted from https://github.com/mapbox/earcut to allow passing in
of outline and hole areas using the `areas` parameter. As the
areas are calcuted as part of classifying the polygon rings
we can pass them in again to avoid recomputation
ISC License
Copyright (c) 2016, Mapbox
Permission to use, copy, modify, and/or distribute this software for any purpose
with or without fee is hereby granted, provided that the above copyright notice
and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
THIS SOFTWARE.
*/
// math.gl
// SPDX-License-Identifier: MIT and ISC
// Copyright (c) vis.gl contributors
import { getPolygonSignedArea, DimIndex } from "./polygon-utils.js";

@@ -25,0 +5,0 @@ /**

@@ -0,1 +1,4 @@

// math.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors
export { Polygon } from "./polygon.js";

@@ -2,0 +5,0 @@ export { getPolygonSignedArea, getPolygonWindingDirection, forEachSegmentInPolygon, modifyPolygonWindingDirection, WINDING } from "./polygon-utils.js";

@@ -0,1 +1,4 @@

// math.gl
// SPDX-License-Identifier: MIT and ISC
// Copyright (c) vis.gl contributors
/*

@@ -2,0 +5,0 @@ Adapted from https://github.com/mapbox/lineclip to work with flat arrays

@@ -0,1 +1,4 @@

// math.gl
// SPDX-License-Identifier: MIT and ISC
// Copyright (c) vis.gl contributors
/* eslint-disable max-statements, max-depth, complexity, no-unused-expressions */

@@ -2,0 +5,0 @@ import { equals } from '@math.gl/core';

@@ -0,1 +1,4 @@

// math.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors
/* eslint-disable no-undef, no-console */

@@ -2,0 +5,0 @@ import { isArray } from '@math.gl/core';

@@ -0,1 +1,4 @@

// math.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors
export function push(target, source) {

@@ -2,0 +5,0 @@ const size = source.length;

@@ -9,3 +9,3 @@ {

},
"version": "4.1.0-alpha.1",
"version": "4.1.0-alpha.2",
"keywords": [

@@ -37,5 +37,5 @@ "webgl",

"dependencies": {
"@math.gl/core": "4.1.0-alpha.1"
"@math.gl/core": "4.1.0-alpha.2"
},
"gitHead": "1a4dbbc6ab46271459d610411a7c644e45135c2c"
"gitHead": "59eb434870991d06aecff5b1dee38078af0ca447"
}

@@ -0,1 +1,5 @@

// math.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors
/* eslint-disable max-statements, max-depth, complexity, no-unused-expressions */

@@ -2,0 +6,0 @@ import {bitCode, intersect, BoundingBox} from './lineclip';

@@ -0,1 +1,5 @@

// math.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors
import {cutPolylineByGrid, cutPolygonByGrid} from './cut-by-grid';

@@ -2,0 +6,0 @@ import {getPointAtIndex, push} from './utils';

@@ -0,1 +1,5 @@

// math.gl
// SPDX-License-Identifier: MIT and ISC
// Copyright (c) vis.gl contributors
/*

@@ -2,0 +6,0 @@ Adapted from https://github.com/mapbox/earcut to allow passing in

@@ -0,1 +1,5 @@

// math.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors
export {Polygon} from './polygon';

@@ -2,0 +6,0 @@

@@ -0,1 +1,5 @@

// math.gl
// SPDX-License-Identifier: MIT and ISC
// Copyright (c) vis.gl contributors
/*

@@ -2,0 +6,0 @@ Adapted from https://github.com/mapbox/lineclip to work with flat arrays

@@ -0,1 +1,5 @@

// math.gl
// SPDX-License-Identifier: MIT and ISC
// Copyright (c) vis.gl contributors
/* eslint-disable max-statements, max-depth, complexity, no-unused-expressions */

@@ -2,0 +6,0 @@

@@ -0,1 +1,5 @@

// math.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors
/* eslint-disable no-undef, no-console */

@@ -2,0 +6,0 @@ import {isArray} from '@math.gl/core';

@@ -0,1 +1,5 @@

// math.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors
import type {NumericArray} from '@math.gl/core';

@@ -2,0 +6,0 @@

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