Skip to content
Merged

node24 #2198

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
8200768
enhance/uap-rules-push
light-source Oct 28, 2025
437270b
enhance/uap-rules-push
light-source Oct 29, 2025
51e23ac
Merge remote-tracking branch 'origin/main' into enhance/uap-rules-push
light-source Oct 29, 2025
f8ce3e2
docs(changeset): enhance/uap-rules-push
light-source Oct 29, 2025
e2f2c25
Merge remote-tracking branch 'origin/main' into enhance/uap-rules-push
light-source Oct 29, 2025
d006a87
release in prod mode
forgetso Oct 30, 2025
0b1504e
Change engine requirements
forgetso Oct 30, 2025
e479114
docs(changeset): Change engine requirements
forgetso Oct 30, 2025
5de7abf
Remove axios dep
forgetso Oct 31, 2025
4c792d4
Upgrade esbuild
forgetso Nov 1, 2025
c0974ac
Bump angular thing
forgetso Nov 2, 2025
374214e
Merge branch 'main' into release-in-production-mode
forgetso Nov 3, 2025
3ed43ac
📦🔒
forgetso Nov 3, 2025
2d70d72
bump angular deps
forgetso Nov 3, 2025
fcb3586
Remove polyfills
forgetso Nov 3, 2025
133b1b2
📦🔒
forgetso Nov 3, 2025
aba8a80
Fix deps
forgetso Nov 3, 2025
4673442
Fix node version
forgetso Nov 3, 2025
161325f
Engine
forgetso Nov 3, 2025
2a9dbd6
Remove unnecessary package
forgetso Nov 3, 2025
01ca8da
trigger actions
forgetso Nov 3, 2025
1d5be13
Remove typedoc config
forgetso Nov 3, 2025
38e63a8
remove unused imports
forgetso Nov 3, 2025
6c474a2
Use node 24 in gha2
forgetso Nov 3, 2025
5843c6a
reapply licenses
forgetso Nov 3, 2025
568e87c
Merge branch 'main' into release-in-production-mode
forgetso Nov 3, 2025
6159ae9
Remove unused migate scripts
forgetso Nov 3, 2025
2bdb158
remove old migrate
forgetso Nov 3, 2025
3dc57dd
📦🔒
forgetso Nov 3, 2025
5c71a5c
Remove unused deps
forgetso Nov 3, 2025
0025ef7
📦🔒
forgetso Nov 3, 2025
15dfcf9
pkg lock
goastler Nov 3, 2025
0abb3dd
lint
goastler Nov 3, 2025
845209f
bump vite plugin node polyfills
forgetso Nov 3, 2025
34722dd
📦🔒
forgetso Nov 3, 2025
37c2327
📦🔒
forgetso Nov 3, 2025
7a672e8
📦🔒
forgetso Nov 3, 2025
faabad3
Update deps
forgetso Nov 3, 2025
45d9c81
remove pnpm file
forgetso Nov 3, 2025
58b5c79
📦🔒
forgetso Nov 3, 2025
f4873d8
install pkgs required
forgetso Nov 3, 2025
a9395cd
Remove unused
forgetso Nov 3, 2025
38d8448
Remove unused export
forgetso Nov 3, 2025
ac598d3
use import
forgetso Nov 3, 2025
b76ccdf
add long test timeout
forgetso Nov 3, 2025
325b079
Increase timeout
forgetso Nov 3, 2025
f247c9f
Try to stop test hanging
forgetso Nov 4, 2025
859d7a7
remove override
forgetso Nov 4, 2025
e173929
Merge branch 'enhance/uap-rules-push' into release-in-production-mode
forgetso Nov 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/brown-pens-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@prosopo/user-access-policy": patch
---

enhance/uap-rules-push

