Socket
Socket
Sign inDemoInstall

ksoft.js

Package Overview
Dependencies
1
Maintainers
2
Versions
51
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.2 to 2.0.3

2

package.json
{
"name": "ksoft.js",
"version": "2.0.2",
"version": "2.0.3",
"description": "Official Node.js Wrapper for the KSoft.Si API.",

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

@@ -8,3 +8,2 @@ const Endpoint = require('../../../lib/Endpoint');

if (!(ban instanceof Ban)) throw new SyntaxError('Please use the ban builder');
console.log(ban.apiObject);
return this.client.api.bans.add.post(ban.apiObject, true);

@@ -11,0 +10,0 @@ }

@@ -14,3 +14,2 @@ const Endpoint = require('../../../lib/Endpoint');

async serialize(data) {
console.log(data)
if (!data.data.length) throw new Error('No results');

@@ -17,0 +16,0 @@ return data.data.map(track => new Track(track.name, -1,

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc