Skip to content

Commit 837c017

Browse files
authored
Merge pull request #4 from trollkotze/master
Fix build for Node v10
2 parents c89fc32 + e0d8acc commit 837c017

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+12383
-4
lines changed

.gitignore

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,16 @@ bower_components
146146
build/Release
147147

148148
# Dependency directories
149-
node_modules/
149+
node_modules/*
150+
#!node_modules/.bin/
151+
#!node_modules/.bin/node-pre-gyp
152+
!node_modules/node-pre-gyp/
153+
!node_modules/node-pre-gyp/**/*
154+
node_modules/node-pre-gyp/node_modules/*
155+
!node_modules/node-pre-gyp/node_modules/form-data
156+
!node_modules/node-pre-gyp/node_modules/nopt
157+
!node_modules/node-pre-gyp/node_modules/request
158+
150159
jspm_packages/
151160

152161
# Typescript v1 declaration files

libxml.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ NAN_METHOD(Libxml::New) {
7070
const int argc = 1;
7171
Local<Value> argv[argc] = {info[0]};
7272
Local<Function> cons = Nan::New(constructor());
73-
info.GetReturnValue().Set(cons->NewInstance(argc, argv));
73+
info.GetReturnValue().Set(Nan::NewInstance(cons, argc, argv).ToLocalChecked());
7474
}
7575
}
7676

node_modules/node-pre-gyp/CHANGELOG.md

Lines changed: 370 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)