@loadmill/universal
Advanced tools
Comparing version 0.3.18 to 0.3.19
export declare const split: (line: string) => string[]; | ||
export declare const escape: (s: string) => string; | ||
export declare const nodeBtoa: (str?: string) => string; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.escape = exports.split = void 0; | ||
exports.nodeBtoa = exports.escape = exports.split = void 0; | ||
// split("foo 'bar baz'") | ||
@@ -64,2 +64,7 @@ // ["foo", "bar baz"] | ||
exports.escape = escape; | ||
var nodeBtoa = function (str) { | ||
if (str === void 0) { str = ''; } | ||
return Buffer.from(str).toString('base64'); | ||
}; | ||
exports.nodeBtoa = nodeBtoa; | ||
//# sourceMappingURL=string-utils.js.map |
{ | ||
"name": "@loadmill/universal", | ||
"version": "0.3.18", | ||
"version": "0.3.19", | ||
"description": "Loadmill universal utilities", | ||
@@ -5,0 +5,0 @@ "main": "dist/", |
@@ -61,1 +61,3 @@ // split("foo 'bar baz'") | ||
}; | ||
export const nodeBtoa = (str = '') => Buffer.from(str).toString('base64'); |
Sorry, the diff of this file is not supported yet
114726
2340