summaryrefslogtreecommitdiff
path: root/platform/node/index.js
Commit message (Collapse)AuthorAgeFilesLines
* Revert "[core] Use ES6 import / export syntax for node test harness"Alexander Shalamov2019-03-111-1/+1
| | | | This reverts commit c6598fc5da063f9b60204639cd619647cbbc89da.
* [core] Use ES6 import / export syntax for node test harnessAlexander Shalamov2019-03-081-1/+1
|
* [node] add compatibility with node-pre-gyp binary publishingKonstantin Käfer2018-06-261-1/+1
|
* [node] allow building all ABIs at onceKonstantin Käfer2018-05-221-2/+1
|
* [node] Protect against more badly behaved request implementationsJohn Firebaugh2017-07-241-7/+22
|
* [node] Protect against synchronous request implementationsJohn Firebaugh2017-07-211-1/+7
|
* [node] adhere to node module naming requirementsKonstantin Käfer2017-02-231-1/+1
| | | | 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.
* [node] switch to NodeRequest member fn callbackThiago Marcos P. Santos2016-09-061-0/+31
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.