Socket
Socket
Sign inDemoInstall

better-sqlite3

Package Overview
Dependencies
66
Maintainers
1
Versions
124
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.1.1 to 7.1.2

2

docs/compilation.md

@@ -37,3 +37,3 @@ # Custom configuration

By default, this distribution currently uses SQLite3 **version 3.33.0** with the following [compilation options](https://www.sqlite.org/compile.html):
By default, this distribution currently uses SQLite3 **version 3.34.0** with the following [compilation options](https://www.sqlite.org/compile.html):

@@ -40,0 +40,0 @@ ```

@@ -13,20 +13,12 @@ # Troubleshooting installation

1. Install the **latest** of node 10 or node 12.
2. Start an Admin PowerShell: Right-click the start icon, then pick `Windows PowerShell (Admin)`
3. Install *both* vs2015 and vs2017 libraries. Each line will take ~5-10 minutes.
```sh
npm install --global --production --vs2015 --add-python-to-path windows-build-tools
npm install --global --production --add-python-to-path windows-build-tools node-gyp
```
4. In your project, make sure you're not fighting with old build configurations. Delete **both**
* your `%USERPROFILE%/.node-gyp` and
* your project's `node_modules` directories.
5. Set up `%USERPROFILE%/.npmrc` correctly:
```sh
msvs_version=2015
python=python2.7
```
(where `%USERPROFILE%` is your home directory).
6. Run `npm install`
1. Install the **latest** of node 10, 12, or 14.
2. Install **latest** Visual Studio Community and Desktop Development with C++ extension.
3. Install **latest** Python.
4. Run following commands:
```
npm config set msvs_version 2019
npm config set msbuild_path "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe"
```
5. Run `npm install`
If none of these solved your problem, try browsing [previous issues](https://github.com/JoshuaWise/better-sqlite3/issues?q=is%3Aissue) or open a [new issue](https://github.com/JoshuaWise/better-sqlite3/issues/new).
'use strict';
const wrappedMethods = new WeakSet();

@@ -16,3 +17,7 @@ exports.getBooleanOption = (options, key) => {

}
Class.prototype[methodName] = wrapper(originalMethod);
if (!wrappedMethods.has(originalMethod)) {
const wrapped = wrapper(originalMethod);
wrappedMethods.add(wrapped);
Class.prototype[methodName] = wrapped;
}
};
{
"name": "better-sqlite3",
"version": "7.1.1",
"version": "7.1.2",
"description": "The fastest and simplest library for SQLite3 in Node.js.",

@@ -15,3 +15,3 @@ "homepage": "http://github.com/JoshuaWise/better-sqlite3",

"prebuild-install": "^5.3.3",
"tar": "4.4.10"
"tar": "^6.0.5"
},

@@ -18,0 +18,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc