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

bifrost-zero-common

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bifrost-zero-common - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

14

lib/DataFrame.js

@@ -8,3 +8,2 @@ /**

*/
import { isEqual } from "lodash";
import { DataFrameSelector } from "./DataFrameSelector.js";

@@ -265,2 +264,5 @@ import chalk from "chalk";

}
const isEqual = (a, b) => {
return JSON.stringify(a.sort()) == JSON.stringify(b.sort());
};
// check if time array is the same as the baseTime array

@@ -371,5 +373,9 @@ if (!isEqual(frame.time, baseTime)) {

const flagsShape = DataFrame.getValueShape(flags[0]);
if (!isEqual(flagsShape, valuesShape)) {
throw new Error(`Invalid 'flags' shape for DataFrame (${JSON.stringify(flagsShape)}): must be ${JSON.stringify(valuesShape)}`);
}
// if (!isEqual(flagsShape, valuesShape)) {
// throw new Error(
// `Invalid 'flags' shape for DataFrame (${JSON.stringify(flagsShape)}): must be ${JSON.stringify(
// valuesShape
// )}`
// )
// }
}

@@ -376,0 +382,0 @@ else {

{
"name": "bifrost-zero-common",
"version": "1.0.0",
"version": "1.0.1",
"description": "A library of commonly used functions to interact with BIFROST",

@@ -5,0 +5,0 @@ "homepage": "https://bifrost.siemens.com",

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