diff --git a/Documentation/js_licenses.txt b/Documentation/js_licenses.txt index 97c2548108..956a94d5bb 100644 --- a/Documentation/js_licenses.txt +++ b/Documentation/js_licenses.txt @@ -279,36 +279,6 @@ SOFTWARE. ---- -[[es6-promise]] -es6-promise - -* es6-promise - -[[es6-promise_license]] ----- -Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and 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. - ----- - - [[Polymer-2018]] Polymer-2018 @@ -747,37 +717,6 @@ OTHER DEALINGS IN THE SOFTWARE. ---- -[[whatwg-fetch]] -whatwg-fetch - -* whatwg-fetch - -[[whatwg-fetch_license]] ----- -Copyright (c) 2014-2016 GitHub, Inc. - -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. - ----- - - [[font-roboto-local-fonts-roboto]] font-roboto-local-fonts-roboto diff --git a/Documentation/licenses.txt b/Documentation/licenses.txt index c1dfb94177..d561596af2 100644 --- a/Documentation/licenses.txt +++ b/Documentation/licenses.txt @@ -3221,36 +3221,6 @@ SOFTWARE. ---- -[[es6-promise]] -es6-promise - -* es6-promise - -[[es6-promise_license]] ----- -Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and 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. - ----- - - [[Polymer-2018]] Polymer-2018 @@ -3689,37 +3659,6 @@ OTHER DEALINGS IN THE SOFTWARE. ---- -[[whatwg-fetch]] -whatwg-fetch - -* whatwg-fetch - -[[whatwg-fetch_license]] ----- -Copyright (c) 2014-2016 GitHub, Inc. - -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. - ----- - - [[font-roboto-local-fonts-roboto]] font-roboto-local-fonts-roboto diff --git a/polygerrit-ui/app/elements/shared/gr-rest-api-interface/gr-rest-api-interface.js b/polygerrit-ui/app/elements/shared/gr-rest-api-interface/gr-rest-api-interface.js index 2d951d40f5..de4f12d51e 100644 --- a/polygerrit-ui/app/elements/shared/gr-rest-api-interface/gr-rest-api-interface.js +++ b/polygerrit-ui/app/elements/shared/gr-rest-api-interface/gr-rest-api-interface.js @@ -14,15 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -/* NB: es6-promise Needed for IE11 and fetch polyfill support, see Issue 4308 */ /* NB: Order is important, because of namespaced classes. */ import {mixinBehaviors} from '@polymer/polymer/lib/legacy/class.js'; import {GestureEventListeners} from '@polymer/polymer/lib/mixins/gesture-event-listeners.js'; import {LegacyElementMixin} from '@polymer/polymer/lib/legacy/legacy-element-mixin.js'; import {PolymerElement} from '@polymer/polymer/polymer-element.js'; -import 'es6-promise/lib/es6-promise.js'; -import 'whatwg-fetch/fetch.js'; import {PatchSetBehavior} from '../../../behaviors/gr-patch-set-behavior/gr-patch-set-behavior.js'; import {PathListBehavior} from '../../../behaviors/gr-path-list-behavior/gr-path-list-behavior.js'; import {RESTClientBehavior} from '../../../behaviors/rest-client-behavior/rest-client-behavior.js'; diff --git a/polygerrit-ui/app/node_modules_licenses/licenses.ts b/polygerrit-ui/app/node_modules_licenses/licenses.ts index 4c259cd6c7..1141d6b7b7 100644 --- a/polygerrit-ui/app/node_modules_licenses/licenses.ts +++ b/polygerrit-ui/app/node_modules_licenses/licenses.ts @@ -260,14 +260,6 @@ const packages: PackageInfo[] = [ packageLicenseFile: "LICENSE-MIT", } }, - { - name: "es6-promise", - license: { - name: "es6-promise", - type: LicenseTypes.Mit, - packageLicenseFile: "LICENSE" - } - }, { name: "isarray", license: SharedLicenses.IsArray @@ -291,14 +283,6 @@ const packages: PackageInfo[] = [ { name: "polymer-bridges", license: SharedLicenses.Polymer2018 - }, - { - name: "whatwg-fetch", - license: { - name: "whatwg-fetch", - type: LicenseTypes.Mit, - packageLicenseFile: "LICENSE" - } } ]; diff --git a/polygerrit-ui/app/package.json b/polygerrit-ui/app/package.json index a9668c3043..32560ffef8 100644 --- a/polygerrit-ui/app/package.json +++ b/polygerrit-ui/app/package.json @@ -25,12 +25,10 @@ "@polymer/polymer": "^3.3.0", "@webcomponents/shadycss": "^1.9.2", "@webcomponents/webcomponentsjs": "^1.3.3", - "es6-promise": "^3.3.1", "page": "^1.11.5", "polymer-bridges": "file:../../polymer-bridges/", "ba-linkify": "file:../../lib/ba-linkify/src/", - "polymer-resin": "^2.0.1", - "whatwg-fetch": "^3.0.0" + "polymer-resin": "^2.0.1" }, "license": "Apache-2.0", "private": true diff --git a/polygerrit-ui/app/yarn.lock b/polygerrit-ui/app/yarn.lock index 821b7247c0..8fb3eea552 100644 --- a/polygerrit-ui/app/yarn.lock +++ b/polygerrit-ui/app/yarn.lock @@ -328,11 +328,6 @@ "ba-linkify@file:../../lib/ba-linkify/src": version "1.0.0" -es6-promise@^3.3.1: - version "3.3.1" - resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-3.3.1.tgz#a08cdde84ccdbf34d027a1451bc91d4bcd28a613" - integrity sha1-oIzd6EzNvzTQJ6FFG8kdS80ophM= - isarray@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" @@ -362,8 +357,3 @@ polymer-resin@^2.0.1: dependencies: "@polymer/polymer" "^3.0.2" "@webcomponents/webcomponentsjs" "^2.0.3" - -whatwg-fetch@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-3.0.0.tgz#fc804e458cc460009b1a2b966bc8817d2578aefb" - integrity sha512-9GSJUgz1D4MfyKU7KRqwOjXCXTqWdFNvEr7eUBYchQiVc744mqK/MzXPNR2WsPkmkOa4ywfg8C2n8h+13Bey1Q==