Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #3. #4

Merged
merged 1 commit into from
Aug 26, 2019
Merged

Fix #3. #4

merged 1 commit into from
Aug 26, 2019

Conversation

yuxincs
Copy link
Contributor

@yuxincs yuxincs commented Jul 11, 2019

Add compatibility for Node 12 and fix deprecation warnings.

Pull Request

Fixes #3

Changes proposed:

  • Fix
  • Enhancement
  • Remove
  • Update

Description (what is this PR about)

Brief explanation of the changes you have made and/or the new content you are contributing.

  • Renamed an API that node 12 removes (v8::Handle -> v8::Local)
  • Replaced the usage of some APIs (ToString() and String::NewFromUtf8) to suppress deprecation warnings.

Build succeeded on my MacBook with node v12.6.0 / v10.6.0 / v8.16.0 but did not do test runs.

References: 1, 2

Add compatibility for Node 12 and fix deprecation warnings.
@GitSquared
Copy link

@sebhildebrandt Could you please merge this?

@sebhildebrandt sebhildebrandt merged commit 8711078 into sebhildebrandt:master Aug 26, 2019
@GitSquared
Copy link

Thank you very much.

@sebhildebrandt
Copy link
Owner

Merged, will test it tomorrow and then release a new package version. Thank you!

@sebhildebrandt
Copy link
Owner

Merged and test, npm version 1.0.4 just released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build failure: no matching member function for call to 'ToString'
3 participants