63 changes: 63 additions & 0 deletions .changeset/loud-poets-guess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
---
"@prosopo/angular-procaptcha-integration-demo": patch
"@prosopo/svelte-procaptcha-integration-demo": patch
"@prosopo/react-procaptcha-integration-demo": patch
"@prosopo/vue-procaptcha-integration-demo": patch
"@prosopo/angular-procaptcha-wrapper": patch
"@prosopo/svelte-procaptcha-wrapper": patch
"@prosopo/react-procaptcha-wrapper": patch
"@prosopo/vue-procaptcha-wrapper": patch
"@prosopo/procaptcha-integration-build-config": patch
"@prosopo/procaptcha-frictionless": patch
"@prosopo/vite-plugin-watch-workspace": patch
"@prosopo/client-bundle-example": patch
"@prosopo/client-example-server": patch
"@prosopo/api-express-router": patch
"@prosopo/procaptcha-wrapper": patch
"@prosopo/user-access-policy": patch
"@prosopo/procaptcha-bundle": patch
"@prosopo/procaptcha-common": patch
"@prosopo/procaptcha-react": patch
"@prosopo/widget-skeleton": patch
"@prosopo/http-blackhole": patch
"@prosopo/procaptcha-pow": patch
"@prosopo/types-database": patch
"@prosopo/load-balancer": patch
"@prosopo/redis-client": patch
"@prosopo/cypress-shared": patch
"@prosopo/prosoponator-bot": patch
"@prosopo/datasets-fs": patch
"@prosopo/file-server": patch
"@prosopo/fingerprint": patch
"@prosopo/util-crypto": patch
"@prosopo/provider-mock": patch
"@prosopo/procaptcha": patch
"@prosopo/api-route": patch
"@prosopo/types-env": patch
"@prosopo/database": patch
"@prosopo/datasets": patch
"@prosopo/detector": patch
"@prosopo/provider": patch
"@prosopo/testpkg2": patch
"@prosopo/account": patch
"@prosopo/keyring": patch
"@prosopo/common": patch
"@prosopo/dotenv": patch
"@prosopo/locale": patch
"@prosopo/server": patch
"@prosopo/gh-actions": patch
"@prosopo/types": patch
"@prosopo/workspace": patch
"@prosopo/util": patch
"@prosopo/ts-brand": patch
"@prosopo/api": patch
"@prosopo/cli": patch
"@prosopo/env": patch
"@prosopo/scripts": patch
"@prosopo/config": patch
"@prosopo/flux": patch
"@prosopo/lint": patch
---

Change engine requirements

1 change: 0 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
shell-emulator=true
save-prefix= # don't add ^ to deps by default when adding new deps
maxsockets=10 # 10 concurrent downloads
fetch-retries=100 # try 100 times to download a pkg
Expand Down
3 changes: 3 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
},
"a11y": {
"useKeyWithClickEvents": "off"
},
"correctness": {
"noUnusedImports": "error"
}
}
},
Expand Down
10 changes: 5 additions & 5 deletions demos/client-bundle-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
},
"type": "module",
"engines": {
"node": "20",
"npm": "10.8.2"
"node": ">=v20.0.0",
"npm": ">=10.6.0"
},
"scripts": {
"clean": "del-cli --verbose dist tsconfig.tsbuildinfo",
Expand All @@ -30,14 +30,14 @@
"devDependencies": {
"@prosopo/dotenv": "3.0.26",
"@types/node": "22.5.5",
"@vitest/coverage-v8": "3.0.9",
"@vitest/coverage-v8": "3.2.4",
"concurrently": "9.0.1",
"del-cli": "6.0.0",
"npm-run-all": "4.1.5",
"tslib": "2.7.0",
"tsx": "4.20.3",
"typescript": "5.6.2",
"vite": "6.3.5",
"vitest": "3.0.9"
"vite": "6.4.1",
"vitest": "3.2.4"
}
}
16 changes: 8 additions & 8 deletions demos/client-example-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
},
"type": "module",
"engines": {
"node": "20",
"npm": "10.8.2"
"node": ">=v20.0.0",
"npm": ">=10.6.0"
},
"scripts": {
"dev": "NODE_ENV=${NODE_ENV:-development}; vite serve --mode=$NODE_ENV --config ./vite.config.ts --host",
Expand All @@ -38,8 +38,8 @@
"homepage": "https://github.com/prosopo/client-example-server#readme",
"dependencies": {
"@noble/hashes": "1.8.0",
"@polkadot/util": "12.6.2",
"@polkadot/util-crypto": "12.6.2",
"@polkadot/util": "13.5.7",
"@polkadot/util-crypto": "13.5.7",
"@prosopo/common": "3.1.21",
"@prosopo/dotenv": "3.0.26",
"@prosopo/keyring": "2.8.35",
Expand All @@ -51,21 +51,21 @@
"cors": "2.8.5",
"express": "4.21.2",
"jsonwebtoken": "9.0.2",
"mongodb-memory-server": "10.0.0",
"mongodb-memory-server": "10.3.0",
"mongoose": "8.13.0",
"zod": "3.23.8"
},
"devDependencies": {
"@types/jsonwebtoken": "9.0.6",
"@types/node": "22.10.2",
"@vitest/coverage-v8": "3.0.9",
"@vitest/coverage-v8": "3.2.4",
"concurrently": "9.0.1",
"del-cli": "6.0.0",
"npm-run-all": "4.1.5",
"tslib": "2.7.0",
"tsx": "4.20.3",
"typescript": "5.6.2",
"vite": "6.3.5",
"vitest": "3.0.9"
"vite": "6.4.1",
"vitest": "3.2.4"
}
}
2 changes: 1 addition & 1 deletion demos/client-example-server/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import path from "node:path";
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
import { ProsopoEnvError, getLogger, parseLogLevel } from "@prosopo/common";
import { ProsopoEnvError, getLogger } from "@prosopo/common";
import { loadEnv } from "@prosopo/dotenv";
import { getServerConfig } from "@prosopo/server";
import { at } from "@prosopo/util";
Expand Down
11 changes: 1 addition & 10 deletions demos/cypress-shared/cypress/e2e/correct.captcha.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,9 @@
// limitations under the License.
/// <reference types="cypress" />
import "@cypress/xpath";
import { u8aToHex } from "@polkadot/util";
import { ProsopoDatasetError } from "@prosopo/common";
import { datasetWithSolutionHashes } from "@prosopo/datasets";
import { getPair } from "@prosopo/keyring";
import {
AdminApiPaths,
type Captcha,
type CaptchaType,
type IUserSettings,
type RegisterSitekeyBodyTypeOutput,
Tier,
} from "@prosopo/types";
import type { Captcha, CaptchaType } from "@prosopo/types";
import { checkboxClass, getWidgetElement } from "../support/commands.js";

