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

coaclient

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coaclient - npm Package Compare versions

Comparing version 1.0.16 to 1.0.17

12

coaclient.js

@@ -72,4 +72,6 @@ const csvWriter = require('csv-write-stream');

console.log("Name: " + name);
console.log(name.toString() === clientIdentifier.toString());
var id = row.clientId;
if (name === clientIdentifier || id === clientIdentifier) {
if (name.toString() === clientIdentifier.toString() ||
id.toString() === clientIdentifier.toString()) {
return JSON.stringify(createClientConfig(row));

@@ -79,5 +81,5 @@ }

.on('end', function (data) {
console.log('No more data in file.');
console.info('No more data in file.');
});
console.log("Client config " + clientIdentifier + " not found.");
console.info("Client config " + clientIdentifier + " not found.");
return JSON.stringify({});

@@ -92,8 +94,6 @@ }

.on('data', function (row) {
console.log("Name: " + row.name);
listOfClientConfig.push(createClientConfig(row));
console.log(listOfClientConfig);
})
.on('end', function (data) {
console.log('No more data in file.');
console.info('No more data in file.');
});

@@ -100,0 +100,0 @@ return JSON.stringify(listOfClientConfig);

{
"name": "coaclient",
"version": "1.0.16",
"version": "1.0.17",
"description": "Custom Node.js library for manage CourseraOAuth2 API tokens",

@@ -5,0 +5,0 @@ "main": "coaclient",

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