Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

csvtojson

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csvtojson - npm Package Compare versions

Comparing version 2.0.7 to 2.0.8

.ts-node/46be5da2105bfdf13e8db086405c89f751746b6e7f1dbb5a5600bad96af1b73b/076e406715b1c0068ea4fa4d4891782b06ed868641caf40c0e9d7ff16f490303.js

1

index.d.ts
import csv=require("./v2");
export=csv;

17

package.json

@@ -247,3 +247,3 @@ {

],
"version": "2.0.7",
"version": "2.0.8",
"keywords": [

@@ -272,2 +272,3 @@ "csv",

"@types/node": "^10.0.1",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"coveralls": "^3.0.1",

@@ -279,3 +280,6 @@ "minimist": "^1.2.0",

"ts-node": "^6.0.3",
"typescript": "^2.8.3"
"typescript": "^2.8.3",
"uglifyjs-webpack-plugin": "^1.2.7",
"webpack": "^4.16.4",
"webpack-cli": "^3.1.0"
},

@@ -285,3 +289,2 @@ "dependencies": {

"lodash": "^4.17.3",
"readable-stream": "^2.3.6",
"strip-bom": "^2.0.0"

@@ -301,3 +304,4 @@ },

"dev": "tsc -w",
"build": "rm -Rf ./v2 && tsc",
"build": "rm -Rf ./v2 && tsc && npm run build:browser",
"build:browser": "webpack --config ./webpack.config.js",
"test": "rm -Rf .ts-node && TS_NODE_CACHE_DIRECTORY=.ts-node mocha -r ts-node/register src/**/*.test.ts ./test/*.ts -R spec",

@@ -313,7 +317,4 @@ "travis": "nyc --reporter lcov mocha -r ts-node/register src/**/*.test.ts ./test/*.ts -R spec",

},
"browser": {
"child_process": false,
"fs": false
},
"browser": "./browser/browser.js",
"main": "./v2/index.js"
}

@@ -1,3 +0,2 @@

import { Transform, TransformOptions, Readable } from "readable-stream";
import * as s from "stream";
import { Transform, TransformOptions, Readable } from "stream";
import { CSVParseParam, mergeParams } from "./Parameters";

@@ -4,0 +3,0 @@ import { ParseRuntime, initParseRuntime } from "./ParseRuntime";

@@ -1,2 +0,1 @@

var util = require("util");
export default class CSVError extends Error {

@@ -3,0 +2,0 @@ static column_mismatched(index: number, extra?: string) {

import { TransformOptions } from "stream";
import { CSVParseParam } from "./Parameters";
import { Converter } from "./Converter";
const helper = function (param?: Partial<CSVParseParam>, options?: TransformOptions): Converter {

@@ -5,0 +6,0 @@ return new Converter(param, options);

@@ -1,2 +0,3 @@

import { Transform, TransformOptions, Readable } from "readable-stream";
/// <reference types="node" />
import { Transform, TransformOptions, Readable } from "stream";
import { CSVParseParam } from "./Parameters";

@@ -3,0 +4,0 @@ import { ParseRuntime } from "./ParseRuntime";

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

Object.defineProperty(exports, "__esModule", { value: true });
var readable_stream_1 = require("readable-stream");
var stream_1 = require("stream");
var Parameters_1 = require("./Parameters");

@@ -92,3 +92,3 @@ var ParseRuntime_1 = require("./ParseRuntime");

var csv = csvString.toString();
var read = new readable_stream_1.Readable();
var read = new stream_1.Readable();
var idx = 0;

@@ -192,4 +192,4 @@ read._read = function (size) {

return Converter;
}(readable_stream_1.Transform));
}(stream_1.Transform));
exports.Converter = Converter;
//# sourceMappingURL=Converter.js.map

@@ -13,3 +13,2 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var util = require("util");
var CSVError = /** @class */ (function (_super) {

@@ -16,0 +15,0 @@ __extends(CSVError, _super);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc