better-sqlite3
Advanced tools
Comparing version 7.1.1 to 7.1.2
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2723489
3849
4
+ Addedchownr@2.0.0(transitive)
+ Addedfs-minipass@2.1.0(transitive)
+ Addedminipass@3.3.65.0.0(transitive)
+ Addedminizlib@2.1.2(transitive)
+ Addedmkdirp@1.0.4(transitive)
+ Addedtar@6.2.1(transitive)
+ Addedyallist@4.0.0(transitive)
- Removedfs-minipass@1.2.7(transitive)
- Removedminipass@2.9.0(transitive)
- Removedminizlib@1.3.3(transitive)
- Removedmkdirp@0.5.6(transitive)
- Removedtar@4.4.10(transitive)
- Removedyallist@3.1.1(transitive)
Updatedtar@^6.0.5