Skip to content

Commit

Permalink
travis npm ssl fix for 0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
SheetJSDev committed Mar 29, 2018
1 parent 08bb7e6 commit 3592efa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ matrix:
env: TZ="America/Mexico_City" FMTS=misc

before_install:
- "npm config set strict-ssl false"
- "npm install -g [email protected]"
- "npm install -g [email protected] voc"
- "npm install blanket"
Expand Down
4 changes: 2 additions & 2 deletions demos/database/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
2 changes: 1 addition & 1 deletion demos/database/SheetJSMongo.js
Original file line number Diff line number Diff line change
@@ -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);
Expand Down

0 comments on commit 3592efa

Please sign in to comment.