js-dos 8.3.20 → 8.4.0

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 (42) hide show
  1. package/.codex +5 -0
  2. package/{ChangeLog.md → CHANGELOG.md} +32 -1
  3. package/README.deployment.md +32 -3
  4. package/dist/emulators/emulators.js +1 -1
  5. package/dist/emulators/emulators.js.map +1 -1
  6. package/dist/emulators/file-explorer.css +243 -0
  7. package/dist/emulators/file-explorer.js +8024 -0
  8. package/dist/emulators/fileexplorer_actions.woff +0 -0
  9. package/dist/emulators/fileexplorer_sprites.png +0 -0
  10. package/dist/emulators/sockdrive.js.map +1 -0
  11. package/dist/emulators/types/build.d.ts +8 -0
  12. package/dist/emulators/types/dos/dosbox/ts/audio-worklet.d.ts +1 -0
  13. package/dist/emulators/types/dos/dosbox/ts/direct.d.ts +2 -2
  14. package/dist/emulators/types/dos/dosbox/ts/worker.d.ts +2 -2
  15. package/dist/emulators/types/emulators.d.ts +9 -8
  16. package/dist/emulators/types/impl/emulators-impl.d.ts +2 -0
  17. package/dist/emulators/types/impl/modules.d.ts +5 -1
  18. package/dist/emulators/types/protocol/protocol.d.ts +53 -10
  19. package/dist/emulators/wdosbox-x-jspi.js +49 -0
  20. package/dist/emulators/wdosbox-x-jspi.js.symbols +10283 -0
  21. package/dist/emulators/wdosbox-x-jspi.wasm +0 -0
  22. package/dist/emulators/wdosbox-x.js +17 -22
  23. package/dist/emulators/wdosbox-x.js.symbols +10330 -9372
  24. package/dist/emulators/wdosbox-x.wasm +0 -0
  25. package/dist/emulators/wdosbox.js +15 -22
  26. package/dist/emulators/wdosbox.js.symbols +2846 -3026
  27. package/dist/emulators/wdosbox.wasm +0 -0
  28. package/dist/emulators/webrtcnet.mjs +2 -0
  29. package/dist/emulators/webrtcnet.wasm +0 -0
  30. package/dist/emulators/wlibzip.js +2 -21
  31. package/dist/emulators/wlibzip.js.symbols +186 -190
  32. package/dist/emulators/wlibzip.wasm +0 -0
  33. package/dist/js-dos.css +1 -1
  34. package/dist/js-dos.js +4 -4
  35. package/dist/js-dos.js.map +1 -1
  36. package/package.json +3 -2
  37. package/release.zip +0 -0
  38. package/scripts/brotli-dist.py +1 -1
  39. package/tsconfig.node.tsbuildinfo +1 -0
  40. package/dist/emulators/types/protocol/mini-lz4.d.ts +0 -3
  41. package/dist/emulators/types/protocol/sockdrive-store.d.ts +0 -18
  42. package/dist/emulators/types/protocol/sockdrive.d.ts +0 -28
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "js-dos",
3
- "version": "8.3.20",
3
+ "version": "8.4.0",
4
4
  "description": "Full-featured DOS player with multiple emulator backends",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -35,9 +35,10 @@
35
35
  "@types/element-resize-detector": "^1.1.6",
36
36
  "@typescript-eslint/eslint-plugin": "^6.20.0",
37
37
  "@typescript-eslint/parser": "^6.20.0",
38
+ "@vitejs/plugin-basic-ssl": "^2.1.0",
38
39
  "autoprefixer": "^10.4.17",
39
40
  "daisyui": "^3.9.3",
40
- "emulators": "8.3.8",
41
+ "emulators": "8.4.0",
41
42
  "eslint": "^8.56.0",
42
43
  "eslint-config-google": "^0.14.0",
43
44
  "postcss": "^8.4.33",
package/release.zip CHANGED
Binary file
@@ -8,7 +8,7 @@ def brotli_compress_file(file_path):
8
8
  try:
9
9
  subprocess.run(['brotli', '-Zf', file_path], check=True)
10
10
  os.remove(file_path)
11
- if (file_path.endswith(".js") or file_path.endswith(".wasm") or file_path.endswith(".css")):
11
+ if (file_path.endswith(".js") or file_path.endswith(".wasm") or file_path.endswith(".mjs")) or file_path.endswith("file-explorer.css"):
12
12
  os.rename(file_path + '.br', file_path + ".ea")
13
13
  else:
14
14
  os.rename(file_path + '.br', file_path)
@@ -0,0 +1 @@
1
+ {"program":{"fileNames":["./node_modules/typescript/lib/lib.d.ts","./node_modules/typescript/lib/lib.es5.d.ts","./node_modules/typescript/lib/lib.dom.d.ts","./node_modules/typescript/lib/lib.webworker.importscripts.d.ts","./node_modules/typescript/lib/lib.scripthost.d.ts","./node_modules/typescript/lib/lib.decorators.d.ts","./node_modules/typescript/lib/lib.decorators.legacy.d.ts","./node_modules/@types/estree/index.d.ts","./node_modules/rollup/dist/rollup.d.ts","./node_modules/vite/types/hmrPayload.d.ts","./node_modules/vite/types/customEvent.d.ts","./node_modules/vite/types/hot.d.ts","./node_modules/vite/dist/node/types.d-aGj9QkWt.d.ts","./node_modules/esbuild/lib/main.d.ts","./node_modules/source-map-js/source-map.d.ts","./node_modules/postcss/lib/previous-map.d.ts","./node_modules/postcss/lib/input.d.ts","./node_modules/postcss/lib/css-syntax-error.d.ts","./node_modules/postcss/lib/declaration.d.ts","./node_modules/postcss/lib/root.d.ts","./node_modules/postcss/lib/warning.d.ts","./node_modules/postcss/lib/lazy-result.d.ts","./node_modules/postcss/lib/no-work-result.d.ts","./node_modules/postcss/lib/processor.d.ts","./node_modules/postcss/lib/result.d.ts","./node_modules/postcss/lib/document.d.ts","./node_modules/postcss/lib/rule.d.ts","./node_modules/postcss/lib/node.d.ts","./node_modules/postcss/lib/comment.d.ts","./node_modules/postcss/lib/container.d.ts","./node_modules/postcss/lib/at-rule.d.ts","./node_modules/postcss/lib/list.d.ts","./node_modules/postcss/lib/postcss.d.ts","./node_modules/vite/dist/node/runtime.d.ts","./node_modules/vite/types/importGlob.d.ts","./node_modules/vite/types/metadata.d.ts","./node_modules/vite/dist/node/index.d.ts","./node_modules/@rollup/pluginutils/types/index.d.ts","./node_modules/@babel/types/lib/index.d.ts","./node_modules/@babel/parser/typings/babel-parser.d.ts","./node_modules/@preact/preset-vite/dist/types/index.d.ts","./node_modules/@vitejs/plugin-basic-ssl/dist/index.d.ts","./vite.config.ts","./node_modules/@types/element-resize-detector/index.d.ts","./node_modules/@types/react/global.d.ts","./node_modules/csstype/index.d.ts","./node_modules/@types/prop-types/index.d.ts","./node_modules/@types/scheduler/tracing.d.ts","./node_modules/@types/react/index.d.ts","./node_modules/@types/hoist-non-react-statics/index.d.ts","./node_modules/@types/json-schema/index.d.ts","./node_modules/@types/scheduler/index.d.ts","./node_modules/@types/semver/classes/semver.d.ts","./node_modules/@types/semver/functions/parse.d.ts","./node_modules/@types/semver/functions/valid.d.ts","./node_modules/@types/semver/functions/clean.d.ts","./node_modules/@types/semver/functions/inc.d.ts","./node_modules/@types/semver/functions/diff.d.ts","./node_modules/@types/semver/functions/major.d.ts","./node_modules/@types/semver/functions/minor.d.ts","./node_modules/@types/semver/functions/patch.d.ts","./node_modules/@types/semver/functions/prerelease.d.ts","./node_modules/@types/semver/functions/compare.d.ts","./node_modules/@types/semver/functions/rcompare.d.ts","./node_modules/@types/semver/functions/compare-loose.d.ts","./node_modules/@types/semver/functions/compare-build.d.ts","./node_modules/@types/semver/functions/sort.d.ts","./node_modules/@types/semver/functions/rsort.d.ts","./node_modules/@types/semver/functions/gt.d.ts","./node_modules/@types/semver/functions/lt.d.ts","./node_modules/@types/semver/functions/eq.d.ts","./node_modules/@types/semver/functions/neq.d.ts","./node_modules/@types/semver/functions/gte.d.ts","./node_modules/@types/semver/functions/lte.d.ts","./node_modules/@types/semver/functions/cmp.d.ts","./node_modules/@types/semver/functions/coerce.d.ts","./node_modules/@types/semver/classes/comparator.d.ts","./node_modules/@types/semver/classes/range.d.ts","./node_modules/@types/semver/functions/satisfies.d.ts","./node_modules/@types/semver/ranges/max-satisfying.d.ts","./node_modules/@types/semver/ranges/min-satisfying.d.ts","./node_modules/@types/semver/ranges/to-comparators.d.ts","./node_modules/@types/semver/ranges/min-version.d.ts","./node_modules/@types/semver/ranges/valid.d.ts","./node_modules/@types/semver/ranges/outside.d.ts","./node_modules/@types/semver/ranges/gtr.d.ts","./node_modules/@types/semver/ranges/ltr.d.ts","./node_modules/@types/semver/ranges/intersects.d.ts","./node_modules/@types/semver/ranges/simplify.d.ts","./node_modules/@types/semver/ranges/subset.d.ts","./node_modules/@types/semver/internals/identifiers.d.ts","./node_modules/@types/semver/index.d.ts","./node_modules/@types/use-sync-external-store/index.d.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"f33e5332b24c3773e930e212cbb8b6867c8ba3ec4492064ea78e55a524d57450","affectsGlobalScope":true},{"version":"21e41a76098aa7a191028256e52a726baafd45a925ea5cf0222eb430c96c1d83","affectsGlobalScope":true},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"785b9d575b49124ce01b46f5b9402157c7611e6532effa562ac6aebec0074dfc",{"version":"1caec58c119ec3e32e181256dd8fa6dd12b081aa2399a5fcf4cccc5c6578fab2","affectsGlobalScope":true},"282f98006ed7fa9bb2cd9bdbe2524595cfc4bcd58a0bb3232e4519f2138df811","6222e987b58abfe92597e1273ad7233626285bc2d78409d4a7b113d81a83496b","cbe726263ae9a7bf32352380f7e8ab66ee25b3457137e316929269c19e18a2be","8b96046bf5fb0a815cba6b0880d9f97b7f3a93cf187e8dcfe8e2792e97f38f87",{"version":"bacf2c84cf448b2cd02c717ad46c3d7fd530e0c91282888c923ad64810a4d511","affectsGlobalScope":true},"402e5c534fb2b85fa771170595db3ac0dd532112c8fa44fc23f233bc6967488b","8885cf05f3e2abf117590bbb951dcf6359e3e5ac462af1c901cfd24c6a6472e2","769adbb54d25963914e1d8ce4c3d9b87614bf60e6636b32027e98d4f684d5586","e61df3640a38d535fd4bc9f4a53aef17c296b58dc4b6394fd576b808dd2fe5e6","80781460eca408fe8d2937d9fdbbb780d6aac35f549621e6200c9bee1da5b8fe","4719c209b9c00b579553859407a7e5dcfaa1c472994bd62aa5dd3cc0757eb077","7ec359bbc29b69d4063fe7dad0baaf35f1856f914db16b3f4f6e3e1bca4099fa","b9261ac3e9944d3d72c5ee4cf888ad35d9743a5563405c6963c4e43ee3708ca4","c84fd54e8400def0d1ef1569cafd02e9f39a622df9fa69b57ccc82128856b916","a022503e75d6953d0e82c2c564508a5c7f8556fad5d7f971372d2d40479e4034","2ed6489ef46eb61442d067c08e87e3db501c0bfb2837eee4041a27bf3e792bb0","644491cde678bd462bb922c1d0cfab8f17d626b195ccb7f008612dc31f445d2d","495e8ce8a3b99536dcc4e695d225123534d90ab75f316befe68de4b9336aae5d","f45a2a8b1777ecb50ed65e1a04bb899d4b676529b7921bd5d69b08573a00c832","774b783046ba3d473948132d28a69f52a295b2f378f2939304118ba571b1355e","b5734e05c787a40e4f9efe71f16683c5f7dc3bdb0de7c04440c855bd000f8fa7","14ba97f0907144771331e1349fdccb5a13526eba0647e6b447e572376d811b6f","2a771d907aebf9391ac1f50e4ad37952943515eeea0dcc7e78aa08f508294668","0146fd6262c3fd3da51cb0254bb6b9a4e42931eb2f56329edd4c199cb9aaf804","82e687ebd99518bc63ea04b0c3810fb6e50aa6942decd0ca6f7a56d9b9a212a6","7f698624bbbb060ece7c0e51b7236520ebada74b747d7523c7df376453ed6fea","8f07f2b6514744ac96e51d7cb8518c0f4de319471237ea10cf688b8d0e9d0225","0a95d25ef86ecf0f3f04d23eeef241b7adf2be8c541d8b567564306d3b9248cf","a9f91293db40d37d133ea3a3a70a5d00f6913635ed277405c73ab22b264484f8","f713064ca751dc588bc13832137c418cb70cf0446de92ade60ad631071558fca","96c23535f4f9dd15beb767e070559ea672f6a35f103152836a67100605136a96","496ebc90554ddf5e13537f8365753265042df462d71c192eca3417e3b7380d0f","dc63a064e4157f46f412c0d19f2697fadea67a8de5529b56359e3b500ea46f95",{"version":"e0eb7d116c5b7e321527031bdde038a6d755b4b9b7da651f4f5bd474c23ab4cc","signature":"4b96dd19fd2949d28ce80e913412b0026dc421e5bf6c31d87c7b5eb11b5753b4"},"8140b9c0334bcbc43c87fd2a00f1b99a336bc3f6525e889ed2287b40cbc0e929",{"version":"bbdf156fea2fabed31a569445835aeedcc33643d404fcbaa54541f06c109df3f","affectsGlobalScope":true},"1c29793071152b207c01ea1954e343be9a44d85234447b2b236acae9e709a383","6a386ff939f180ae8ef064699d8b7b6e62bc2731a62d7fbf5e02589383838dea","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"ef8a481f9f2205fcc287eef2b4e461d2fc16bc8a0e49a844681f2f742d69747e","affectsGlobalScope":true},"bfe1b52cf71aea9bf8815810cc5d9490fa9617313e3d3c2ee3809a28b80d0bb4","dca41e86e89dfb2e85e6935260250f02eb6683b86c2fa16bec729ddd1bcd9b4b","74b0245c42990ed8a849df955db3f4362c81b13f799ebc981b7bec2d5b414a57","2b93035328f7778d200252681c1d86285d501ed424825a18f81e4c3028aa51d9","2ac9c8332c5f8510b8bdd571f8271e0f39b0577714d5e95c1e79a12b2616f069","42c21aa963e7b86fa00801d96e88b36803188018d5ad91db2a9101bccd40b3ff","d31eb848cdebb4c55b4893b335a7c0cca95ad66dee13cbb7d0893810c0a9c301","b9f96255e1048ed2ea33ec553122716f0e57fc1c3ad778e9aa15f5b46547bd23","7a9e0a564fee396cacf706523b5aeed96e04c6b871a8bebefad78499fbffc5bc","906c751ef5822ec0dadcea2f0e9db64a33fb4ee926cc9f7efa38afe5d5371b2a","5387c049e9702f2d2d7ece1a74836a14b47fbebe9bbeb19f94c580a37c855351","c68391fb9efad5d99ff332c65b1606248c4e4a9f1dd9a087204242b56c7126d6","e9cf02252d3a0ced987d24845dcb1f11c1be5541f17e5daa44c6de2d18138d0c","e8b02b879754d85f48489294f99147aeccc352c760d95a6fe2b6e49cd400b2fe","9f6908ab3d8a86c68b86e38578afc7095114e66b2fc36a2a96e9252aac3998e0","0eedb2344442b143ddcd788f87096961cd8572b64f10b4afc3356aa0460171c6","71405cc70f183d029cc5018375f6c35117ffdaf11846c35ebf85ee3956b1b2a6","c68baff4d8ba346130e9753cefe2e487a16731bf17e05fdacc81e8c9a26aae9d","2cd15528d8bb5d0453aa339b4b52e0696e8b07e790c153831c642c3dea5ac8af","479d622e66283ffa9883fbc33e441f7fc928b2277ff30aacbec7b7761b4e9579","ade307876dc5ca267ca308d09e737b611505e015c535863f22420a11fffc1c54","f8cdefa3e0dee639eccbe9794b46f90291e5fd3989fcba60d2f08fde56179fb9","86c5a62f99aac7053976e317dbe9acb2eaf903aaf3d2e5bb1cafe5c2df7b37a8","2b300954ce01a8343866f737656e13243e86e5baef51bd0631b21dcef1f6e954","a2d409a9ffd872d6b9d78ead00baa116bbc73cfa959fce9a2f29d3227876b2a1","b288936f560cd71f4a6002953290de9ff8dfbfbf37f5a9391be5c83322324898","61178a781ef82e0ff54f9430397e71e8f365fc1e3725e0e5346f2de7b0d50dfa","6a6ccb37feb3aad32d9be026a3337db195979cd5727a616fc0f557e974101a54","c649ea79205c029a02272ef55b7ab14ada0903db26144d2205021f24727ac7a3","38e2b02897c6357bbcff729ef84c736727b45cc152abe95a7567caccdfad2a1d","d6610ea7e0b1a7686dba062a1e5544dd7d34140f4545305b7c6afaebfb348341","3dee35db743bdba2c8d19aece7ac049bde6fa587e195d86547c882784e6ba34c","b15e55c5fa977c2f25ca0b1db52cfa2d1fd4bf0baf90a8b90d4a7678ca462ff1","f41d30972724714763a2698ae949fbc463afb203b5fa7c4ad7e4de0871129a17","843dd7b6a7c6269fd43827303f5cbe65c1fecabc30b4670a50d5a15d57daeeb9","f06d8b8567ee9fd799bf7f806efe93b67683ef24f4dea5b23ef12edff4434d9d","6017384f697ff38bc3ef6a546df5b230c3c31329db84cbfe686c83bec011e2b2","e1a5b30d9248549ca0c0bb1d653bafae20c64c4aa5928cc4cd3017b55c2177b0","a593632d5878f17295bd53e1c77f27bf4c15212822f764a2bfc1702f4b413fa0","a868a534ba1c2ca9060b8a13b0ffbbbf78b4be7b0ff80d8c75b02773f7192c29","da7545aba8f54a50fde23e2ede00158dc8112560d934cee58098dfb03aae9b9d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","a1a261624efb3a00ff346b13580f70f3463b8cdcc58b60f5793ff11785d52cab","61f41da9aaa809e5142b1d849d4e70f3e09913a5cb32c629bf6e61ef27967ff7"],"root":[43],"options":{"allowSyntheticDefaultImports":true,"composite":true,"module":99},"fileIdsList":[[39],[37,38,40],[8,9],[49],[45,46,47,48],[53,92],[53,77,92],[92],[53],[53,78,92],[53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91],[78,92],[37],[30],[28,30],[19,27,28,29,31],[17],[20,25,30,33],[16,33],[20,21,24,25,26,33],[20,21,22,24,25,33],[17,18,19,20,21,25,26,27,29,30,31,33],[15,17,18,19,20,21,22,24,25,26,27,28,29,30,31,32],[15,33],[20,22,23,25,26,33],[24,33],[25,26,30,33],[18,28],[9,10,11,12,13,14,33,34,35,36],[10,11,12,13],[10,11,12],[10],[11],[9],[37,41,42]],"referencedMap":[[40,1],[41,2],[38,3],[50,4],[49,5],[77,6],[78,7],[53,8],[56,8],[75,6],[76,6],[66,6],[65,9],[63,6],[58,6],[71,6],[69,6],[73,6],[57,6],[70,6],[74,6],[59,6],[60,6],[72,6],[54,6],[61,6],[62,6],[64,6],[68,6],[79,10],[67,6],[55,6],[92,11],[86,10],[88,12],[87,10],[80,10],[81,10],[83,10],[85,10],[89,12],[90,12],[82,12],[84,12],[42,13],[31,14],[29,15],[30,16],[18,17],[19,15],[26,18],[17,19],[22,20],[23,21],[28,22],[33,23],[16,24],[24,25],[25,26],[20,27],[27,14],[21,28],[9,3],[37,29],[34,30],[13,31],[11,32],[12,33],[36,34],[43,35]],"exportedModulesMap":[[40,1],[41,2],[38,3],[50,4],[49,5],[77,6],[78,7],[53,8],[56,8],[75,6],[76,6],[66,6],[65,9],[63,6],[58,6],[71,6],[69,6],[73,6],[57,6],[70,6],[74,6],[59,6],[60,6],[72,6],[54,6],[61,6],[62,6],[64,6],[68,6],[79,10],[67,6],[55,6],[92,11],[86,10],[88,12],[87,10],[80,10],[81,10],[83,10],[85,10],[89,12],[90,12],[82,12],[84,12],[42,13],[31,14],[29,15],[30,16],[18,17],[19,15],[26,18],[17,19],[22,20],[23,21],[28,22],[33,23],[16,24],[24,25],[25,26],[20,27],[27,14],[21,28],[9,3],[37,29],[34,30],[13,31],[11,32],[12,33],[36,34],[43,13]],"semanticDiagnosticsPerFile":[40,39,41,38,44,8,50,51,[47,[{"file":"./node_modules/@types/prop-types/index.d.ts","start":723,"length":8,"messageText":"Cannot find name 'Iterable'.","category":1,"code":2304}]],45,[49,[{"file":"./node_modules/@types/react/index.d.ts","start":10185,"length":13,"messageText":"Type alias 'ReactFragment' circularly references itself.","category":1,"code":2456},{"file":"./node_modules/@types/react/index.d.ts","start":10201,"length":8,"messageText":"Cannot find name 'Iterable'.","category":1,"code":2304},{"file":"./node_modules/@types/react/index.d.ts","start":10231,"length":9,"messageText":"Type alias 'ReactNode' circularly references itself.","category":1,"code":2456},{"file":"./node_modules/@types/react/index.d.ts","start":18425,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583}]],52,[48,[{"file":"./node_modules/@types/scheduler/tracing.d.ts","start":1987,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/@types/scheduler/tracing.d.ts","start":2196,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/@types/scheduler/tracing.d.ts","start":2717,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/@types/scheduler/tracing.d.ts","start":2937,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/@types/scheduler/tracing.d.ts","start":3031,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/@types/scheduler/tracing.d.ts","start":3362,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583}]],77,78,53,56,75,76,66,65,63,58,71,69,73,57,70,74,59,60,72,54,61,62,64,68,79,67,55,92,91,86,88,87,80,81,83,85,89,90,82,84,93,42,46,14,31,29,30,18,19,26,17,[22,[{"file":"./node_modules/postcss/lib/lazy-result.d.ts","start":1473,"length":9,"messageText":"Property 'finally' does not exist on type 'Promise<Result_<RootNode>>'.","category":1,"code":2339},{"file":"./node_modules/postcss/lib/lazy-result.d.ts","start":4863,"length":6,"messageText":"'Symbol' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later.","category":1,"code":2585}]],32,[23,[{"file":"./node_modules/postcss/lib/no-work-result.d.ts","start":1067,"length":9,"messageText":"Property 'finally' does not exist on type 'Promise<Result_<Root_>>'.","category":1,"code":2339},{"file":"./node_modules/postcss/lib/no-work-result.d.ts","start":1465,"length":6,"messageText":"'Symbol' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later.","category":1,"code":2585}]],28,33,16,24,25,20,27,21,[9,[{"file":"./node_modules/rollup/dist/rollup.d.ts","start":5915,"length":16,"messageText":"Cannot find name 'IterableIterator'.","category":1,"code":2304},{"file":"./node_modules/rollup/dist/rollup.d.ts","start":15142,"length":16,"messageText":"Cannot find name 'IterableIterator'.","category":1,"code":2304},{"file":"./node_modules/rollup/dist/rollup.d.ts","start":25201,"length":21,"messageText":"A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type.","category":1,"code":1169},{"file":"./node_modules/rollup/dist/rollup.d.ts","start":25202,"length":6,"messageText":"'Symbol' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later.","category":1,"code":2585}]],15,1,6,7,3,2,5,4,[37,[{"file":"./node_modules/vite/dist/node/index.d.ts","start":551,"length":17,"messageText":"Cannot find module 'rollup/parseAst' or its corresponding type declarations.","category":1,"code":2307},{"file":"./node_modules/vite/dist/node/index.d.ts","start":592,"length":11,"messageText":"Cannot find module 'node:http' or its corresponding type declarations.","category":1,"code":2307},{"file":"./node_modules/vite/dist/node/index.d.ts","start":723,"length":11,"messageText":"Cannot find module 'node:http' or its corresponding type declarations.","category":1,"code":2307},{"file":"./node_modules/vite/dist/node/index.d.ts","start":770,"length":12,"messageText":"Cannot find module 'node:http2' or its corresponding type declarations.","category":1,"code":2307},{"file":"./node_modules/vite/dist/node/index.d.ts","start":804,"length":9,"messageText":"Cannot find module 'node:fs' or its corresponding type declarations.","category":1,"code":2307},{"file":"./node_modules/vite/dist/node/index.d.ts","start":839,"length":13,"messageText":"Cannot find module 'node:events' or its corresponding type declarations.","category":1,"code":2307},{"file":"./node_modules/vite/dist/node/index.d.ts","start":883,"length":13,"messageText":"Cannot find module 'node:events' or its corresponding type declarations.","category":1,"code":2307},{"file":"./node_modules/vite/dist/node/index.d.ts","start":973,"length":12,"messageText":"Cannot find module 'node:https' or its corresponding type declarations.","category":1,"code":2307},{"file":"./node_modules/vite/dist/node/index.d.ts","start":1008,"length":10,"messageText":"Cannot find module 'node:net' or its corresponding type declarations.","category":1,"code":2307},{"file":"./node_modules/vite/dist/node/index.d.ts","start":1041,"length":10,"messageText":"Cannot find module 'node:url' or its corresponding type declarations.","category":1,"code":2307},{"file":"./node_modules/vite/dist/node/index.d.ts","start":1073,"length":10,"messageText":"Cannot find module 'node:url' or its corresponding type declarations.","category":1,"code":2307},{"file":"./node_modules/vite/dist/node/index.d.ts","start":1109,"length":13,"messageText":"Cannot find module 'node:stream' or its corresponding type declarations.","category":1,"code":2307},{"file":"./node_modules/vite/dist/node/index.d.ts","start":1162,"length":13,"messageText":"Cannot find module 'node:stream' or its corresponding type declarations.","category":1,"code":2307},{"file":"./node_modules/vite/dist/node/index.d.ts","start":1348,"length":10,"messageText":"Cannot find module 'node:tls' or its corresponding type declarations.","category":1,"code":2307},{"file":"./node_modules/vite/dist/node/index.d.ts","start":1388,"length":11,"messageText":"Cannot find module 'node:zlib' or its corresponding type declarations.","category":1,"code":2307},{"file":"./node_modules/vite/dist/node/index.d.ts","start":11184,"length":6,"messageText":"Cannot find namespace 'NodeJS'.","category":1,"code":2503},{"file":"./node_modules/vite/dist/node/index.d.ts","start":13735,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.","category":1,"code":2580},{"file":"./node_modules/vite/dist/node/index.d.ts","start":28632,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":28676,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":28717,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":28755,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":28796,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":28838,"length":3,"messageText":"Cannot find name 'Map'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":28850,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":29328,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":29519,"length":3,"messageText":"Cannot find name 'Map'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":29563,"length":3,"messageText":"Cannot find name 'Map'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":29609,"length":3,"messageText":"Cannot find name 'Map'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":29656,"length":3,"messageText":"Cannot find name 'Map'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":29668,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":29707,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":29989,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":30139,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":30710,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":30754,"length":3,"messageText":"Cannot find name 'Map'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":30766,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":30804,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":30847,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":30924,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":32034,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":32610,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":35059,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.","category":1,"code":2580},{"file":"./node_modules/vite/dist/node/index.d.ts","start":37020,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.","category":1,"code":2580},{"file":"./node_modules/vite/dist/node/index.d.ts","start":37511,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.","category":1,"code":2580},{"file":"./node_modules/vite/dist/node/index.d.ts","start":37889,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.","category":1,"code":2580},{"file":"./node_modules/vite/dist/node/index.d.ts","start":38390,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.","category":1,"code":2580},{"file":"./node_modules/vite/dist/node/index.d.ts","start":38771,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.","category":1,"code":2580},{"file":"./node_modules/vite/dist/node/index.d.ts","start":39267,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.","category":1,"code":2580},{"file":"./node_modules/vite/dist/node/index.d.ts","start":39637,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.","category":1,"code":2580},{"file":"./node_modules/vite/dist/node/index.d.ts","start":40056,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.","category":1,"code":2580},{"file":"./node_modules/vite/dist/node/index.d.ts","start":40369,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.","category":1,"code":2580},{"file":"./node_modules/vite/dist/node/index.d.ts","start":40803,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.","category":1,"code":2580},{"file":"./node_modules/vite/dist/node/index.d.ts","start":41195,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.","category":1,"code":2580},{"file":"./node_modules/vite/dist/node/index.d.ts","start":41218,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.","category":1,"code":2580},{"file":"./node_modules/vite/dist/node/index.d.ts","start":41333,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.","category":1,"code":2580},{"file":"./node_modules/vite/dist/node/index.d.ts","start":41356,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.","category":1,"code":2580},{"file":"./node_modules/vite/dist/node/index.d.ts","start":41488,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.","category":1,"code":2580},{"file":"./node_modules/vite/dist/node/index.d.ts","start":41497,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.","category":1,"code":2580},{"file":"./node_modules/vite/dist/node/index.d.ts","start":42463,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.","category":1,"code":2580},{"file":"./node_modules/vite/dist/node/index.d.ts","start":43651,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.","category":1,"code":2580},{"file":"./node_modules/vite/dist/node/index.d.ts","start":43660,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.","category":1,"code":2580},{"file":"./node_modules/vite/dist/node/index.d.ts","start":44652,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":45276,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":45521,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.","category":1,"code":2580},{"file":"./node_modules/vite/dist/node/index.d.ts","start":50701,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":59840,"length":3,"messageText":"Cannot find name 'Map'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":80416,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.","category":1,"code":2580},{"file":"./node_modules/vite/dist/node/index.d.ts","start":100088,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":119720,"length":3,"messageText":"Cannot find name 'Map'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/index.d.ts","start":121103,"length":6,"messageText":"Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.","category":1,"code":2580}]],[34,[{"file":"./node_modules/vite/dist/node/runtime.d.ts","start":962,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583}]],[13,[{"file":"./node_modules/vite/dist/node/types.d-aGj9QkWt.d.ts","start":231,"length":3,"messageText":"Cannot find name 'Map'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/types.d-aGj9QkWt.d.ts","start":1024,"length":3,"messageText":"Cannot find name 'Map'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/types.d-aGj9QkWt.d.ts","start":1064,"length":3,"messageText":"Cannot find name 'Map'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/types.d-aGj9QkWt.d.ts","start":1128,"length":3,"messageText":"Cannot find name 'Map'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/types.d-aGj9QkWt.d.ts","start":1191,"length":3,"messageText":"Cannot find name 'Map'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/types.d-aGj9QkWt.d.ts","start":1276,"length":3,"messageText":"Cannot find name 'Map'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/types.d-aGj9QkWt.d.ts","start":3042,"length":3,"messageText":"Cannot find name 'Map'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/types.d-aGj9QkWt.d.ts","start":3738,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/types.d-aGj9QkWt.d.ts","start":3899,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/types.d-aGj9QkWt.d.ts","start":3926,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/types.d-aGj9QkWt.d.ts","start":3940,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/types.d-aGj9QkWt.d.ts","start":4107,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/types.d-aGj9QkWt.d.ts","start":4134,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/types.d-aGj9QkWt.d.ts","start":4148,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/types.d-aGj9QkWt.d.ts","start":6442,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/dist/node/types.d-aGj9QkWt.d.ts","start":6469,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583}]],11,10,[12,[{"file":"./node_modules/vite/types/hot.d.ts","start":118,"length":20,"messageText":"A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type.","category":1,"code":1170},{"file":"./node_modules/vite/types/hot.d.ts","start":119,"length":6,"messageText":"'Symbol' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later.","category":1,"code":2585}]],35,[36,[{"file":"./node_modules/vite/types/metadata.d.ts","start":51,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583},{"file":"./node_modules/vite/types/metadata.d.ts","start":78,"length":3,"messageText":"Cannot find name 'Set'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.","category":1,"code":2583}]],[43,[{"file":"./vite.config.ts","start":688,"length":7,"messageText":"Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.","category":1,"code":2580}]]],"affectedFilesPendingEmit":[43],"emitSignatures":[43]},"version":"5.3.3"}
@@ -1,3 +0,0 @@
1
- export declare const compressBound: any;
2
- export declare const compress: any;
3
- export declare const uncompress: any;
@@ -1,18 +0,0 @@
1
- export declare const RAW_STORE = "raw";
2
- export declare const WRITE_STORE = "write";
3
- export interface Store {
4
- put: (key: number, data: Uint8Array, store: string) => Promise<void>;
5
- get: (key: number, store: string) => Promise<Uint8Array | null>;
6
- keys: (store: string) => Promise<number[]>;
7
- each: (key: number[], store: string, callback: (key: number, data: Uint8Array) => void) => Promise<void>;
8
- close: () => void;
9
- }
10
- export declare class NoStore implements Store {
11
- owner: string;
12
- close(): void;
13
- put(key: number, data: Uint8Array, store: string): Promise<void>;
14
- get(range: number, store: string): Promise<Uint8Array | null>;
15
- keys(store: string): Promise<number[]>;
16
- each(keys: number[], store: string, callback: (key: number, data: Uint8Array) => void): Promise<void>;
17
- }
18
- export declare function getStore(owner: string): Promise<Store>;
@@ -1,28 +0,0 @@
1
- interface DriveInfo {
2
- ahead_read: number;
3
- range_count: number;
4
- dropped_ranges: number[];
5
- preload_ranges: number[] | "_";
6
- small_ranges: number[];
7
- cylinders: number;
8
- heads: number;
9
- sectors: number;
10
- sector_size: number;
11
- size: number;
12
- name: string;
13
- url: string;
14
- preloadSizeInBytes: number;
15
- sizeInBytes: number;
16
- readInBytes: number;
17
- writeInBytes: number;
18
- }
19
- export interface Drive {
20
- info: DriveInfo;
21
- range(sector: number): number;
22
- readRangeAsync(range: number): void;
23
- ready(): void;
24
- write(sector: number, buffer: Uint8Array): void;
25
- persist(): Promise<Uint8Array | null>;
26
- }
27
- export declare function sockdrive(url: string, _onNewRange: (range: number, buffer: Uint8Array) => void): Promise<Drive>;
28
- export {};