You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

nextalys-js-helpers

Package Overview
Dependencies
Maintainers
0
Versions
450
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nextalys-js-helpers - npm Package Compare versions

Comparing version

to
1.0.3

4

dist/csv-helpers/csv-helpers.d.ts
/// <reference types="node" />
export declare class CSVHelpers {
static parseCSVFileInput(fileInput: HTMLInputElement, delimiter?: string, strict?: boolean, encoding?: BufferEncoding): Promise<{
static parseCSVFileInput(fileInput: HTMLInputElement, delimiter?: string, strict?: boolean, encoding?: string): Promise<{
success: boolean;

@@ -8,3 +8,3 @@ error?: any;

}>;
static parseCSVFile(file: File, delimiter?: string, strict?: boolean, encoding?: BufferEncoding): Promise<{
static parseCSVFile(file: File, delimiter?: string, strict?: boolean, encoding?: string): Promise<{
success: boolean;

@@ -11,0 +11,0 @@ error?: any;

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

// console.log("Log ~ file: test.ts:463 ~ excelFileChange ~ file:", file);
reader_1.readAsText(file);
reader_1.readAsText(file, encoding);
reader_1.onload = function () { return __awaiter(_this, void 0, void 0, function () {

@@ -91,3 +91,3 @@ var text, response;

text = reader_1.result;
return [4 /*yield*/, this.parseCSV(text, delimiter, strict, encoding)];
return [4 /*yield*/, this.parseCSV(text, delimiter, strict)];
case 1:

@@ -94,0 +94,0 @@ response = _a.sent();

{
"name": "nextalys-js-helpers",
"version": "1.0.2",
"version": "1.0.3",
"description": "Nextalys Javascript Helpers",

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

Sorry, the diff of this file is not supported yet