fix(core): update
This commit is contained in:
		
							
								
								
									
										3826
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										3826
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										10
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								package.json
									
									
									
									
									
								
							| @@ -14,18 +14,18 @@ | |||||||
|   }, |   }, | ||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|     "@gitzone/tsbuild": "^2.1.63", |     "@gitzone/tsbuild": "^2.1.63", | ||||||
|     "@gitzone/tstest": "^1.0.71", |     "@gitzone/tstest": "^1.0.72", | ||||||
|     "@pushrocks/tapbundle": "^5.0.3", |     "@pushrocks/tapbundle": "^5.0.4", | ||||||
|     "@types/node": "^17.0.36" |     "@types/node": "^18.6.3" | ||||||
|   }, |   }, | ||||||
|   "dependencies": { |   "dependencies": { | ||||||
|     "@apiglobal/typedrequest-interfaces": "^1.0.15", |     "@apiglobal/typedrequest-interfaces": "^1.0.15", | ||||||
|     "@pushrocks/lik": "^6.0.0", |     "@pushrocks/lik": "^6.0.0", | ||||||
|     "@pushrocks/smartenv": "^5.0.1", |     "@pushrocks/smartenv": "^5.0.1", | ||||||
|     "@pushrocks/smartjson": "^4.0.6", |     "@pushrocks/smartjson": "^5.0.1", | ||||||
|     "@pushrocks/smartpromise": "^3.1.6", |     "@pushrocks/smartpromise": "^3.1.6", | ||||||
|     "@pushrocks/smartrx": "^2.0.25", |     "@pushrocks/smartrx": "^2.0.25", | ||||||
|     "fake-indexeddb": "^3.1.7", |     "fake-indexeddb": "^4.0.0", | ||||||
|     "idb": "^7.0.2" |     "idb": "^7.0.2" | ||||||
|   }, |   }, | ||||||
|   "browserslist": [ |   "browserslist": [ | ||||||
|   | |||||||
| @@ -3,6 +3,6 @@ | |||||||
|  */ |  */ | ||||||
| export const commitinfo = { | export const commitinfo = { | ||||||
|   name: '@pushrocks/webstore', |   name: '@pushrocks/webstore', | ||||||
|   version: '2.0.4', |   version: '2.0.5', | ||||||
|   description: 'high performance storage in the browser using indexed db' |   description: 'high performance storage in the browser using indexed db' | ||||||
| } | } | ||||||
|   | |||||||
| @@ -25,7 +25,7 @@ export class WebStore<T = any> { | |||||||
|  |  | ||||||
|     const smartenv = new plugins.smartenv.Smartenv(); |     const smartenv = new plugins.smartenv.Smartenv(); | ||||||
|     if (!smartenv.isBrowser) { |     if (!smartenv.isBrowser) { | ||||||
|       await smartenv.getSafeNodeModule('fake-indexeddb/auto.js'); |       await smartenv.getSafeNodeModule('fake-indexeddb/auto'); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     this.db = await plugins.idb.openDB(this.options.dbName, 1, { |     this.db = await plugins.idb.openDB(this.options.dbName, 1, { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user