@descope/react-sdk 2.0.43 → 2.0.45

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,125 +1,127 @@
1
1
  {
2
- "name": "@descope/react-sdk",
3
- "version": "2.0.43",
4
- "description": "Descope React SDK",
5
- "author": "Descope Team <info@descope.com>",
6
- "homepage": "https://github.com/descope/react-sdk",
7
- "bugs": {
8
- "url": "https://github.com/descope/react-sdk/issues",
9
- "email": "help@descope.com"
10
- },
11
- "repository": {
12
- "type": "git",
13
- "url": "https://github.com/descope/react-sdk.git"
14
- },
15
- "license": "MIT",
16
- "type": "module",
17
- "exports": {
18
- "require": {
19
- "types": "./dist/index.d.ts",
20
- "default": "./dist/cjs/index.cjs.js"
21
- },
22
- "import": {
23
- "types": "./dist/index.d.ts",
24
- "default": "./dist/index.esm.js"
25
- }
26
- },
27
- "main": "dist/cjs/index.cjs.js",
28
- "module": "dist/index.esm.js",
29
- "types": "dist/index.d.ts",
30
- "files": [
31
- "dist"
32
- ],
33
- "scripts": {
34
- "build": "rollup -c",
35
- "format": "prettier . -w --ignore-path .gitignore",
36
- "format-check": "prettier . --check --ignore-path .gitignore",
37
- "format-lint": "pretty-quick --staged --ignore-path .gitignore && lint-staged",
38
- "leaks": "bash ./scripts/gitleaks/gitleaks.sh",
39
- "lint": "eslint '+(src|test|examples|testUtils)/**/*.+(ts|tsx)' --fix",
40
- "prepare": "husky install",
41
- "prepublishOnly": "npm run build",
42
- "start": "npm run build && rollup -c rollup.config.app.js -w",
43
- "test": "jest"
44
- },
45
- "lint-staged": {
46
- "+(src|test|examples)/**/*.{js,ts,jsx,tsx}": [
47
- "npm run lint"
48
- ]
49
- },
50
- "dependencies": {
51
- "@descope/access-key-management-widget": "0.1.102",
52
- "@descope/audit-management-widget": "0.1.65",
53
- "@descope/role-management-widget": "0.1.100",
54
- "@descope/user-management-widget": "0.4.103",
55
- "@descope/user-profile-widget": "0.0.75",
56
- "@descope/web-component": "3.19.1"
57
- },
58
- "devDependencies": {
59
- "@babel/core": "7.23.0",
60
- "@babel/preset-env": "7.22.20",
61
- "@babel/preset-react": "7.22.15",
62
- "@babel/preset-typescript": "7.23.0",
63
- "@open-wc/rollup-plugin-html": "^1.2.5",
64
- "@rollup/plugin-commonjs": "^25.0.0",
65
- "@rollup/plugin-node-resolve": "^15.0.0",
66
- "@rollup/plugin-replace": "^5.0.0",
67
- "@rollup/plugin-typescript": "^8.3.0",
68
- "@testing-library/jest-dom": "5.17.0",
69
- "@testing-library/react": "12.1.5",
70
- "@testing-library/react-hooks": "8.0.1",
71
- "@testing-library/user-event": "14.5.1",
72
- "@types/jest": "^27.0.2",
73
- "@types/react": "17.0.60",
74
- "@types/react-dom": "18.2.12",
75
- "@types/react-router-dom": "^5.3.3",
76
- "babel-jest": "27.5.1",
77
- "eslint": "8.51.0",
78
- "eslint-config-airbnb": "19.0.4",
79
- "eslint-config-airbnb-typescript": "17.1.0",
80
- "eslint-config-prettier": "8.10.0",
81
- "eslint-config-standard": "17.1.0",
82
- "eslint-import-resolver-typescript": "2.7.1",
83
- "eslint-plugin-import": "2.28.1",
84
- "eslint-plugin-jest": "27.4.2",
85
- "eslint-plugin-jest-dom": "4.0.3",
86
- "eslint-plugin-jest-formatting": "3.1.0",
87
- "eslint-plugin-jsx-a11y": "6.7.1",
88
- "eslint-plugin-n": "15.7.0",
89
- "eslint-plugin-no-only-tests": "3.1.0",
90
- "eslint-plugin-prefer-arrow": "1.2.3",
91
- "eslint-plugin-prettier": "4.2.1",
92
- "eslint-plugin-promise": "6.1.1",
93
- "eslint-plugin-react": "7.33.2",
94
- "eslint-plugin-react-hooks": "4.6.0",
95
- "eslint-plugin-testing-library": "5.11.1",
96
- "husky": "^8.0.1",
97
- "jest": "^27.3.1",
98
- "jest-extended": "^3.2.2",
99
- "lint-staged": "^13.0.3",
100
- "pretty-quick": "^3.1.3",
101
- "react": "17.0.2",
102
- "react-dom": "17.0.2",
103
- "react-router-dom": "6.16.0",
104
- "rollup": "^2.62.0",
105
- "rollup-plugin-auto-external": "^2.0.0",
106
- "rollup-plugin-browsersync": "^1.3.3",
107
- "rollup-plugin-define": "^1.0.1",
108
- "rollup-plugin-delete": "^2.0.0",
109
- "rollup-plugin-dotenv": "^0.5.0",
110
- "rollup-plugin-dts": "^4.2.2",
111
- "rollup-plugin-livereload": "^2.0.5",
112
- "rollup-plugin-serve": "^2.0.0",
113
- "rollup-plugin-terser": "^7.0.2",
114
- "ts-jest": "^27.0.7",
115
- "ts-node": "10.9.1",
116
- "typescript": "^4.5.3"
117
- },
118
- "peerDependencies": {
119
- "@types/react": ">=17",
120
- "react": ">=17"
121
- },
122
- "optionalDependencies": {
123
- "@descope/web-js-sdk": ">=1"
124
- }
125
- }
2
+ "name": "@descope/react-sdk",
3
+ "version": "2.0.45",
4
+ "description": "Descope React SDK",
5
+ "author": "Descope Team <info@descope.com>",
6
+ "homepage": "https://github.com/descope/descope-js",
7
+ "bugs": {
8
+ "url": "https://github.com/descope/descope-js/issues",
9
+ "email": "help@descope.com"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/descope/descope-js.git"
14
+ },
15
+ "license": "MIT",
16
+ "type": "module",
17
+ "exports": {
18
+ "require": {
19
+ "types": "./dist/index.d.ts",
20
+ "default": "./dist/cjs/index.cjs.js"
21
+ },
22
+ "import": {
23
+ "types": "./dist/index.d.ts",
24
+ "default": "./dist/index.esm.js"
25
+ }
26
+ },
27
+ "main": "dist/cjs/index.cjs.js",
28
+ "module": "dist/index.esm.js",
29
+ "types": "dist/index.d.ts",
30
+ "files": [
31
+ "dist"
32
+ ],
33
+ "lint-staged": {
34
+ "+(src|examples)/**/*.{js,ts,jsx,tsx}": [
35
+ "npm run lint"
36
+ ]
37
+ },
38
+ "dependencies": {
39
+ "@descope/audit-management-widget": "0.1.72",
40
+ "@descope/role-management-widget": "0.1.107",
41
+ "@descope/user-profile-widget": "0.0.83",
42
+ "@descope/user-management-widget": "0.4.110",
43
+ "@descope/web-component": "3.19.5",
44
+ "@descope/access-key-management-widget": "0.1.109",
45
+ "@descope/web-js-sdk": "1.15.4",
46
+ "@descope/core-js-sdk": "2.23.2"
47
+ },
48
+ "devDependencies": {
49
+ "@babel/core": "7.23.0",
50
+ "@babel/preset-env": "7.22.20",
51
+ "@babel/preset-react": "7.22.15",
52
+ "@babel/preset-typescript": "7.23.0",
53
+ "@open-wc/rollup-plugin-html": "^1.2.5",
54
+ "@rollup/plugin-commonjs": "^25.0.0",
55
+ "@rollup/plugin-node-resolve": "^15.0.0",
56
+ "@rollup/plugin-replace": "^5.0.0",
57
+ "@rollup/plugin-typescript": "^8.3.0",
58
+ "@testing-library/jest-dom": "5.17.0",
59
+ "@testing-library/react": "12.1.5",
60
+ "@testing-library/react-hooks": "8.0.1",
61
+ "@testing-library/user-event": "14.5.1",
62
+ "@types/jest": "^27.0.2",
63
+ "@types/react": "17.0.60",
64
+ "@types/node": "^16.0.0",
65
+ "@types/react-dom": "18.2.12",
66
+ "@types/react-router-dom": "^5.3.3",
67
+ "babel-jest": "27.5.1",
68
+ "eslint": "8.57.0",
69
+ "eslint-config-airbnb": "19.0.4",
70
+ "eslint-config-airbnb-typescript": "17.1.0",
71
+ "eslint-config-prettier": "8.10.0",
72
+ "eslint-config-standard": "17.1.0",
73
+ "eslint-import-resolver-typescript": "2.7.1",
74
+ "eslint-plugin-import": "2.28.1",
75
+ "eslint-plugin-jest": "27.4.2",
76
+ "eslint-plugin-jest-dom": "4.0.3",
77
+ "eslint-plugin-jest-formatting": "3.1.0",
78
+ "eslint-plugin-jsx-a11y": "6.7.1",
79
+ "eslint-plugin-n": "15.7.0",
80
+ "eslint-plugin-no-only-tests": "3.1.0",
81
+ "eslint-plugin-prefer-arrow": "1.2.3",
82
+ "eslint-plugin-prettier": "4.2.1",
83
+ "eslint-plugin-promise": "6.1.1",
84
+ "eslint-plugin-react": "7.33.2",
85
+ "eslint-plugin-react-hooks": "4.6.0",
86
+ "eslint-plugin-testing-library": "5.11.1",
87
+ "jest": "^27.3.1",
88
+ "jest-extended": "^3.2.2",
89
+ "lint-staged": "^13.0.3",
90
+ "pretty-quick": "^3.1.3",
91
+ "react": "17.0.2",
92
+ "react-router": "^6.2.1",
93
+ "react-dom": "17.0.2",
94
+ "react-router-dom": "6.16.0",
95
+ "rollup": "^2.62.0",
96
+ "rollup-plugin-auto-external": "^2.0.0",
97
+ "rollup-plugin-browsersync": "^1.3.3",
98
+ "rollup-plugin-define": "^1.0.1",
99
+ "rollup-plugin-delete": "^2.0.0",
100
+ "rollup-plugin-dotenv": "^0.5.0",
101
+ "rollup-plugin-dts": "^4.2.2",
102
+ "rollup-plugin-livereload": "^2.0.5",
103
+ "rollup-plugin-serve": "^2.0.0",
104
+ "rollup-plugin-terser": "^7.0.2",
105
+ "ts-jest": "^27.0.7",
106
+ "ts-node": "10.9.1",
107
+ "typescript": "^4.5.3",
108
+ "object-assign": "^4.1.1",
109
+ "scheduler": "^0.20.2",
110
+ "@remix-run/router": "^1.0.0",
111
+ "jest-environment-jsdom": "^27.3.1"
112
+ },
113
+ "peerDependencies": {
114
+ "@types/react": ">=17",
115
+ "react": ">=17"
116
+ },
117
+ "scripts": {
118
+ "build": "rollup -c",
119
+ "format": "prettier . -w --ignore-path .gitignore",
120
+ "format-check": "prettier . --check --ignore-path .gitignore",
121
+ "format-lint": "pretty-quick --staged --ignore-path .gitignore && lint-staged",
122
+ "leaks": "bash ./scripts/gitleaks/gitleaks.sh",
123
+ "lint": "eslint '+(src|examples)/**/*.+(ts|tsx)' --fix",
124
+ "start": "npm run build && rollup -c rollup.config.app.mjs -w",
125
+ "test": "jest"
126
+ }
127
+ }