Socket
Socket
Sign inDemoInstall

koa-rtapi

Package Overview
Dependencies
120
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.63 to 1.1.64

9

lib/coder.js

@@ -17,4 +17,6 @@ 'use strict';

if (i % 2 === 0) {
const lineArr = item.replace(/\\r\\n/g, '\n').split('\n');
const lineArr = item.split(/\r\n|\n/);
let j = lineArr.length;
for (const lineItem of lineArr) {
j--;
if (next) {

@@ -24,3 +26,4 @@ next = false;

}
lines.push('$b.addStr("' + encodeURI(lineItem) + '");');
lines.push('$b.addStr("' + encodeURIComponent(lineItem) + '");');
if (j > 0) { lines.push('$b.addStr("%0A");'); }
}

@@ -47,3 +50,3 @@ continue;

return lines.join('\r\n');
return lines.join('\n');
}

@@ -50,0 +53,0 @@

{
"name": "koa-rtapi",
"version": "1.1.63",
"version": "1.1.64",
"description": "koa api in rtworld company",

@@ -5,0 +5,0 @@ "main": "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