diff --git a/awx/ui_next/src/screens/Job/JobOutput/HostEventModal.js b/awx/ui_next/src/screens/Job/JobOutput/HostEventModal.js index b81e3418a2..09a6644edb 100644 --- a/awx/ui_next/src/screens/Job/JobOutput/HostEventModal.js +++ b/awx/ui_next/src/screens/Job/JobOutput/HostEventModal.js @@ -17,7 +17,7 @@ const HostNameDetailValue = styled.div` grid-template-columns: auto auto; `; -const processEventStatus = (event) => { +const processEventStatus = event => { let status = null; if (event.event === 'runner_on_unreachable') { status = 'unreachable'; @@ -43,7 +43,7 @@ const processEventStatus = (event) => { return status; }; -const processCodeEditorValue = (value) => { +const processCodeEditorValue = value => { let codeEditorValue; if (value === undefined) { codeEditorValue = false; @@ -57,7 +57,7 @@ const processCodeEditorValue = (value) => { return codeEditorValue; }; -const processStdOutValue = (hostEvent) => { +const processStdOutValue = hostEvent => { const taskAction = hostEvent?.event_data?.taskAction; const res = hostEvent?.event_data?.res; diff --git a/awx/ui_next/src/setupTests.js b/awx/ui_next/src/setupTests.js index 46e94ba556..791fe95daf 100644 --- a/awx/ui_next/src/setupTests.js +++ b/awx/ui_next/src/setupTests.js @@ -12,7 +12,7 @@ jest.setTimeout(120000); require('@nteract/mockument'); // eslint-disable-next-line import/prefer-default-export -export const asyncFlush = () => new Promise((resolve) => setImmediate(resolve)); +export const asyncFlush = () => new Promise(resolve => setImmediate(resolve)); let hasConsoleError = false; let hasConsoleWarn = false; @@ -38,7 +38,7 @@ global.console = { }, }; -const logNetworkRequestError = (url) => { +const logNetworkRequestError = url => { networkRequestUrl = url || true; return { status: 200, diff --git a/docs/licenses/ui/d3-delaunay.txt b/docs/licenses/ui/d3-delaunay.txt new file mode 100644 index 0000000000..3a6ada6240 --- /dev/null +++ b/docs/licenses/ui/d3-delaunay.txt @@ -0,0 +1,14 @@ +Copyright 2018-2021 Observable, Inc. +Copyright 2021 Mapbox + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. diff --git a/docs/licenses/ui/delaunator.txt b/docs/licenses/ui/delaunator.txt new file mode 100644 index 0000000000..631921c40a --- /dev/null +++ b/docs/licenses/ui/delaunator.txt @@ -0,0 +1,15 @@ +ISC License + +Copyright (c) 2021, Mapbox + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. diff --git a/docs/licenses/ui/emotion-stylis.txt b/docs/licenses/ui/emotion-stylis.txt new file mode 100644 index 0000000000..56e808dea1 --- /dev/null +++ b/docs/licenses/ui/emotion-stylis.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) Emotion team and other contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/docs/licenses/ui/internmap.txt b/docs/licenses/ui/internmap.txt new file mode 100644 index 0000000000..6fca7113f8 --- /dev/null +++ b/docs/licenses/ui/internmap.txt @@ -0,0 +1,13 @@ +Copyright 2021 Mike Bostock + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. diff --git a/docs/licenses/ui/shallowequal.txt b/docs/licenses/ui/shallowequal.txt new file mode 100644 index 0000000000..d45d1fa295 --- /dev/null +++ b/docs/licenses/ui/shallowequal.txt @@ -0,0 +1,22 @@ + +MIT License + +Copyright (c) 2017 Alberto Leal (github.com/dashed) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.