mirror of
https://github.com/HeyPuter/puter.git
synced 2026-08-26 07:57:10 +00:00
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:
Generated
+10
-1
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
@@ -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_ = [];
|
||||
|
||||
Reference in New Issue
Block a user