diff --git a/package-lock.json b/package-lock.json index d018b82..9c9c574 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "wasabio", - "version": "1.0.0", + "version": "1.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "wasabio", - "version": "1.0.0", + "version": "1.0.1", "license": "MIT", "devDependencies": { "@types/atob-lite": "^2.0.2", @@ -25,6 +25,7 @@ "exponential-backoff": "^3.1.1", "mocha": "^10.3.0", "prettier": "^3.2.5", + "process": "^0.11.10", "string-replace-loader": "^3.1.0", "terser-webpack-plugin": "^5.3.10", "ts-loader": "^9.5.1", @@ -3245,6 +3246,15 @@ "url": "https://github.com/prettier/prettier?sponsor=1" } }, + "node_modules/process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", + "dev": true, + "engines": { + "node": ">= 0.6.0" + } + }, "node_modules/punycode": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", diff --git a/package.json b/package.json index b3d519c..5db0754 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wasabio", - "version": "1.0.0", + "version": "1.0.1", "description": "WebAssembly and SharedArrayBuffer IO. Pronounced 'wassabee-yo'.", "main": "index.js", "scripts": { @@ -39,6 +39,7 @@ "exponential-backoff": "^3.1.1", "mocha": "^10.3.0", "prettier": "^3.2.5", + "process": "^0.11.10", "string-replace-loader": "^3.1.0", "terser-webpack-plugin": "^5.3.10", "ts-loader": "^9.5.1", diff --git a/webpack.config.ts b/webpack.config.ts index 52fd2c5..6a35342 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -195,6 +195,7 @@ export default function (_env: unknown, { mode }: { mode: string }) { }), new webpack.ProvidePlugin({ Buffer: ["buffer", "Buffer"], + process: "process", }), new CopyPlugin({ patterns: [ @@ -252,6 +253,7 @@ export default function (_env: unknown, { mode }: { mode: string }) { alias: { assert: "assert", buffer: "buffer", + process: "process", }, }, };