diff --git a/examples/napi/package.json b/examples/napi/package.json index f5e4e58c..6586e00d 100644 --- a/examples/napi/package.json +++ b/examples/napi/package.json @@ -19,7 +19,7 @@ "cross-env": "7.0.3", "electron": "^28.0.0", "lodash": "^4.17.21", - "memfs-browser": "^4.6.0", + "memfs-browser": "^4.6.10002", "sinon": "^17.0.1", "vite": "^5.0.11", "vite-plugin-node-polyfills": "^0.19.0", diff --git a/examples/napi/vite.config.js b/examples/napi/vite.config.js index 2fa501c2..cc6ee61c 100644 --- a/examples/napi/vite.config.js +++ b/examples/napi/vite.config.js @@ -15,7 +15,7 @@ export default defineConfig({ }, plugins: [ nodePolyfills({ - include: ['util', 'stream'], + include: ['buffer', 'util', 'stream'], }), { name: 'configure-response-headers', diff --git a/yarn.lock b/yarn.lock index 8fdbfee0..8b68a36c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -370,7 +370,7 @@ __metadata: cross-env: "npm:7.0.3" electron: "npm:^28.0.0" lodash: "npm:^4.17.21" - memfs-browser: "npm:^4.6.0" + memfs-browser: "npm:^4.6.10002" sinon: "npm:^17.0.1" vite: "npm:^5.0.11" vite-plugin-node-polyfills: "npm:^0.19.0" @@ -3437,16 +3437,6 @@ __metadata: languageName: node linkType: hard -"buffer@npm:^6.0.3": - version: 6.0.3 - resolution: "buffer@npm:6.0.3" - dependencies: - base64-js: "npm:^1.3.1" - ieee754: "npm:^1.2.1" - checksum: 2a905fbbcde73cc5d8bd18d1caa23715d5f83a5935867c2329f0ac06104204ba7947be098fe1317fbd8830e26090ff8e764f08cd14fefc977bb248c3487bcbd0 - languageName: node - linkType: hard - "buffers@npm:~0.1.1": version: 0.1.1 resolution: "buffers@npm:0.1.1" @@ -6651,7 +6641,7 @@ __metadata: languageName: node linkType: hard -"ieee754@npm:^1.1.13, ieee754@npm:^1.2.1": +"ieee754@npm:^1.1.13": version: 1.2.1 resolution: "ieee754@npm:1.2.1" checksum: b0782ef5e0935b9f12883a2e2aa37baa75da6e66ce6515c168697b42160807d9330de9a32ec1ed73149aea02e0d822e572bca6f1e22bdcbd2149e13b050b17bb @@ -8159,13 +8149,12 @@ __metadata: languageName: node linkType: hard -"memfs-browser@npm:^4.6.0": - version: 4.6.0 - resolution: "memfs-browser@npm:4.6.0" +"memfs-browser@npm:^4.6.10002": + version: 4.6.10002 + resolution: "memfs-browser@npm:4.6.10002" dependencies: - buffer: "npm:^6.0.3" memfs: "npm:4.6.0" - checksum: f6b56982b8c2584c27e609bcfc18688e42ed9f0db5fbe348373639922f9bf350a24ba71a737a3485291257b52d1abbd0e62db0f413903f0a9e404c96c5eaec04 + checksum: 61431d8d455a3ab963c2c7cb231441773d67e28b0d05ce69bd95db712c87767a3e676968006b17458729c42110864b6b41ceac687adcc8228525080fde97bc69 languageName: node linkType: hard