@reachfive/identity-ui 1.24.0 → 1.25.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reachfive/identity-ui",
3
- "version": "1.24.0",
3
+ "version": "1.25.2",
4
4
  "description": "ReachFive Identity Web UI SDK",
5
5
  "author": "ReachFive",
6
6
  "repository": {
@@ -8,73 +8,97 @@
8
8
  "url": "https://github.com/ReachFive/identity-web-ui-sdk"
9
9
  },
10
10
  "license": "MIT",
11
+ "type": "module",
11
12
  "main": "cjs/identity-ui.js",
12
13
  "module": "es/identity-ui.js",
13
- "types": "index.d.ts",
14
+ "types": "types/identity-ui.d.ts",
15
+ "exports": {
16
+ "require": {
17
+ "types": "./types/identity-ui.d.js",
18
+ "default": "./cjs/identity-ui.js"
19
+ },
20
+ "import": {
21
+ "types": "./types/identity-ui.d.ts",
22
+ "default": "./es/identity-ui.js"
23
+ }
24
+ },
14
25
  "scripts": {
15
26
  "build": "npx rollup --config",
16
27
  "watch": "npm run build -- --watch",
17
28
  "test": "npx jest",
18
29
  "test:update": "npm run test -- --update-snapshot",
30
+ "typecheck": "tsc --noEmit",
19
31
  "lint": "eslint --ext .js,.jsx,.ts,.tsx src/"
20
32
  },
21
33
  "dependencies": {
22
- "@hypnosphi/recompose": "0.30.5",
23
34
  "@reachfive/identity-core": "^1.32.0",
24
35
  "@reachfive/zxcvbn": "1.0.0-alpha.2",
36
+ "@rollup/rollup-linux-x64-gnu": "^4.12.0",
25
37
  "buffer": "^6.0.3",
26
38
  "char-info": "0.3.2",
27
- "classnames": "2.2.6",
39
+ "classnames": "^2.3.2",
28
40
  "libphonenumber-js": "^1.10.44",
29
41
  "lodash-es": "4.17.21",
30
42
  "luxon": "^3.4.3",
31
- "polished": "3.6.5",
32
- "prop-types": "15.7.2",
33
- "react": "16.13.1",
34
- "react-dom": "16.13.1",
35
43
  "react-transition-group": "4.4.2",
36
- "regenerator-runtime": "0.13.5",
37
44
  "remarkable": "2.0.1",
38
- "styled-components": "5.1.1",
39
- "validator": "13.7.0"
45
+ "validator": "^13.11.0"
46
+ },
47
+ "peerDependencies": {
48
+ "react": "^18.2.0",
49
+ "react-dom": "^18.2.0",
50
+ "styled-components": "5.1.1"
40
51
  },
41
52
  "devDependencies": {
42
- "@babel/core": "7.10.4",
43
- "@babel/plugin-proposal-class-properties": "7.10.4",
44
- "@babel/preset-env": "7.10.4",
45
- "@babel/preset-react": "7.10.4",
46
- "@rollup/plugin-commonjs": "13.0.0",
47
- "@rollup/plugin-node-resolve": "8.1.0",
48
- "@rollup/plugin-replace": "2.3.3",
49
- "@rollup/plugin-url": "5.0.1",
50
- "@svgr/rollup": "6.5.0",
53
+ "@babel/core": "^7.23.2",
54
+ "@babel/preset-env": "^7.23.2",
55
+ "@babel/preset-react": "^7.22.15",
56
+ "@babel/preset-typescript": "^7.23.2",
57
+ "@jest/globals": "^29.7.0",
58
+ "@rollup/plugin-commonjs": "^25.0.7",
59
+ "@rollup/plugin-node-resolve": "^15.2.3",
60
+ "@rollup/plugin-replace": "^5.0.5",
61
+ "@rollup/plugin-terser": "^0.4.4",
62
+ "@rollup/plugin-url": "^8.0.2",
63
+ "@svgr/rollup": "^8.1.0",
64
+ "@testing-library/jest-dom": "^6.2.0",
65
+ "@testing-library/react": "^14.0.0",
66
+ "@types/babel__generator": "^7.6.6",
67
+ "@types/lodash-es": "^4.17.9",
68
+ "@types/react": "^18.2.23",
69
+ "@types/react-dom": "^18.2.7",
70
+ "@types/react-transition-group": "^4.4.6",
71
+ "@types/remarkable": "^2.0.7",
72
+ "@types/styled-components": "^5.1.28",
73
+ "@types/validator": "^13.11.2",
51
74
  "@typescript-eslint/eslint-plugin": "^6.5.0",
52
75
  "@typescript-eslint/parser": "^6.5.0",
76
+ "babel-jest": "^29.7.0",
53
77
  "babel-plugin-dynamic-import-node": "2.3.3",
54
78
  "babel-preset-jest": "26.1.0",
55
79
  "cheerio": "1.0.0-rc.10",
56
80
  "core-js": "3.6.5",
57
- "enzyme": "3.11.0",
58
- "enzyme-adapter-react-16": "1.15.2",
59
81
  "eslint": "^8.48.0",
60
82
  "eslint-plugin-compat": "^4.2.0",
61
83
  "eslint-plugin-react": "^7.33.2",
62
84
  "eslint-plugin-react-hooks": "^4.6.0",
63
- "jest": "26.1.0",
64
- "jest-styled-components": "7.0.5",
65
- "react-test-renderer": "16.13.1",
66
- "rollup": "2.20.0",
67
- "rollup-plugin-babel": "4.4.0",
68
- "rollup-plugin-node-builtins": "2.1.2",
69
- "rollup-plugin-node-globals": "1.4.0",
70
- "rollup-plugin-uglify": "6.0.4",
85
+ "jest": "^29.7.0",
86
+ "jest-environment-jsdom": "^29.7.0",
87
+ "jest-styled-components": "^7.2.0",
88
+ "polished": "^4.2.2",
89
+ "react-test-renderer": "^18.2.0",
90
+ "rollup": "^4.1.4",
91
+ "rollup-plugin-dts": "^6.1.0",
92
+ "rollup-plugin-esbuild": "^6.1.0",
93
+ "ts-jest": "^29.1.1",
94
+ "ts-node": "^10.9.1",
71
95
  "typescript": "^5.2.2"
72
96
  },
73
97
  "files": [
74
98
  "cjs",
75
99
  "es",
76
100
  "umd",
77
- "index.d.ts"
101
+ "types"
78
102
  ],
79
103
  "resolutions": {
80
104
  "core-js": "2.5.2"