@elliemae/pui-cli 7.13.0 → 7.14.0
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.
|
@@ -20,15 +20,28 @@ var pui_diagnostics_exports = {};
|
|
|
20
20
|
__export(pui_diagnostics_exports, {
|
|
21
21
|
Console: () => Console,
|
|
22
22
|
LogLevel: () => LogLevel,
|
|
23
|
+
LogLevels: () => LogLevels,
|
|
23
24
|
http: () => http,
|
|
24
25
|
logUnhandledErrors: () => logUnhandledErrors,
|
|
25
26
|
logger: () => logger,
|
|
27
|
+
redactPii: () => redactPii,
|
|
26
28
|
webvitals: () => webvitals
|
|
27
29
|
});
|
|
28
30
|
module.exports = __toCommonJS(pui_diagnostics_exports);
|
|
31
|
+
const LogLevels = {
|
|
32
|
+
DEBUG: 10,
|
|
33
|
+
INFO: 20,
|
|
34
|
+
AUDIT: 30,
|
|
35
|
+
WARN: 40,
|
|
36
|
+
ERROR: 50,
|
|
37
|
+
FATAL: 60
|
|
38
|
+
};
|
|
29
39
|
const logger = () => ({
|
|
30
40
|
setLogLevel() {
|
|
31
41
|
},
|
|
42
|
+
getLogLevel() {
|
|
43
|
+
return LogLevels.INFO;
|
|
44
|
+
},
|
|
32
45
|
setOptions() {
|
|
33
46
|
},
|
|
34
47
|
info() {
|
|
@@ -67,3 +80,5 @@ const webvitals = () => {
|
|
|
67
80
|
};
|
|
68
81
|
const logUnhandledErrors = () => {
|
|
69
82
|
};
|
|
83
|
+
const redactPii = () => {
|
|
84
|
+
};
|
|
@@ -45,7 +45,7 @@ console.error = (...args) => {
|
|
|
45
45
|
};
|
|
46
46
|
if (expect)
|
|
47
47
|
expect.extend(import_jest_axe.default.toHaveNoViolations);
|
|
48
|
-
jest.setTimeout(6e4);
|
|
48
|
+
jest.setTimeout(Number.parseInt(process.env.TEST_TIMEOUT, 10) || 6e4);
|
|
49
49
|
const addElementToBody = (element) => {
|
|
50
50
|
const documentEle = (window || {}).document;
|
|
51
51
|
if (!documentEle)
|
|
@@ -1,6 +1,17 @@
|
|
|
1
|
+
const LogLevels = {
|
|
2
|
+
DEBUG: 10,
|
|
3
|
+
INFO: 20,
|
|
4
|
+
AUDIT: 30,
|
|
5
|
+
WARN: 40,
|
|
6
|
+
ERROR: 50,
|
|
7
|
+
FATAL: 60
|
|
8
|
+
};
|
|
1
9
|
const logger = () => ({
|
|
2
10
|
setLogLevel() {
|
|
3
11
|
},
|
|
12
|
+
getLogLevel() {
|
|
13
|
+
return LogLevels.INFO;
|
|
14
|
+
},
|
|
4
15
|
setOptions() {
|
|
5
16
|
},
|
|
6
17
|
info() {
|
|
@@ -39,11 +50,15 @@ const webvitals = () => {
|
|
|
39
50
|
};
|
|
40
51
|
const logUnhandledErrors = () => {
|
|
41
52
|
};
|
|
53
|
+
const redactPii = () => {
|
|
54
|
+
};
|
|
42
55
|
export {
|
|
43
56
|
Console,
|
|
44
57
|
LogLevel,
|
|
58
|
+
LogLevels,
|
|
45
59
|
http,
|
|
46
60
|
logUnhandledErrors,
|
|
47
61
|
logger,
|
|
62
|
+
redactPii,
|
|
48
63
|
webvitals
|
|
49
64
|
};
|
|
@@ -26,7 +26,7 @@ console.error = (...args) => {
|
|
|
26
26
|
};
|
|
27
27
|
if (expect)
|
|
28
28
|
expect.extend(jestAxe.toHaveNoViolations);
|
|
29
|
-
jest.setTimeout(6e4);
|
|
29
|
+
jest.setTimeout(Number.parseInt(process.env.TEST_TIMEOUT, 10) || 6e4);
|
|
30
30
|
const addElementToBody = (element) => {
|
|
31
31
|
const documentEle = (window || {}).document;
|
|
32
32
|
if (!documentEle)
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
+
export namespace LogLevels {
|
|
2
|
+
const DEBUG: number;
|
|
3
|
+
const INFO: number;
|
|
4
|
+
const AUDIT: number;
|
|
5
|
+
const WARN: number;
|
|
6
|
+
const ERROR: number;
|
|
7
|
+
const FATAL: number;
|
|
8
|
+
}
|
|
1
9
|
export function logger(): {
|
|
2
10
|
setLogLevel(): void;
|
|
11
|
+
getLogLevel(): number;
|
|
3
12
|
setOptions(): void;
|
|
4
13
|
info(): void;
|
|
5
14
|
warn(): void;
|
|
@@ -26,3 +35,4 @@ export function http(): {
|
|
|
26
35
|
};
|
|
27
36
|
export function webvitals(): void;
|
|
28
37
|
export function logUnhandledErrors(): void;
|
|
38
|
+
export function redactPii(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-cli",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.14.0",
|
|
4
4
|
"description": "ICE MT UI Platform CLI",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -78,14 +78,14 @@
|
|
|
78
78
|
"@babel/preset-env": "~7.19.4",
|
|
79
79
|
"@babel/preset-react": "~7.18.6",
|
|
80
80
|
"@babel/preset-typescript": "~7.18.6",
|
|
81
|
-
"@babel/runtime": "~7.20.
|
|
81
|
+
"@babel/runtime": "~7.20.1",
|
|
82
82
|
"@commitlint/cli": "~17.2.0",
|
|
83
83
|
"@commitlint/config-conventional": "~17.2.0",
|
|
84
84
|
"@elliemae/browserslist-config-elliemae-latest-browsers": "~1.5.0",
|
|
85
85
|
"@faker-js/faker": "7.6.0",
|
|
86
|
-
"@nrwl/cli": "15.0.
|
|
87
|
-
"@nrwl/tao": "15.0.
|
|
88
|
-
"@nrwl/workspace": "15.0.
|
|
86
|
+
"@nrwl/cli": "15.0.9",
|
|
87
|
+
"@nrwl/tao": "15.0.9",
|
|
88
|
+
"@nrwl/workspace": "15.0.9",
|
|
89
89
|
"@pmmmwh/react-refresh-webpack-plugin": "~0.5.8",
|
|
90
90
|
"@semantic-release/changelog": "~6.0.1",
|
|
91
91
|
"@semantic-release/exec": "~6.0.3",
|
|
@@ -104,23 +104,23 @@
|
|
|
104
104
|
"@stylelint/postcss-css-in-js": "~0.38.0",
|
|
105
105
|
"@svgr/webpack": "~6.5.1",
|
|
106
106
|
"@swc/cli": "~0.1.57",
|
|
107
|
-
"@swc/core": "~1.3.
|
|
107
|
+
"@swc/core": "~1.3.14",
|
|
108
108
|
"@swc/jest": "~0.2.23",
|
|
109
109
|
"@testing-library/jest-dom": "~5.16.5",
|
|
110
110
|
"@testing-library/react": "~13.4.0",
|
|
111
111
|
"@testing-library/react-hooks": "~8.0.1",
|
|
112
112
|
"@testing-library/user-event": "~14.4.3",
|
|
113
|
-
"@types/jest": "~29.2.
|
|
114
|
-
"@types/node": "~18.11.
|
|
113
|
+
"@types/jest": "~29.2.2",
|
|
114
|
+
"@types/node": "~18.11.9",
|
|
115
115
|
"@types/rimraf": "~3.0.2",
|
|
116
116
|
"@types/supertest": "~2.0.12",
|
|
117
117
|
"@types/testing-library__jest-dom": "~5.14.5",
|
|
118
118
|
"@typescript-eslint/eslint-plugin": "~5.42.0",
|
|
119
119
|
"@typescript-eslint/parser": "~5.42.0",
|
|
120
120
|
"@vitejs/plugin-react": "~2.2.0",
|
|
121
|
-
"@vitest/coverage-c8": "~0.24.
|
|
121
|
+
"@vitest/coverage-c8": "~0.24.5",
|
|
122
122
|
"autoprefixer": "~10.4.13",
|
|
123
|
-
"axe-core": "~4.5.
|
|
123
|
+
"axe-core": "~4.5.1",
|
|
124
124
|
"babel-plugin-date-fns": "~2.0.0",
|
|
125
125
|
"babel-plugin-dynamic-import-node": "~2.3.3",
|
|
126
126
|
"babel-plugin-import-remove-resource-query": "~1.0.0",
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
"dotenv-webpack": "~8.0.1",
|
|
150
150
|
"duplicate-package-checker-webpack-plugin": "~3.0.0",
|
|
151
151
|
"enhanced-resolve": "5.10.0",
|
|
152
|
-
"esbuild": "~0.15.
|
|
152
|
+
"esbuild": "~0.15.13",
|
|
153
153
|
"esbuild-loader": "~2.20.0",
|
|
154
154
|
"esbuild-plugin-svgr": "~1.0.1",
|
|
155
155
|
"eslint": "~8.26.0",
|
|
@@ -165,14 +165,14 @@
|
|
|
165
165
|
"eslint-plugin-eslint-comments": "~3.2.0",
|
|
166
166
|
"eslint-plugin-import": "~2.26.0",
|
|
167
167
|
"eslint-plugin-jest": "~27.1.3",
|
|
168
|
-
"eslint-plugin-jsdoc": "~39.
|
|
168
|
+
"eslint-plugin-jsdoc": "~39.6.2",
|
|
169
169
|
"eslint-plugin-jsx-a11y": "~6.6.1",
|
|
170
170
|
"eslint-plugin-mdx": "~2.0.5",
|
|
171
171
|
"eslint-plugin-prettier": "~4.2.1",
|
|
172
172
|
"eslint-plugin-react": "~7.31.10",
|
|
173
173
|
"eslint-plugin-react-hooks": "~4.6.0",
|
|
174
174
|
"eslint-plugin-redux-saga": "~1.3.2",
|
|
175
|
-
"eslint-plugin-storybook": "~0.6.
|
|
175
|
+
"eslint-plugin-storybook": "~0.6.7",
|
|
176
176
|
"eslint-plugin-testing-library": "~5.9.1",
|
|
177
177
|
"eslint-plugin-wdio": "~7.25.3",
|
|
178
178
|
"execa": "~6.1.0",
|
|
@@ -193,14 +193,14 @@
|
|
|
193
193
|
"husky-init": "~8.0.0",
|
|
194
194
|
"imports-loader": "~4.0.1",
|
|
195
195
|
"ip": "~1.1.8",
|
|
196
|
-
"jest-axe": "~
|
|
196
|
+
"jest-axe": "~7.0.0",
|
|
197
197
|
"jest-cli": "~29.2.2",
|
|
198
198
|
"jest-environment-jsdom": "~29.2.2",
|
|
199
199
|
"jest-sonar-reporter": "~2.0.0",
|
|
200
200
|
"jest-styled-components": "~7.1.1",
|
|
201
201
|
"jest-watch-typeahead": "~2.2.0",
|
|
202
202
|
"jscodeshift": "~0.14.0",
|
|
203
|
-
"jsdoc": "~
|
|
203
|
+
"jsdoc": "~4.0.0",
|
|
204
204
|
"lerna": "~6.0.1",
|
|
205
205
|
"lint-staged": "~13.0.3",
|
|
206
206
|
"mini-css-extract-plugin": "~2.6.1",
|
|
@@ -240,20 +240,20 @@
|
|
|
240
240
|
"storybook-builder-vite": "~0.1.23",
|
|
241
241
|
"storybook-react-router": "~1.0.8",
|
|
242
242
|
"style-loader": "~3.3.1",
|
|
243
|
-
"stylelint": "~14.14.
|
|
243
|
+
"stylelint": "~14.14.1",
|
|
244
244
|
"stylelint-config-recommended": "~9.0.0",
|
|
245
245
|
"stylelint-config-styled-components": "~0.1.1",
|
|
246
246
|
"supertest": "~6.3.1",
|
|
247
247
|
"swc-loader": "~0.2.3",
|
|
248
248
|
"ts-node": "~10.9.1",
|
|
249
249
|
"tsc-alias": "~1.7.0",
|
|
250
|
-
"typedoc": "~0.23.
|
|
250
|
+
"typedoc": "~0.23.20",
|
|
251
251
|
"typescript": "~4.8.4",
|
|
252
252
|
"update-notifier": "~6.0.2",
|
|
253
253
|
"url-loader": "~4.1.1",
|
|
254
254
|
"uuid": "~9.0.0",
|
|
255
255
|
"vite": "~3.2.2",
|
|
256
|
-
"vitest": "~0.24.
|
|
256
|
+
"vitest": "~0.24.5",
|
|
257
257
|
"vite-tsconfig-paths": "~3.5.2",
|
|
258
258
|
"webpack": "~5.74.0",
|
|
259
259
|
"webpack-bundle-analyzer": "~4.7.0",
|
|
@@ -263,7 +263,7 @@
|
|
|
263
263
|
"webpack-merge": "~5.8.0",
|
|
264
264
|
"whatwg-fetch": "~3.6.2",
|
|
265
265
|
"workbox-webpack-plugin": "~6.5.4",
|
|
266
|
-
"yargs": "~17.6.
|
|
266
|
+
"yargs": "~17.6.2"
|
|
267
267
|
},
|
|
268
268
|
"devDependencies": {
|
|
269
269
|
"react": "~18.2.0",
|