diff --git a/lib/sqlite3-binding.js b/lib/sqlite3-binding.js index 65f01546e..3092ac2af 100644 --- a/lib/sqlite3-binding.js +++ b/lib/sqlite3-binding.js @@ -1,5 +1,5 @@ -const binary = require('@mapbox/node-pre-gyp'); -const path = require('path'); -const binding_path = binary.find(path.resolve(path.join(__dirname,'../package.json'))); -const binding = require(binding_path); +// const binary = require('@mapbox/node-pre-gyp'); +// const path = require('path'); +// const binding_path = binary.find(path.resolve(path.join(__dirname,'../package.json'))); +const binding = require('../build/Release/node_sqlite3.node'); module.exports = exports = binding; diff --git a/package.json b/package.json index a505725c0..bda692e34 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "sqlite3", + "name": "jstsec_sqlite3", "description": "Asynchronous, non-blocking SQLite3 bindings", "version": "5.1.4", "homepage": "https://github.com/TryGhost/node-sqlite3", @@ -90,4 +90,4 @@ "@tryghost:base" ] } -} +} \ No newline at end of file