@corva/dc-platform-shared 0.67.0 → 0.68.1
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/CLI/components/App/App.js +1 -1
- package/CLI/components/App/components/AppBar/AppBar.js +1 -1
- package/CLI/hocs/effects/useProvideAuth/useProvideAuth.js +1 -1
- package/CLI/hocs/utils.js +1 -1
- package/CLI/hocs/withAppDataProviderHOC.js +1 -1
- package/CLI/hocs/withCLIAppSettingsHOC.js +1 -1
- package/CLI/hocs/withCorvaMagicHOC.js +1 -1
- package/CLI/hocs/withDevCenterRouterHOC.js +1 -1
- package/CLI/hocs/withGridLayoutHOC/withGridLayoutHOC.js +1 -1
- package/CLI/hocs/withPDFLayoutHOC.js +1 -1
- package/CLI/hocs/withReactRouterHOC.js +1 -1
- package/CLI/screens/LoginScreen/LoginScreen.js +1 -1
- package/CLI/screens/LoginScreen/components/Auth.js +1 -1
- package/CLI/screens/LoginScreen/components/AuthStep.js +1 -1
- package/CLI/screens/LoginScreen/components/EmailStep.js +1 -1
- package/CLI/screens/LoginScreen/components/SSOButton.js +1 -1
- package/CLI/screens/OAuthCallbackScreen/index.js +1 -1
- package/cjs/devcenter/webpack/DevServerEntryPoint.js +1 -1
- package/cjs/devcenter/webpack/DevServerIsolatedAppEntryPoint.js +1 -1
- package/cjs/devcenter/webpack/constants.js +1 -1
- package/cjs/devcenter/webpack/plugins/checkCorvaUIVersion.js +11 -1
- package/cjs/devcenter/webpack/utils/middlewares.js +1 -1
- package/cjs/devcenter/webpack/utils/serializeDotEnv.js +1 -1
- package/cjs/devcenter/webpack/validators/dependencies.js +1 -1
- package/cjs/devcenter/webpack/validators/index.js +1 -1
- package/cjs/devcenter/webpack/webpack.config.common.js +1 -1
- package/cjs/devcenter/webpack/webpack.config.dev.js +1 -1
- package/cjs/devcenter/webpack/webpack.config.prod.js +1 -1
- package/clients/auth0/index.js +1 -1
- package/components/GridLockButton/index.js +1 -1
- package/components/Login/components/Chip.js +1 -1
- package/components/Login/components/EmailField.js +1 -1
- package/components/Login/components/HiddenEmailField.js +1 -1
- package/components/Login/components/Login.js +1 -1
- package/components/Login/components/PasswordField.js +1 -1
- package/components/Login/components/StepFooter.js +1 -1
- package/components/Login/components/VerificationStep.js +1 -1
- package/package.json +23 -13
- package/utils/devcenter.js +1 -1
- package/utils/recaptcha.js +1 -1
- package/vite/corva-vite-config.mjs +858 -0
- package/_virtual/_commonjsHelpers.js +0 -1
- package/_virtual/toPrimitive.js +0 -1
- package/_virtual/toPropertyKey.js +0 -1
- package/_virtual/typeof.js +0 -1
- package/ext-cjs/@babel/runtime/helpers/defineProperty.js +0 -1
- package/ext-cjs/@babel/runtime/helpers/taggedTemplateLiteral.js +0 -1
- package/ext-cjs/@babel/runtime/helpers/toPrimitive.js +0 -1
- package/ext-cjs/@babel/runtime/helpers/toPropertyKey.js +0 -1
- package/ext-cjs/@babel/runtime/helpers/typeof.js +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@corva/dc-platform-shared",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.68.1",
|
|
4
4
|
"description": "A library to share internal DC platform specific code",
|
|
5
5
|
"main": "./dist",
|
|
6
6
|
"module": "./src/index.js",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"^.+\\.svg$": "<rootDir>/jest/svgTransform.js"
|
|
60
60
|
},
|
|
61
61
|
"transformIgnorePatterns": [
|
|
62
|
-
"node_modules/(?!@
|
|
62
|
+
"/node_modules/(?!@corva/ui|@icon-park/react)"
|
|
63
63
|
],
|
|
64
64
|
"moduleFileExtensions": [
|
|
65
65
|
"js",
|
|
@@ -67,7 +67,8 @@
|
|
|
67
67
|
"json",
|
|
68
68
|
"mjs",
|
|
69
69
|
"node"
|
|
70
|
-
]
|
|
70
|
+
],
|
|
71
|
+
"testEnvironment": "jsdom"
|
|
71
72
|
},
|
|
72
73
|
"dependencies": {
|
|
73
74
|
"@babel/core": "^7.12.10",
|
|
@@ -83,26 +84,31 @@
|
|
|
83
84
|
"@material-ui/lab": "4.0.0-alpha.57",
|
|
84
85
|
"@material-ui/pickers": "3.2.10",
|
|
85
86
|
"@pmmmwh/react-refresh-webpack-plugin": "0.5.10",
|
|
87
|
+
"@vitejs/plugin-react": "6.1.1",
|
|
88
|
+
"@vitest/coverage-v8": "4.1.11",
|
|
86
89
|
"babel-eslint": "10.0.3",
|
|
87
|
-
"babel-jest": "^
|
|
88
|
-
"babel-loader": "
|
|
90
|
+
"babel-jest": "^30.2.0",
|
|
91
|
+
"babel-loader": "^10.0.0",
|
|
89
92
|
"babel-plugin-file-loader": "^2.0.0",
|
|
90
93
|
"babel-plugin-root-import": "^6.5.0",
|
|
91
94
|
"chalk": "4.1.1",
|
|
92
95
|
"classnames": "2.2.6",
|
|
93
96
|
"clean-webpack-plugin": "3.0.0",
|
|
94
|
-
"copy-webpack-plugin": "
|
|
97
|
+
"copy-webpack-plugin": "^13.0.1",
|
|
95
98
|
"css-loader": "^7.1.0",
|
|
96
|
-
"dotenv": "
|
|
99
|
+
"dotenv": "16.4.7",
|
|
100
|
+
"dotenv-expand": "11.0.7",
|
|
97
101
|
"eslint-config-airbnb": "17.1.0",
|
|
98
102
|
"eslint-plugin-jest-dom": "3.9.4",
|
|
99
103
|
"eslint-plugin-prettier": "3.1.1",
|
|
100
104
|
"eslint-plugin-testing-library": "^3.9.2",
|
|
101
105
|
"express": "4.21.2",
|
|
102
106
|
"fs": "0.0.1-security",
|
|
103
|
-
"html-webpack-plugin": "
|
|
107
|
+
"html-webpack-plugin": "^5.6.4",
|
|
104
108
|
"identity-obj-proxy": "^3.0.0",
|
|
105
|
-
"jest": "^
|
|
109
|
+
"jest": "^30.2.0",
|
|
110
|
+
"jest-environment-jsdom": "^30.2.0",
|
|
111
|
+
"jsdom": "22.1.0",
|
|
106
112
|
"jsona": "1.5.1",
|
|
107
113
|
"lodash": "4.18.1",
|
|
108
114
|
"moment": "2.29.4",
|
|
@@ -121,23 +127,27 @@
|
|
|
121
127
|
"react-router-dom": "^5.3.4",
|
|
122
128
|
"react-sizeme": "2.5.2",
|
|
123
129
|
"rollup-plugin-copy": "^3.4.0",
|
|
130
|
+
"rollup-plugin-license": "3.6.0",
|
|
124
131
|
"sass": "npm:sass-embedded@^1.99.0",
|
|
125
132
|
"sass-loader": "^16.0.5",
|
|
126
133
|
"semver": "7.5.2",
|
|
127
134
|
"style-loader": "^4.0.0",
|
|
128
|
-
"svg-url-loader": "
|
|
129
|
-
"terser-webpack-plugin": "
|
|
135
|
+
"svg-url-loader": "^8.1.0",
|
|
136
|
+
"terser-webpack-plugin": "^5.3.14",
|
|
130
137
|
"uuid": "3.4.0",
|
|
138
|
+
"vite": "8.3.0",
|
|
139
|
+
"vite-plugin-static-copy": "4.1.0",
|
|
140
|
+
"vitest": "4.1.11",
|
|
131
141
|
"webpack": "5.94.0",
|
|
132
142
|
"webpack-cli": "5.1.4",
|
|
133
|
-
"webpack-dev-server": "
|
|
143
|
+
"webpack-dev-server": "^5.2.2",
|
|
134
144
|
"webpack-merge": "5.9.0"
|
|
135
145
|
},
|
|
136
146
|
"peerDependencies": {
|
|
137
147
|
"@corva/ui": "*"
|
|
138
148
|
},
|
|
139
149
|
"devDependencies": {
|
|
140
|
-
"@corva/ui": "
|
|
150
|
+
"@corva/ui": "3.78.0-2",
|
|
141
151
|
"@rollup/plugin-babel": "^5.2.1",
|
|
142
152
|
"@rollup/plugin-commonjs": "^15.0.0",
|
|
143
153
|
"@rollup/plugin-image": "^2.0.6",
|
package/utils/devcenter.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{DEV_CENTER_CLI_APP_ID as
|
|
1
|
+
import{DEV_CENTER_CLI_APP_ID as t}from"@corva/ui/constants";const a=(a,n=t)=>n===+a?.maximizeDC;function n(t){return{push:a=>{"string"==typeof a?t.push(a):t.push({pathname:a.pathname,query:a.query})},location:{pathname:t?.location?.pathname,query:t?.location?.query}}}export{n as createDevCenterRouter,a as isAppMaximized};
|
package/utils/recaptcha.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const c=(process.env.REACT_APP_API_URL||"").includes("api.corva.ai")?"6LcD9rIiAAAAABAlTq0c4mpbiwdcEN10wDbqcYT4":"6LcdL7IiAAAAAAgBjpeKEf_b_T-mqDAjOvuNOjCz";function e(){const e=document.createElement("script");e.async=!0,e.src
|
|
1
|
+
const c=(process.env.REACT_APP_API_URL||"").includes("api.corva.ai")?"6LcD9rIiAAAAABAlTq0c4mpbiwdcEN10wDbqcYT4":"6LcdL7IiAAAAAAgBjpeKEf_b_T-mqDAjOvuNOjCz";function e(){const e=document.createElement("script");e.async=!0,e.src=`https://www.google.com/recaptcha/enterprise.js?render=${c}`,document.body.appendChild(e)}export{c as GOOGLE_RECAPTCHA_KEY,e as initializeRecaptcha};
|