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

fxnjs

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fxnjs - npm Package Compare versions

Comparing version 0.0.17 to 0.0.18

2

build/lib/api/services/predictor.js

@@ -141,3 +141,3 @@ "use strict";

description
readme
card
media

@@ -144,0 +144,0 @@ acceleration

@@ -138,3 +138,13 @@ "use strict";

function isFunctionValue(value) {
return value && value.type && value.data !== undefined; // `data` can be `null` but must exist
// Check null
if (value == null)
return false;
// Check type
if (!value.type)
return false;
// Check data // Can be `null` but must always exist
if (value.data === undefined)
return false;
// Return
return true;
}

@@ -141,0 +151,0 @@ exports.isFunctionValue = isFunctionValue;

@@ -109,5 +109,5 @@ import { Dtype } from "./dtype";

/**
* Predictor readme.
* Predictor card.
*/
readme?: string;
card?: string;
/**

@@ -114,0 +114,0 @@ * Predictor media URL.

{
"name": "fxnjs",
"version": "0.0.17",
"version": "0.0.18",
"description": "Run AI prediction functions in your JavaScript and Node.js apps.",

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

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

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