chore: update @heyputer/kv.js dependency to version 0.2.0 and initialize cache with dbName in puter-js (#1623)

This commit is contained in:
Nariman Jelveh
2025-09-26 10:58:16 -07:00
committed by GitHub
parent 3fc183297f
commit a0b567da52
3 changed files with 12 additions and 3 deletions
+10 -1
View File
@@ -20077,7 +20077,7 @@
"version": "2.0.13",
"license": "Apache-2.0",
"dependencies": {
"@heyputer/kv.js": "^0.1.92",
"@heyputer/kv.js": "^0.2.0",
"@heyputer/putility": "^1.0.3"
},
"devDependencies": {
@@ -20085,6 +20085,15 @@
"webpack-cli": "^5.1.4"
}
},
"src/puter-js/node_modules/@heyputer/kv.js": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/@heyputer/kv.js/-/kv.js-0.2.0.tgz",
"integrity": "sha512-qTKOb3DA4jEd9c5NOuWXfBJD/cLQxvqiCSZ85X/nMqkwx0hx/3dkXp1vdNUVexWywte7PrkWCPyPxQVa6RPzyw==",
"license": "MIT",
"dependencies": {
"minimatch": "^9.0.0"
}
},
"src/puter-wisp": {
"name": "@heyputer/puter-wisp",
"version": "1.0.0",
+1 -1
View File
@@ -36,7 +36,7 @@
"webpack-cli": "^5.1.4"
},
"dependencies": {
"@heyputer/kv.js": "^0.1.92",
"@heyputer/kv.js": "^0.2.0",
"@heyputer/putility": "^1.0.3"
}
}
+1 -1
View File
@@ -130,7 +130,7 @@ const puterInit = (function() {
constructor() {
// Initialize the cache using kv.js
this._cache = new kvjs();
this._cache = new kvjs({dbName: 'puter_cache'});
// "modules" in puter.js are external interfaces for the developer
this.modules_ = [];