Giter VIP home page Giter VIP logo

cockpit-session-recording's Introduction

Cockpit Session Recording

Module for Cockpit which provides session recording configuration and playback. It requires tlog to record terminal sessions. SSSD is required to manage which users / groups are recorded. Systemd Journal is used to store recordings. Ansible role for session-recording is here.

Demos & Talks:

GitHub Organization:

This project is based on the Cockpit Starter Kit. See Starter Kit Intro for details.

Getting and building the source

Make sure you have npm available (usually from your distribution package). These commands check out the source and build it into the dist/ directory:

git clone https://github.com/Scribery/cockpit-session-recording.git
cd cockpit-session-recording
make

Installing

make install compiles and installs the package in /usr/local/share/cockpit/. The convenience targets srpm and rpm build the source and binary rpms, respectively. Both of these make use of the dist target, which is used to generate the distribution tarball. In production mode, source files are automatically minified and compressed. Set NODE_ENV=production if you want to duplicate this behavior.

For development, you usually want to run your module straight out of the git tree. To do that, run make devel-install, which links your checkout to the location were cockpit-bridge looks for packages. If you prefer to do this manually:

mkdir -p ~/.local/share/cockpit
ln -s `pwd`/dist ~/.local/share/cockpit/session-recording

After changing the code and running make again, reload the Cockpit page in your browser.

You can also use watch mode to automatically update the bundle on every code change with

$ ./build.js -w

or

$ make watch

When developing against a virtual machine, watch mode can also automatically upload the code changes by setting the RSYNC environment variable to the remote hostname.

$ RSYNC=c make watch

When developing against a remote host as a normal user, RSYNC_DEVEL can be set to upload code changes to ~/.local/share/cockpit/ instead of /usr/local.

$ RSYNC_DEVEL=example.com make watch

To "uninstall" the locally installed version, run make devel-uninstall, or remove manually the symlink:

rm ~/.local/share/cockpit/starter-kit

Running eslint

Cockpit Starter Kit uses ESLint to automatically check JavaScript code style in .js and .jsx files.

eslint is executed as part of test/static-code, aka. make codecheck.

For developer convenience, the ESLint can be started explicitly by:

$ npm run eslint

Violations of some rules can be fixed automatically by:

$ npm run eslint:fix

Rules configuration can be found in the .eslintrc.json file.

Running stylelint

Cockpit uses Stylelint to automatically check CSS code style in .css and scss files.

styleint is executed as part of test/static-code, aka. make codecheck.

For developer convenience, the Stylelint can be started explicitly by:

$ npm run stylelint

Violations of some rules can be fixed automatically by:

$ npm run stylelint:fix

Rules configuration can be found in the .stylelintrc.json file.

Running tests locally

Run make check to build an RPM, install it into a standard Cockpit test VM (centos-9-stream by default), and run the test/check-application integration test on it. This uses Cockpit's Chrome DevTools Protocol based browser tests, through a Python API abstraction. Note that this API is not guaranteed to be stable, so if you run into failures and don't want to adjust tests, consider checking out Cockpit's test/common from a tag instead of main (see the test/common target in Makefile).

After the test VM is prepared, you can manually run the test without rebuilding the VM, possibly with extra options for tracing and halting on test failures (for interactive debugging):

TEST_OS=centos-9-stream test/check-application -tvs

It is possible to setup the test environment without running the tests:

TEST_OS=centos-9-stream make prepare-check

You can also run the test against a different Cockpit image, for example:

TEST_OS=fedora-34 make check

cockpit-session-recording's People

Contributors

allisonkarlitskaya avatar benwilliamgraham avatar cockpituous avatar dependabot[bot] avatar dperpeet avatar jelly avatar justin-stephenson avatar kkoukiou avatar larskarlitski avatar martinpitt avatar marusak avatar mvollmer avatar sabbaka avatar spoore1 avatar tomasmatus avatar zaltark avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cockpit-session-recording's Issues

Simplify element selectors for use in tests

In testZoomControls we are using several selectors like:

        zoom_in_btn = "#recording-wrap > div > div > div.panel-footer > span:nth-child(11) > button:nth-child(3)"

It would be better to use a unique 'id' selector like

       zoom_in_btn = #zoom_in

Make error on linux mint 21.1 cinnamon

make
NODE_ENV= ./build.js
file:///home/admini/git/cockpit-session-recording/build.js:18
const esbuild = (await import(useWasm ? 'esbuild-wasm' : 'esbuild')).default;
^^^^^

SyntaxError: Unexpected reserved word
at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
at async link (internal/modules/esm/module_job.js:42:21)
make: *** [Makefile:85: dist/manifest.json] Error 1

time discrepancy between search and display

My test host is setup for EST, my laptop where I'm running my browser is CST.

I enter 16:00 today as the since time and it lists things from 15:00 till now.

Is it using the literal string entered by the calendar for what to use with the journal search? But on the list it translates the timestamps to my local TZ?

That would explain what I'm seeing.

Cockpit session recordings are not playing on web UI

Alma 9, install cockpit
Enable Session Recording (journal)
Start Terminal session in Web UI (see msg about record warning). Session Entry appears, user's input appears below "black" player but no video is shown.
Have tried Chromium and Firefox, on the server itself. I've tried localhost:9090 and m.y.i.p:9090

I'm on Alma 9.
Cockpit 300.4
cockpit-session-recording 13

Switching to file or syslog doesn't help. In fact, the session no longer appears as an entry, whether file or syslog. However in file mode, I do get a file in my /tmp directory which I can successfully playback with tlog-play -i thefilename.

I can find no hard errors from sssd or cockpit or selinux.

I see browser warnings for po.js not loading, but other github comments tell me to ignore it.

Error:Unable to retrieve tlog user from system

Hi
I have installed tlog, sssd and do relevant configuration and them be tested, then install cockpit-session-recording, made relevant configuration, repeated attempts and still reported error:"Unable to retrieve tlog user from system";
then i read some source code but do not know the reason of the error, hope to get help.

OS ver

Description:	Ubuntu 22.04.1 LTS
Release:	22.04
Codename:	jammy

/etc/sssd/sssd.conf

\# chmod 600 /etc/sssd/sssd.conf
\# chown root:root /etc/sssd/sssd.conf

[sssd]
config_file_version = 2
domains = local
services = nss , pam
debug_level = 0x1310
[nss]
filter_groups = root
filter_users = root , vincent

[pam]

[domain/local]
id_provider = files

/etc/sssd/conf.d/sssd-session-recording.conf

[session_recording]
scope=all
users=root,vincent
groups=root

Error getting tlog UID from system.

I've installed cockpit on centos 7 and then followed the instructions to install cockpit-session-recording.
Restarted cockpit service I saw the new entry un left "Session Recording" but when click I receive only this message
"Error getting tlog UID from system."

Which additional configuration should I apply?
Thanks

cockpit session recording centos 7.8 , when i click on browser to run recording it shows this error and crash

