New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@evergis/sgis

Package Overview
Dependencies
Maintainers
4
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@evergis/sgis - npm Package Compare versions

Comparing version 0.5.0-alpha.32 to 0.5.0-alpha.33

3

dist/geotools.d.ts

@@ -95,5 +95,6 @@ import { IPoint } from "./Point";

* @param {sGis.feature.Polygon|Position[][]} polygon - polygon feature or coordinates
* @param {boolean} tolerateSelfIntersection - skip check for self intersection
* @returns {Boolean}
*/
export declare const isPolygonValid: (polygon: Coordinates[][] | Poly) => boolean;
export declare const isPolygonValid: (polygon: Coordinates[][] | Poly, tolerateSelfIntersection?: boolean) => boolean;
export declare type TransformationMatrix = [

@@ -100,0 +101,0 @@ [

@@ -63,4 +63,4 @@ import { PolyControl } from "./controls/PolyControl";

export { Control } from "./controls/Control";
export declare const version = "0.5.0-alpha.32";
export declare const releaseDate = "26.10.2022";
export declare const version = "0.5.0-alpha.33";
export declare const releaseDate = "01.11.2022";
export declare const controls: {

@@ -67,0 +67,0 @@ Circle: typeof Circle;

@@ -95,5 +95,6 @@ import { IPoint } from "./Point";

* @param {sGis.feature.Polygon|Position[][]} polygon - polygon feature or coordinates
* @param {boolean} tolerateSelfIntersection - skip check for self intersection
* @returns {Boolean}
*/
export declare const isPolygonValid: (polygon: Coordinates[][] | Poly) => boolean;
export declare const isPolygonValid: (polygon: Coordinates[][] | Poly, tolerateSelfIntersection?: boolean) => boolean;
export declare type TransformationMatrix = [

@@ -100,0 +101,0 @@ [

@@ -235,5 +235,6 @@ import { Point } from "./Point";

* @param {sGis.feature.Polygon|Position[][]} polygon - polygon feature or coordinates
* @param {boolean} tolerateSelfIntersection - skip check for self intersection
* @returns {Boolean}
*/
export const isPolygonValid = function (polygon) {
export const isPolygonValid = function (polygon, tolerateSelfIntersection) {
let coordinates = polygon.rings ? polygon.rings : polygon;

@@ -250,3 +251,3 @@ if (coordinates.length === 0)

return false;
if (hasIntersection(coordinates, [p1, p2], [ring, i]))
if (!tolerateSelfIntersection && hasIntersection(coordinates, [p1, p2], [ring, i]))
return false;

@@ -253,0 +254,0 @@ }

@@ -63,4 +63,4 @@ import { PolyControl } from "./controls/PolyControl";

export { Control } from "./controls/Control";
export declare const version = "0.5.0-alpha.32";
export declare const releaseDate = "26.10.2022";
export declare const version = "0.5.0-alpha.33";
export declare const releaseDate = "01.11.2022";
export declare const controls: {

@@ -67,0 +67,0 @@ Circle: typeof Circle;

@@ -65,4 +65,4 @@ import { PolyControl } from "./controls/PolyControl";

export { Control } from "./controls/Control";
export const version = "0.5.0-alpha.32";
export const releaseDate = "26.10.2022";
export const version = "0.5.0-alpha.33";
export const releaseDate = "01.11.2022";
let utilsModulesExt = {};

@@ -69,0 +69,0 @@ Object.assign(utilsModulesExt, utilsModule, { Color: Color });

{
"name": "@evergis/sgis",
"version": "0.5.0-alpha.32",
"version": "0.5.0-alpha.33",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/sGis_bundle.js",

@@ -22,1 +22,6 @@ # sGIS

```
1. Опубликовать пакет
```
$ npm publish
```

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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