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

syncano-server

Package Overview
Dependencies
Maintainers
2
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

syncano-server - npm Package Compare versions

Comparing version 0.5.4 to 0.5.5

2

lib/data.js

@@ -186,3 +186,3 @@ 'use strict';

_this4.find(ids).then(function (response) {
var shouldThrow = Array.isArray(ids) ? response.length !== ids.length : response !== null;
var shouldThrow = Array.isArray(ids) ? response.length !== ids.length : response === null;

@@ -189,0 +189,0 @@ return shouldThrow ? reject(new _errors.NotFoundError()) : resolve(response);

{
"name": "syncano-server",
"version": "0.5.4",
"version": "0.5.5",
"description": "A library to intereact with the Syncano API on a server side",

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

@@ -130,3 +130,3 @@ import querystring from 'querystring'

.then(response => {
const shouldThrow = Array.isArray(ids) ? response.length !== ids.length : response !== null
const shouldThrow = Array.isArray(ids) ? response.length !== ids.length : response === null

@@ -133,0 +133,0 @@ return shouldThrow ? reject(new NotFoundError()) : resolve(response)

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