chore: add missing polyfills

This commit is contained in:
Saleel
2023-05-28 18:52:17 +05:30
parent 415caa0516
commit 2a8f156b99
6 changed files with 383 additions and 70 deletions

View File

@@ -29,6 +29,7 @@
"localforage": "^1.10.0",
"lodash": "^4.17.21",
"next": "^12.3.1",
"node-forge": "^1.3.1",
"pako": "^2.1.0",
"prettier": "^2.7.1",
"prettier-plugin-solidity": "^1.0.0-beta.24",
@@ -67,8 +68,8 @@
"test": "jest --runInBand --testPathIgnorePatterns='e2e|src/contracts/lib' --reporters=default --reporters=jest-junit",
"test:browserstack": "browserstack-node-sdk jest src/ --runInBand --testPathIgnorePatterns='e2e|src/contracts/lib' --reporters=default --reporters=jest-junit",
"start-e2e-test-server": "serve -s build -p 3000",
"test:e2e-ui": "CI=true jest test --runInBand --testPathPattern='e2e-ui' --reporters=default --reporters=jest-junit",
"test:e2e-zkp": "CI=true jest test --runInBand --testPathPattern='e2e-dl-zkp' --reporters=default --reporters=jest-junit",
"test:e2e-ui": "CI=true jest src/e2e-ui*.test.*",
"test:e2e-zkp": "CI=true jest src/e2e-dl-zkp.test.ts",
"compile": "node circuits/scripts/compile.js",
"gen-input": "npx tsx src/scripts/generate_input.ts",
"compile-all": "yarn gen-input && yarn compile email true",
@@ -98,6 +99,8 @@
"@babel/preset-env": "^7.22.2",
"@babel/preset-react": "^7.22.0",
"@babel/preset-typescript": "^7.21.5",
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
"@types/atob": "^2.1.2",
"@types/jest": "^29.4.0",
"@types/node": "^18.0.6",
@@ -112,11 +115,15 @@
"madge": "^6.0.0",
"msw": "^1.0.1",
"nodemon": "^2.0.19",
"process": "^0.11.10",
"puppeteer": "18.1",
"rollup-plugin-node-polyfills": "^0.2.1",
"selenium-webdriver": "^4.8.1",
"ts-node-dev": "^2.0.0",
"vite-plugin-commonjs": "^0.7.0",
"vite-plugin-ngmi-polyfill": "^0.0.2"
"util": "^0.12.5",
"vite-plugin-commonjs": "^0.7.1",
"vite-plugin-ngmi-polyfill": "^0.0.2",
"vite-plugin-node-polyfills": "^0.8.2"
},
"jest": {
"transformIgnorePatterns": [