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

dgeoutils

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dgeoutils - npm Package Compare versions

Comparing version 2.4.31 to 2.4.32

1

dist/cjs/InterpolationMatrix.d.ts

@@ -19,2 +19,3 @@ import { DPolygon } from './DPolygon';

get size(): DPoint;
get getCellData(): Record<number, Record<number, Record<string, number>>>;
get allCellsClone(): DPolygon[];

@@ -21,0 +22,0 @@ private interpolateValues;

@@ -13,2 +13,13 @@ "use strict";

};
var __rest = (this && this.__rest) || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
};
var __read = (this && this.__read) || function (o, n) {

@@ -94,2 +105,14 @@ var m = typeof Symbol === "function" && o[Symbol.iterator];

});
Object.defineProperty(InterpolationMatrix.prototype, "getCellData", {
get: function () {
return this.allCells.reduce(function (a, c) {
var _a = c.properties, x = _a.x, y = _a.y, props = __rest(_a, ["x", "y"]);
a[x] = a[x] || {};
a[x][y] = __assign({}, props);
return a;
}, {});
},
enumerable: false,
configurable: true
});
Object.defineProperty(InterpolationMatrix.prototype, "allCellsClone", {

@@ -96,0 +119,0 @@ get: function () {

@@ -0,1 +1,12 @@

var __rest = (this && this.__rest) || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
};
import { DPolygon } from './DPolygon';

@@ -48,2 +59,10 @@ import { DPoint } from './DPoint';

}
get getCellData() {
return this.allCells.reduce((a, c) => {
const _a = c.properties, { x, y } = _a, props = __rest(_a, ["x", "y"]);
a[x] = a[x] || {};
a[x][y] = Object.assign({}, props);
return a;
}, {});
}
get allCellsClone() {

@@ -50,0 +69,0 @@ return this.allCells.map((p) => p.clone());

@@ -12,2 +12,13 @@ var __assign = (this && this.__assign) || function () {

};
var __rest = (this && this.__rest) || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
};
var __read = (this && this.__read) || function (o, n) {

@@ -91,2 +102,14 @@ var m = typeof Symbol === "function" && o[Symbol.iterator];

});
Object.defineProperty(InterpolationMatrix.prototype, "getCellData", {
get: function () {
return this.allCells.reduce(function (a, c) {
var _a = c.properties, x = _a.x, y = _a.y, props = __rest(_a, ["x", "y"]);
a[x] = a[x] || {};
a[x][y] = __assign({}, props);
return a;
}, {});
},
enumerable: false,
configurable: true
});
Object.defineProperty(InterpolationMatrix.prototype, "allCellsClone", {

@@ -93,0 +116,0 @@ get: function () {

2

package.json
{
"name": "dgeoutils",
"version": "2.4.31",
"version": "2.4.32",
"description": "Geometries utils for my projects",

@@ -5,0 +5,0 @@ "scripts": {

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

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