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

seer-getvalue

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

seer-getvalue - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

23

index.js

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

const __define_fields = {

@@ -143,3 +144,4 @@ DAY: { time: 0, open: 1, high: 2, low: 3, close: 4, vol: 5, money: 6 },

lowdate: 9, // 最低价格日期
surplus: 10 // 剩余
surplus: 10, // 剩余
uid: 11
},

@@ -325,1 +327,20 @@ TRADE: { // 预测的数据结构

}
export function getValueMax(data, label, value) {
let out = value;
if (!Array.isArray(data.value)) return out;
for (let k = 0; k < data.value.length; k++) {
const v = getValue(data, label, k);
if (v > out) out = v;
}
return out;
}
export function getValueMin(data, label, value) {
let out = value;
if (!Array.isArray(data.value)) return out;
for (let k = 0; k < data.value.length; k++) {
const v = getValue(data, label, k);
if (v < out) out = v;
}
return out;
}

2

package.json
{
"name": "seer-getvalue",
"version": "1.0.0",
"version": "1.0.1",
"description": "seerline get value",

@@ -5,0 +5,0 @@ "main": "index.js",

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