Skip to content
Open
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/dependency-refresh-dedupe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@fingerprint/react': patch
---

Bump `@fingerprint/agent` dependency to `^4.1.2`
5 changes: 1 addition & 4 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx commitlint --edit $1
npx commitlint --edit "$1"
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
Comment thread
JuroUhlar marked this conversation as resolved.
Comment thread
JuroUhlar marked this conversation as resolved.
3 changes: 0 additions & 3 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/bin/bash
. "$(dirname "$0")/_/husky.sh"

containsref() { if [[ $2 =~ $1 ]]; then echo 1; else echo 0; fi }
Comment thread
JuroUhlar marked this conversation as resolved.

push_command=$(ps -ocommand= -p $PPID | cut -d' ' -f 4)
Expand Down
10 changes: 5 additions & 5 deletions examples/create-react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"private": true,
"dependencies": {
"@fingerprint/react": "workspace:*",
"react-router-dom": "^6.22.3",
"react": "catalog:",
"react-dom": "catalog:",
"react-router-dom": "^7.18.1",
"react-scripts": "5.0.1"
},
"peerDependencies": {
"react": "*",
"react-dom": "*",
"typescript": "*"
"devDependencies": {
"typescript": "catalog:"
},
"scripts": {
"dev": "PORT=3001 DISABLE_ESLINT_PLUGIN=true react-scripts start",
Expand Down
2 changes: 1 addition & 1 deletion examples/create-react-app/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function MainNav() {
onChange={(event) => {
const newValue = event.currentTarget.value
setValue(newValue)
navigate(`${newValue}/home`)
void navigate(`${newValue}/home`)
}}
value={value}
>
Expand Down
14 changes: 7 additions & 7 deletions examples/next-appDir/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
},
"dependencies": {
"@fingerprint/react": "workspace:*",
"next": "14.2.32"
"next": "14.2.35"
Comment thread
JuroUhlar marked this conversation as resolved.
},
"devDependencies": {
"@types/node": "^20.11.28",
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.4.2"
"@types/node": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"react": "catalog:",
"react-dom": "catalog:",
"typescript": "catalog:"
}
}
14 changes: 7 additions & 7 deletions examples/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
},
"dependencies": {
"@fingerprint/react": "workspace:*",
"next": "14.2.32"
"next": "14.2.35"
Comment thread
JuroUhlar marked this conversation as resolved.
},
"devDependencies": {
"@types/node": "^20.11.28",
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.4.2"
"@types/node": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"react": "catalog:",
"react-dom": "catalog:",
"typescript": "catalog:"
}
}
10 changes: 5 additions & 5 deletions examples/preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
},
"dependencies": {
"@fingerprint/react": "workspace:*",
"preact": "10.19.6",
"preact-render-to-string": "^6.4.0"
"preact": "10.29.7",
"preact-render-to-string": "^6.7.0"
},
"devDependencies": {
"dotenv": "^16.4.5",
"dotenv": "^17.4.2",
"preact-cli": "^3.5.1",
"sirv-cli": "^2.0.2",
"typescript": "*"
"sirv-cli": "^3.0.1",
"typescript": "catalog:"
}
}
16 changes: 8 additions & 8 deletions examples/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
},
"dependencies": {
"@fingerprint/react": "workspace:*",
"react": "^19.2.0",
"react-dom": "^19.2.0"
"react": "catalog:",
"react-dom": "catalog:"
},
"devDependencies": {
"@types/node": "^24.10.1",
"@types/react": "^19.2.5",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.1",
"typescript": "~5.9.3",
"vite": "^7.2.4"
"@types/node": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@vitejs/plugin-react": "^6.0.3",
"typescript": "catalog:",
"vite": "^8.1.4"
}
}
26 changes: 12 additions & 14 deletions examples/webpack-based/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,19 @@
"lint": "eslint . --max-warnings 0"
},
"devDependencies": {
"@babel/core": "^7.24.0",
"@babel/preset-env": "^7.24.0",
"@babel/preset-react": "^7.23.3",
"babel-loader": "^9.1.3",
"dotenv-webpack": "^8.0.1",
"html-webpack-plugin": "^5.6.0",
"webpack": "^5.90.3",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.3"
"@babel/core": "^8.0.1",
"@babel/preset-env": "^8.0.2",
"@babel/preset-react": "^8.0.1",
"babel-loader": "^10.1.1",
"dotenv-webpack": "^9.0.0",
"html-webpack-plugin": "^5.6.7",
"webpack": "^5.108.4",
"webpack-cli": "^7.2.1",
"webpack-dev-server": "^6.0.0"
},
"dependencies": {
"@fingerprint/react": "workspace:*"
},
"peerDependencies": {
"react": "*",
"react-dom": "*"
"@fingerprint/react": "workspace:*",
"react": "catalog:",
"react-dom": "catalog:"
}
}
47 changes: 24 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@
],
"scripts": {
"postinstall": "node scripts/detect-env.js",
"prepare": "husky install",
"prepare": "husky",
"watch": "vite build --watch",
"build": "vite build",
"lint": "eslint --max-warnings 0",
"lint:fix": "pnpm lint --fix",
"test": "vitest",
"test:coverage": "vitest run --coverage",
"test:coverage:diff": "vitest run --coverage --reporter json --outputFile.json=report.json",
"test:dts": "tsc --noEmit --isolatedModules dist/fingerprint-react.d.ts",
"test:dts": "tsc --noEmit --isolatedModules --ignoreConfig dist/fingerprint-react.d.ts",
"docs": "typedoc src/index.ts --out docs",
"changeset:version": "changeset version",
"changeset:publish": "HUSKY=0 changeset publish"
Expand All @@ -59,47 +59,48 @@
},
"homepage": "https://github.com/fingerprintjs/react#readme",
"dependencies": {
"@fingerprint/agent": "^4.0.0",
"@fingerprint/agent": "^4.1.2",
"fast-deep-equal": "3.1.3"
},
"peerDependencies": {
"react": ">=18"
},
"devDependencies": {
"@changesets/cli": "^2.30.0",
"@commitlint/cli": "^19.2.0",
"@changesets/cli": "^2.31.1",
"@commitlint/cli": "^21.2.1",
"@eslint-react/eslint-plugin": "5.14.10",
"@fingerprintjs/changesets-changelog-format": "^0.2.0",
"@fingerprintjs/commit-lint-dx-team": "^0.1.0",
"@fingerprintjs/eslint-config-dx-team": "^3.0.0",
"@fingerprintjs/prettier-config-dx-team": "^0.3.0",
"@fingerprintjs/tsconfig-dx-team": "^0.0.2",
"@microsoft/api-extractor": "^7.58.9",
"@testing-library/preact": "^3.2.4",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^20.11.28",
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"@vitest/coverage-istanbul": "^4.0.18",
"@types/node": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@vitest/coverage-istanbul": "^4.1.10",
"eslint": "^10.7.0",
"eslint-plugin-react-hooks": "^7.1.1",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"preact": "^10.19.6",
"prettier": "3.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.22.3",
"rimraf": "^5.0.5",
"husky": "^9.1.7",
"lint-staged": "^17.0.8",
"preact": "^10.29.7",
"prettier": "3.9.5",
"react": "catalog:",
"react-dom": "catalog:",
"react-router-dom": "^7.18.1",
"rimraf": "^6.1.3",
"rollup-plugin-banner2": "^1.3.1",
"tslib": "^2.6.2",
"typedoc": "^0.25.12",
"typescript": "^5.4.2",
"tslib": "^2.8.1",
"typedoc": "^0.28.20",
"typescript": "catalog:",
"typescript-eslint": "^8.64.0",
"vite": "^7.3.0",
"vite": "^8.1.4",
"vite-plugin-banner": "^0.8.1",
"vite-plugin-dts": "^4.5.4",
"vitest": "^4.0.18"
"vite-plugin-dts": "^5.0.3",
"vitest": "^4.1.10"
},
"lint-staged": {
"*.ts": "pnpm lint:fix",
Expand Down
Loading
Loading