Warning: Can't call setState (or forceUpdate) on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
in Player (created by Recording)
in div (created by Recording)
in div (created by Recording)
in Recording (created by View)
warningWithoutStack @ react-dom.development.js:512
react-dom.development.js:62 Uncaught Invariant Violation: Objects are not valid as a React child (found: Error: extra output present). If you meant to render a collection of children, use an array instead.
in div (created by Player)
in div (created by Player)
in div (created by Player)
in div (created by Player)
in Player (created by Recording)
in div (created by Recording)
in div (created by Recording)
in Recording (created by View)
in View
at invariant (https://test.test.com/webcon/cockpit+=v6testdevops/$3f24e3f6f148a9f3fab89f33e8828675297501b7475c8172a89cd95873e03dc0/session-recording/recordings.js:42214:15)
at throwOnInvalidObjectType (https://test.test.com/webcon/cockpit+=v6testdevops/$3f24e3f6f148a9f3fab89f33e8828675297501b7475c8172a89cd95873e03dc0/session-recording/recordings.js:54383:5)
at createChild (https://test.test.com/webcon/cockpit+=v6testdevops/$3f24e3f6f148a9f3fab89f33e8828675297501b7475c8172a89cd95873e03dc0/session-recording/recordings.js:54594:7)
at reconcileChildrenArray (https://test.test.com/webcon/cockpit+=v6testdevops/$3f24e3f6f148a9f3fab89f33e8828675297501b7475c8172a89cd95873e03dc0/session-recording/recordings.js:54826:25)
at reconcileChildFibers (https://test.test.com/webcon/cockpit+=v6testdevops/$3f24e3f6f148a9f3fab89f33e8828675297501b7475c8172a89cd95873e03dc0/session-recording/recordings.js:55149:14)
at reconcileChildren (https://test.test.com/webcon/cockpit+=v6testdevops/$3f24e3f6f148a9f3fab89f33e8828675297501b7475c8172a89cd95873e03dc0/session-recording/recordings.js:55542:28)
at updateHostComponent (https://test.test.com/webcon/cockpit+=v6testdevops/$3f24e3f6f148a9f3fab89f33e8828675297501b7475c8172a89cd95873e03dc0/session-recording/recordings.js:55821:3)
at beginWork (https://test.test.com/webcon/cockpit+=v6testdevops/$3f24e3f6f148a9f3fab89f33e8828675297501b7475c8172a89cd95873e03dc0/session-recording/recordings.js:56263:14)
at performUnitOfWork (https://test.test.com/webcon/cockpit+=v6testdevops/$3f24e3f6f148a9f3fab89f33e8828675297501b7475c8172a89cd95873e03dc0/session-recording/recordings.js:58575:12)
at workLoop (https://test.test.com/webcon/cockpit+=v6testdevops/$3f24e3f6f148a9f3fab89f33e8828675297501b7475c8172a89cd95873e03dc0/session-recording/recordings.js:58613:24)
react-dom.development.js:14550 The above error occurred in the

component:
in div (created by Player)
in div (created by Player)
in div (created by Player)
in div (created by Player)
in Player (created by Recording)
in div (created by Recording)
in div (created by Recording)
in Recording (created by View)
in View

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://fb.me/react-error-boundaries to learn more about error boundaries.
logCapturedError @ react-dom.development.js:14550
react-dom.development.js:17356 Uncaught Invariant Violation: Objects are not valid as a React child (found: Error: extra output present). If you meant to render a collection of children, use an array instead.
in div (created by Player)
in div (created by Player)
in div (created by Player)
in div (created by Player)
in Player (created by Recording)
in div (created by Recording)
in div (created by Recording)
in Recording (created by View)
in View
at invariant (https://test.test.com/webcon/cockpit+=v6testdevops/$3f24e3f6f148a9f3fab89f33e8828675297501b7475c8172a89cd95873e03dc0/session-recording/recordings.js:42214:15)
at throwOnInvalidObjectType (https://test.test.com/webcon/cockpit+=v6testdevops/$3f24e3f6f148a9f3fab89f33e8828675297501b7475c8172a89cd95873e03dc0/session-recording/recordings.js:54383:5)
at createChild (https://test.test.com/webcon/cockpit+=v6testdevops/$3f24e3f6f148a9f3fab89f33e8828675297501b7475c8172a89cd95873e03dc0/session-recording/recordings.js:54594:7)
at reconcileChildrenArray (https://test.test.com/webcon/cockpit+=v6testdevops/$3f24e3f6f148a9f3fab89f33e8828675297501b7475c8172a89cd95873e03dc0/session-recording/recordings.js:54826:25)
at reconcileChildFibers (https://test.test.com/webcon/cockpit+=v6testdevops/$3f24e3f6f148a9f3fab89f33e8828675297501b7475c8172a89cd95873e03dc0/session-recording/recordings.js:55149:14)
at reconcileChildren (https://test.test.com/webcon/cockpit+=v6testdevops/$3f24e3f6f148a9f3fab89f33e8828675297501b7475c8172a89cd95873e03dc0/session-recording/recordings.js:55542:28)
at updateHostComponent (https://test.test.com/webcon/cockpit+=v6testdevops/$3f24e3f6f148a9f3fab89f33e8828675297501b7475c8172a89cd95873e03dc0/session-recording/recordings.js:55821:3)
at beginWork (https://test.test.com/webcon/cockpit+=v6testdevops/$3f24e3f6f148a9f3fab89f33e8828675297501b7475c8172a89cd95873e03dc0/session-recording/recordings.js:56263:14)
at performUnitOfWork (https://test.test.com/webcon/cockpit+=v6testdevops/$3f24e3f6f148a9f3fab89f33e8828675297501b7475c8172a89cd95873e03dc0/session-recording/recordings.js:58575:12)
at workLoop (https://test.test.com/webcon/cockpit+=v6testdevops/$3f24e3f6f148a9f3fab89f33e8828675297501b7475c8172a89cd95873e03dc0/session-recording/recordings.js:58613:24)
6player.jsx:659 Error: extra output present
at PacketBuffer.parseMessageData (player.jsx:354)
at PacketBuffer.parseMessage (player.jsx:403)
at PacketBuffer.handleStream (player.jsx:436)
at fire_streamers (journal.js:145)
handleError @ player.jsx:659
react-dom.development.js:512 Warning: Can't call setState (or forceUpdate) on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
in View
warningWithoutStack @ react-dom.development.js:512
146player.test.test.com

Missing recordings in Recordings List

On my system containing several tlog recordings, look into why the recordings are missing from the page. cockpit-session-recording is using the cockpit journal jquery API.

Adjust UI for PatternFly 4

The latest version of cockpit uses PatternFly 4, this causes at least one UI problem:

  • on the main page, 'Until' and 'Search' are hidden behind boxes

Interpet or drop terminal control sequences

Recorded sessions may include control sequences that can be ignored. For example, tmux sets a title definition. This causes the title string to be included in the recording output, duplicating the shell prompt effectively.

\u001bkrecuser@agalloch:~\u001b\\

ESC k Title Definition String
ESC \ | 0x9C | ST | String Terminator | Terminates strings in other controls

Reference:
https://en.wikipedia.org/wiki/ANSI_escape_code
https://www.gnu.org/software/screen/manual/html_node/Control-Sequences.html

Covscan - Unsorted

1. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:352659: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:352632: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:352632: remediation: Should it say ""wide"" instead?
# 352630|       defaultMatchWidth: 'wide',
# 352631|       parsePatterns: parseEraPatterns,
# 352632|->     defaultParseWidth: 'any'
# 352633|     }),
# 352634|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
2. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:352169: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:352142: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:352142: remediation: Should it say ""wide"" instead?
# 352140|       defaultMatchWidth: 'wide',
# 352141|       parsePatterns: parseEraPatterns,
# 352142|->     defaultParseWidth: 'any'
# 352143|     }),
# 352144|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
3. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:351659: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:351632: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:351632: remediation: Should it say ""wide"" instead?
# 351630|       defaultMatchWidth: 'wide',
# 351631|       parsePatterns: parseEraPatterns,
# 351632|->     defaultParseWidth: 'any'
# 351633|     }),
# 351634|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
4. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:351085: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:351058: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:351058: remediation: Should it say ""wide"" instead?
# 351056|       defaultMatchWidth: 'wide',
# 351057|       parsePatterns: parseEraPatterns,
# 351058|->     defaultParseWidth: 'any'
# 351059|     }),
# 351060|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
5. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:350490: original: ""wide"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:350500: copy_paste_error: ""wide"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:350500: remediation: Should it say ""any"" instead?
# 350498|       defaultWidth: 'any',
# 350499|       formattingValues: formattingDayPeriodValues,
# 350500|->     defaultFormattingWidth: 'wide'
# 350501|     })
# 350502|   };
Collapse
6. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:349922: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:349895: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:349895: remediation: Should it say ""wide"" instead?
# 349893|       defaultMatchWidth: 'wide',
# 349894|       parsePatterns: parseEraPatterns,
# 349895|->     defaultParseWidth: 'any'
# 349896|     }),
# 349897|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
7. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:349453: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:349426: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:349426: remediation: Should it say ""wide"" instead?
# 349424|       defaultMatchWidth: 'wide',
# 349425|       parsePatterns: parseEraPatterns,
# 349426|->     defaultParseWidth: 'any'
# 349427|     }),
# 349428|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
8. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:348987: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:348960: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:348960: remediation: Should it say ""wide"" instead?
# 348958|       defaultMatchWidth: 'wide',
# 348959|       parsePatterns: parseEraPatterns,
# 348960|->     defaultParseWidth: 'any'
# 348961|     }),
# 348962|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
9. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:348523: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:348496: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:348496: remediation: Should it say ""wide"" instead?
# 348494|       defaultMatchWidth: 'wide',
# 348495|       parsePatterns: parseEraPatterns,
# 348496|->     defaultParseWidth: 'any'
# 348497|     }),
# 348498|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
10. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:347943: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:347916: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:347916: remediation: Should it say ""wide"" instead?
# 347914|       defaultMatchWidth: 'wide',
# 347915|       parsePatterns: parseEraPatterns,
# 347916|->     defaultParseWidth: 'any'
# 347917|     }),
# 347918|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
11. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:347292: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:347265: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:347265: remediation: Should it say ""wide"" instead?
# 347263|       defaultMatchWidth: 'wide',
# 347264|       parsePatterns: parseEraPatterns,
# 347265|->     defaultParseWidth: 'any'
# 347266|     }),
# 347267|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
12. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:346814: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:346787: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:346787: remediation: Should it say ""wide"" instead?
# 346785|       defaultMatchWidth: 'wide',
# 346786|       parsePatterns: parseEraPatterns,
# 346787|->     defaultParseWidth: 'any'
# 346788|     }),
# 346789|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
Collapse
13. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:346222: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:346195: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:346195: remediation: Should it say ""wide"" instead?
# 346193|       defaultMatchWidth: 'wide',
# 346194|       parsePatterns: parseEraPatterns,
# 346195|->     defaultParseWidth: 'any'
# 346196|     }),
# 346197|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
Collapse
14. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:345630: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:345603: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:345603: remediation: Should it say ""wide"" instead?
# 345601|       defaultMatchWidth: 'wide',
# 345602|       parsePatterns: parseEraPatterns,
# 345603|->     defaultParseWidth: 'any'
# 345604|     }),
# 345605|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
15. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:345150: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:345123: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:345123: remediation: Should it say ""wide"" instead?
# 345121|       defaultMatchWidth: 'wide',
# 345122|       parsePatterns: parseEraPatterns,
# 345123|->     defaultParseWidth: 'any'
# 345124|     }),
# 345125|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
Collapse
16. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:344429: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:344402: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:344402: remediation: Should it say ""wide"" instead?
# 344400|       defaultMatchWidth: 'wide',
# 344401|       parsePatterns: parseEraPatterns,
# 344402|->     defaultParseWidth: 'any'
# 344403|     }),
# 344404|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
17. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:343621: original: ""wide"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:343631: copy_paste_error: ""wide"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:343631: remediation: Should it say ""any"" instead?
# 343629|       defaultWidth: 'any',
# 343630|       formattingValues: formattingDayPeriodValues,
# 343631|->     defaultFormattingWidth: 'wide'
# 343632|     })
# 343633|   };
Collapse
18. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:343048: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:343021: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:343021: remediation: Should it say ""wide"" instead?
# 343019|       defaultMatchWidth: 'wide',
# 343020|       parsePatterns: parseEraPatterns,
# 343021|->     defaultParseWidth: 'any'
# 343022|     }),
# 343023|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
19. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:342585: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:342558: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:342558: remediation: Should it say ""wide"" instead?
# 342556|       defaultMatchWidth: 'wide',
# 342557|       parsePatterns: parseEraPatterns,
# 342558|->     defaultParseWidth: 'any'
# 342559|     }),
# 342560|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
20. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:342122: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:342095: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:342095: remediation: Should it say ""wide"" instead?
# 342093|       defaultMatchWidth: 'wide',
# 342094|       parsePatterns: parseEraPatterns,
# 342095|->     defaultParseWidth: 'any'
# 342096|     }),
# 342097|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
Collapse
21. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:341639: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:341612: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:341612: remediation: Should it say ""wide"" instead?
# 341610|       defaultMatchWidth: 'wide',
# 341611|       parsePatterns: parseEraPatterns,
# 341612|->     defaultParseWidth: 'any'
# 341613|     }),
# 341614|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
22. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:341031: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:341004: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:341004: remediation: Should it say ""wide"" instead?
# 341002|       defaultMatchWidth: 'wide',
# 341003|       parsePatterns: parseEraPatterns,
# 341004|->     defaultParseWidth: 'any'
# 341005|     }),
# 341006|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
23. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:340592: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:340565: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:340565: remediation: Should it say ""wide"" instead?
# 340563|       defaultMatchWidth: 'wide',
# 340564|       parsePatterns: parseEraPatterns,
# 340565|->     defaultParseWidth: 'any'
# 340566|     }),
# 340567|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
24. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:340163: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:340136: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:340136: remediation: Should it say ""wide"" instead?
# 340134|       defaultMatchWidth: 'wide',
# 340135|       parsePatterns: parseEraPatterns,
# 340136|->     defaultParseWidth: 'any'
# 340137|     }),
# 340138|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
25. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:339735: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:339708: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:339708: remediation: Should it say ""wide"" instead?
# 339706|       defaultMatchWidth: 'wide',
# 339707|       parsePatterns: parseEraPatterns,
# 339708|->     defaultParseWidth: 'any'
# 339709|     }),
# 339710|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
26. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:339307: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:339280: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:339280: remediation: Should it say ""wide"" instead?
# 339278|       defaultMatchWidth: 'wide',
# 339279|       parsePatterns: parseEraPatterns,
# 339280|->     defaultParseWidth: 'any'
# 339281|     }),
# 339282|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
27. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:338839: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:338812: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:338812: remediation: Should it say ""wide"" instead?
# 338810|       defaultMatchWidth: 'wide',
# 338811|       parsePatterns: parseEraPatterns,
# 338812|->     defaultParseWidth: 'any'
# 338813|     }),
# 338814|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
Collapse
28. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:338368: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:338341: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:338341: remediation: Should it say ""wide"" instead?
# 338339|       defaultMatchWidth: 'wide',
# 338340|       parsePatterns: parseEraPatterns,
# 338341|->     defaultParseWidth: 'any'
# 338342|     }),
# 338343|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
29. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:337864: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:337837: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:337837: remediation: Should it say ""wide"" instead?
# 337835|       defaultMatchWidth: 'wide',
# 337836|       parsePatterns: parseEraPatterns,
# 337837|->     defaultParseWidth: 'any'
# 337838|     }),
# 337839|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
Collapse
30. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:337371: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:337344: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:337344: remediation: Should it say ""wide"" instead?
# 337342|       defaultMatchWidth: 'wide',
# 337343|       parsePatterns: parseEraPatterns,
# 337344|->     defaultParseWidth: 'any'
# 337345|     }),
# 337346|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
31. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:336840: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:336813: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:336813: remediation: Should it say ""wide"" instead?
# 336811|       defaultMatchWidth: 'wide',
# 336812|       parsePatterns: parseEraPatterns,
# 336813|->     defaultParseWidth: 'any'
# 336814|     }),
# 336815|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
32. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:335676: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:335649: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:335649: remediation: Should it say ""wide"" instead?
# 335647|       defaultMatchWidth: 'wide',
# 335648|       parsePatterns: parseEraPatterns,
# 335649|->     defaultParseWidth: 'any'
# 335650|     }),
# 335651|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
33. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:335205: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:335178: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:335178: remediation: Should it say ""wide"" instead?
# 335176|       defaultMatchWidth: 'wide',
# 335177|       parsePatterns: parseEraPatterns,
# 335178|->     defaultParseWidth: 'any'
# 335179|     }),
# 335180|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
34. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:334492: original: ""wide"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:334502: copy_paste_error: ""wide"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:334502: remediation: Should it say ""any"" instead?
# 334500|       defaultWidth: 'any',
# 334501|       formattingValues: formattingDayPeriodValues,
# 334502|->     defaultFormattingWidth: 'wide'
# 334503|     })
# 334504|   };
Collapse
35. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:333963: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:333936: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:333936: remediation: Should it say ""wide"" instead?
# 333934|       defaultMatchWidth: 'wide',
# 333935|       parsePatterns: parseEraPatterns,
# 333936|->     defaultParseWidth: 'any'
# 333937|     }),
# 333938|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
36. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:333474: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:333447: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:333447: remediation: Should it say ""wide"" instead?
# 333445|       defaultMatchWidth: 'wide',
# 333446|       parsePatterns: parseEraPatterns,
# 333447|->     defaultParseWidth: 'any'
# 333448|     }),
# 333449|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
37. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:332964: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:332937: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:332937: remediation: Should it say ""wide"" instead?
# 332935|       defaultMatchWidth: 'wide',
# 332936|       parsePatterns: parseEraPatterns,
# 332937|->     defaultParseWidth: 'any'
# 332938|     }),
# 332939|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
38. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:332452: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:332425: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:332425: remediation: Should it say ""wide"" instead?
# 332423|       defaultMatchWidth: 'wide',
# 332424|       parsePatterns: parseEraPatterns,
# 332425|->     defaultParseWidth: 'any'
# 332426|     }),
# 332427|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
39. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:331940: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:331913: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:331913: remediation: Should it say ""wide"" instead?
# 331911|       defaultMatchWidth: 'wide',
# 331912|       parsePatterns: parseEraPatterns,
# 331913|->     defaultParseWidth: 'any'
# 331914|     }),
# 331915|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
40. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:331131: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:331104: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:331104: remediation: Should it say ""wide"" instead?
# 331102|       defaultMatchWidth: 'wide',
# 331103|       parsePatterns: parseEraPatterns,
# 331104|->     defaultParseWidth: 'any'
# 331105|     }),
# 331106|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
Collapse
41. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:330660: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:330633: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:330633: remediation: Should it say ""wide"" instead?
# 330631|       defaultMatchWidth: 'wide',
# 330632|       parsePatterns: parseEraPatterns,
# 330633|->     defaultParseWidth: 'any'
# 330634|     }),
# 330635|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
42. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:330175: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:330148: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:330148: remediation: Should it say ""wide"" instead?
# 330146|       defaultMatchWidth: 'wide',
# 330147|       parsePatterns: parseEraPatterns,
# 330148|->     defaultParseWidth: 'any'
# 330149|     }),
# 330150|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
43. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:329727: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:329700: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:329700: remediation: Should it say ""wide"" instead?
# 329698|       defaultMatchWidth: 'wide',
# 329699|       parsePatterns: parseEraPatterns,
# 329700|->     defaultParseWidth: 'any'
# 329701|     }),
# 329702|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
44. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:329276: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:329249: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:329249: remediation: Should it say ""wide"" instead?
# 329247|       defaultMatchWidth: 'wide',
# 329248|       parsePatterns: parseEraPatterns,
# 329249|->     defaultParseWidth: 'any'
# 329250|     }),
# 329251|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
Collapse
45. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:328683: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:328656: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:328656: remediation: Should it say ""wide"" instead?
# 328654|       defaultMatchWidth: 'wide',
# 328655|       parsePatterns: parseEraPatterns,
# 328656|->     defaultParseWidth: 'any'
# 328657|     }),
# 328658|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
46. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:328134: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:328107: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:328107: remediation: Should it say ""wide"" instead?
# 328105|       defaultMatchWidth: 'wide',
# 328106|       parsePatterns: parseEraPatterns,
# 328107|->     defaultParseWidth: 'any'
# 328108|     }),
# 328109|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
47. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:327633: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:327606: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:327606: remediation: Should it say ""wide"" instead?
# 327604|       defaultMatchWidth: 'wide',
# 327605|       parsePatterns: parseEraPatterns,
# 327606|->     defaultParseWidth: 'any'
# 327607|     }),
# 327608|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
48. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:327120: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:327093: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:327093: remediation: Should it say ""wide"" instead?
# 327091|       defaultMatchWidth: 'wide',
# 327092|       parsePatterns: parseEraPatterns,
# 327093|->     defaultParseWidth: 'any'
# 327094|     }),
# 327095|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
49. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:326646: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:326619: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:326619: remediation: Should it say ""wide"" instead?
# 326617|       defaultMatchWidth: 'wide',
# 326618|       parsePatterns: parseEraPatterns,
# 326619|->     defaultParseWidth: 'any'
# 326620|     }),
# 326621|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
50. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:326140: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:326113: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:326113: remediation: Should it say ""wide"" instead?
# 326111|       defaultMatchWidth: 'wide',
# 326112|       parsePatterns: parseEraPatterns,
# 326113|->     defaultParseWidth: 'any'
# 326114|     }),
# 326115|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
51. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:325688: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:325661: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:325661: remediation: Should it say ""wide"" instead?
# 325659|       defaultMatchWidth: 'wide',
# 325660|       parsePatterns: parseEraPatterns,
# 325661|->     defaultParseWidth: 'any'
# 325662|     }),
# 325663|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
52. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:325139: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:325112: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:325112: remediation: Should it say ""wide"" instead?
# 325110|       defaultMatchWidth: 'wide',
# 325111|       parsePatterns: parseEraPatterns,
# 325112|->     defaultParseWidth: 'any'
# 325113|     }),
# 325114|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
53. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:324653: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:324626: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:324626: remediation: Should it say ""wide"" instead?
# 324624|       defaultMatchWidth: 'wide',
# 324625|       parsePatterns: parseEraPatterns,
# 324626|->     defaultParseWidth: 'any'
# 324627|     }),
# 324628|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
54. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:324188: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:324161: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:324161: remediation: Should it say ""wide"" instead?
# 324159|       defaultMatchWidth: 'wide',
# 324160|       parsePatterns: parseEraPatterns,
# 324161|->     defaultParseWidth: 'any'
# 324162|     }),
# 324163|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
55. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:323701: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:323674: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:323674: remediation: Should it say ""wide"" instead?
# 323672|       defaultMatchWidth: 'wide',
# 323673|       parsePatterns: parseEraPatterns,
# 323674|->     defaultParseWidth: 'any'
# 323675|     }),
# 323676|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
56. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:323143: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:323116: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:323116: remediation: Should it say ""wide"" instead?
# 323114|       defaultMatchWidth: 'wide',
# 323115|       parsePatterns: parseEraPatterns,
# 323116|->     defaultParseWidth: 'any'
# 323117|     }),
# 323118|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
57. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:322150: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:322123: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:322123: remediation: Should it say ""wide"" instead?
# 322121|       defaultMatchWidth: 'wide',
# 322122|       parsePatterns: parseEraPatterns,
# 322123|->     defaultParseWidth: 'any'
# 322124|     }),
# 322125|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
Collapse
58. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:321093: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:321066: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:321066: remediation: Should it say ""wide"" instead?
# 321064|       defaultMatchWidth: 'wide',
# 321065|       parsePatterns: parseEraPatterns,
# 321066|->     defaultParseWidth: 'any'
# 321067|     }),
# 321068|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
59. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:319860: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:319833: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:319833: remediation: Should it say ""wide"" instead?
# 319831|       defaultMatchWidth: 'wide',
# 319832|       parsePatterns: parseEraPatterns,
# 319833|->     defaultParseWidth: 'any'
# 319834|     }),
# 319835|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
Collapse
60. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:319396: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:319369: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:319369: remediation: Should it say ""wide"" instead?
# 319367|       defaultMatchWidth: 'wide',
# 319368|       parsePatterns: parseEraPatterns,
# 319369|->     defaultParseWidth: 'any'
# 319370|     }),
# 319371|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
61. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:318873: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:318846: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:318846: remediation: Should it say ""wide"" instead?
# 318844|       defaultMatchWidth: 'wide',
# 318845|       parsePatterns: parseEraPatterns,
# 318846|->     defaultParseWidth: 'any'
# 318847|     }),
# 318848|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
Collapse
62. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:318185: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:318158: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:318158: remediation: Should it say ""wide"" instead?
# 318156|       defaultMatchWidth: 'wide',
# 318157|       parsePatterns: parseEraPatterns,
# 318158|->     defaultParseWidth: 'any'
# 318159|     }),
# 318160|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
Collapse
63. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:317625: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:317598: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:317598: remediation: Should it say ""wide"" instead?
# 317596|       defaultMatchWidth: 'wide',
# 317597|       parsePatterns: parseEraPatterns,
# 317598|->     defaultParseWidth: 'any'
# 317599|     }),
# 317600|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
Collapse
64. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:317032: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:317005: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:317005: remediation: Should it say ""wide"" instead?
# 317003|       defaultMatchWidth: 'wide',
# 317004|       parsePatterns: parseEraPatterns,
# 317005|->     defaultParseWidth: 'any'
# 317006|     }),
# 317007|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
65. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:316474: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:316447: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:316447: remediation: Should it say ""wide"" instead?
# 316445|       defaultMatchWidth: 'wide',
# 316446|       parsePatterns: parseEraPatterns,
# 316447|->     defaultParseWidth: 'any'
# 316448|     }),
# 316449|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_0__["default"])({
Collapse
66. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:315837: original: ""wide"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:315847: copy_paste_error: ""wide"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:315847: remediation: Should it say ""any"" instead?
# 315845|       defaultWidth: 'any',
# 315846|       formattingValues: formattingDayPeriodValues,
# 315847|->     defaultFormattingWidth: 'wide'
# 315848|     })
# 315849|   };
Collapse
67. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:315251: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:315224: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:315224: remediation: Should it say ""wide"" instead?
# 315222|       defaultMatchWidth: 'wide',
# 315223|       parsePatterns: parseEraPatterns,
# 315224|->     defaultParseWidth: 'any'
# 315225|     }),
# 315226|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
68. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:314750: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:314723: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:314723: remediation: Should it say ""wide"" instead?
# 314721|       defaultMatchWidth: 'wide',
# 314722|       parsePatterns: parseEraPatterns,
# 314723|->     defaultParseWidth: 'any'
# 314724|     }),
# 314725|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
69. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:314251: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:314224: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:314224: remediation: Should it say ""wide"" instead?
# 314222|       defaultMatchWidth: 'wide',
# 314223|       parsePatterns: parseEraPatterns,
# 314224|->     defaultParseWidth: 'any'
# 314225|     }),
# 314226|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
70. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:313759: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:313732: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:313732: remediation: Should it say ""wide"" instead?
# 313730|       defaultMatchWidth: 'wide',
# 313731|       parsePatterns: parseEraPatterns,
# 313732|->     defaultParseWidth: 'any'
# 313733|     }),
# 313734|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
71. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:313265: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:313238: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:313238: remediation: Should it say ""wide"" instead?
# 313236|       defaultMatchWidth: 'wide',
# 313237|       parsePatterns: parseEraPatterns,
# 313238|->     defaultParseWidth: 'any'
# 313239|     }),
# 313240|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
72. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:312772: original: ""any"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:312745: copy_paste_error: ""any"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:312745: remediation: Should it say ""wide"" instead?
# 312743|       defaultMatchWidth: 'wide',
# 312744|       parsePatterns: parseEraPatterns,
# 312745|->     defaultParseWidth: 'any'
# 312746|     }),
# 312747|     quarter: Object(_lib_buildMatchFn_index_js__WEBPACK_IMPORTED_MODULE_1__["default"])({
Collapse
73. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:25309: original: "modifier.fn" looks like the original copy.
2. cockpit-session-recording/dist/index.js:25314: copy_paste_error: "fn" in "modifier.fn" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:25314: remediation: Should it say "effect" instead?
# 25312|                   case 'effect':
# 25313|                       if (typeof modifier.effect !== 'function') {
# 25314|->                         console.error(Object(_format__WEBPACK_IMPORTED_MODULE_0__["default"])(INVALID_MODIFIER_ERROR, modifier.name, '"effect"', '"function"', `"${String(modifier.fn)}"`));
# 25315|                       }
# 25316|                       break;
Collapse
74. Defect type: [COPY_PASTE_ERROR]
1. cockpit-session-recording/dist/index.js:13319: original: ""div"" looks like the original copy.
2. cockpit-session-recording/dist/index.js:13327: copy_paste_error: ""div"" looks like a copy-paste error.
3. cockpit-session-recording/dist/index.js:13327: remediation: Should it say ""section"" instead?
# 13325|           if (breadcrumb && isBreadcrumbWidthLimited) {
# 13326|               crumb = (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("section", { className: Object(_patternfly_react_styles__WEBPACK_IMPORTED_MODULE_3__["css"])(_patternfly_react_styles_css_components_Page_page__WEBPACK_IMPORTED_MODULE_2___default.a.pageMainBreadcrumb, _patternfly_react_styles_css_components_Page_page__WEBPACK_IMPORTED_MODULE_2___default.a.modifiers.limitWidth) },
# 13327|->                 react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: Object(_patternfly_react_styles__WEBPACK_IMPORTED_MODULE_3__["css"])(_patternfly_react_styles_css_components_Page_page__WEBPACK_IMPORTED_MODULE_2___default.a.pageMainBody) }, breadcrumb)));
# 13328|           }
# 13329|           else if (breadcrumb) {

Bump cockpit test API version

Update to the latest stable release, this was causing testZoomControls() to fail however - need to investigate this.

Fix testZoomControls failures on rhel-8-2

Determine why this fails for rhel but succeeds in fedora and simplify the zoom speed(scale) selector if possible.

Note: justin-stephenson@a7bb780

-> wait: ph_is_present(".console-ct[style*=\"transform: scale(0.9\"]")                                                                                                                                                                        
<- {'type': 'object', 'subtype': 'error', 'className': 'PhWaitCondTimeout', 'description': 'Error: condition did not become true\n    at <anonymous>:238:24', 'objectId': '{"injectedScriptId":6,"id":1}'}                                    
Wrote screenshot to TestApplication-testZoomControls-rhel-8-2-127.0.0.2-2201-FAIL.png                                                                                                                                                         
Wrote HTML dump to TestApplication-testZoomControls-rhel-8-2-127.0.0.2-2201-FAIL.html                                                                                                                                                         
Wrote JS log to TestApplication-testZoomControls-rhel-8-2-127.0.0.2-2201-FAIL.js.log                                                                                                                                                          
+ journalctl                                                                                                                                                                                                                                  
Journal extracted to TestApplication-testZoomControls-rhel-8-2-127.0.0.2-2201-FAIL.log                                                                                                                                                        
Downloading /var/lib/systemd/coredump                                                                                                                                                                                                         
scp -B -P 2201 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ControlPath=/home/jstephen/github/cockpit-session-recording/tmp/ssh-%h-%p-%r-32314 -o BatchMode=yes -r root@[127.0.0.2]:/var/lib/systemd/coredump /home/jstephen
/github/cockpit-session-recording/TestApplication-testZoomControls-rhel-8-2-127.0.0.2-2201-FAIL.core                                                                                                                                          
Killing browser (pid 32345)                                                                                                                                                                                                                   
Traceback (most recent call last):                                                                                                                                                                                                            
  File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor                                                                                                                                                                  
    yield                                                                                                                                                                                                                                     
  File "/usr/lib64/python3.7/unittest/case.py", line 628, in run                                                                                                                                                                              
    testMethod()                                                                                                                                                                                                                              
  File "test/check-application", line 116, in testZoomControls                                                                                                                                                                                
    b.wait_present(zoom_reset_scale_sel)                                                                                                                                                                                                      
  File "test/common/testlib.py", line 341, in wait_present                                                                                                                                                                                    
    self.wait_js_func('ph_is_present', selector)                                                                                                                                                                                              
  File "test/common/testlib.py", line 335, in wait_js_func                                                                                                                                                                                    
    self.wait_js_cond("%s(%s)" % (func, ','.join(map(jsquote, args))))                                                                                                                                                                        
  File "test/common/testlib.py", line 332, in wait_js_cond                                                                                                                                                                                    
    self.raise_cdp_exception("timeout\nwait_js_cond", cond, result["exceptionDetails"], trailer)                                                                                                                                              
  File "test/common/testlib.py", line 172, in raise_cdp_exception                                                                                                                                                                             
    raise Error("%s(%s): %s" % (func, arg, msg))                                                                                                                                                                                              
testlib.Error: timeout                                                                                                                                                                                                                        
wait_js_cond(ph_is_present(".console-ct[style*=\"transform: scale(0.9\"]")): {'exceptionId': 1, 'text': 'Uncaught (in promise) Error: condition did not become true', 'lineNumber': 226, 'columnNumber': 9, 'scriptId': '11', 'stackTrace': {'
callFrames': [{'functionName': 'PhWaitCondTimeout', 'scriptId': '11', 'url': '', 'lineNumber': 225, 'columnNumber': 8}, {'functionName': '', 'scriptId': '11', 'url': '', 'lineNumber': 237, 'columnNumber': 23}]}, 'exception': {'type': 'obj
ect', 'subtype': 'error', 'className': 'PhWaitCondTimeout', 'description': 'Error: condition did not become true\n    at <anonymous>:238:24', 'objectId': '{"injectedScriptId":6,"id":2}'}}   

Problem play session with russian symbols (ru_RU.UTF-8)

Hello!

When "cockpit-session-recording" do play session recorded with input and output russian symbols.
I see warnings :
extra input present
extra output present

And into window recorded session russian symbols print not correct.
c-sr

This is recorded session correct print russian symbols, if used cli tlog-play.

Update dependencies and deprecated componentWillMount React lifecycle

https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html

npm install                                                                                                            
npm WARN deprecated [email protected]: Package no longer supported. Contact [email protected] for more info.  
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.                                       
npm WARN deprecated [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.                                                                                                                    
                                                           
> [email protected] install /home/jstephen/github/cockpit-session-recording/node_modules/node-sass
> node scripts/install.js                                 
                                                                                                                                                                                                                                              
Cached binary found at /home/jstephen/.npm/node-sass/4.13.0/linux-x64-64_binding.node                                                                                                                                                         
                                                                                                                                                                                                                                              
> [email protected] postinstall /home/jstephen/github/cockpit-session-recording/node_modules/core-js                                                                                                                                             
> node -e "try{require('./postinstall')}catch(e){}"                                                                                                                                                                                           
                                                           
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
                                                                                                                       
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:                                                                                                                                             
> https://opencollective.com/core-js                                                                                   
> https://www.patreon.com/zloirock                                                                                                                                                                                                            
                                                           
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)                               
                                                                                                                                                                                                                                              
                                                                                                                       
> [email protected] postinstall /home/jstephen/github/cockpit-session-recording/node_modules/node-sass                                                                                                                                         
> node scripts/build.js            
                                                                                                                                                                                                                                              
Binary found at /home/jstephen/github/cockpit-session-recording/node_modules/node-sass/vendor/linux-x64-64/binding.node                                                                                                                       
Testing binary                                                                                                                                                                                                                                
Binary is fine                
npm notice created a lockfile as package-lock.json. You should commit this file.                                                                                                                                                              
npm WARN [email protected] requires a peer of eslint-plugin-react@>=7.6.1 but none is installed. You must install peer dependencies yourself.                                                                                
npm WARN [email protected] requires a peer of eslint@^2.0.0 || ^3.0.0 but none is installed. You must install peer dependencies yourself.                                                                                            
npm WARN [email protected] requires a peer of less@^2.3.1 but none is installed. You must install peer dependencies yourself.                                                                                                                 
npm WARN [email protected] requires a peer of eslint-plugin-react@>=7.6.1 but none is installed. You must install peer dependencies yourself.                                                                                  
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):                               
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})    

Covscan - Misused Syntax

Misused Syntax
Collapse

  1. Defect type: [MISSING_BREAK]
1. cockpit-session-recording/dist/index.js:436669: unterminated_case: The case for value "1049" is not terminated by a "break" statement.
3. cockpit-session-recording/dist/index.js:436671: fallthrough: The above case falls through to this one.
# 436667|                       this.saveCursor(params);
# 436668|                       break;
# 436669|->                 case 1049:
# 436670|                       this.saveCursor(params);
# 436671|                   case 47:
Collapse
2. Defect type: [STRAY_SEMICOLON
1. cockpit-session-recording/dist/index.js:411924: stray_semicolon: An "if" statement with no "then" or "else" is suspicious.
2. cockpit-session-recording/dist/index.js:411924: remediation: Is the ";" after "if (parentProps[SUPPRESS_HYDRATION_WARNING$1] !== true)" extraneous, or is the "if" itself unnecessary?
# 411922|   }
# 411923|   function didNotFindHydratableSuspenseInstance(parentType, parentProps, parentInstance) {
# 411924|->   if ( parentProps[SUPPRESS_HYDRATION_WARNING$1] !== true) ;
# 411925|   }
# 411926|   
Collapse
4. Defect type: [MISSING_BREAK]
1. cockpit-session-recording/dist/index.js:379128: unterminated_case: The case for "mapTag" is not terminated by a "break" statement.
2. cockpit-session-recording/dist/index.js:379131: fallthrough: The above case falls through to this one.
# 379126|         return object == (other + '');
# 379127|   
# 379128|->     case mapTag:
# 379129|         var convert = mapToArray;
# 379130|   
Collapse
5. Defect type: [MISSING_BREAK](
1. cockpit-session-recording/dist/index.js:25298: unterminated_case: The case for value ""enabled"" is not terminated by a "break" statement.
2. cockpit-session-recording/dist/index.js:25302: fallthrough: The above case falls through to this one.
# 25296|                       }
# 25297|                       break;
# 25298|->                 case 'enabled':
# 25299|                       if (typeof modifier.enabled !== 'boolean') {
# 25300|                           console.error(Object(_format__WEBPACK_IMPORTED_MODULE_0__["default"])(INVALID_MODIFIER_ERROR, modifier.name, '"enabled"', '"boolean"', `"${String(modifier.enabled)}"`));

SSSD will not boot up after enabled All recording

Hello,

I installed a fresh Fedora 38, installed Session Recording, enabled All recording and SSSD does not start anymore. The error is: Condition ConditionPathExists=/etc/sssd/sssd.conf was not met. I think previously it was booting up properly, so I wonder if session recording plugin deletes that file or somehow modifies configuration.

Thanks.

Covscan - Wrong Check of Return Value

Wrong Check of Return Value
Collapse

1. Defect type: [NULL_RETURNS]
1. cockpit-session-recording/dist/index.js:437307: returned_null: "this.getCoords" returns "null" or "undefined" (checked 3 out of 4 times).
2. cockpit-session-recording/dist/index.js:437307: var_assigned: Assigning "coords" to the "null" or "undefined" return value from "this.getCoords".
3. cockpit-session-recording/dist/index.js:437308: property_access: Accessing a property of null-like value "coords".
4. cockpit-session-recording/dist/index.js:437746: example_assign: Example 1: Assigning: "coords" = return value from "this._terminal.mouseHelper.getCoords(event, this._terminal.screenElement, this._charMeasure, this._terminal.cols, this._terminal.rows, true)".
5. cockpit-session-recording/dist/index.js:437747: example_checked: Example 1 (cont.): "coords" has its value checked in "coords".
6. cockpit-session-recording/dist/index.js:437480: example_assign: Example 2: Assigning: "coords" = return value from "this._terminal.mouseHelper.getCoords(e, this._terminal.screenElement, this._terminal.charMeasure, this._terminal.cols, this._terminal.rows)".
7. cockpit-session-recording/dist/index.js:437481: example_checked: Example 2 (cont.): "coords" has its value checked in "coords".
8. cockpit-session-recording/dist/index.js:441934: example_assign: Example 3: Assigning: "coordinates" = return value from "this._terminal.mouseHelper.getCoords(this._mouseEvent, this._terminal.element, this._terminal.charMeasure, this._terminal.cols, this._terminal.rows, false)".
9. cockpit-session-recording/dist/index.js:441935: example_checked: Example 3 (cont.): "coordinates" has its value checked in "coordinates".
# 437306|       MouseHelper.prototype.getRawByteCoords = function (event, element, charMeasure, colCount, rowCount) {
# 437307|           var coords = this.getCoords(event, element, charMeasure, colCount, rowCount);
# 437308|->         var x = coords[0];
# 437309|           var y = coords[1];
# 437310|           x += 32;

Covscan - Invalid Dereference

1. Defect type: [FORWARD_NULL]
3. cockpit-session-recording/dist/index.js:447143: null_check: Comparing "matches" to a null-like value implies that "matches" might be null-like.
5. cockpit-session-recording/dist/index.js:447151: property_access: Accessing a property of null-like value "matches".
# 447149|   
# 447150|   
# 447151|->       switch (t = matches[0][0]) {
# 447152|           /* Delay */
# 447153|           case "+":
Collapse
2. Defect type: [FORWARD_NULL]
2. cockpit-session-recording/dist/index.js:429845: null_check: Comparing the type of "item" with "undefined" implies that "item" might be equal to "undefined".
5. cockpit-session-recording/dist/index.js:429845: property_access: Accessing a property of null-like value "item".
# 429843|   
# 429844|   function isKindFile(item) {
# 429845|->   return (typeof item === 'undefined' ? 'undefined' : _typeof(item)) === 'object' && item !== null && item.kind === 'file';
# 429846|   }
# 429847|   
Collapse
3. Defect type: [FORWARD_NULL]
8. cockpit-session-recording/dist/index.js:418400: null_check: Comparing "newChild" to a null-like value implies that "newChild" might be null-like.
14. cockpit-session-recording/dist/index.js:418417: var_deref_model: Passing "null" or "undefined" value "newChild" to "reconcileChildrenArray", which calls it or accesses a property of it.
# 418415|   
# 418416|       if (isArray$1(newChild)) {
# 418417|->       return reconcileChildrenArray(returnFiber, currentFirstChild, newChild, expirationTime);
# 418418|       }
# 418419|   
Collapse
4. Defect type: [FORWARD_NULL]
1. cockpit-session-recording/dist/index.js:401676: assign_undefined: Assigning: "match" = "undefined".
4. cockpit-session-recording/dist/index.js:401682: var_deref_model: Passing "null" or "undefined" value "match" to "config._locale.eraYearOrdinalParse", which calls it or accesses a property of it.
# 401680|   
# 401681|           if (config._locale.eraYearOrdinalParse) {
# 401682|->             array[YEAR] = config._locale.eraYearOrdinalParse(input, match);
# 401683|           } else {
# 401684|               array[YEAR] = parseInt(input, 10);
Collapse
5. Defect type: [FORWARD_NULL]
2. cockpit-session-recording/dist/index.js:377674: null_check: Comparing "array" to a null-like value implies that "array" might be null-like.
4. cockpit-session-recording/dist/index.js:377677: property_access: Accessing a property of null-like value "array".
# 377675|   
# 377676|     while (++index < length) {
# 377677|->     if (predicate(array[index], index, array)) {
# 377678|         return true;
# 377679|       }
Collapse
6. Defect type: [FORWARD_NULL]
2. cockpit-session-recording/dist/index.js:377546: null_check: Comparing "array" to a null-like value implies that "array" might be null-like.
4. cockpit-session-recording/dist/index.js:377551: property_access: Accessing a property of null-like value "array".
# 377549|   
# 377550|     while (++index < length) {
# 377551|->     var value = array[index];
# 377552|       if (predicate(value, index, array)) {
# 377553|         result[resIndex++] = value;
Collapse
7. Defect type: [FORWARD_NULL]
2. cockpit-session-recording/dist/index.js:377389: null_check: Comparing "values" to a null-like value implies that "values" might be null-like.
4. cockpit-session-recording/dist/index.js:377393: property_access: Accessing a property of null-like value "values".
# 377391|     this.__data__ = new MapCache;
# 377392|     while (++index < length) {
# 377393|->     this.add(values[index]);
# 377394|     }
# 377395|   }
Collapse
8. Defect type: [FORWARD_NULL]
2. cockpit-session-recording/dist/index.js:377311: null_check: Comparing "entries" to a null-like value implies that "entries" might be null-like.
4. cockpit-session-recording/dist/index.js:377315: property_access: Accessing a property of null-like value "entries".
# 377313|     this.clear();
# 377314|     while (++index < length) {
# 377315|->     var entry = entries[index];
# 377316|       this.set(entry[0], entry[1]);
# 377317|     }
Collapse
9. Defect type: [FORWARD_NULL]
2. cockpit-session-recording/dist/index.js:377250: null_check: Comparing "entries" to a null-like value implies that "entries" might be null-like.
4. cockpit-session-recording/dist/index.js:377254: property_access: Accessing a property of null-like value "entries".
# 377252|     this.clear();
# 377253|     while (++index < length) {
# 377254|->     var entry = entries[index];
# 377255|       this.set(entry[0], entry[1]);
# 377256|     }
Collapse
10. Defect type: [FORWARD_NULL]
2. cockpit-session-recording/dist/index.js:377207: null_check: Comparing "entries" to a null-like value implies that "entries" might be null-like.
4. cockpit-session-recording/dist/index.js:377211: property_access: Accessing a property of null-like value "entries".
# 377209|     this.clear();
# 377210|     while (++index < length) {
# 377211|->     var entry = entries[index];
# 377212|       this.set(entry[0], entry[1]);
# 377213|     }
Collapse
11. Defect type: [FORWARD_NULL]
1. cockpit-session-recording/dist/index.js:284332: assign_undefined: Assigning: "push_prev" = "undefined".
17. cockpit-session-recording/dist/index.js:284409: call: Calling the null-like value "push_prev".
# 284407|         }
# 284408|   
# 284409|->       push_prev(true);
# 284410|   
# 284411|         // Join all of the member texts together, separated with commas,
Collapse
12. Defect type: [REVERSE_INULL]
1. cockpit-session-recording/dist/index.js:102582: deref: Accessing a property of "sort".
2. cockpit-session-recording/dist/index.js:102588: check_after_deref: Checking "sort === null" suggests "sort" may be null, but it has already been used as a function or its properties have been accessed on all paths leading to the check.
# 102586|           extraParams: {
# 102587|               sortBy: sort.sortBy,
# 102588|->             onSort: sort === null || sort === void 0 ? void 0 : sort.onSort
# 102589|           }
# 102590|       }
Collapse
13. Defect type: [REVERSE_INULL]
1. cockpit-session-recording/dist/index.js:15775: alias: Assigning: "loadingVariant" = "_a["loadingVariant"]".
2. cockpit-session-recording/dist/index.js:15824: deref: Accessing a property of "loadingVariant".
3. cockpit-session-recording/dist/index.js:15824: check_after_deref: Checking "loadingVariant === null" suggests "loadingVariant" may be null, but it has already been used as a function or its properties have been accessed on all paths leading to the check.
# 15822|                   }
# 15823|                   else if (loadingVariant === null || loadingVariant === void 0 ? void 0 : loadingVariant.text) {
# 15824|->                     renderableItems.push(react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_SelectOption__WEBPACK_IMPORTED_MODULE_12__["SelectOption"], { isLoad: true, key: "loading", value: loadingVariant.text, setViewMoreNextIndex: this.setVieMoreNextIndex, onClick: loadingVariant === null || loadingVariant === void 0 ? void 0 : loadingVariant.onClick }));
# 15825|                   }
# 15826|               }

LogsView needs to be fixed and tested

In my testing the Logs/LogsView component is not displaying the correct matching log entries, and sometimes is not displaying the entries at all. This could be a problem with the journalctl API not parsing the 'matches' as expected(does not handle logical OR, in addition to logical AND in the same command)

This is a minor issue as it does not affect playback.

Covscan - Deadcode

1. Defect type: [NO_EFFECT]
1. cockpit-session-recording/src/lib/qunit-tests.js:20: unused_expr: Discarding the programmer-written value ""use strict"". What was this code intended to accomplish?
2. cockpit-session-recording/src/lib/qunit-tests.js:20: remediation: Perhaps this code is incomplete or mistyped in some way.
#    18|    */
#    19|   
#    20|-> "use strict";
#    21|   
#    22|   import QUnit from "qunit/qunit/qunit.js";
Collapse
2. Defect type: [CONSTANT_EXPRESSION_RESULT]
1. cockpit-session-recording/dist/index.js:412561: typeof_misuse: "typeof event.cancelBubble !== "unknown"" is always "true" except in JavaScript implementations that add ""unknown"" to the standard set of possible values for "typeof".
# 412559|       if (event.stopPropagation) {
# 412560|         event.stopPropagation();
# 412561|->     } else if (typeof event.cancelBubble !== 'unknown') {
# 412562|         // The ChangeEventPlugin registers a "propertychange" event for
# 412563|         // IE. This event does not support bubbling or cancelling, and
Collapse
3. Defect type: [CONSTANT_EXPRESSION_RESULT]
1. cockpit-session-recording/dist/index.js:412546: typeof_misuse: "typeof event.returnValue !== "unknown"" is always "true" except in JavaScript implementations that add ""unknown"" to the standard set of possible values for "typeof".
# 412544|       if (event.preventDefault) {
# 412545|         event.preventDefault();
# 412546|->     } else if (typeof event.returnValue !== 'unknown') {
# 412547|         event.returnValue = false;
# 412548|       }
Collapse
4. Defect type: [DEADCODE]
1. cockpit-session-recording/dist/index.js:402864: possible_types: At condition "(x > 0) - (x < 0)", the type of "x > 0" must be Boolean.
2. cockpit-session-recording/dist/index.js:402864: possible_types: At condition "(x > 0) - (x < 0)", the type of "x < 0" must be Boolean.
3. cockpit-session-recording/dist/index.js:402864: dead_error_condition: The condition "(x > 0) - (x < 0)" must be true.
4. cockpit-session-recording/dist/index.js:402864: dead_error_line: Execution cannot reach the expression "+x" inside this statement: "return ((x > 0) - (x < 0)) ...".
# 402862|   
# 402863|       function sign(x) {
# 402864|->         return (x > 0) - (x < 0) || +x;
# 402865|       }
# 402866|   
Collapse
5. Defect type: [IDENTICAL_BRANCHES]
1. cockpit-session-recording/dist/index.js:394684: identical_branches: Ternary expression on condition "b === 3" has identical then and else expressions: "":e"". Should one of the expressions be modified, or the entire ternary expression replaced?
# 394682|                           : b === 2
# 394683|                           ? ':a'
# 394684|->                         : b === 3
# 394685|                           ? ':e'
# 394686|                           : ':e';
Collapse
6. Defect type: [NO_EFFECT]
1. cockpit-session-recording/dist/index.js:376824: unused_expr: Discarding the result of "!((__WEBPACK_AMD_DEFINE_ARRAY__ = []) , (__WEBPACK_AMD_DEFINE_RESULT__ = function.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) , ((__WEBPACK_AMD_DEFINE_RESULT__ !== undefined) && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)))". What was this code intended to accomplish?
2. cockpit-session-recording/dist/index.js:376824: remediation: Perhaps this code is incomplete or mistyped in some way.
# 376822|   
# 376823|   if ( true ) {
# 376824|-> 	!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function() {
# 376825|   		return jQuery;
# 376826|   	}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
Collapse
7. Defect type: [NO_EFFECT]
1. cockpit-session-recording/dist/index.js:359273: unused_expr: Discarding the result of "!((__WEBPACK_AMD_DEFINE_ARRAY__ = [exports]) , (__WEBPACK_AMD_DEFINE_FACTORY__ = factory) , (__WEBPACK_AMD_DEFINE_RESULT__ = ((typeof __WEBPACK_AMD_DEFINE_FACTORY__ === "function") ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__)) , ((__WEBPACK_AMD_DEFINE_RESULT__ !== undefined) && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)))". What was this code intended to accomplish?
2. cockpit-session-recording/dist/index.js:359273: remediation: Perhaps this code is incomplete or mistyped in some way.
# 359271|       /* istanbul ignore next */
# 359272|       if (true) {
# 359273|->         !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
# 359274|   				__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
# 359275|   				(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
Collapse
8. Defect type: [IDENTICAL_BRANCHES]
2. cockpit-session-recording/dist/index.js:329575: identical_branches: The same code is executed regardless of whether "(unit === "year") || ((unit === "hour") || (unit === "week"))" is true, because the 'then' and 'else' branches are identical. Should one of the branches be modified, or the entire 'if' statement replaced?
# 329573|     }
# 329574|   
# 329575|->   if (unit === 'year' || unit === 'hour' || unit === 'week') {
# 329576|       if (number === 1) {
# 329577|         suffix = 'ye';
Collapse
9. Defect type: [DEADCODE]
1. cockpit-session-recording/dist/index.js:103591: cond_cannot_single: Condition "select", taking true branch. Now the value of "select" cannot be equal to 0.
2. cockpit-session-recording/dist/index.js:103595: cannot_single: At condition "(select === null) || (select === void 0)", the value of "select" cannot be equal to 0.
4. cockpit-session-recording/dist/index.js:103591: cond_types: Condition "select", taking true branch. Now the type of "select" cannot be any of undefined, null and NaN.
5. cockpit-session-recording/dist/index.js:103595: truth: At condition "(select === null) || (select === void 0)", the truth value of "select" must be true.
6. cockpit-session-recording/dist/index.js:103595: possible_types: At condition "(select === null) || (select === void 0)", the type of "select" cannot be any of undefined, null and NaN.
7. cockpit-session-recording/dist/index.js:103595: dead_error_condition: The condition "(select === null) || (select === void 0)" cannot be true.
8. cockpit-session-recording/dist/index.js:103595: dead_error_line: Execution cannot reach the sub-expression "void 0" inside this expression: "((select === null) || (sele...".
# 103593|               column: {
# 103594|                   extraParams: {
# 103595|->                     onSelect: select === null || select === void 0 ? void 0 : select.onSelect,
# 103596|                       selectVariant: 'checkbox',
# 103597|                       allRowsSelected: select.isSelected
Collapse
10. Defect type: [DEADCODE]
1. cockpit-session-recording/dist/index.js:103571: cond_cannot_single: Condition "sort", taking true branch. Now the value of "sort" cannot be equal to 0.
2. cockpit-session-recording/dist/index.js:103585: cannot_single: At condition "(sort === null) || (sort === void 0)", the value of "sort" cannot be equal to 0.
4. cockpit-session-recording/dist/index.js:103571: cond_types: Condition "sort", taking true branch. Now the type of "sort" cannot be any of undefined, null and NaN.
5. cockpit-session-recording/dist/index.js:103585: truth: At condition "(sort === null) || (sort === void 0)", the truth value of "sort" must be true.
6. cockpit-session-recording/dist/index.js:103585: possible_types: At condition "(sort === null) || (sort === void 0)", the type of "sort" cannot be any of undefined, null and NaN.
7. cockpit-session-recording/dist/index.js:103585: dead_error_condition: The condition "(sort === null) || (sort === void 0)" cannot be true.
8. cockpit-session-recording/dist/index.js:103585: dead_error_line: Execution cannot reach the sub-expression "void 0" inside this expression: "((sort === null) || (sort =...".
# 103583|                       extraParams: {
# 103584|                           sortBy: sort.sortBy,
# 103585|->                         onSort: sort === null || sort === void 0 ? void 0 : sort.onSort
# 103586|                       }
# 103587|                   }
Collapse
11. Defect type: [DEADCODE]
1. cockpit-session-recording/dist/index.js:103571: cond_cannot_single: Condition "sort", taking true branch. Now the value of "sort" cannot be equal to 0.
2. cockpit-session-recording/dist/index.js:103574: cannot_single: At condition "(sort === null) || (sort === void 0)", the value of "sort" cannot be equal to 0.
4. cockpit-session-recording/dist/index.js:103571: cond_types: Condition "sort", taking true branch. Now the type of "sort" cannot be any of undefined, null and NaN.
5. cockpit-session-recording/dist/index.js:103574: truth: At condition "(sort === null) || (sort === void 0)", the truth value of "sort" must be true.
6. cockpit-session-recording/dist/index.js:103574: possible_types: At condition "(sort === null) || (sort === void 0)", the type of "sort" cannot be any of undefined, null and NaN.
7. cockpit-session-recording/dist/index.js:103574: dead_error_condition: The condition "(sort === null) || (sort === void 0)" cannot be true.
8. cockpit-session-recording/dist/index.js:103574: dead_error_line: Execution cannot reach the sub-expression "void 0" inside this expression: "((sort === null) || (sort =...".
# 103572|           if (sort.isFavorites) {
# 103573|               sortParams = Object(_Table_utils_decorators_sortable__WEBPACK_IMPORTED_MODULE_5__["sortableFavorites"])({
# 103574|->                 onSort: sort === null || sort === void 0 ? void 0 : sort.onSort,
# 103575|                   columnIndex: sort.columnIndex,
# 103576|                   sortBy: sort.sortBy
Collapse
12. Defect type: [DEADCODE]
1. cockpit-session-recording/dist/index.js:103481: cond_types: Condition "compoundExpandProp !== null", taking true branch. Now the type of "compoundExpandProp" cannot be null.
2. cockpit-session-recording/dist/index.js:103485: implied_types: "compoundExpandProp.isExpanded" implies that the type of "compoundExpandProp" cannot be any of undefined and null.
3. cockpit-session-recording/dist/index.js:103490: possible_types: At condition "(compoundExpandProp === null) || (compoundExpandProp === void 0)", the type of "compoundExpandProp" cannot be any of undefined and null.
4. cockpit-session-recording/dist/index.js:103490: dead_error_condition: The condition "(compoundExpandProp === null) || (compoundExpandProp === void 0)" cannot be true.
5. cockpit-session-recording/dist/index.js:103490: dead_error_line: Execution cannot reach the sub-expression "void 0" inside this expression: "((compoundExpandProp === nu...".
# 103488|               column: {
# 103489|                   extraParams: {
# 103490|->                     onExpand: compoundExpandProp === null || compoundExpandProp === void 0 ? void 0 : compoundExpandProp.onToggle
# 103491|                   }
# 103492|               }
Collapse
13. Defect type: [DEADCODE]
1. cockpit-session-recording/dist/index.js:103467: cond_types: Condition "expand !== null", taking true branch. Now the type of "expand" cannot be null.
2. cockpit-session-recording/dist/index.js:103469: implied_types: "expand.rowIndex" implies that the type of "expand" cannot be any of undefined and null.
3. cockpit-session-recording/dist/index.js:103476: possible_types: At condition "(expand === null) || (expand === void 0)", the type of "expand" cannot be any of undefined and null.
4. cockpit-session-recording/dist/index.js:103476: dead_error_condition: The condition "(expand === null) || (expand === void 0)" cannot be true.
5. cockpit-session-recording/dist/index.js:103476: dead_error_line: Execution cannot reach the sub-expression "void 0" inside this expression: "((expand === null) || (expa...".
# 103474|               column: {
# 103475|                   extraParams: {
# 103476|->                     onCollapse: expand === null || expand === void 0 ? void 0 : expand.onToggle
# 103477|                   }
# 103478|               }
Collapse
14. Defect type: [DEADCODE]
1. cockpit-session-recording/dist/index.js:103467: cond_types: Condition "expand !== null", taking true branch. Now the type of "expand" cannot be null.
2. cockpit-session-recording/dist/index.js:103469: implied_types: "expand.rowIndex" implies that the type of "expand" cannot be any of undefined and null.
3. cockpit-session-recording/dist/index.js:103470: possible_types: At condition "(expand === null) || (expand === void 0)", the type of "expand" cannot be any of undefined and null.
4. cockpit-session-recording/dist/index.js:103470: dead_error_condition: The condition "(expand === null) || (expand === void 0)" cannot be true.
5. cockpit-session-recording/dist/index.js:103470: dead_error_line: Execution cannot reach the sub-expression "void 0" inside this expression: "((expand === null) || (expa...".
# 103468|           ? Object(_Table_utils_decorators_collapsible__WEBPACK_IMPORTED_MODULE_6__["collapsible"])(null, {
# 103469|               rowIndex: expand.rowIndex,
# 103470|->             columnIndex: expand === null || expand === void 0 ? void 0 : expand.columnIndex,
# 103471|               rowData: {
# 103472|                   isOpen: expand.isExpanded
Collapse
15. Defect type: [DEADCODE]
1. cockpit-session-recording/dist/index.js:103452: cond_cannot_single: Condition "actions", taking true branch. Now the value of "actions" cannot be equal to 0.
2. cockpit-session-recording/dist/index.js:103462: cannot_single: At condition "(actions === null) || (actions === void 0)", the value of "actions" cannot be equal to 0.
4. cockpit-session-recording/dist/index.js:103452: cond_types: Condition "actions", taking true branch. Now the type of "actions" cannot be any of undefined, null and NaN.
5. cockpit-session-recording/dist/index.js:103462: truth: At condition "(actions === null) || (actions === void 0)", the truth value of "actions" must be true.
6. cockpit-session-recording/dist/index.js:103462: possible_types: At condition "(actions === null) || (actions === void 0)", the type of "actions" cannot be any of undefined, null and NaN.
7. cockpit-session-recording/dist/index.js:103462: dead_error_condition: The condition "(actions === null) || (actions === void 0)" cannot be true.
8. cockpit-session-recording/dist/index.js:103462: dead_error_line: Execution cannot reach the sub-expression "void 0" inside this expression: "((actions === null) || (act...".
# 103460|                       dropdownPosition: actions === null || actions === void 0 ? void 0 : actions.dropdownPosition,
# 103461|                       dropdownDirection: actions === null || actions === void 0 ? void 0 : actions.dropdownDirection,
# 103462|->                     actionsToggle: actions === null || actions === void 0 ? void 0 : actions.actionsToggle
# 103463|                   }
# 103464|               }
Collapse
16. Defect type: [DEADCODE]
1. cockpit-session-recording/dist/index.js:103452: cond_cannot_single: Condition "actions", taking true branch. Now the value of "actions" cannot be equal to 0.
2. cockpit-session-recording/dist/index.js:103461: cannot_single: At condition "(actions === null) || (actions === void 0)", the value of "actions" cannot be equal to 0.
4. cockpit-session-recording/dist/index.js:103452: cond_types: Condition "actions", taking true branch. Now the type of "actions" cannot be any of undefined, null and NaN.
5. cockpit-session-recording/dist/index.js:103461: truth: At condition "(actions === null) || (actions === void 0)", the truth value of "actions" must be true.
6. cockpit-session-recording/dist/index.js:103461: possible_types: At condition "(actions === null) || (actions === void 0)", the type of "actions" cannot be any of undefined, null and NaN.
7. cockpit-session-recording/dist/index.js:103461: dead_error_condition: The condition "(actions === null) || (actions === void 0)" cannot be true.
8. cockpit-session-recording/dist/index.js:103461: dead_error_line: Execution cannot reach the sub-expression "void 0" inside this expression: "((actions === null) || (act...".
# 103459|                   extraParams: {
# 103460|                       dropdownPosition: actions === null || actions === void 0 ? void 0 : actions.dropdownPosition,
# 103461|->                     dropdownDirection: actions === null || actions === void 0 ? void 0 : actions.dropdownDirection,
# 103462|                       actionsToggle: actions === null || actions === void 0 ? void 0 : actions.actionsToggle
# 103463|                   }
Collapse
17. Defect type: [DEADCODE]
1. cockpit-session-recording/dist/index.js:103452: cond_cannot_single: Condition "actions", taking true branch. Now the value of "actions" cannot be equal to 0.
2. cockpit-session-recording/dist/index.js:103460: cannot_single: At condition "(actions === null) || (actions === void 0)", the value of "actions" cannot be equal to 0.
4. cockpit-session-recording/dist/index.js:103452: cond_types: Condition "actions", taking true branch. Now the type of "actions" cannot be any of undefined, null and NaN.
5. cockpit-session-recording/dist/index.js:103460: truth: At condition "(actions === null) || (actions === void 0)", the truth value of "actions" must be true.
6. cockpit-session-recording/dist/index.js:103460: possible_types: At condition "(actions === null) || (actions === void 0)", the type of "actions" cannot be any of undefined, null and NaN.
7. cockpit-session-recording/dist/index.js:103460: dead_error_condition: The condition "(actions === null) || (actions === void 0)" cannot be true.
8. cockpit-session-recording/dist/index.js:103460: dead_error_line: Execution cannot reach the sub-expression "void 0" inside this expression: "((actions === null) || (act...".
# 103458|               column: {
# 103459|                   extraParams: {
# 103460|->                     dropdownPosition: actions === null || actions === void 0 ? void 0 : actions.dropdownPosition,
# 103461|                       dropdownDirection: actions === null || actions === void 0 ? void 0 : actions.dropdownDirection,
# 103462|                       actionsToggle: actions === null || actions === void 0 ? void 0 : actions.actionsToggle
Collapse
18. Defect type: [DEADCODE]
1. cockpit-session-recording/dist/index.js:103452: cond_cannot_single: Condition "actions", taking true branch. Now the value of "actions" cannot be equal to 0.
2. cockpit-session-recording/dist/index.js:103456: cannot_single: At condition "(actions === null) || (actions === void 0)", the value of "actions" cannot be equal to 0.
4. cockpit-session-recording/dist/index.js:103452: cond_types: Condition "actions", taking true branch. Now the type of "actions" cannot be any of undefined, null and NaN.
5. cockpit-session-recording/dist/index.js:103456: truth: At condition "(actions === null) || (actions === void 0)", the truth value of "actions" must be true.
6. cockpit-session-recording/dist/index.js:103456: possible_types: At condition "(actions === null) || (actions === void 0)", the type of "actions" cannot be any of undefined, null and NaN.
7. cockpit-session-recording/dist/index.js:103456: dead_error_condition: The condition "(actions === null) || (actions === void 0)" cannot be true.
8. cockpit-session-recording/dist/index.js:103456: dead_error_line: Execution cannot reach the sub-expression "void 0" inside this expression: "((actions === null) || (act...".
# 103454|           ? actionParamsFunc(null, {
# 103455|               rowData: {
# 103456|->                 disableActions: actions === null || actions === void 0 ? void 0 : actions.disable
# 103457|               },
# 103458|               column: {
Collapse
19. Defect type: [DEADCODE]
1. cockpit-session-recording/dist/index.js:103431: cond_cannot_single: Condition "favorites", taking true branch. Now the value of "favorites" cannot be equal to 0.
2. cockpit-session-recording/dist/index.js:103440: cannot_single: At condition "(favorites === null) || (favorites === void 0)", the value of "favorites" cannot be equal to 0.
4. cockpit-session-recording/dist/index.js:103431: cond_types: Condition "favorites", taking true branch. Now the type of "favorites" cannot be any of undefined, null and NaN.
5. cockpit-session-recording/dist/index.js:103440: truth: At condition "(favorites === null) || (favorites === void 0)", the truth value of "favorites" must be true.
6. cockpit-session-recording/dist/index.js:103440: possible_types: At condition "(favorites === null) || (favorites === void 0)", the type of "favorites" cannot be any of undefined, null and NaN.
7. cockpit-session-recording/dist/index.js:103440: dead_error_condition: The condition "(favorites === null) || (favorites === void 0)" cannot be true.
8. cockpit-session-recording/dist/index.js:103440: dead_error_line: Execution cannot reach the sub-expression "void 0" inside this expression: "((favorites === null) || (f...".
# 103438|               column: {
# 103439|                   extraParams: {
# 103440|->                     onFavorite: favorites === null || favorites === void 0 ? void 0 : favorites.onFavorite
# 103441|                   }
# 103442|               }
Collapse
20. Defect type: [DEADCODE]
1. cockpit-session-recording/dist/index.js:103431: cond_cannot_single: Condition "favorites", taking true branch. Now the value of "favorites" cannot be equal to 0.
2. cockpit-session-recording/dist/index.js:103436: cannot_single: At condition "(favorites === null) || (favorites === void 0)", the value of "favorites" cannot be equal to 0.
4. cockpit-session-recording/dist/index.js:103431: cond_types: Condition "favorites", taking true branch. Now the type of "favorites" cannot be any of undefined, null and NaN.
5. cockpit-session-recording/dist/index.js:103436: truth: At condition "(favorites === null) || (favorites === void 0)", the truth value of "favorites" must be true.
6. cockpit-session-recording/dist/index.js:103436: possible_types: At condition "(favorites === null) || (favorites === void 0)", the type of "favorites" cannot be any of undefined, null and NaN.
7. cockpit-session-recording/dist/index.js:103436: dead_error_condition: The condition "(favorites === null) || (favorites === void 0)" cannot be true.
8. cockpit-session-recording/dist/index.js:103436: dead_error_line: Execution cannot reach the sub-expression "void 0" inside this expression: "((favorites === null) || (f...".
# 103434|               rowData: {
# 103435|                   favorited: favorites.isFavorited,
# 103436|->                 favoritesProps: favorites === null || favorites === void 0 ? void 0 : favorites.props
# 103437|               },
# 103438|               column: {
Collapse
21. Defect type: [DEADCODE]
1. cockpit-session-recording/dist/index.js:103431: cond_cannot_single: Condition "favorites", taking true branch. Now the value of "favorites" cannot be equal to 0.
2. cockpit-session-recording/dist/index.js:103433: cannot_single: At condition "(favorites === null) || (favorites === void 0)", the value of "favorites" cannot be equal to 0.
4. cockpit-session-recording/dist/index.js:103431: cond_types: Condition "favorites", taking true branch. Now the type of "favorites" cannot be any of undefined, null and NaN.
5. cockpit-session-recording/dist/index.js:103433: truth: At condition "(favorites === null) || (favorites === void 0)", the truth value of "favorites" must be true.
6. cockpit-session-recording/dist/index.js:103433: possible_types: At condition "(favorites === null) || (favorites === void 0)", the type of "favorites" cannot be any of undefined, null and NaN.
7. cockpit-session-recording/dist/index.js:103433: dead_error_condition: The condition "(favorites === null) || (favorites === void 0)" cannot be true.
8. cockpit-session-recording/dist/index.js:103433: dead_error_line: Execution cannot reach the sub-expression "void 0" inside this expression: "((favorites === null) || (f...".
# 103431|       const favoriteParams = favorites
# 103432|           ? Object(_Table_utils_decorators_favoritable__WEBPACK_IMPORTED_MODULE_10__["favoritable"])(null, {
# 103433|->             rowIndex: favorites === null || favorites === void 0 ? void 0 : favorites.rowIndex,
# 103434|               rowData: {
# 103435|                   favorited: favorites.isFavorited,
Collapse
22. Defect type: [DEADCODE]
1. cockpit-session-recording/dist/index.js:103415: cond_cannot_single: Condition "select", taking true branch. Now the value of "select" cannot be equal to 0.
2. cockpit-session-recording/dist/index.js:103425: cannot_single: At condition "(select === null) || (select === void 0)", the value of "select" cannot be equal to 0.
4. cockpit-session-recording/dist/index.js:103415: cond_types: Condition "select", taking true branch. Now the type of "select" cannot be any of undefined, null and NaN.
5. cockpit-session-recording/dist/index.js:103425: truth: At condition "(select === null) || (select === void 0)", the truth value of "select" must be true.
6. cockpit-session-recording/dist/index.js:103425: possible_types: At condition "(select === null) || (select === void 0)", the type of "select" cannot be any of undefined, null and NaN.
7. cockpit-session-recording/dist/index.js:103425: dead_error_condition: The condition "(select === null) || (select === void 0)" cannot be true.
8. cockpit-session-recording/dist/index.js:103425: dead_error_line: Execution cannot reach the sub-expression "void 0" inside this expression: "((select === null) || (sele...".
# 103423|               column: {
# 103424|                   extraParams: {
# 103425|->                     onSelect: select === null || select === void 0 ? void 0 : select.onSelect,
# 103426|                       selectVariant: select.variant || 'checkbox'
# 103427|                   }
Collapse
23. Defect type: [DEADCODE]
1. cockpit-session-recording/dist/index.js:103415: cond_cannot_single: Condition "select", taking true branch. Now the value of "select" cannot be equal to 0.
2. cockpit-session-recording/dist/index.js:103421: cannot_single: At condition "(select === null) || (select === void 0)", the value of "select" cannot be equal to 0.
4. cockpit-session-recording/dist/index.js:103415: cond_types: Condition "select", taking true branch. Now the type of "select" cannot be any of undefined, null and NaN.
5. cockpit-session-recording/dist/index.js:103421: truth: At condition "(select === null) || (select === void 0)", the truth value of "select" must be true.
6. cockpit-session-recording/dist/index.js:103421: possible_types: At condition "(select === null) || (select === void 0)", the type of "select" cannot be any of undefined, null and NaN.
7. cockpit-session-recording/dist/index.js:103421: dead_error_condition: The condition "(select === null) || (select === void 0)" cannot be true.
8. cockpit-session-recording/dist/index.js:103421: dead_error_line: Execution cannot reach the sub-expression "void 0" inside this expression: "((select === null) || (sele...".
# 103419|                   selected: select.isSelected,
# 103420|                   disableSelection: select === null || select === void 0 ? void 0 : select.disable,
# 103421|->                 props: select === null || select === void 0 ? void 0 : select.props
# 103422|               },
# 103423|               column: {
Collapse
24. Defect type: [DEADCODE]
1. cockpit-session-recording/dist/index.js:103415: cond_cannot_single: Condition "select", taking true branch. Now the value of "select" cannot be equal to 0.
2. cockpit-session-recording/dist/index.js:103420: cannot_single: At condition "(select === null) || (select === void 0)", the value of "select" cannot be equal to 0.
4. cockpit-session-recording/dist/index.js:103415: cond_types: Condition "select", taking true branch. Now the type of "select" cannot be any of undefined, null and NaN.
5. cockpit-session-recording/dist/index.js:103420: truth: At condition "(select === null) || (select === void 0)", the truth value of "select" must be true.
6. cockpit-session-recording/dist/index.js:103420: possible_types: At condition "(select === null) || (select === void 0)", the type of "select" cannot be any of undefined, null and NaN.
7. cockpit-session-recording/dist/index.js:103420: dead_error_condition: The condition "(select === null) || (select === void 0)" cannot be true.
8. cockpit-session-recording/dist/index.js:103420: dead_error_line: Execution cannot reach the sub-expression "void 0" inside this expression: "((select === null) || (sele...".
# 103418|               rowData: {
# 103419|                   selected: select.isSelected,
# 103420|->                 disableSelection: select === null || select === void 0 ? void 0 : select.disable,
# 103421|                   props: select === null || select === void 0 ? void 0 : select.props
# 103422|               },
Collapse
25. Defect type: [DEADCODE]
1. cockpit-session-recording/dist/index.js:27119: cond_cannot_single: Condition "maxWidths", taking true branch. Now the value of "maxWidths" cannot be equal to 0.
2. cockpit-session-recording/dist/index.js:27120: cannot_single: At condition "maxWidths", the value of "maxWidths" cannot be equal to 0.
4. cockpit-session-recording/dist/index.js:27119: cond_types: Condition "maxWidths", taking true branch. Now the type of "maxWidths" cannot be any of undefined, null and NaN.
5. cockpit-session-recording/dist/index.js:27120: truth: At condition "maxWidths", the truth value of "maxWidths" must be true.
6. cockpit-session-recording/dist/index.js:27120: possible_types: At condition "maxWidths", the type of "maxWidths" cannot be any of undefined, null and NaN.
7. cockpit-session-recording/dist/index.js:27120: dead_error_condition: The condition "maxWidths" must be true.
8. cockpit-session-recording/dist/index.js:27120: dead_error_line: Execution cannot reach the expression "{}" inside this statement: "Object.entries((maxWidths |...".
# 27118|       const maxWidthStyles = {};
# 27119|       if (maxWidths) {
# 27120|->         Object.entries(maxWidths || {}).map(([breakpoint, value]) => (maxWidthStyles[`--pf-l-gallery--GridTemplateColumns--max${breakpoint !== 'default' ? `-on-${breakpoint}` : ''}`] = value));
# 27121|       }
# 27122|       const widthStyles = Object.assign(Object.assign({}, minWidthStyles), maxWidthStyles);
Collapse
26. Defect type: [DEADCODE]
1. cockpit-session-recording/dist/index.js:27115: cond_cannot_single: Condition "minWidths", taking true branch. Now the value of "minWidths" cannot be equal to 0.
2. cockpit-session-recording/dist/index.js:27116: cannot_single: At condition "minWidths", the value of "minWidths" cannot be equal to 0.
4. cockpit-session-recording/dist/index.js:27115: cond_types: Condition "minWidths", taking true branch. Now the type of "minWidths" cannot be any of undefined, null and NaN.
5. cockpit-session-recording/dist/index.js:27116: truth: At condition "minWidths", the truth value of "minWidths" must be true.
6. cockpit-session-recording/dist/index.js:27116: possible_types: At condition "minWidths", the type of "minWidths" cannot be any of undefined, null and NaN.
7. cockpit-session-recording/dist/index.js:27116: dead_error_condition: The condition "minWidths" must be true.
8. cockpit-session-recording/dist/index.js:27116: dead_error_line: Execution cannot reach the expression "{}" inside this statement: "Object.entries((minWidths |...".
# 27114|       const minWidthStyles = {};
# 27115|       if (minWidths) {
# 27116|->         Object.entries(minWidths || {}).map(([breakpoint, value]) => (minWidthStyles[`--pf-l-gallery--GridTemplateColumns--min${breakpoint !== 'default' ? `-on-${breakpoint}` : ''}`] = value));
# 27117|       }
# 27118|       const maxWidthStyles = {};
Collapse
27. Defect type: [DEADCODE]
1. cockpit-session-recording/dist/index.js:19663: cond_cannot_single: Condition "widths", taking true branch. Now the value of "widths" cannot be equal to 0.
2. cockpit-session-recording/dist/index.js:19664: cannot_single: At condition "widths", the value of "widths" cannot be equal to 0.
3. cockpit-session-recording/dist/index.js:19653: assignment: Assigning: "widths" = "undefined".
5. cockpit-session-recording/dist/index.js:19663: cond_types: Condition "widths", taking true branch. Now the type of "widths" cannot be any of undefined, null and NaN.
6. cockpit-session-recording/dist/index.js:19664: truth: At condition "widths", the truth value of "widths" must be true.
7. cockpit-session-recording/dist/index.js:19664: possible_types: At condition "widths", the type of "widths" cannot be any of undefined, null and NaN.
8. cockpit-session-recording/dist/index.js:19664: dead_error_condition: The condition "widths" must be true.
9. cockpit-session-recording/dist/index.js:19664: dead_error_line: Execution cannot reach the expression "{}" inside this statement: "Object.entries((widths || {...".
# 19662|       const widthStyles = {};
# 19663|       if (widths) {
# 19664|->         Object.entries(widths || {}).map(([breakpoint, value]) => (widthStyles[`--pf-c-toolbar__item--Width${breakpoint !== 'default' ? `-on-${breakpoint}` : ''}`] = value));
# 19665|       }
# 19666|       return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", Object.assign({ className: Object(_patternfly_react_styles__WEBPACK_IMPORTED_MODULE_3__["css"])(_patternfly_react_styles_css_components_Toolbar_toolbar__WEBPACK_IMPORTED_MODULE_2___default.a.toolbarItem, variant &&
Collapse
28. Defect type: [CONSTANT_EXPRESSION_RESULT]
1. cockpit-session-recording/dist/index.js:17913: pointless_expression: The expression "id && id" does not accomplish anything because it evaluates to either of its identical operands, "id".
2. cockpit-session-recording/dist/index.js:17913: remediation: Did you intend the operands to be different?
# 17911|           const localActiveKey = defaultActiveKey !== undefined ? uncontrolledActiveKey : activeKey;
# 17912|           return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_TabsContext__WEBPACK_IMPORTED_MODULE_10__["TabsContextProvider"], { value: { variant } },
# 17913|->             react__WEBPACK_IMPORTED_MODULE_1__["createElement"](Component, Object.assign({ "aria-label": ariaLabel, className: Object(_patternfly_react_styles__WEBPACK_IMPORTED_MODULE_4__["css"])(_patternfly_react_styles_css_components_Tabs_tabs__WEBPACK_IMPORTED_MODULE_2___default.a.tabs, isFilled && _patternfly_react_styles_css_components_Tabs_tabs__WEBPACK_IMPORTED_MODULE_2___default.a.modifiers.fill, isSecondary && _patternfly_react_styles_css_components_Tabs_tabs__WEBPACK_IMPORTED_MODULE_2___default.a.modifiers.secondary, isVertical && _patternfly_react_styles_css_components_Tabs_tabs__WEBPACK_IMPORTED_MODULE_2___default.a.modifiers.vertical, isBox && _patternfly_react_styles_css_components_Tabs_tabs__WEBPACK_IMPORTED_MODULE_2___default.a.modifiers.box, showScrollButtons && !isVertical && _patternfly_react_styles_css_components_Tabs_tabs__WEBPACK_IMPORTED_MODULE_2___default.a.modifiers.scrollable, usePageInsets && _patternfly_react_styles_css_components_Tabs_tabs__WEBPACK_IMPORTED_MODULE_2___default.a.modifiers.pageInsets, Object(_helpers_util__WEBPACK_IMPORTED_MODULE_7__["formatBreakpointMods"])(inset, _patternfly_react_styles_css_components_Tabs_tabs__WEBPACK_IMPORTED_MODULE_2___default.a), variantStyle[variant], className) }, Object(_helpers__WEBPACK_IMPORTED_MODULE_11__["getOUIAProps"])(Tabs.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe), { id: id && id }, props),
# 17914|                   react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("button", { className: Object(_patternfly_react_styles__WEBPACK_IMPORTED_MODULE_4__["css"])(_patternfly_react_styles_css_components_Tabs_tabs__WEBPACK_IMPORTED_MODULE_2___default.a.tabsScrollButton, isSecondary && _patternfly_react_styles_css_components_Button_button__WEBPACK_IMPORTED_MODULE_3___default.a.modifiers.secondary), "aria-label": leftScrollAriaLabel, onClick: this.scrollLeft, disabled: disableLeftScrollButton, "aria-hidden": disableLeftScrollButton },
# 17915|                       react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_patternfly_react_icons_dist_esm_icons_angle_left_icon__WEBPACK_IMPORTED_MODULE_5__["default"], null)),
Collapse
29. Defect type: [IDENTICAL_BRANCHES]
1. cockpit-session-recording/dist/index.js:16565: identical_branches: Ternary expression on condition "isTypeahead" has identical then and else expressions: "react__WEBPACK_IMPORTED_MODULE_1__["createRef"]()". Should one of the expressions be modified, or the entire ternary expression replaced?
# 16563|           const { variant } = props;
# 16564|           const isTypeahead = variant === _selectConstants__WEBPACK_IMPORTED_MODULE_6__["SelectVariant"].typeahead || variant === _selectConstants__WEBPACK_IMPORTED_MODULE_6__["SelectVariant"].typeaheadMulti;
# 16565|->         this.toggle = isTypeahead ? react__WEBPACK_IMPORTED_MODULE_1__["createRef"]() : react__WEBPACK_IMPORTED_MODULE_1__["createRef"]();
# 16566|       }
# 16567|       componentDidMount() {
Collapse
30. Defect type: [CONSTANT_EXPRESSION_RESULT]
1. cockpit-session-recording/dist/index.js:10786: pointless_expression: The expression "isOnPath && isOnPath" does not accomplish anything because it evaluates to either of its identical operands, "isOnPath".
2. cockpit-session-recording/dist/index.js:10786: remediation: Did you intend the operands to be different?
# 10784|           onClick && onClick(event);
# 10785|       };
# 10786|->     const _isOnPath = (isOnPath && isOnPath) || (drilldownItemPath && drilldownItemPath.includes(itemId)) || false;
# 10787|       let _drill;
# 10788|       if (direction) {
Collapse
31. Defect type: [DEADCODE]
1. cockpit-session-recording/dist/index.js:10315: cond_cannot_single: Condition "current", taking true branch. Now the value of "current" cannot be equal to 0.
2. cockpit-session-recording/dist/index.js:10325: cannot_single: At condition "current", the value of "current" cannot be equal to 0.
3. cockpit-session-recording/dist/index.js:10314: assignment: Assigning: "current" = "undefined".
5. cockpit-session-recording/dist/index.js:10315: cond_types: Condition "current", taking true branch. Now the type of "current" cannot be any of undefined, null and NaN.
6. cockpit-session-recording/dist/index.js:10325: truth: At condition "current", the truth value of "current" must be true.
7. cockpit-session-recording/dist/index.js:10325: possible_types: At condition "current", the type of "current" cannot be any of undefined, null and NaN.
8. cockpit-session-recording/dist/index.js:10325: dead_error_condition: The condition "current" must be true.
9. cockpit-session-recording/dist/index.js:10325: dead_error_line: Execution cannot reach the expression "null" inside this statement: "nextMenu = (current.querySe...".
# 10323|               }
# 10324|               else {
# 10325|->                 const nextMenu = current.querySelector('#' + this.props.activeMenu) || current || null;
# 10326|                   const nextTarget = Array.from(nextMenu.getElementsByTagName('UL')[0].children).filter(el => !(el.classList.contains('pf-m-disabled') || el.classList.contains('pf-c-divider')))[0].firstChild;
# 10327|                   nextTarget.focus();
Collapse
32. Defect type: [CONSTANT_EXPRESSION_RESULT]
1. cockpit-session-recording/dist/index.js:8383: pointless_expression: The expression "header && header" does not accomplish anything because it evaluates to either of its identical operands, "header".
2. cockpit-session-recording/dist/index.js:8383: remediation: Did you intend the operands to be different?
#  8381|       return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", Object.assign({ className: Object(_patternfly_react_styles__WEBPACK_IMPORTED_MODULE_3__["css"])(_patternfly_react_styles_css_components_Form_form__WEBPACK_IMPORTED_MODULE_2___default.a.formFieldGroup, isExpanded && isExpandable && _patternfly_react_styles_css_components_Form_form__WEBPACK_IMPORTED_MODULE_2___default.a.modifiers.expanded, className) }, props),
#  8382|           isExpandable && (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_helpers__WEBPACK_IMPORTED_MODULE_5__["GenerateId"], { prefix: "form-field-group-toggle" }, id => (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_FormFieldGroupToggle__WEBPACK_IMPORTED_MODULE_4__["FormFieldGroupToggle"], Object.assign({ onToggle: onToggle, isExpanded: isExpanded, "aria-label": toggleAriaLabel, toggleId: id }, (headerTitleText && { 'aria-labelledby': `${header.props.titleText.id} ${id}` })))))),
#  8383|->         header && header,
#  8384|           (!isExpandable || (isExpandable && isExpanded)) && (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: Object(_patternfly_react_styles__WEBPACK_IMPORTED_MODULE_3__["css"])(_patternfly_react_styles_css_components_Form_form__WEBPACK_IMPORTED_MODULE_2___default.a.formFieldGroupBody) }, children))));
#  8385|   };
Collapse
33. Defect type: [CONSTANT_EXPRESSION_RESULT]
1. cockpit-session-recording/dist/index.js:8185: pointless_expression: The expression "actions && actions" does not accomplish anything because it evaluates to either of its identical operands, "actions".
2. cockpit-session-recording/dist/index.js:8185: remediation: Did you intend the operands to be different?
#  8183|                   react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: Object(_patternfly_react_styles__WEBPACK_IMPORTED_MODULE_3__["css"])(_patternfly_react_styles_css_components_Form_form__WEBPACK_IMPORTED_MODULE_2___default.a.formFieldGroupHeaderTitleText), id: titleText.id }, titleText.text))),
#  8184|               titleDescription && react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: Object(_patternfly_react_styles__WEBPACK_IMPORTED_MODULE_3__["css"])(_patternfly_react_styles_css_components_Form_form__WEBPACK_IMPORTED_MODULE_2___default.a.formFieldGroupHeaderDescription) }, titleDescription)),
#  8185|->         react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: Object(_patternfly_react_styles__WEBPACK_IMPORTED_MODULE_3__["css"])(_patternfly_react_styles_css_components_Form_form__WEBPACK_IMPORTED_MODULE_2___default.a.formFieldGroupHeaderActions) }, actions && actions)));
#  8186|   };
#  8187|   FormFieldGroupHeader.displayName = 'FormFieldGroupHeader';
Collapse
34. Defect type: [CONSTANT_EXPRESSION_RESULT]
1. cockpit-session-recording/dist/index.js:3344: pointless_expression: The expression "actions && actions" does not accomplish anything because it evaluates to either of its identical operands, "actions".
2. cockpit-session-recording/dist/index.js:3344: remediation: Did you intend the operands to be different?
#  3342|       return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", Object.assign({ className: Object(_patternfly_react_styles__WEBPACK_IMPORTED_MODULE_3__["css"])(_patternfly_react_styles_css_components_CodeBlock_code_block__WEBPACK_IMPORTED_MODULE_2___default.a.codeBlock, className) }, props),
#  3343|           react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: Object(_patternfly_react_styles__WEBPACK_IMPORTED_MODULE_3__["css"])(_patternfly_react_styles_css_components_CodeBlock_code_block__WEBPACK_IMPORTED_MODULE_2___default.a.codeBlockHeader) },
#  3344|->             react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: Object(_patternfly_react_styles__WEBPACK_IMPORTED_MODULE_3__["css"])(_patternfly_react_styles_css_components_CodeBlock_code_block__WEBPACK_IMPORTED_MODULE_2___default.a.codeBlockActions) }, actions && actions)),
#  3345|           react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: Object(_patternfly_react_styles__WEBPACK_IMPORTED_MODULE_3__["css"])(_patternfly_react_styles_css_components_CodeBlock_code_block__WEBPACK_IMPORTED_MODULE_2___default.a.codeBlockContent) }, children)));
#  3346|   };
Collapse
35. Defect type: [CONSTANT_EXPRESSION_RESULT]
1. cockpit-session-recording/dist/index.js:3110: pointless_expression: The expression "additionalActions && additionalActions" does not accomplish anything because it evaluates to either of its identical operands, "additionalActions".
2. cockpit-session-recording/dist/index.js:3110: remediation: Did you intend the operands to be different?
#  3108|                                       });
#  3109|                                   } }, this.state.copied ? clickTip : hoverTip)),
#  3110|->                         additionalActions && additionalActions))))),
#  3111|                   variant !== 'inline-compact' && (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_helpers_GenerateId_GenerateId__WEBPACK_IMPORTED_MODULE_6__["GenerateId"], { prefix: "" }, id => (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](react__WEBPACK_IMPORTED_MODULE_1__["Fragment"], null,
#  3112|                       react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: Object(_patternfly_react_styles__WEBPACK_IMPORTED_MODULE_3__["css"])(_patternfly_react_styles_css_components_ClipboardCopy_clipboard_copy__WEBPACK_IMPORTED_MODULE_2___default.a.clipboardCopyGroup) },

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.