Skip to content

Commit

Permalink
feat: Add Nodejs v12 support and move from ref to ref-napi
Browse files Browse the repository at this point in the history
Node is moving to NAPI so everyone and everything is moving to -napi to avoid compatibility issues.
This is required for NodeJS v12 compatibility.

- update segfault-handler for nodejs 12 compatibility
- updates nodejs version in travis.yml
  • Loading branch information
goooseman authored and Travis committed Apr 23, 2020
1 parent 9529256 commit 669b2a9
Show file tree
Hide file tree
Showing 22 changed files with 2,356 additions and 2,205 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.9.3
12.13.0
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ language: node_js
notifications:
email: false
node_js:
- '9'
- '8'
- '12'
install: npm install
after_success:
- npm run build
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ You have several options to get your image:

Some example are available in the examples directory, when you have cloned or downloaded the complete project from github.

Checkout this project then run `npm run develop` and run `node examples/camera.js`.

Checkout this project then run `npm run install:examples && npm run develop` and run `node examples/camera.js`.

## Contribute

Expand Down
Loading

0 comments on commit 669b2a9

Please sign in to comment.