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.22 to 1.0.23

32

coaclient.js

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

console.log("Create config from row: " + row.name);
clientConfig = createClientConfig(row);
clientConfig = {
name: row.name,
clientId: row.clientId,
secretKey: row.secretKey,
scope: row.scope};
console.log("Return config: " + clientConfig.toString());
return clientConfig;
}

@@ -68,3 +73,3 @@ })

});
return clientConfig.toString();
return clientConfig;
}

@@ -78,3 +83,8 @@

.on('data', function (row) {
listOfClientConfig.push(createClientConfig(row).toArray());
let clientConfig = {
name: row.name,
clientId: row.clientId,
secretKey: row.secretKey,
scope: row.scope};
listOfClientConfig.push(clientConfig);
})

@@ -86,17 +96,1 @@ .on('end', function (data) {

}
class ClientConfig {
constructor(name, clientId, secretKey, scope) {
this.name = name;
this.clientId = clientId;
this.secretKey = secretKey;
this.scope = scope;
}
}
function createClientConfig(rowElement) {
return ClientConfig.create(
rowElement.name,
rowElement.clientId,
rowElement.secretKey,
rowElement.scope)
}
{
"name": "coaclient",
"version": "1.0.22",
"version": "1.0.23",
"description": "Custom Node.js library for manage CourseraOAuth2 API tokens",

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

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