const baseCaptchaType: CaptchaType = Cypress.env("CAPTCHA_TYPE") || "image";
Expand Down
3 changes: 1 addition & 2 deletions demos/cypress-shared/cypress/e2e/frictionless.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
import "@cypress/xpath";
import { ProsopoDatasetError } from "@prosopo/common";
import { datasetWithSolutionHashes } from "@prosopo/datasets";
import { type Captcha, CaptchaType } from "@prosopo/types";
import { at } from "@prosopo/util";
import { CaptchaType } from "@prosopo/types";
import { checkboxClass, getWidgetElement } from "../support/commands.js";

const baseCaptchaType: CaptchaType = Cypress.env("CAPTCHA_TYPE") || "image";
Expand Down
4 changes: 1 addition & 3 deletions demos/cypress-shared/cypress/e2e/invisible.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
import "@cypress/xpath";
import { ProsopoDatasetError } from "@prosopo/common";
import { datasetWithSolutionHashes } from "@prosopo/datasets";
import { type Captcha, CaptchaType } from "@prosopo/types";
import { at } from "@prosopo/util";
import { getWidgetElement } from "../support/commands.js";
import { CaptchaType } from "@prosopo/types";

const baseCaptchaType: CaptchaType = Cypress.env("CAPTCHA_TYPE") || "image";

Expand Down
3 changes: 1 addition & 2 deletions demos/cypress-shared/cypress/e2e/pow.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
import "@cypress/xpath";
import { ProsopoDatasetError } from "@prosopo/common";
import { datasetWithSolutionHashes } from "@prosopo/datasets";
import { type Captcha, CaptchaType } from "@prosopo/types";
import { at } from "@prosopo/util";
import { CaptchaType } from "@prosopo/types";
import { checkboxClass, getWidgetElement } from "../support/commands.js";

