Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sqlite

Package Overview
Dependencies
Maintainers
3
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sqlite - npm Package Compare versions

Comparing version 4.0.24 to 4.0.25

14

build/Database.js

@@ -94,3 +94,3 @@ "use strict";

return new Promise((resolve, reject) => {
const sqlObj = strings_1.toSqlParams(sql, params);
const sqlObj = (0, strings_1.toSqlParams)(sql, params);
this.db.run(sqlObj.sql, ...sqlObj.params, function (err) {

@@ -127,3 +127,3 @@ if (err) {

return new Promise((resolve, reject) => {
const sqlObj = strings_1.toSqlParams(sql, params);
const sqlObj = (0, strings_1.toSqlParams)(sql, params);
this.db.get(sqlObj.sql, ...sqlObj.params, (err, row) => {

@@ -150,3 +150,3 @@ if (err) {

}
const sqlObj = strings_1.toSqlParams(sql, params);
const sqlObj = (0, strings_1.toSqlParams)(sql, params);
this.db.each(sqlObj.sql, ...sqlObj.params, (err, row) => {

@@ -190,3 +190,3 @@ if (err) {

return new Promise((resolve, reject) => {
const sqlObj = strings_1.toSqlParams(sql, params);
const sqlObj = (0, strings_1.toSqlParams)(sql, params);
this.db.all(sqlObj.sql, ...sqlObj.params, (err, rows) => {

@@ -214,3 +214,3 @@ if (err) {

return new Promise((resolve, reject) => {
const sqlObj = strings_1.toSqlParams(sql, params);
const sqlObj = (0, strings_1.toSqlParams)(sql, params);
this.db.exec(sqlObj.sql, err => {

@@ -238,3 +238,3 @@ if (err) {

return new Promise((resolve, reject) => {
const sqlObj = strings_1.toSqlParams(sql, params);
const sqlObj = (0, strings_1.toSqlParams)(sql, params);
const stmt = this.db.prepare(sqlObj.sql, ...sqlObj.params, err => {

@@ -267,3 +267,3 @@ if (err) {

async migrate(config) {
await migrate_1.migrate(this, config);
await (0, migrate_1.migrate)(this, config);
}

@@ -270,0 +270,0 @@ /**

@@ -0,1 +1,11 @@

## 4.0.25 - Mon Mar 07 2022 08:50:06
**Contributor:** Theo Gravity
- Update packages, fix tests for latest jest (#159)
* Update packages, fix tests for latest jest
* Update node version on ci
## 4.0.24 - Sun Mar 06 2022 20:12:24

@@ -2,0 +12,0 @@

{
"name": "sqlite",
"version": "4.0.24",
"version": "4.0.25",
"description": "SQLite client for Node.js applications with SQL-based migrations API written in Typescript",

@@ -34,3 +34,3 @@ "main": "build/index.js",

"changelog:release": "changelog-version release",
"lint": "prettier-standard src/**/*.ts && standardx src/**/*.ts",
"lint": "standard --fix",
"ts-node-dev": "ts-node-dev"

@@ -73,17 +73,16 @@ },

"homepage": "https://github.com/kriasoft/node-sqlite#readme",
"dependencies": {},
"devDependencies": {
"@theo.gravity/changelog-version": "2.1.10",
"@theo.gravity/version-bump": "2.0.12",
"@types/jest": "26.0.22",
"@types/node": "^14.14.37",
"@types/sqlite3": "^3.1.7",
"@theo.gravity/changelog-version": "2.1.11",
"@theo.gravity/version-bump": "2.0.14",
"@types/jest": "27.4.1",
"@types/node": "^17.0.21",
"@types/sqlite3": "^3.1.8",
"@typescript-eslint/eslint-plugin": "^4.20.0",
"@typescript-eslint/parser": "^4.20.0",
"eslint": "7.23.0",
"git-commit-stamper": "^1.0.9",
"jest": "26.6.3",
"jest-cli": "26.6.3",
"git-commit-stamper": "^1.0.10",
"jest": "27.5.1",
"jest-cli": "27.5.1",
"jest-junit-reporter": "1.1.0",
"lint-staged": "10.5.4",
"lint-staged": "12.3.5",
"pre-commit": "1.2.2",

@@ -93,11 +92,11 @@ "prettier-standard": "16.4.1",

"sqlite3": "^5.0.2",
"sqlite3-offline": "^4.3.1",
"sqlite3-offline-next": "^5.0.3",
"standardx": "^7.0.0",
"toc-md-alt": "^0.4.1",
"ts-jest": "26.5.4",
"ts-node": "9.1.1",
"ts-node-dev": "1.1.6",
"typedoc": "^0.20.34",
"typedoc-plugin-markdown": "^3.6.0",
"typescript": "4.2.3",
"toc-md-alt": "^0.4.6",
"ts-jest": "27.1.3",
"ts-node": "10.7.0",
"ts-node-dev": "1.1.8",
"typedoc": "^0.22.13",
"typedoc-plugin-markdown": "^3.11.14",
"typescript": "4.6.2",
"version-bump-plugin-git": "^2.0.1"

@@ -104,0 +103,0 @@ },

@@ -49,3 +49,2 @@ # SQLite Client for Node.js Apps

- [References](#references)
- [Support](#support)
- [License](#license)

@@ -167,6 +166,6 @@

For example, using `sqlite3-offline`:
For example, using `sqlite3-offline-next`:
```typescript
import sqlite3Offline from 'sqlite3-offline'
import sqlite3Offline from 'sqlite3-offline-next'
import { open } from 'sqlite'

@@ -512,3 +511,3 @@

- [sql.js](https://github.com/sql-js/sql.js): SQLite compiled to Webassembly.
- [sqlite3-offline](https://github.com/DenisCarriere/sqlite3-offline): Offers pre-compiled `sqlite3`
- [sqlite3-offline-next](https://github.com/nicolaiort/sqlite3-offline-next): Offers pre-compiled `sqlite3`
binaries if your machine cannot compile it. Should be mostly compatible with this library.

@@ -524,7 +523,2 @@

## Support
* Join [#node-sqlite](https://gitter.im/kriasoft/node-sqlite) chat room on Gitter to stay up to date regarding the project
* Join [#sqlite](https://webchat.freenode.net/?channels=sql,sqlite) IRC chat room on Freenode about general discussion about SQLite
## License

@@ -531,0 +525,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc