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.7.2-10 to 0.7.2-11

.nyc_output/0521558ac879d2e4de1b6927548085ae.json

6

lib/utils.js

@@ -26,3 +26,7 @@ 'use strict';

function parseJSON(response) {
return response.json();
try {
return response.json();
} catch (err) {
return response.text();
}
}

@@ -29,0 +33,0 @@

2

package.json
{
"name": "syncano-server",
"version": "0.7.2-10",
"version": "0.7.2-11",
"description": "A library to intereact with the Syncano API on a server side",

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

@@ -16,3 +16,7 @@ import {getHost, SYNCANO_API_VERSION} from './settings'

export function parseJSON(response) {
return response.json()
try {
return response.json()
} catch (err) {
return response.text()
}
}

@@ -19,0 +23,0 @@

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