From 15624f610cfaa22e712b9612c4149e42f5bccc40 Mon Sep 17 00:00:00 2001 From: Pawel Date: Sat, 25 Apr 2020 23:14:58 -0700 Subject: [PATCH] chore: upgrading dependencies to fix infinite loop issue --- package-lock.json | 274 +++++++++++++++++++++++++++++----------- package.json | 19 ++- src/ApiRequestEditor.js | 4 +- 3 files changed, 209 insertions(+), 88 deletions(-) diff --git a/package-lock.json b/package-lock.json index cc7c14d..70bb9ed 100644 --- a/package-lock.json +++ b/package-lock.json @@ -223,28 +223,50 @@ } }, "@advanced-rest-client/multipart-payload-editor": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@advanced-rest-client/multipart-payload-editor/-/multipart-payload-editor-4.0.1.tgz", - "integrity": "sha512-waFz1DrjwXpDDvgbQGiBtwkEBP9p69kz4PbSJA9VAWiiD73vACLPWIYjsiCLj5bjwxDW9l58b+R+dVPi6SP9fg==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@advanced-rest-client/multipart-payload-editor/-/multipart-payload-editor-4.1.0.tgz", + "integrity": "sha512-KXKWYpVrbDon1qQgVNTEobCUEB6ucpb7aJWL6cUZVxOkts2dQJPj1reSzzSYJSHPxDomb27xnEfRbovL38B5jw==", "requires": { - "@advanced-rest-client/arc-icons": "^3.0.3", - "@advanced-rest-client/arc-marked": "^1.0.4", + "@advanced-rest-client/arc-icons": "^3.0.5", + "@advanced-rest-client/arc-marked": "^1.0.6", "@advanced-rest-client/clipboard-copy": "^3.0.1", - "@advanced-rest-client/markdown-styles": "^3.1.0", + "@advanced-rest-client/markdown-styles": "^3.1.2", "@advanced-rest-client/multipart-payload-transformer": "^3.0.0", - "@advanced-rest-client/prism-highlight": "^4.0.1", - "@anypoint-web-components/anypoint-button": "^1.0.12", - "@anypoint-web-components/anypoint-input": "^0.2.6", + "@advanced-rest-client/prism-highlight": "^4.0.2", + "@anypoint-web-components/anypoint-button": "^1.0.15", + "@anypoint-web-components/anypoint-input": "^0.2.14", "@anypoint-web-components/validatable-mixin": "^1.0.2", - "@api-components/api-form-mixin": "^3.0.3", - "@api-components/api-property-form-item": "^3.0.10", - "@api-components/api-view-model-transformer": "^4.0.2", + "@api-components/api-form-mixin": "^3.0.4", + "@api-components/api-property-form-item": "^3.0.12", + "@api-components/api-view-model-transformer": "^4.1.0", "@polymer/iron-form": "^3.0.0", "@polymer/paper-toast": "^3.0.0", "@polymer/prism-element": "^3.0.0", - "lit-element": "^2.0.1", - "lit-html": "^1.1.2", - "prismjs": "^1.17.1" + "lit-element": "^2.3.1", + "lit-html": "^1.2.1", + "prismjs": "^1.20.0" + }, + "dependencies": { + "@api-components/api-example-generator": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@api-components/api-example-generator/-/api-example-generator-4.2.2.tgz", + "integrity": "sha512-fHP1ijBRwNL6V97lEpEvpKTpjT8pj8a7y+Sa1h7E7Ff5YWWNCVy7a4nq/iKj5RuTtHN4gO4fEDJRoYZhnERNNA==", + "requires": { + "@api-components/amf-helper-mixin": "^4.1.1", + "lit-element": "^2.3.1" + } + }, + "@api-components/api-view-model-transformer": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/@api-components/api-view-model-transformer/-/api-view-model-transformer-4.1.1.tgz", + "integrity": "sha512-cb5CCka8M5m3eaXSBeRFFLEwCQYmp28c4/mPFP/cQ4wqZxk9IPfGpSHh6z52TIC//WkDmp7097fnMFy27EBSUQ==", + "requires": { + "@advanced-rest-client/events-target-mixin": "^3.0.0", + "@api-components/amf-helper-mixin": "^4.1.1", + "@api-components/api-example-generator": "^4.2.2", + "lit-element": "^2.2.1" + } + } } }, "@advanced-rest-client/multipart-payload-transformer": { @@ -550,9 +572,9 @@ } }, "@api-components/amf-helper-mixin": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/@api-components/amf-helper-mixin/-/amf-helper-mixin-4.1.0.tgz", - "integrity": "sha512-42pEa0Wtvx4+GurcWsqWDDAYikn5bG+SJnoxgqzZNxCEp7IcA1D7oNEy8vRkZyLmLeuS4Ja1FijmywUwr2vzDg==" + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/@api-components/amf-helper-mixin/-/amf-helper-mixin-4.1.1.tgz", + "integrity": "sha512-gBCnGQvp0YOIGTY/fL9bX5bf/Eai5vsVwlLYvq8UTNrVwnvS96sMnuF0YETEmlQ6Vla36kQt7CfFFSYr2hSCJQ==" }, "@api-components/api-authorization": { "version": "0.2.0", @@ -586,13 +608,13 @@ } }, "@api-components/api-body-editor": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/@api-components/api-body-editor/-/api-body-editor-4.0.3.tgz", - "integrity": "sha512-0y0f+DqyZuIYCtxo+6qDB2Xi0L7yirCpOFwBax1RAs/I+Ua93oghULYRKZw7uHDqUZdYkEWZVew5kwczge9/Zg==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@api-components/api-body-editor/-/api-body-editor-4.0.4.tgz", + "integrity": "sha512-3s44LLZ9IDApoAZlJ9KA4fQLW5+qLSl9ZHSw0XjgeqFLDl9xoB5ek6M5Le2/wdBkV5eAModggUy2K5t36bdo3Q==", "requires": { "@advanced-rest-client/clipboard-copy": "^3.0.1", "@advanced-rest-client/content-type-selector": "^3.1.3", - "@advanced-rest-client/events-target-mixin": "^3.0.0", + "@advanced-rest-client/events-target-mixin": "^3.1.1", "@advanced-rest-client/files-payload-editor": "^3.0.4", "@advanced-rest-client/form-data-editor": "^3.0.7", "@advanced-rest-client/multipart-payload-editor": "^4.0.1", @@ -601,13 +623,24 @@ "@anypoint-web-components/anypoint-dropdown-menu": "^0.1.14", "@anypoint-web-components/anypoint-item": "^1.0.5", "@anypoint-web-components/anypoint-listbox": "^1.0.4", - "@api-components/amf-helper-mixin": "^4.0.21", - "@api-components/api-example-generator": "^4.0.5", + "@api-components/amf-helper-mixin": "^4.1.1", + "@api-components/api-example-generator": "^4.2.0", "@api-components/api-form-mixin": "^3.0.4", - "@api-components/api-view-model-transformer": "^4.0.0", + "@api-components/api-view-model-transformer": "^4.0.3", "@api-components/raml-aware": "^3.0.0", - "lit-element": "^2.0.1", - "lit-html": "^1.1.2" + "lit-element": "^2.3.1", + "lit-html": "^1.2.1" + }, + "dependencies": { + "@api-components/api-example-generator": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@api-components/api-example-generator/-/api-example-generator-4.2.2.tgz", + "integrity": "sha512-fHP1ijBRwNL6V97lEpEvpKTpjT8pj8a7y+Sa1h7E7Ff5YWWNCVy7a4nq/iKj5RuTtHN4gO4fEDJRoYZhnERNNA==", + "requires": { + "@api-components/amf-helper-mixin": "^4.1.1", + "lit-element": "^2.3.1" + } + } } }, "@api-components/api-example-generator": { @@ -620,54 +653,99 @@ } }, "@api-components/api-form-mixin": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@api-components/api-form-mixin/-/api-form-mixin-3.0.4.tgz", - "integrity": "sha512-BUpxkEygQke7N7P/p6tGCiVsHPcuKfJG8wVsCiEY6tQawn+DfluLHcaxzE6++d+qx0KUC1FRU64cn4KKtHHx5w==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@api-components/api-form-mixin/-/api-form-mixin-3.1.0.tgz", + "integrity": "sha512-2QXYc1p4f9my1mdTK3TyWkvplDixvp0+/iAAukyNwmUw09mFhlAYVBu5yNeBHtvktfeiIf80mSx6nHTBF23kZw==", "requires": { - "lit-element": "^2.2.1" + "@api-components/api-view-model-transformer": "^4.1.1", + "lit-element": "^2.3.1" + }, + "dependencies": { + "@api-components/api-example-generator": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@api-components/api-example-generator/-/api-example-generator-4.2.2.tgz", + "integrity": "sha512-fHP1ijBRwNL6V97lEpEvpKTpjT8pj8a7y+Sa1h7E7Ff5YWWNCVy7a4nq/iKj5RuTtHN4gO4fEDJRoYZhnERNNA==", + "requires": { + "@api-components/amf-helper-mixin": "^4.1.1", + "lit-element": "^2.3.1" + } + }, + "@api-components/api-view-model-transformer": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/@api-components/api-view-model-transformer/-/api-view-model-transformer-4.1.1.tgz", + "integrity": "sha512-cb5CCka8M5m3eaXSBeRFFLEwCQYmp28c4/mPFP/cQ4wqZxk9IPfGpSHh6z52TIC//WkDmp7097fnMFy27EBSUQ==", + "requires": { + "@advanced-rest-client/events-target-mixin": "^3.0.0", + "@api-components/amf-helper-mixin": "^4.1.1", + "@api-components/api-example-generator": "^4.2.2", + "lit-element": "^2.2.1" + } + } } }, "@api-components/api-headers-editor": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/@api-components/api-headers-editor/-/api-headers-editor-4.0.2.tgz", - "integrity": "sha512-0nByFjuGanKRwTjFaxBTS+xNq7txGjvQl1TlGQh1CsZ7VSCXAFfyMKxaTAdy1FzGDPpLF6VU69MnHxvkGL0LJg==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@api-components/api-headers-editor/-/api-headers-editor-4.1.0.tgz", + "integrity": "sha512-te8HLBTSyWuXXuqdLGcajp4kK4pFzo0NCJZlp2DmUmkePAkm01B+/MIIith7HUtBv9cfsRz1ZfHnML4mlLbRUQ==", "requires": { "@advanced-rest-client/clipboard-copy": "^3.0.1", "@advanced-rest-client/code-mirror": "^3.0.1", - "@advanced-rest-client/code-mirror-hint": "^3.0.0", - "@advanced-rest-client/events-target-mixin": "^3.0.0", - "@advanced-rest-client/headers-parser-mixin": "^3.0.0", - "@anypoint-web-components/anypoint-button": "^1.0.12", + "@advanced-rest-client/code-mirror-hint": "^3.0.2", + "@advanced-rest-client/events-target-mixin": "^3.1.1", + "@advanced-rest-client/headers-parser-mixin": "^3.1.0", + "@anypoint-web-components/anypoint-button": "^1.0.15", "@anypoint-web-components/validatable-mixin": "^1.0.2", - "@api-components/amf-helper-mixin": "^4.0.13", - "@api-components/api-form-mixin": "^3.0.3", - "@api-components/api-headers-form": "^4.0.0", - "@api-components/api-view-model-transformer": "^4.0.0", + "@api-components/amf-helper-mixin": "^4.1.1", + "@api-components/api-form-mixin": "^3.1.0", + "@api-components/api-headers-form": "^4.1.0", + "@api-components/api-view-model-transformer": "^4.1.1", "@api-components/raml-aware": "^3.0.0", - "lit-element": "^2.0.1", - "lit-html": "^1.1.2" + "lit-element": "^2.3.1", + "lit-html": "^1.2.1" + }, + "dependencies": { + "@api-components/api-example-generator": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@api-components/api-example-generator/-/api-example-generator-4.2.2.tgz", + "integrity": "sha512-fHP1ijBRwNL6V97lEpEvpKTpjT8pj8a7y+Sa1h7E7Ff5YWWNCVy7a4nq/iKj5RuTtHN4gO4fEDJRoYZhnERNNA==", + "requires": { + "@api-components/amf-helper-mixin": "^4.1.1", + "lit-element": "^2.3.1" + } + }, + "@api-components/api-view-model-transformer": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/@api-components/api-view-model-transformer/-/api-view-model-transformer-4.1.1.tgz", + "integrity": "sha512-cb5CCka8M5m3eaXSBeRFFLEwCQYmp28c4/mPFP/cQ4wqZxk9IPfGpSHh6z52TIC//WkDmp7097fnMFy27EBSUQ==", + "requires": { + "@advanced-rest-client/events-target-mixin": "^3.0.0", + "@api-components/amf-helper-mixin": "^4.1.1", + "@api-components/api-example-generator": "^4.2.2", + "lit-element": "^2.2.1" + } + } } }, "@api-components/api-headers-form": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/@api-components/api-headers-form/-/api-headers-form-4.0.3.tgz", - "integrity": "sha512-ODXAo+AyINOp2hveo8YiP5/4kCnT2i/gJYfvbSHsgHwijbAgdf0Hv8qZMDASFBTH+h5anUDeK9dg4DIy6q921Q==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@api-components/api-headers-form/-/api-headers-form-4.1.0.tgz", + "integrity": "sha512-3K62pwBYa+3cy01RzDcTrq8DfOmnxijsFmBdkWRm7eeCzfmeiH5dxDK4e84c8aKL8mYwhCEgyjd5CKJIhXE43Q==", "requires": { "@advanced-rest-client/arc-definitions": "^3.0.0", - "@advanced-rest-client/arc-icons": "^3.0.4", + "@advanced-rest-client/arc-icons": "^3.0.5", "@advanced-rest-client/arc-marked": "^1.0.6", - "@advanced-rest-client/markdown-styles": "^3.1.1", - "@anypoint-web-components/anypoint-autocomplete": "^0.1.4", + "@advanced-rest-client/markdown-styles": "^3.1.2", + "@anypoint-web-components/anypoint-autocomplete": "^0.1.5", "@anypoint-web-components/anypoint-button": "^1.0.15", "@anypoint-web-components/anypoint-checkbox": "^1.0.2", "@anypoint-web-components/anypoint-dropdown-menu": "^0.1.14", - "@anypoint-web-components/anypoint-input": "^0.2.12", + "@anypoint-web-components/anypoint-input": "^0.2.14", "@anypoint-web-components/anypoint-listbox": "^1.0.4", "@anypoint-web-components/validatable-mixin": "^1.0.2", - "@api-components/api-form-mixin": "^3.0.4", - "@api-components/api-property-form-item": "^3.0.11", + "@api-components/api-form-mixin": "^3.1.0", + "@api-components/api-property-form-item": "^3.0.12", "@polymer/iron-form": "^3.0.0", - "lit-element": "^2.2.1" + "lit-element": "^2.3.1" } }, "@api-components/api-model-generator": { @@ -745,50 +823,94 @@ } }, "@api-components/api-url-data-model": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@api-components/api-url-data-model/-/api-url-data-model-5.0.0.tgz", - "integrity": "sha512-rwCRRx69gQ6rY2K+crgsOQbz78O+T8hCtyYiE0m45jyEnhrB41VjFMmuQ6MUeDxw/YQXiiq6OXKlFMf6Wdr4Ig==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@api-components/api-url-data-model/-/api-url-data-model-5.0.1.tgz", + "integrity": "sha512-9Y0gTkF5/JhQNuZAl42J1I4Ie/UsuS5WUQwvxo+E9rPrJWVZAYPggsQANvZDkeEh2BhYoOE8ca5NhnpAsFcnHw==", "requires": { - "@api-components/amf-helper-mixin": "^4.0.26", - "@api-components/api-view-model-transformer": "^4.0.3", - "@api-components/raml-aware": "^3.0.0", + "@api-components/amf-helper-mixin": "^4.1.1", + "@api-components/api-view-model-transformer": "^4.1.0", "lit-element": "^2.3.1" + }, + "dependencies": { + "@api-components/api-example-generator": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@api-components/api-example-generator/-/api-example-generator-4.2.2.tgz", + "integrity": "sha512-fHP1ijBRwNL6V97lEpEvpKTpjT8pj8a7y+Sa1h7E7Ff5YWWNCVy7a4nq/iKj5RuTtHN4gO4fEDJRoYZhnERNNA==", + "requires": { + "@api-components/amf-helper-mixin": "^4.1.1", + "lit-element": "^2.3.1" + } + }, + "@api-components/api-view-model-transformer": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/@api-components/api-view-model-transformer/-/api-view-model-transformer-4.1.1.tgz", + "integrity": "sha512-cb5CCka8M5m3eaXSBeRFFLEwCQYmp28c4/mPFP/cQ4wqZxk9IPfGpSHh6z52TIC//WkDmp7097fnMFy27EBSUQ==", + "requires": { + "@advanced-rest-client/events-target-mixin": "^3.0.0", + "@api-components/amf-helper-mixin": "^4.1.1", + "@api-components/api-example-generator": "^4.2.2", + "lit-element": "^2.2.1" + } + } } }, "@api-components/api-url-editor": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@api-components/api-url-editor/-/api-url-editor-4.0.1.tgz", - "integrity": "sha512-kpe4R2fR2pjg1B4v+FXOkixkSivKgUSVrdkcuDce0N87tCOL1a5IWGVzYoiVZvxfIYtfsWz+7HJuGjy6zs+L/w==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/@api-components/api-url-editor/-/api-url-editor-4.0.3.tgz", + "integrity": "sha512-9x8GejN+MTRx84DmZ788Dv/LyQ4Azkm0oezNcYQrBTjJj2UG13lnZAu8fsZL+tmbcw3LGvuKxX/Bta+MnynIwQ==", "requires": { "@advanced-rest-client/events-target-mixin": "^3.0.0", "@anypoint-web-components/anypoint-input": "^0.2.6", "@anypoint-web-components/validatable-mixin": "^1.0.2", + "@api-components/api-view-model-transformer": "^4.1.0", "lit-element": "^2.0.1", "lit-html": "^1.1.2" + }, + "dependencies": { + "@api-components/api-example-generator": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@api-components/api-example-generator/-/api-example-generator-4.2.2.tgz", + "integrity": "sha512-fHP1ijBRwNL6V97lEpEvpKTpjT8pj8a7y+Sa1h7E7Ff5YWWNCVy7a4nq/iKj5RuTtHN4gO4fEDJRoYZhnERNNA==", + "requires": { + "@api-components/amf-helper-mixin": "^4.1.1", + "lit-element": "^2.3.1" + } + }, + "@api-components/api-view-model-transformer": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/@api-components/api-view-model-transformer/-/api-view-model-transformer-4.1.1.tgz", + "integrity": "sha512-cb5CCka8M5m3eaXSBeRFFLEwCQYmp28c4/mPFP/cQ4wqZxk9IPfGpSHh6z52TIC//WkDmp7097fnMFy27EBSUQ==", + "requires": { + "@advanced-rest-client/events-target-mixin": "^3.0.0", + "@api-components/amf-helper-mixin": "^4.1.1", + "@api-components/api-example-generator": "^4.2.2", + "lit-element": "^2.2.1" + } + } } }, "@api-components/api-url-params-editor": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/@api-components/api-url-params-editor/-/api-url-params-editor-4.0.2.tgz", - "integrity": "sha512-MDxBRAi2hyC3kIeG8jQlrFQSStYO8EVfx7txNwSFvLaJ9BAnTuCOZx9qsGTcSrjir9rmLg7lrEJyThcU0eggPw==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@api-components/api-url-params-editor/-/api-url-params-editor-4.1.0.tgz", + "integrity": "sha512-8VBFHU8sokvU1PFZKZZXQXzgTpnYBPbHATSm56hBuXNxcRbaMr2pA+QxsELFUfSDb3rb1rbBQ7Qhij69ZQYJdg==", "requires": { - "@advanced-rest-client/arc-icons": "^3.0.4", + "@advanced-rest-client/arc-icons": "^3.0.5", "@advanced-rest-client/arc-marked": "^1.0.6", - "@advanced-rest-client/events-target-mixin": "^3.0.0", - "@advanced-rest-client/markdown-styles": "^3.1.0", - "@anypoint-web-components/anypoint-button": "^1.0.14", + "@advanced-rest-client/events-target-mixin": "^3.1.1", + "@advanced-rest-client/markdown-styles": "^3.1.2", + "@anypoint-web-components/anypoint-button": "^1.0.15", "@anypoint-web-components/anypoint-checkbox": "^1.0.2", - "@anypoint-web-components/anypoint-dropdown-menu": "^0.1.13", - "@anypoint-web-components/anypoint-input": "^0.2.11", + "@anypoint-web-components/anypoint-dropdown-menu": "^0.1.14", + "@anypoint-web-components/anypoint-input": "^0.2.14", "@anypoint-web-components/anypoint-item": "^1.0.5", "@anypoint-web-components/anypoint-listbox": "^1.0.4", "@anypoint-web-components/validatable-mixin": "^1.0.2", - "@api-components/api-form-mixin": "^3.0.3", - "@api-components/api-property-form-item": "^3.0.11", + "@api-components/api-form-mixin": "^3.1.0", + "@api-components/api-property-form-item": "^3.0.12", "@polymer/iron-collapse": "^3.0.0", "@polymer/iron-form": "^3.0.0", - "lit-element": "^2.0.1", - "lit-html": "^1.1.2" + "lit-element": "^2.3.1", + "lit-html": "^1.2.1" } }, "@api-components/api-view-model-transformer": { diff --git a/package.json b/package.json index cb95dfb..90d1072 100644 --- a/package.json +++ b/package.json @@ -39,15 +39,15 @@ "@advanced-rest-client/url-parser": "^3.0.1", "@advanced-rest-client/uuid-generator": "^3.0.2", "@anypoint-web-components/anypoint-button": "^1.0.15", - "@api-components/amf-helper-mixin": "^4.1.0", + "@api-components/amf-helper-mixin": "^4.1.1", "@api-components/api-authorization": "^0.2.0", - "@api-components/api-body-editor": "^4.0.3", - "@api-components/api-form-mixin": "^3.0.4", - "@api-components/api-headers-editor": "^4.0.2", + "@api-components/api-body-editor": "^4.0.4", + "@api-components/api-form-mixin": "^3.1.0", + "@api-components/api-headers-editor": "^4.1.0", "@api-components/api-server-selector": "^0.4.0", - "@api-components/api-url-data-model": "^5.0.0", - "@api-components/api-url-editor": "^4.0.1", - "@api-components/api-url-params-editor": "^4.0.2", + "@api-components/api-url-data-model": "^5.0.1", + "@api-components/api-url-editor": "^4.0.3", + "@api-components/api-url-params-editor": "^4.1.0", "@api-components/raml-aware": "^3.0.0", "@polymer/paper-spinner": "^3.0.2", "@polymer/paper-toast": "^3.0.0", @@ -77,22 +77,21 @@ "karma": "^5.0.2", "lint-staged": "^10.1.7", "sinon": "^9.0.2", + "typescript": "^3.8.3", "typescript-lit-html-plugin": "^0.9.0" }, "scripts": { "test": "karma start --coverage", "update-types": "gen-typescript-declarations --deleteExisting --outDir .", "start": "es-dev-server --app-index demo/index.html --node-resolve --open --watch", - "start:compatibility": "es-dev-server --app-index demo/index.html --compatibility all --node-resolve --open --watch", "lint:eslint": "eslint --ext .js,.html .", "format:eslint": "eslint --ext .js,.html . --fix", "lint:prettier": "prettier \"**/*.js\" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)", "format:prettier": "prettier \"**/*.js\" --write", "lint": "npm run lint:eslint && npm run lint:prettier", + "lint:types": "tsc", "format": "npm run format:eslint && npm run format:prettier", "test:watch": "karma start --auto-watch=true --single-run=false", - "test:legacy": "karma start --compatibility auto --coverage", - "test:legacy:watch": "karma start --compatibility auto --auto-watch=true --single-run=false", "test:sl": "karma start karma.sl.config.js --compatibility auto --coverage", "generate-model": "node demo/model.js", "prepare": "node demo/model.js" diff --git a/src/ApiRequestEditor.js b/src/ApiRequestEditor.js index cd9d67e..cbcc200 100644 --- a/src/ApiRequestEditor.js +++ b/src/ApiRequestEditor.js @@ -17,7 +17,7 @@ import { EventsTargetMixin } from '@advanced-rest-client/events-target-mixin/eve import { AmfHelperMixin } from '@api-components/amf-helper-mixin/amf-helper-mixin.js'; import { UrlParser } from '@advanced-rest-client/url-parser/url-parser.js'; import { HeadersParserMixin } from '@advanced-rest-client/headers-parser-mixin/headers-parser-mixin.js'; -import formStyles from '@api-components/api-form-mixin/api-form-styles.js'; +import { apiFormStyles } from '@api-components/api-form-mixin/index.js'; import '@api-components/api-url-data-model/api-url-data-model.js'; import '@api-components/api-url-editor/api-url-editor.js'; import '@api-components/api-url-params-editor/api-url-params-editor.js'; @@ -270,7 +270,7 @@ export class ApiRequestEditor extends HeadersParserMixin(AmfHelperMixin(EventsTa get styles() { return [ - formStyles, + apiFormStyles, styles, ]; }