const baseCaptchaType: CaptchaType = Cypress.env("CAPTCHA_TYPE") || "image";
Expand Down
14 changes: 7 additions & 7 deletions demos/cypress-shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
}
},
"engines": {
"node": "20",
"npm": "10.8.2"
"node": ">=v20.0.0",
"npm": ">=10.6.0"
},
"dependencies": {
"@prosopo/types": "3.5.11",
Expand All @@ -23,24 +23,24 @@
},
"devDependencies": {
"@cypress/xpath": "2.0.3",
"@polkadot/util": "12.6.2",
"@polkadot/util": "13.5.7",
"@prosopo/common": "3.1.21",
"@prosopo/datasets": "3.0.42",
"@prosopo/dotenv": "3.0.26",
"@prosopo/keyring": "2.8.35",
"@prosopo/types-database": "3.3.13",
"@types/node": "22.5.5",
"@vitest/coverage-v8": "3.0.9",
"@vitest/coverage-v8": "3.2.4",
"concurrently": "9.0.1",
"cypress": "13.14.2",
"cypress-vite": "1.6.0",
"cypress-vite": "1.8.0",
"del-cli": "6.0.0",
"npm-run-all": "4.1.5",
"tslib": "2.7.0",
"tsx": "4.20.3",
"typescript": "5.6.2",
"vite": "6.3.5",
"vitest": "3.0.9"
"vite": "6.4.1",
"vitest": "3.2.4"
},
"scripts": {
"build": "NODE_ENV=${NODE_ENV:-development}; vite build --config vite.esm.config.ts --mode $NODE_ENV",
Expand Down
10 changes: 5 additions & 5 deletions demos/provider-mock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
}
},
"engines": {
"node": "20",
"npm": "10.8.2"
"node": ">=v20.0.0",
"npm": ">=10.6.0"
},
"scripts": {
"build": "NODE_ENV=${NODE_ENV:-development}; vite build --config vite.esm.config.ts --mode $NODE_ENV",
Expand All @@ -40,15 +40,15 @@
},
"devDependencies": {
"@types/node": "22.10.2",
"@vitest/coverage-v8": "3.0.9",
"@vitest/coverage-v8": "3.2.4",
"concurrently": "9.0.1",
"del-cli": "6.0.0",
"npm-run-all": "4.1.5",
"tslib": "2.7.0",
"tsx": "4.20.3",
"typescript": "5.6.2",
"vite": "6.3.5",
"vitest": "3.0.9"
"vite": "6.4.1",
"vitest": "3.2.4"
},
"repository": {
"type": "git",
Expand Down
41 changes: 20 additions & 21 deletions dev/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"typecheck": "tsc --project tsconfig.types.json"
},
"engines": {
"node": "20",
"npm": "10.8.2"
"node": ">=v20.0.0",
"npm": ">=10.6.0"
},
"author": "Prosopo Limited",
"license": "Apache-2.0",
Expand All @@ -21,8 +21,8 @@
"@rollup/plugin-replace": "5.0.7",
"@rollup/plugin-typescript": "11.1.6",
"@rollup/plugin-wasm": "6.2.2",
"@vitejs/plugin-react": "4.3.4",
"esbuild": "0.25.8",
"@vitejs/plugin-react": "5.1.0",
"esbuild": "0.25.9",
"fast-glob": "3.3.2",
"html-webpack-plugin": "5.6.0",
"mini-css-extract-plugin": "2.9.1",
Expand All @@ -35,19 +35,18 @@
"vite-tsconfig-paths": "5.1.4"
},
"devDependencies": {
"@babel/plugin-proposal-import-attributes-to-assertions": "7.24.7",
"@babel/plugin-transform-class-properties": "7.25.4",
"@babel/plugin-transform-object-rest-spread": "7.24.7",
"@babel/preset-typescript": "7.24.7",
"@babel/core": "7.28.0",
"@babel/plugin-syntax-import-attributes": "7.25.6",
"@babel/plugin-transform-react-jsx": "7.25.2",
"@babel/plugin-transform-runtime": "7.25.4",
"@babel/preset-env": "7.25.4",
"@babel/plugin-proposal-import-attributes-to-assertions": "7.27.1",
"@babel/plugin-transform-class-properties": "7.27.1",
"@babel/plugin-transform-object-rest-spread": "7.28.4",
"@babel/preset-typescript": "7.28.5",
"@babel/core": "7.28.5",
"@babel/plugin-syntax-import-attributes": "7.27.1",
"@babel/plugin-transform-react-jsx": "7.27.1",
"@babel/plugin-transform-runtime": "7.28.5",
"@babel/preset-env": "7.28.5",
"@rollup/plugin-alias": "5.1.0",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-dynamic-import-vars": "2.1.2",
"@rollup/plugin-inject": "5.0.5",
"@rollup/plugin-dynamic-import-vars": "2.1.5",
"@rollup/plugin-json": "6.1.0",
"babel-loader": "9.2.1",
"css-loader": "7.1.2",
Expand All @@ -57,18 +56,18 @@
"tsconfig-paths": "4.2.0",
"vite-bundle-visualizer": "1.2.1",
"vite-tsconfig-paths": "5.1.4",
"webpack": "5.94.0",
"webpack": "5.102.1",
"@types/node": "22.10.2",
"@vitest/coverage-v8": "3.0.9",
"@vitest/coverage-v8": "3.2.4",
"concurrently": "9.0.1",
"del-cli": "6.0.0",
"npm-run-all": "4.1.5",
"tslib": "2.7.0",
"tsx": "4.20.3",
"tsx": "4.20.6",
"typescript": "5.6.2",
"vite": "6.3.5",
"vite-plugin-node-polyfills": "0.23.0",
"vitest": "3.0.9",
"vite": "6.4.1",
"vite-plugin-node-polyfills": "0.24.0",
"vitest": "3.2.4",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.2.2"
},
Expand Down
2 changes: 0 additions & 2 deletions dev/config/src/vite/vite.esm.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

import { builtinModules } from "node:module";
import path from "node:path";
import replace from "@rollup/plugin-replace";
import fg from "fast-glob";
import { type UserConfig, defineConfig } from "vite";
import { default as noBundlePlugin } from "vite-plugin-no-bundle";
import tsconfigPaths from "vite-tsconfig-paths";
Expand Down
Loading