Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

infogare-api.js

Package Overview
Dependencies
Maintainers
0
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

infogare-api.js - npm Package Compare versions

Comparing version 1.0.11 to 1.0.12

2

package.json
{
"name": "infogare-api.js",
"version": "1.0.11",
"version": "1.0.12",
"main": "src/core/index.js",

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

@@ -325,4 +325,10 @@ const User = require('./User');

}
const train = new Train(await response.json());
return train;
const trainJSON = await response.json();
if (!trainJSON.mission) {
const train = new Train(trainJSON);
return train;
} else {
const train = new TrainRER(trainJSON);
return train;
}
}

@@ -329,0 +335,0 @@ }

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