Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 5 additions & 0 deletions .changeset/stupid-islands-nail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@forgerock/token-vault': patch
---

Compose AM request URLs from config to prevent attacker-supplied request URLs
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/setup-node@v4
id: cache
with:
node-version: '20.10.0'
node-version-file: '.node-version'
cache: 'pnpm'

- run: pnpm install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
24
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
package-lock.json
*/*/package-lock.json
.husky/*
/.nx/workspace-data
/.nx/workspace-data
.nx/self-healing
1 change: 1 addition & 0 deletions e2e/autoscript-apps/.eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
*.png
*.md
LICENSE
.babelrc
Expand Down
7 changes: 6 additions & 1 deletion e2e/autoscript-apps/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"extends": ["../../.eslintrc.json"],
"ignorePatterns": ["**/*"]
"ignorePatterns": ["!**/*"],
"rules": {
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/ban-ts-comment": "warn",
"prefer-const": "warn"
}
}
48 changes: 34 additions & 14 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@
"cache": true,
"outputs": ["{projectRoot}/dist"]
},
"@nx/vite:test": {
"dependsOn": ["build", "^test"],
"outputs": ["{projectRoot}/coverage"],
"cache": true
},
"@nx/eslint:lint": {
"dependsOn": ["^build", "^lint"],
"cache": true
Expand Down Expand Up @@ -75,6 +70,11 @@
"dependsOn": ["^build"],
"inputs": ["production", "^production"],
"outputs": ["{projectRoot}/dist"]
},
"@nx/vitest:test": {
"dependsOn": ["build", "^test"],
"outputs": ["{projectRoot}/coverage"],
"cache": true
}
},
"parallel": 1,
Expand All @@ -84,13 +84,11 @@
},
"release": {
"projects": ["packages/*"],
"releaseTagPattern": "v{version}",
"version": {
"preVersionCommand": "npx nx run-many -t build",
"generatorOptions": {
"currentVersionResolver": "git-tag",
"specifierSource": "conventional-commits"
}
"specifierSource": "conventional-commits",
"currentVersionResolver": "git-tag",
"preserveLocalDependencyProtocols": false
},
"changelog": {
"git": {
Expand All @@ -101,6 +99,9 @@
"createRelease": "github"
},
"projectChangelogs": true
},
"releaseTag": {
"pattern": "v{version}"
}
},
"plugins": [
Expand All @@ -124,7 +125,6 @@
"buildTargetName": "build",
"serveTargetName": "serve",
"previewTargetName": "preview",
"testTargetName": "test",
"serveStaticTargetName": "serve-static",
"typecheckTargetName": "typecheck"
},
Expand All @@ -136,7 +136,6 @@
"buildTargetName": "build-interceptor",
"serveTargetName": "serve",
"previewTargetName": "preview",
"testTargetName": "test",
"serveStaticTargetName": "serve-static",
"typecheckTargetName": "typecheck"
},
Expand All @@ -146,18 +145,39 @@
"plugin": "@nx/vite/plugin",
"options": {
"buildTargetName": "vite:build",
"testTargetName": "vite:test",
"serveTargetName": "vite:serve",
"previewTargetName": "vite:preview",
"serveStaticTargetName": "vite:serve-static",
"typecheckTargetName": "vite:typecheck"
},
"include": ["packages/**/*", "e2e/**/*"]
},
{
"plugin": "@nx/vitest",
"options": {
"testTargetName": "test"
},
"include": ["e2e/**/*", "packages/**/*"]
},
{
"plugin": "@nx/vitest",
"options": {
"testTargetName": "test"
},
"include": ["e2e/token-vault-app/**/*"]
},
{
"plugin": "@nx/vitest",
"options": {
"testTargetName": "vite:test"
},
"include": ["packages/**/*", "e2e/**/*"]
}
],
"defaultProject": "javascript-sdk",
"useDaemonProcess": true,
"useInferencePlugins": true,
"defaultBase": "develop",
"useLegacyCache": true
"useLegacyCache": true,
"analytics": false
}
36 changes: 19 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "forgerock-javascript-sdk",
"description": "ForgeRock JavaScript SDK",
"engines": {
"node": "^20 || ^18",
"node": "^20.19.0 || ^22.12.0 || ^24 || ^26",
"npm": ">= 7.0.0"
},
"private": true,
Expand Down Expand Up @@ -49,21 +49,22 @@
"@effect/platform-node": "^0.53.26",
"@effect/schema": "^0.68.23",
"@effect/vitest": "^0.6.7",
"@nx/devkit": "20.3.3",
"@nx/esbuild": "20.3.3",
"@nx/eslint": "20.3.3",
"@nx/eslint-plugin": "20.3.3",
"@nx/express": "20.3.3",
"@nx/js": "20.3.3",
"@nx/node": "20.3.3",
"@nx/playwright": "20.3.3",
"@nx/vite": "20.3.3",
"@nx/web": "20.3.3",
"@nx/workspace": "20.3.3",
"@nx/devkit": "22.7.9",
"@nx/esbuild": "22.7.9",
"@nx/eslint": "22.7.9",
"@nx/eslint-plugin": "22.7.9",
"@nx/express": "22.7.9",
"@nx/js": "22.7.9",
"@nx/node": "22.7.9",
"@nx/playwright": "22.7.9",
"@nx/vite": "22.7.9",
"@nx/vitest": "22.7.9",
"@nx/web": "22.7.9",
"@nx/workspace": "22.7.9",
"@playwright/test": "1.47.2",
"@swc-node/register": "1.9.2",
"@swc/core": "1.5.7",
"@swc/helpers": "0.5.12",
"@swc-node/register": "1.12.1",
"@swc/core": "1.16.2",
"@swc/helpers": "0.5.23",
"@types/estree": "^1.0.1",
"@types/express": "4.17.17",
"@types/node": "22.10.2",
Expand Down Expand Up @@ -97,7 +98,7 @@
"lint-staged": "^13.2.2",
"mkcert": "^3.2.0",
"npm-cli-login": "^1.0.0",
"nx": "20.3.3",
"nx": "22.7.9",
"pkg-pr-new": "^0.0.63",
"playwright": "1.47.2",
"prettier": "^3.2.5",
Expand Down Expand Up @@ -130,5 +131,6 @@
"nx": {
"includedScripts": []
},
"packageManager": "pnpm@9.15.0+sha256.09a8fe31a34fda706354680619f4002f4ccef6dadff93240d24ef6c831f0fd28"
"packageManager": "pnpm@9.15.0+sha256.09a8fe31a34fda706354680619f4002f4ccef6dadff93240d24ef6c831f0fd28",
"dependencies": {}
}
Loading
Loading