fastify-session-better-sqlite3-store 2.1.1 → 2.1.3

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.
@@ -13,7 +13,7 @@ jobs:
13
13
  strategy:
14
14
  matrix:
15
15
  os: [ubuntu-latest, windows-latest, macOs-latest]
16
- node-version: [16.x, 18.x]
16
+ node-version: [20.x, 22.x, 24.x]
17
17
 
18
18
  steps:
19
19
  - uses: actions/checkout@v3
@@ -22,5 +22,5 @@ jobs:
22
22
  with:
23
23
  node-version: ${{ matrix.node-version }}
24
24
  cache: 'npm'
25
- - run: npm ci
25
+ - run: npm install
26
26
  - run: npm test
package/index.js CHANGED
@@ -24,7 +24,7 @@ class SqliteStore extends EventEmitter {
24
24
  )`
25
25
  )
26
26
  } catch (err) {
27
- if (err.toString() !== 'SqliteError: table session already exists') {
27
+ if (err.toString() !== `SqliteError: table ${table} already exists`) {
28
28
  throw err
29
29
  }
30
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fastify-session-better-sqlite3-store",
3
- "version": "2.1.1",
3
+ "version": "2.1.3",
4
4
  "description": "A simple session store for fastify-session using better-sqlite3",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -26,10 +26,10 @@
26
26
  "author": "mrdcvlsc",
27
27
  "license": "MIT",
28
28
  "devDependencies": {
29
- "@fastify/cookie": "^9.1.0",
30
- "@fastify/session": "^10.5.0",
31
- "better-sqlite3": "^9.0.0",
32
- "fastify": "^4.24.3",
33
- "standard": "^17.1.0"
29
+ "@fastify/cookie": "^11.0.2",
30
+ "@fastify/session": "^11.1.1",
31
+ "better-sqlite3": "^12.6.2",
32
+ "fastify": "^5.7.2",
33
+ "standard": "^17.1.2"
34
34
  }
35
35
  }