csv-generate
Advanced tools
Comparing version 3.2.4 to 3.3.0
@@ -12,2 +12,7 @@ | ||
## Version 3.3.0 | ||
* package: latest dependencies | ||
* package: mocha inside package declaration | ||
## Version 3.2.4 | ||
@@ -14,0 +19,0 @@ |
"use strict"; | ||
// Generated by CoffeeScript 2.3.2 | ||
// Generated by CoffeeScript 2.5.1 | ||
// # CSV Generator | ||
@@ -5,0 +5,0 @@ // Please look at the [documentation](https://csv.js.org/generate/) for additional information. |
"use strict"; | ||
// Generated by CoffeeScript 2.3.2 | ||
// Generated by CoffeeScript 2.5.1 | ||
// # CSV Generator Sync | ||
@@ -5,0 +5,0 @@ // Provides a synchronous alternative to the CSV generator. |
@@ -1,5 +0,5 @@ | ||
// Generated by CoffeeScript 2.3.2 | ||
// Generated by CoffeeScript 2.5.1 | ||
// # CSV Generator | ||
// Please look at the [documentation](https://csv.js.org/generate/) for additional information. | ||
// Please look at the [documentation](https://csv.js.org/generate/) for additional information. | ||
var Generator, stream, util, | ||
@@ -148,3 +148,3 @@ indexOf = [].indexOf; | ||
if (indexOf.call(accepted_header_types, v) < 0) { | ||
throw Error(`Invalid column type: got "${v}", default values are ${JSON.stringify(accepted_header_types)}`); | ||
throw Error(`Invalid column type: got \"${v}\", default values are ${JSON.stringify(accepted_header_types)}`); | ||
} | ||
@@ -224,3 +224,3 @@ this.options.columns[i] = Generator[v]; | ||
// Stringify the line | ||
line = `${(this._.count_created === 0 ? '' : this.options.rowDelimiter)}${line.join(this.options.delimiter)}`; | ||
line = `${this._.count_created === 0 ? '' : this.options.rowDelimiter}${line.join(this.options.delimiter)}`; | ||
lineLength = line.length; | ||
@@ -227,0 +227,0 @@ } |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 2.3.2 | ||
// Generated by CoffeeScript 2.5.1 | ||
// # CSV Generator Sync | ||
@@ -3,0 +3,0 @@ |
{ | ||
"version": "3.2.4", | ||
"version": "3.3.0", | ||
"name": "csv-generate", | ||
@@ -33,14 +33,14 @@ "description": "CSV and object generation implementing the Node.js `stream.Readable` API", | ||
"devDependencies": { | ||
"@babel/cli": "^7.1.0", | ||
"@babel/core": "^7.1.0", | ||
"@babel/preset-env": "^7.1.0", | ||
"@types/mocha": "^5.2.5", | ||
"@types/node": "^10.12.10", | ||
"@babel/cli": "^7.12.1", | ||
"@babel/core": "^7.12.3", | ||
"@babel/preset-env": "^7.12.1", | ||
"@types/mocha": "^8.0.4", | ||
"@types/node": "^14.14.7", | ||
"@types/should": "^13.0.0", | ||
"coffeescript": "~2.3.2", | ||
"coffeescript": "~2.5.1", | ||
"each": "^1.2.2", | ||
"mocha": "~5.2.0", | ||
"mocha": "~8.2.1", | ||
"should": "~13.2.3", | ||
"ts-node": "^7.0.1", | ||
"typescript": "^3.1.6" | ||
"ts-node": "^9.0.0", | ||
"typescript": "^4.0.5" | ||
}, | ||
@@ -51,2 +51,15 @@ "files": [ | ||
"main": "./lib", | ||
"optionalDependencies": {}, | ||
"mocha": { | ||
"throw-deprecation": true, | ||
"require": [ | ||
"should", | ||
"coffeescript/register", | ||
"ts-node/register" | ||
], | ||
"inline-diffs": true, | ||
"timeout": 40000, | ||
"reporter": "spec", | ||
"recursive": true | ||
}, | ||
"scripts": { | ||
@@ -53,0 +66,0 @@ "preversion": "grep '## Trunk' CHANGELOG.md && rm -rf lib/*.js && npm test && cp lib/*.ts lib/es5 && git add lib/es5/*.ts", |
31250