useid-polyfill 1.0.0 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +17 -4
package/package.json CHANGED
@@ -1,7 +1,12 @@
1
1
  {
2
2
  "name": "useid-polyfill",
3
- "version": "1.0.0",
3
+ "version": "1.0.3",
4
4
  "description": "React useId polyfill for React 16/17 with SSR support",
5
+ "author": {
6
+ "name": "Dermot Hughes",
7
+ "url": "https://derm.ie"
8
+ },
9
+ "homepage": "https://github.com/dermyhughes/useid-polyfill#readme",
5
10
  "main": "dist/index.js",
6
11
  "module": "dist/index.mjs",
7
12
  "types": "dist/index.d.ts",
@@ -18,18 +23,26 @@
18
23
  "scripts": {
19
24
  "build": "tsup",
20
25
  "test": "vitest run",
26
+ "test:react16": "npm install --save-dev react@16 react-dom@16 @testing-library/react@12 --legacy-peer-deps --silent && vitest run",
27
+ "test:react17": "npm install --save-dev react@17 react-dom@17 @testing-library/react@12 --legacy-peer-deps --silent && vitest run",
28
+ "test:react18": "npm install --save-dev react@18 react-dom@18 @testing-library/react@16 @testing-library/dom --legacy-peer-deps --silent && vitest run",
29
+ "test:react19": "npm install --save-dev react@19 react-dom@19 @testing-library/react@16 @testing-library/dom --legacy-peer-deps --silent && vitest run",
30
+ "test:all": "npm run test:react16 && npm run test:react17 && npm run test:react18 && npm run test:react19",
31
+ "test:e2e": "playwright test",
21
32
  "typecheck": "tsc --noEmit"
22
33
  },
23
34
  "peerDependencies": {
24
35
  "react": ">=16.8.0"
25
36
  },
26
37
  "devDependencies": {
38
+ "@playwright/test": "^1.50.1",
39
+ "@testing-library/dom": "^10.4.1",
27
40
  "@testing-library/react": "^16.3.2",
28
41
  "@types/react": "^18.3.28",
29
42
  "@types/react-dom": "^18.3.7",
30
43
  "jsdom": "^28.1.0",
31
- "react": "^18.3.1",
32
- "react-dom": "^18.3.1",
44
+ "react": "^19.2.4",
45
+ "react-dom": "^19.2.4",
33
46
  "tsup": "^8.5.1",
34
47
  "typescript": "^5.9.3",
35
48
  "vitest": "^4.0.18"
@@ -45,6 +58,6 @@
45
58
  "license": "MIT",
46
59
  "repository": {
47
60
  "type": "git",
48
- "url": "https://github.com/dermothughes/useid-polyfill.git"
61
+ "url": "https://github.com/dermyhughes/useid-polyfill.git"
49
62
  }
50
63
  }