Commit Graph

8 Commits

Author SHA1 Message Date
Alexander Shalamov
debbd08ff0 Revert "[core] Use ES6 import / export syntax for node test harness"
This reverts commit c6598fc5da.
2019-03-11 13:43:08 +02:00
Alexander Shalamov
c6598fc5da [core] Use ES6 import / export syntax for node test harness 2019-03-08 16:53:01 +02:00
Konstantin Käfer
488b68c693 [node] add compatibility with node-pre-gyp binary publishing 2018-06-26 10:51:56 -07:00
Konstantin Käfer
d1a266b3e6 [node] allow building all ABIs at once 2018-05-22 11:17:01 +02:00
John Firebaugh
264ca961bd [node] Protect against more badly behaved request implementations 2017-07-24 15:19:15 -07:00
John Firebaugh
f053feb6d4 [node] Protect against synchronous request implementations 2017-07-21 09:31:39 -07:00
Konstantin Käfer
6b0ad899b3 [node] adhere to node module naming requirements
https://nodejs.org/api/addons.html#addons_building specifies that "The module_name must match the filename of the final binary (excluding the .node suffix).". While the mismatch between `mapbox-gl-native` and `mapbox_gl_native` hasn't caused issues so far, we should play by the book.
2017-02-23 22:15:57 +01:00
Thiago Marcos P. Santos
edec56e6c5 [node] switch to NodeRequest member fn callback
For (hopefully) better performance than creating a new v8::Context to
wrap each callback while still avoiding leaking memory with v8::FunctionTemplate.

Adds a JavaScript shim in front of module.exports.Map to wrap the
req.respond API internally and preserve the public callback-passing
API, while still exporting the correct prototype.
2016-09-06 18:14:22 -04:00