Merge pull request #94 from mCaptcha/update-deps

Update deps
This commit is contained in:
Aravinth Manivannan 2023-07-03 00:08:53 +05:30 committed by GitHub
commit 71ef95e4c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 22816 additions and 3655 deletions

View file

@ -63,7 +63,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: "14.x"
node-version: "18.0.0"
- name: Build frontend
run: make frontend

View file

@ -90,7 +90,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: "16.x"
node-version: "18.0.0"
- name: Install ${{ matrix.version }}
uses: actions-rs/toolchain@v1

View file

@ -95,7 +95,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: "16.x"
node-version: "18.0.0"
- name: Install ${{ matrix.version }}
uses: actions-rs/toolchain@v1

1200
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -1,4 +1,4 @@
FROM node:16.0.0 as frontend
FROM node:18.0.0 as frontend
RUN set -ex; \
apt-get update; \
DEBIAN_FRONTEND=noninteractive \

View file

@ -136,7 +136,9 @@ export default {
testEnvironment: "jest-environment-jsdom",
// Options that will be passed to the testEnvironment
// testEnvironmentOptions: {},
testEnvironmentOptions: {
"url": "http://localhost:7000/widget/?sitekey=imbatman"
},
// Adds a location field to test results
// testLocationInResults: false,

19224
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -10,34 +10,35 @@
"test": "jest"
},
"devDependencies": {
"@types/jest": "^27.0.2",
"@types/jsdom": "^16.2.10",
"@types/node": "^16.10.4",
"@types/sinon": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"@wasm-tool/wasm-pack-plugin": "^1.4.0",
"css-loader": "^6.4.0",
"css-minimizer-webpack-plugin": "^3.1.1",
"sass": "^1.25.0",
"eslint": "^8.0.0",
"jest": "^27.2.5",
"@types/jest": "^29.5.2",
"@types/jsdom": "^21.1.1",
"@types/node": "^20.3.3",
"@types/sinon": "^10.0.15",
"@typescript-eslint/eslint-plugin": "^5.60.1",
"@typescript-eslint/parser": "^5.60.1",
"@wasm-tool/wasm-pack-plugin": "^1.7.0",
"css-loader": "^6.8.1",
"css-minimizer-webpack-plugin": "^5.0.1",
"eslint": "^8.44.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-fetch-mock": "^3.0.3",
"jsdom": "^18.0.0",
"mini-css-extract-plugin": "^2.4.2",
"sass-loader": "^12.2.0",
"sinon": "^11.1.2",
"ts-jest": "^27.0.5",
"ts-loader": "^9.2.6",
"ts-node": "^10.3.0",
"typescript": "^4.1.0",
"webpack": "^5.0.0",
"webpack-cli": "^4.6.0",
"webpack-dev-server": "^4.3.1"
"jsdom": "^22.1.0",
"mini-css-extract-plugin": "^2.7.6",
"sass": "^1.63.6",
"sass-loader": "^13.3.2",
"sinon": "^15.2.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.4.4",
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
"webpack": "^5.88.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"
},
"dependencies": {
"@mcaptcha/pow-wasm": "^0.1.0-alpha-1",
"@mcaptcha/pow_sha256-polyfill": "^0.1.0-alpha-1",
"@mcaptcha/vanilla-glue": "^0.1.0-alpha-1"
"@mcaptcha/pow-wasm": "^0.1.0-alpha-1",
"@mcaptcha/vanilla-glue": "^0.1.0-alpha-3"
}
}

View file

@ -12,7 +12,7 @@
import log from "../logger";
import prove from "./prove";
import {PoWConfig, ServiceWorkerWork} from "./types";
import { PoWConfig, ServiceWorkerWork } from "./types";
log.log("worker registered");
onmessage = async (e) => {

5982
yarn.lock

File diff suppressed because it is too large Load diff