@xriss/weerss 0.0.6 → 0.0.8

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.
Files changed (2) hide show
  1. package/db.js +6 -0
  2. package/package.json +2 -2
package/db.js CHANGED
@@ -144,6 +144,12 @@ db.clear=async function(table)
144
144
  DELETE FROM ${table};
145
145
 
146
146
  `,{})
147
+
148
+ await db.handle.run(`
149
+
150
+ VACUUM;
151
+
152
+ `,{})
147
153
  }
148
154
 
149
155
  db.delete=async function(table,key)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xriss/weerss",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "source": "weerss.js",
5
5
  "type": "module",
6
6
  "repository": {
@@ -8,7 +8,7 @@
8
8
  "url": "git+https://github.com/xriss/weerss.git"
9
9
  },
10
10
  "bin": {
11
- "weerss": "./cmd.import.js"
11
+ "weerss": "cmd.import.js"
12
12
  },
13
13
  "scripts": {
14
14
  "watch": " webpack watch --config webpack.config.cjs --mode development ",