Socket
Socket
Sign inDemoInstall

ksoft.js

Package Overview
Dependencies
2
Maintainers
2
Versions
51
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.3 to 2.2.0

8

lib/APIRouter.js

@@ -7,8 +7,2 @@ const centra = require('centra-aero');

function sanitizeJSON(res) {
return JSON.parse(res.body
.toString()
.replace(/([^"])([0-9]{17,18})([^"])/g, '$1"$2"$3'));
}
function buildRoute(token) {

@@ -35,3 +29,3 @@ const route = [];

return req.send()
.then(res => sanitizeJSON(res));
.then(res => res.json);
}

@@ -38,0 +32,0 @@ }

@@ -5,3 +5,2 @@ const { EventEmitter } = require('events');

const { join } = require('path');
const { reflectors } = require('./util');

@@ -8,0 +7,0 @@ class KSoftClient extends EventEmitter {

2

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

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

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