@cap-js/sqlite 1.7.0 → 1.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,20 @@
4
4
  - The format is based on [Keep a Changelog](http://keepachangelog.com/).
5
5
  - This project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
+ ## [1.7.2](https://github.com/cap-js/cds-dbs/compare/sqlite-v1.7.1...sqlite-v1.7.2) (2024-06-19)
8
+
9
+
10
+ ### Fixed
11
+
12
+ * **deps:** update dependency better-sqlite3 to v11 ([#669](https://github.com/cap-js/cds-dbs/issues/669)) ([7167ec5](https://github.com/cap-js/cds-dbs/commit/7167ec53d2e530bfa81def394acfa857e7d5b4fa))
13
+
14
+ ## [1.7.1](https://github.com/cap-js/cds-dbs/compare/sqlite-v1.7.0...sqlite-v1.7.1) (2024-05-16)
15
+
16
+
17
+ ### Fixed
18
+
19
+ * **deps:** update dependency better-sqlite3 to v10 ([#636](https://github.com/cap-js/cds-dbs/issues/636)) ([0cc60e7](https://github.com/cap-js/cds-dbs/commit/0cc60e72ec18e1704a07e0a9bfee5388de682ec7))
20
+
7
21
  ## [1.7.0](https://github.com/cap-js/cds-dbs/compare/sqlite-v1.6.0...sqlite-v1.7.0) (2024-05-08)
8
22
 
9
23
 
package/cds-plugin.js CHANGED
@@ -1,4 +1,4 @@
1
- const cds = require('@sap/cds/lib')
1
+ const cds = require('@sap/cds')
2
2
 
3
3
  if (!cds.env.fiori.lean_draft) {
4
4
  throw new Error('"@cap-js/sqlite" only works if cds.fiori.lean_draft is enabled. Please adapt your configuration.')
@@ -1,5 +1,5 @@
1
1
  const { SQLService } = require('@cap-js/db-service')
2
- const cds = require('@sap/cds/lib')
2
+ const cds = require('@sap/cds')
3
3
  const sqlite = require('better-sqlite3')
4
4
  const $session = Symbol('dbc.session')
5
5
  const convStrm = require('stream/consumers')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cap-js/sqlite",
3
- "version": "1.7.0",
3
+ "version": "1.7.2",
4
4
  "description": "CDS database service for SQLite",
5
5
  "homepage": "https://github.com/cap-js/cds-dbs/tree/main/sqlite#cds-database-service-for-sqlite",
6
6
  "repository": {
@@ -22,16 +22,12 @@
22
22
  "lib",
23
23
  "CHANGELOG.md"
24
24
  ],
25
- "engines": {
26
- "node": ">=16",
27
- "npm": ">=8"
28
- },
29
25
  "scripts": {
30
26
  "test": "jest --silent"
31
27
  },
32
28
  "dependencies": {
33
29
  "@cap-js/db-service": "^1.9.0",
34
- "better-sqlite3": "^9.3.0"
30
+ "better-sqlite3": "^11.0.0"
35
31
  },
36
32
  "peerDependencies": {
37
33
  "@sap/cds": ">=7.6"