travis npm ssl fix for 0.8

see https://github.com/npm/npm/issues/20191
This commit is contained in:
SheetJS 2018-03-29 11:42:49 -04:00
parent 08bb7e6e60
commit 3592efa77b
3 changed files with 4 additions and 3 deletions

@ -35,6 +35,7 @@ matrix:
env: TZ="America/Mexico_City" FMTS=misc
before_install:
- "npm config set strict-ssl false"
- "npm install -g npm@4.3.0"
- "npm install -g mocha@2.x voc"
- "npm install blanket"

@ -325,6 +325,8 @@ const aoa = XLSX.utils.sheet_to_json(ws);
await db.collection('coll').insertMany(aoa, {ordered: true});
```
</details>
#### Firebase
[`firebase-server`](https://www.npmjs.com/package/firebase-server) is a simple
@ -335,6 +337,4 @@ Firebase deployment when plugging in the database connection info.
The entire workbook object is persisted, a few cells are changed, and the stored
data is dumped and exported to XLSX.
</details>
[![Analytics](https://ga-beacon.appspot.com/UA-36810333-1/SheetJS/js-xlsx?pixel)](https://github.com/SheetJS/js-xlsx)

@ -1,7 +1,7 @@
/* xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
/* eslint-env node */
var XLSX = require("xlsx");
async function book_append_mongo(wb, coll, name) {
const aoo = await coll.find({}).toArray();
aoo.forEach((x) => delete x._id);