Socket
Socket
Sign inDemoInstall

atat

Package Overview
Dependencies
0
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.8 to 1.2.9

8

lib/compiler.js

@@ -106,3 +106,3 @@ "use strict";

}
return [4 /*yield*/, compileInline(block.value.trim(), ctx)];
return [4 /*yield*/, compileInline(utils_1.trimLines(block.value), ctx)];
case 1: return [2 /*return*/, _a.sent()];

@@ -184,3 +184,3 @@ case 2:

_b = out;
return [4 /*yield*/, compile(value2.trim(), ctx)];
return [4 /*yield*/, compile(value2, ctx)];
case 1:

@@ -225,3 +225,3 @@ out = _b + _c.sent();

}
return [4 /*yield*/, compile(block.value.trim(), ctx)];
return [4 /*yield*/, compile(block.value, ctx)];
case 1:

@@ -280,3 +280,3 @@ result = _a.sent();

_b = out;
return [4 /*yield*/, compile(value2.trim(), ctx)];
return [4 /*yield*/, compile(value2, ctx)];
case 1:

@@ -283,0 +283,0 @@ out = _b + _c.sent();

import { IKeyValuePair, MuchResult } from './types';
export declare function noop(): string;
export declare function trimLines(str: string): string;
export declare function toString(v: any): string;

@@ -4,0 +5,0 @@ export declare function merge(src: IKeyValuePair<any>, dest?: IKeyValuePair<any>): IKeyValuePair<any>;

@@ -45,2 +45,6 @@ "use strict";

exports.noop = noop;
function trimLines(str) {
return str.replace(/^[\t\f\v\r ]*\n/g, '').replace(/\r?\n[\t\f\v ]*$/g, '\n');
}
exports.trimLines = trimLines;
function toString(v) {

@@ -47,0 +51,0 @@ return typeof v === 'undefined' || v === null ? '' : String(v);

{
"name": "atat",
"version": "1.2.8",
"version": "1.2.9",
"author": "Sergey Golub",

@@ -5,0 +5,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc