wasm-idle 0.0.6 → 0.0.7

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.
@@ -1,3 +1,8 @@
1
+ self.document = {
2
+ querySelectorAll() {
3
+ return [];
4
+ }
5
+ };
1
6
  let stdinBufferClang, interruptBufferClang, clang;
2
7
  async function loadClang(path, log) {
3
8
  const { default: Clang } = await import('../../clang');
@@ -1,3 +1,8 @@
1
+ self.document = {
2
+ querySelectorAll() {
3
+ return [];
4
+ }
5
+ };
1
6
  let stdinBufferPyodide, interruptBufferPyodide, pyodide, path = '';
2
7
  async function loadPyodide(path) {
3
8
  if (pyodide)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wasm-idle",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "A simple web app to run C++/Python code in the browser",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -33,7 +33,7 @@
33
33
  "svelte-check": "^3.2.0",
34
34
  "tslib": "^2.5.0",
35
35
  "typescript": "^5.0.4",
36
- "vite": "^4.1.4"
36
+ "vite": "^4.3.0-beta.7"
37
37
  },
38
38
  "dependencies": {
39
39
  "pyodide": "^0.23.1",