Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Ran npm update to fix nan warnings #114

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

nyxtom
Copy link

@nyxtom nyxtom commented Sep 3, 2021

Issues

Node.js 14+ issues a number of deprecated warnings for the nan package, so update the 'nan'.

../node_modules/nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated: Use GetBackingStore. See
      http://crbug.com/v8/9908. [-Wdeprecated-declarations]
      data   = static_cast<char*>(buffer->GetContents().Data()) + byte_offset;

Changes

  • Ran npm update to fix warnings for package nan (updated to 2.15.0)

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

Successfully merging this pull request may close these issues.

2 participants