Comparing version 2.1.0 to 2.1.1
@@ -0,1 +1,7 @@ | ||
### v2.1.1 | ||
- Release September 23rd 2020 | ||
- Fixes `arrayJoin(\n):convCRLF`. Now it works in carbone v2.x.x like in v1.x.x. | ||
- Removes 'zipfile' dev dependency. Tests use unzip from the system instead. | ||
- 8.1.3 mocha upgrade | ||
### v2.1.0 | ||
@@ -11,3 +17,3 @@ - Release September 1st, 2020 | ||
- Fix locales de-ch and pt-br | ||
- Fix direct access in a nested array `{d.array[i].nestedArray[i=0].id}` | ||
- Fix direct access in a nested array `{d.array[i].nestedArray[i=0].id}` | ||
@@ -14,0 +20,0 @@ ### v2.0.1 |
@@ -23,2 +23,9 @@ | ||
} | ||
if (separator === '\\n') { | ||
separator = '\n'; | ||
} | ||
if (separator === '\\r\\n') { | ||
separator = '\r\n'; | ||
} | ||
if (d instanceof Array) { | ||
@@ -25,0 +32,0 @@ return d.join(separator); |
@@ -87,3 +87,3 @@ var path = require('path'); | ||
* Zip a group of files | ||
* @param {Array} files files is an array of files ['name':'filename', 'buffer':Buffer] | ||
* @param {Array} files files is an array of files ['name':'filename', 'data':Buffer] | ||
* @param {Function} callback(err, result) result is a buffer (the zip file) | ||
@@ -90,0 +90,0 @@ */ |
{ | ||
"name": "carbone", | ||
"description": "Fast, Simple and Powerful report generator. Injects JSON and produces PDF, DOCX, XLSX, ODT, PPTX, ODS, ...!", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"bin": "bin/carbone", | ||
@@ -36,4 +36,3 @@ "main": "./lib", | ||
"eslint": "=7.7.0", | ||
"mocha": "=3.5.3", | ||
"zipfile": "=0.5.11" | ||
"mocha": "=8.1.3" | ||
}, | ||
@@ -40,0 +39,0 @@ "engines": { |
@@ -37,5 +37,5 @@ <p align="center"> | ||
> | ||
> **Carbone v2.0 🚀 is here :** | ||
> **Carbone v2.x 🚀 is here :** | ||
> | ||
> - `npm i carbone@2.0.2` | ||
> - `npm i carbone@2.1.1` | ||
> - Changelog : https://github.com/Ideolys/carbone/blob/master/CHANGELOG.md | ||
@@ -42,0 +42,0 @@ |
438800
2
8074