lammas / flac-seektable Goto Github PK
View Code? Open in Web Editor NEWNode.js stream tap for generating a seek table for a FLAC file stream.
License: MIT License
Node.js stream tap for generating a seek table for a FLAC file stream.
License: MIT License
The deprecation warnings under node 11 are now errors:
sephsmac:ff josephg$ node --version
v12.1.0
sephsmac:ff josephg$ npm i flac-seektable
> [email protected] install /Users/josephg/test/ff/node_modules/flac-seektable
> node-gyp rebuild
CXX(target) Release/obj.target/flac-seektable/src/main.o
../src/main.cpp:303:37: error: no matching member function for call to
'ToObject'
Local<Object> bufferObj = info[0]->ToObject();
~~~~~~~~~^~~~~~~~
/Users/josephg/.node-gyp/12.1.0/include/node/v8.h:2532:44: note: candidate
function not viable: requires single argument 'context', but no arguments
were provided
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^
/Users/josephg/.node-gyp/12.1.0/include/node/v8.h:2546:35: note: candidate
function not viable: requires single argument 'isolate', but no arguments
were provided
Local<Object> ToObject(Isolate* isolate) const);
^
../src/main.cpp:381:10: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
tags->Set(index, New(*it).ToLocalChecked());
^
/Users/josephg/.node-gyp/12.1.0/include/node/v8.h:3367:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/josephg/.node-gyp/12.1.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
../src/main.cpp:392:15: warning: 'Set' is deprecated: Use maybe version
[-Wdeprecated-declarations]
seekpoints->Set(i, pt);
^
/Users/josephg/.node-gyp/12.1.0/include/node/v8.h:3367:3: note: 'Set' has been
explicitly marked deprecated here
V8_DEPRECATE_SOON("Use maybe version",
^
/Users/josephg/.node-gyp/12.1.0/include/node/v8config.h:322:29: note: expanded
from macro 'V8_DEPRECATE_SOON'
declarator __attribute__((deprecated(message)))
^
2 warnings and 1 error generated.
make: *** [Release/obj.target/flac-seektable/src/main.o] Error 1
nan is updated & works for node 12, though just like my module I'm not sure if updating it here will fix the issue. Also napi works great, and has been backported to earlier versions of node.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.