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

@senx/warp10

Package Overview
Dependencies
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@senx/warp10 - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

2

dist/index.d.ts

@@ -1,2 +0,2 @@

export { Warp10, TimeUnits, GTS } from './lib/warp10';
export { Warp10, TimeUnits, GTS, W10Data, FormattedGTS } from './lib/warp10';
export { DataPoint } from './lib/DataPoint';

@@ -18,2 +18,21 @@ import { DataPoint } from './DataPoint';

}
export interface W10Data {
ts: number;
value: any;
loc?: {
lat: number;
long: number;
};
elev?: number;
}
export interface FormattedGTS {
name: string;
labels: {
[key: string]: string;
};
attributes: {
[key: string]: string;
};
data: W10Data[];
}
/**

@@ -20,0 +39,0 @@ *

@@ -352,10 +352,16 @@ /*

for (let j = 0; j < vSize; j++) {
data.push({
const dp = {
ts: gts.v[j][0],
loc: gts.v[j].length > 3 ? {
lat: gts.v[j][1], long: gts.v[j][2]
} : undefined,
elev: gts.v[j].length > 4 ? gts.v[j][3] : undefined,
value: gts.v[j][gts.v[j].length - 1]
});
};
if (gts.v[j].length > 3) {
dp.loc = {
lat: gts.v[j][1],
long: gts.v[j][2]
};
}
if (gts.v[j].length > 4) {
dp.elev = gts.v[j][3];
}
data.push(dp);
}

@@ -362,0 +368,0 @@ res.push({ name: gts.c, labels: gts.l, attributes: gts.a, data });

{
"name": "@senx/warp10",
"version": "2.0.2",
"version": "2.0.3",
"private": false,

@@ -5,0 +5,0 @@ "keywords": [

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