From 9e74a8c2e7baa57c3d5744621ae996d4079b0ee9 Mon Sep 17 00:00:00 2001 From: liyasthomas Date: Thu, 4 Nov 2021 18:23:50 +0530 Subject: [PATCH] chore: lint + bump deps --- package.json | 4 +- packages/hoppscotch-app/.eslintrc.js | 8 +- packages/hoppscotch-app/.stylelintrc.js | 9 +- .../hoppscotch-app/assets/scss/styles.scss | 8 +- .../hoppscotch-app/assets/scss/themes.scss | 197 +-- .../hoppscotch-app/components/app/Header.vue | 2 +- .../components/realtime/Mqtt.vue | 2 +- .../components/realtime/Socketio.vue | 2 +- .../components/realtime/Sse.vue | 2 +- .../components/realtime/Websocket.vue | 2 +- .../components/teams/Invite.vue | 8 +- .../newstore/localpersistence.ts | 25 +- packages/hoppscotch-app/package.json | 33 +- .../{.eslintrc.js => .eslintrc.cjs} | 1 + .../{.prettierrc.js => .prettierrc.cjs} | 0 packages/hoppscotch-js-sandbox/jest.config.js | 2 +- packages/hoppscotch-js-sandbox/jest.setup.ts | 2 +- packages/hoppscotch-js-sandbox/package.json | 15 +- .../src/__tests__/preRequest.spec.ts | 28 +- .../src/__tests__/testing/expect/toBe.spec.ts | 42 +- .../testing/expect/toBeLevelxxx.spec.ts | 269 ++-- .../__tests__/testing/expect/toBeType.spec.ts | 124 +- .../testing/expect/toHaveLength.spec.ts | 70 +- .../src/__tests__/testing/test-runner.spec.ts | 10 +- .../src/__tests__/utils.spec.ts | 12 +- packages/hoppscotch-js-sandbox/src/demo.ts | 10 +- .../hoppscotch-js-sandbox/src/global.d.ts | 2 +- packages/hoppscotch-js-sandbox/src/index.ts | 20 +- .../hoppscotch-js-sandbox/src/preRequest.ts | 80 +- .../hoppscotch-js-sandbox/src/test-runner.ts | 221 +-- packages/hoppscotch-js-sandbox/src/utils.ts | 19 +- pnpm-lock.yaml | 1284 ++++++++--------- 32 files changed, 1248 insertions(+), 1265 deletions(-) rename packages/hoppscotch-js-sandbox/{.eslintrc.js => .eslintrc.cjs} (92%) rename packages/hoppscotch-js-sandbox/{.prettierrc.js => .prettierrc.cjs} (100%) diff --git a/package.json b/package.json index 191cd5ab2..9814146b3 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "lint-staged": "^11.2.6" }, "devDependencies": { - "@commitlint/cli": "^13.2.1", - "@commitlint/config-conventional": "^13.2.0" + "@commitlint/cli": "^14.1.0", + "@commitlint/config-conventional": "^14.1.0" } } diff --git a/packages/hoppscotch-app/.eslintrc.js b/packages/hoppscotch-app/.eslintrc.js index 9b30a5797..39d99ad61 100644 --- a/packages/hoppscotch-app/.eslintrc.js +++ b/packages/hoppscotch-app/.eslintrc.js @@ -18,9 +18,7 @@ module.exports = { "plugin:prettier/recommended", "plugin:nuxt/recommended", ], - ignorePatterns: [ - "helpers/backend/graphql.ts" - ], + ignorePatterns: ["helpers/backend/graphql.ts"], plugins: ["vue", "prettier"], // add your custom rules here rules: { @@ -43,8 +41,12 @@ module.exports = { "vue/multiline-html-element-content-newline": "off", "vue/require-default-prop": "warn", "vue/require-prop-types": "warn", + "vue/multi-word-component-names": "off", "prettier/prettier": ["warn", { semi: false }], "import/no-named-as-default": "off", + "import/prefer-default-export": "off", + "import/no-named-as-default-member": "off", + "import/default": "off", "no-undef": "off", // localStorage block "no-restricted-globals": [ diff --git a/packages/hoppscotch-app/.stylelintrc.js b/packages/hoppscotch-app/.stylelintrc.js index f6776cf92..6cb021fec 100644 --- a/packages/hoppscotch-app/.stylelintrc.js +++ b/packages/hoppscotch-app/.stylelintrc.js @@ -1,5 +1,10 @@ module.exports = { - extends: ["stylelint-config-standard", "stylelint-config-prettier"], + extends: [ + "stylelint-config-standard", + "stylelint-config-prettier", + "stylelint-config-standard-scss", + ], + defaultSeverity: "warning", // add your custom config here // https://stylelint.io/user-guide/configuration rules: { @@ -19,5 +24,7 @@ module.exports = { ], "declaration-block-trailing-semicolon": null, "no-descending-specificity": null, + "selector-class-pattern": null, + "selector-id-pattern": null, }, } diff --git a/packages/hoppscotch-app/assets/scss/styles.scss b/packages/hoppscotch-app/assets/scss/styles.scss index 4e0517282..a576933f6 100644 --- a/packages/hoppscotch-app/assets/scss/styles.scss +++ b/packages/hoppscotch-app/assets/scss/styles.scss @@ -69,11 +69,11 @@ body { @keyframes fade { 0% { - opacity: 0; + @apply opacity-0; } 100% { - opacity: 1; + @apply opacity-100; } } @@ -182,10 +182,6 @@ a { @apply max-h-46; @apply items-stretch; @apply overflow-y-auto; - - // &::-webkit-scrollbar { - // @apply hidden; - // } } hr { diff --git a/packages/hoppscotch-app/assets/scss/themes.scss b/packages/hoppscotch-app/assets/scss/themes.scss index 11badd6f7..4d240d691 100644 --- a/packages/hoppscotch-app/assets/scss/themes.scss +++ b/packages/hoppscotch-app/assets/scss/themes.scss @@ -1,374 +1,245 @@ -@mixin baseTheme { +@mixin base-theme { --font-sans: "Inter", sans-serif; --font-mono: "Roboto Mono", monospace; --font-icon: "Material Icons"; } -@mixin darkTheme { - // Background color +@mixin dark-theme { --primary-color: theme("colors.true-gray.900"); - // Light Background color --primary-light-color: theme("colors.dark.600"); - // Dark Background color --primary-dark-color: theme("colors.true-gray.800"); - // Text color --secondary-color: theme("colors.true-gray.400"); - // Light Text color --secondary-light-color: theme("colors.true-gray.500"); - // Dark Text color --secondary-dark-color: theme("colors.true-gray.100"); - // Border color --divider-color: theme("colors.true-gray.800"); - // Light Border color --divider-light-color: theme("colors.dark.500"); - // Dark Border color --divider-dark-color: theme("colors.dark.300"); - // Error color --error-color: theme("colors.warm-gray.800"); - // Tooltip color --tooltip-color: theme("colors.true-gray.100"); - // Popover color --popover-color: theme("colors.dark.700"); - // Editor theme --editor-theme: "merbivore_soft"; } -@mixin lightTheme { - // Background color +@mixin light-theme { --primary-color: theme("colors.white"); - // Light Background color --primary-light-color: theme("colors.true-gray.50"); - // Dark Background color --primary-dark-color: theme("colors.true-gray.100"); - // Text color --secondary-color: theme("colors.true-gray.500"); - // Light Text color --secondary-light-color: theme("colors.true-gray.400"); - // Dark Text color --secondary-dark-color: theme("colors.true-gray.900"); - // Border color --divider-color: theme("colors.true-gray.200"); - // Light Border color --divider-light-color: theme("colors.true-gray.100"); - // Dark Border color --divider-dark-color: theme("colors.true-gray.300"); - // Error color --error-color: theme("colors.yellow.100"); - // Tooltip color --tooltip-color: theme("colors.true-gray.800"); - // Popover color --popover-color: theme("colors.white"); - // Editor theme --editor-theme: "textmate"; } -@mixin blackTheme { - // Background color +@mixin black-theme { --primary-color: theme("colors.dark.900"); - // Light Background color --primary-light-color: theme("colors.true-gray.900"); - // Dark Background color --primary-dark-color: theme("colors.dark.800"); - // Text color --secondary-color: theme("colors.true-gray.400"); - // Light Text color --secondary-light-color: theme("colors.true-gray.500"); - // Dark Text color --secondary-dark-color: theme("colors.true-gray.100"); - // Border color --divider-color: theme("colors.true-gray.800"); - // Light Border color --divider-light-color: theme("colors.dark.700"); - // Dark Border color --divider-dark-color: theme("colors.dark.300"); - // Error color --error-color: theme("colors.warm-gray.900"); - // Tooltip color --tooltip-color: theme("colors.true-gray.100"); - // Popover color --popover-color: theme("colors.dark.700"); - // Editor theme --editor-theme: "twilight"; } -@mixin greenTheme { - // Accent color +@mixin green-theme { --accent-color: theme("colors.green.500"); - // Light Accent color --accent-light-color: theme("colors.green.400"); - // Dark Accent color --accent-dark-color: theme("colors.green.600"); - // Light Contrast color --accent-contrast-color: theme("colors.white"); - // Gradient from --gradient-from-color: theme("colors.green.200"); - // Gradient via --gradient-via-color: theme("colors.green.400"); - // Gradient to --gradient-to-color: theme("colors.green.600"); } -@mixin tealTheme { - // Accent color +@mixin teal-theme { --accent-color: theme("colors.teal.500"); - // Light Accent color --accent-light-color: theme("colors.teal.400"); - // Dark Accent color --accent-dark-color: theme("colors.teal.600"); - // Light Contrast color --accent-contrast-color: theme("colors.white"); - // Gradient from --gradient-from-color: theme("colors.teal.200"); - // Gradient via --gradient-via-color: theme("colors.teal.400"); - // Gradient to --gradient-to-color: theme("colors.teal.600"); } -@mixin blueTheme { - // Accent color +@mixin blue-theme { --accent-color: theme("colors.blue.500"); - // Light Accent color --accent-light-color: theme("colors.blue.400"); - // Dark Accent color --accent-dark-color: theme("colors.blue.600"); - // Light Contrast color --accent-contrast-color: theme("colors.white"); - // Gradient from --gradient-from-color: theme("colors.blue.200"); - // Gradient via --gradient-via-color: theme("colors.blue.400"); - // Gradient to --gradient-to-color: theme("colors.blue.600"); } -@mixin indigoTheme { - // Accent color +@mixin indigo-theme { --accent-color: theme("colors.indigo.500"); - // Light Accent color --accent-light-color: theme("colors.indigo.400"); - // Dark Accent color --accent-dark-color: theme("colors.indigo.600"); - // Light Contrast color --accent-contrast-color: theme("colors.white"); - // Gradient from --gradient-from-color: theme("colors.indigo.200"); - // Gradient via --gradient-via-color: theme("colors.indigo.400"); - // Gradient to --gradient-to-color: theme("colors.indigo.600"); } -@mixin purpleTheme { - // Accent color +@mixin purple-theme { --accent-color: theme("colors.purple.500"); - // Light Accent color --accent-light-color: theme("colors.purple.400"); - // Dark Accent color --accent-dark-color: theme("colors.purple.600"); - // Light Contrast color --accent-contrast-color: theme("colors.white"); - // Gradient from --gradient-from-color: theme("colors.purple.200"); - // Gradient via --gradient-via-color: theme("colors.purple.400"); - // Gradient to --gradient-to-color: theme("colors.purple.600"); } -@mixin yellowTheme { - // Accent color +@mixin yellow-theme { --accent-color: theme("colors.yellow.500"); - // Light Accent color --accent-light-color: theme("colors.yellow.400"); - // Dark Accent color --accent-dark-color: theme("colors.yellow.600"); - // Light Contrast color --accent-contrast-color: theme("colors.white"); - // Gradient from --gradient-from-color: theme("colors.yellow.200"); - // Gradient via --gradient-via-color: theme("colors.yellow.400"); - // Gradient to --gradient-to-color: theme("colors.yellow.600"); } -@mixin orangeTheme { - // Accent color +@mixin orange-theme { --accent-color: theme("colors.orange.500"); - // Light Accent color --accent-light-color: theme("colors.orange.400"); - // Dark Accent color --accent-dark-color: theme("colors.orange.600"); - // Light Contrast color --accent-contrast-color: theme("colors.white"); - // Gradient from --gradient-from-color: theme("colors.orange.200"); - // Gradient via --gradient-via-color: theme("colors.orange.400"); - // Gradient to --gradient-to-color: theme("colors.orange.600"); } -@mixin redTheme { - // Accent color +@mixin red-theme { --accent-color: theme("colors.red.500"); - // Light Accent color --accent-light-color: theme("colors.red.400"); - // Dark Accent color --accent-dark-color: theme("colors.red.600"); - // Light Contrast color --accent-contrast-color: theme("colors.white"); - // Gradient from --gradient-from-color: theme("colors.red.200"); - // Gradient via --gradient-via-color: theme("colors.red.400"); - // Gradient to --gradient-to-color: theme("colors.red.600"); } -@mixin pinkTheme { - // Accent color +@mixin pink-theme { --accent-color: theme("colors.pink.500"); - // Light Accent color --accent-light-color: theme("colors.pink.400"); - // Dark Accent color --accent-dark-color: theme("colors.pink.600"); - // Light Contrast color --accent-contrast-color: theme("colors.white"); - // Gradient from --gradient-from-color: theme("colors.pink.200"); - // Gradient via --gradient-via-color: theme("colors.pink.400"); - // Gradient to --gradient-to-color: theme("colors.pink.600"); } :root { - @include baseTheme; - @include darkTheme; - @include greenTheme; + @include base-theme; + @include dark-theme; + @include green-theme; } :root.light { - @include lightTheme; + @include light-theme; } :root.dark { - @include darkTheme; + @include dark-theme; } :root.black { - @include blackTheme; + @include black-theme; } :root[data-accent="blue"] { - @include blueTheme; + @include blue-theme; } :root[data-accent="green"] { - @include greenTheme; + @include green-theme; } :root[data-accent="teal"] { - @include tealTheme; + @include teal-theme; } :root[data-accent="indigo"] { - @include indigoTheme; + @include indigo-theme; } :root[data-accent="purple"] { - @include purpleTheme; + @include purple-theme; } :root[data-accent="orange"] { - @include orangeTheme; + @include orange-theme; } :root[data-accent="pink"] { - @include pinkTheme; + @include pink-theme; } :root[data-accent="red"] { - @include redTheme; + @include red-theme; } :root[data-accent="yellow"] { - @include yellowTheme; + @include yellow-theme; } -@mixin fontSmall { - // Font size +@mixin font-small { --body-font-size: 0.75rem; - // Line height --body-line-height: 1rem; - // Upper primary sticky fold --upper-primary-sticky-fold: 4.125rem; - // Upper secondary sticky fold --upper-secondary-sticky-fold: 6.125rem; - // Upper tertiary sticky fold --upper-tertiary-sticky-fold: 8.188rem; - // Lower primary sticky fold --lower-primary-sticky-fold: 3rem; - // Lower secondary sticky fold --lower-secondary-sticky-fold: 5rem; - // Sidebar primary sticky fold --sidebar-primary-sticky-fold: 2rem; - // Sidebar secondary sticky fold --sidebar-secondary-sticky-fold: 4rem; } -@mixin fontMedium { - // Font size +@mixin font-medium { --body-font-size: 0.875rem; - // Line height --body-line-height: 1.25rem; - // Upper primary sticky fold --upper-primary-sticky-fold: 4.375rem; - // Upper secondary sticky fold --upper-secondary-sticky-fold: 6.625rem; - // Upper tertiary sticky fold --upper-tertiary-sticky-fold: 8.813rem; - // Lower primary sticky fold --lower-primary-sticky-fold: 3.25rem; - // Lower secondary sticky fold --lower-secondary-sticky-fold: 5.5rem; - // Sidebar primary sticky fold --sidebar-primary-sticky-fold: 2.25rem; - // Sidebar secondary sticky fold --sidebar-secondary-sticky-fold: 4.5rem; } -@mixin fontLarge { - // Font size +@mixin font-large { --body-font-size: 1rem; - // Line height --body-line-height: 1.5rem; - // Upper primary sticky fold --upper-primary-sticky-fold: 4.625rem; - // Upper secondary sticky fold --upper-secondary-sticky-fold: 7.125rem; - // Upper tertiary sticky fold --upper-tertiary-sticky-fold: 9.5rem; - // Lower primary sticky fold --lower-primary-sticky-fold: 3.5rem; - // Lower secondary sticky fold --lower-secondary-sticky-fold: 6rem; - // Sidebar primary sticky fold --sidebar-primary-sticky-fold: 2.5rem; - // Sidebar secondary sticky fold --sidebar-secondary-sticky-fold: 5rem; } :root[data-font-size="small"] { - @include fontSmall; + @include font-small; } :root[data-font-size="medium"] { - @include fontMedium; + @include font-medium; } :root[data-font-size="large"] { - @include fontLarge; + @include font-large; } diff --git a/packages/hoppscotch-app/components/app/Header.vue b/packages/hoppscotch-app/components/app/Header.vue index 6ae5faccc..d8e3cf0ff 100644 --- a/packages/hoppscotch-app/components/app/Header.vue +++ b/packages/hoppscotch-app/components/app/Header.vue @@ -146,7 +146,7 @@ defineActionHandler("modals.search.toggle", () => { showSearch.value = !showSearch.value }) -onMounted(async () => { +onMounted(() => { window.addEventListener("online", () => { isOnLine.value = true }) diff --git a/packages/hoppscotch-app/components/realtime/Mqtt.vue b/packages/hoppscotch-app/components/realtime/Mqtt.vue index 39b615cc9..78fbb9a5b 100644 --- a/packages/hoppscotch-app/components/realtime/Mqtt.vue +++ b/packages/hoppscotch-app/components/realtime/Mqtt.vue @@ -194,7 +194,7 @@ export default defineComponent({ this.debouncer() }, }, - mounted() { + created() { if (process.browser) { this.worker = this.$worker.createRejexWorker() this.worker.addEventListener("message", this.workerResponseHandler) diff --git a/packages/hoppscotch-app/components/realtime/Socketio.vue b/packages/hoppscotch-app/components/realtime/Socketio.vue index 72afe1351..570bc7207 100644 --- a/packages/hoppscotch-app/components/realtime/Socketio.vue +++ b/packages/hoppscotch-app/components/realtime/Socketio.vue @@ -268,7 +268,7 @@ export default defineComponent({ else this.$refs.versionOptions.tippy().enable() }, }, - mounted() { + created() { if (process.browser) { this.worker = this.$worker.createRejexWorker() this.worker.addEventListener("message", this.workerResponseHandler) diff --git a/packages/hoppscotch-app/components/realtime/Sse.vue b/packages/hoppscotch-app/components/realtime/Sse.vue index 45bd3f492..042069126 100644 --- a/packages/hoppscotch-app/components/realtime/Sse.vue +++ b/packages/hoppscotch-app/components/realtime/Sse.vue @@ -126,7 +126,7 @@ export default defineComponent({ this.debouncer() }, }, - mounted() { + created() { if (process.browser) { this.worker = this.$worker.createRejexWorker() this.worker.addEventListener("message", this.workerResponseHandler) diff --git a/packages/hoppscotch-app/components/realtime/Websocket.vue b/packages/hoppscotch-app/components/realtime/Websocket.vue index ae56aa98e..66492946c 100644 --- a/packages/hoppscotch-app/components/realtime/Websocket.vue +++ b/packages/hoppscotch-app/components/realtime/Websocket.vue @@ -272,7 +272,7 @@ export default defineComponent({ deep: true, }, }, - mounted() { + created() { if (process.browser) { this.worker = this.$worker.createRejexWorker() this.worker.addEventListener("message", this.workerResponseHandler) diff --git a/packages/hoppscotch-app/components/teams/Invite.vue b/packages/hoppscotch-app/components/teams/Invite.vue index ec2fe789e..31c2923e5 100644 --- a/packages/hoppscotch-app/components/teams/Invite.vue +++ b/packages/hoppscotch-app/components/teams/Invite.vue @@ -402,6 +402,9 @@ import { TeamInvitationAddedDocument, TeamInvitationRemovedDocument, TeamMemberRole, + GetPendingInvitesDocument, + GetPendingInvitesQuery, + GetPendingInvitesQueryVariables, } from "../../helpers/backend/graphql" import { createTeamInvitation, @@ -409,11 +412,6 @@ import { revokeTeamInvitation, } from "../../helpers/backend/mutations/TeamInvitation" import { GQLError, useGQLQuery } from "~/helpers/backend/GQLClient" -import { - GetPendingInvitesDocument, - GetPendingInvitesQuery, - GetPendingInvitesQueryVariables, -} from "~/helpers/backend/graphql" const { $toast, diff --git a/packages/hoppscotch-app/newstore/localpersistence.ts b/packages/hoppscotch-app/newstore/localpersistence.ts index 804a62f39..112d008db 100644 --- a/packages/hoppscotch-app/newstore/localpersistence.ts +++ b/packages/hoppscotch-app/newstore/localpersistence.ts @@ -190,20 +190,17 @@ function setupEnvironmentsPersistence() { } function setupSelectedEnvPersistence() { - const selectedEnvIndex = - pipe( - // Value from local storage can be nullable - O.fromNullable( - window.localStorage.getItem("selectedEnvIndex") - ), - O.map(parseInt), // If not null, parse to integer - O.chain( - O.fromPredicate( - Number.isInteger // Check if the number is proper int (not NaN) - ) - ), - O.getOrElse(() => -1) // If all the above conditions pass, we are good, else set default value (-1) - ) + const selectedEnvIndex = pipe( + // Value from local storage can be nullable + O.fromNullable(window.localStorage.getItem("selectedEnvIndex")), + O.map(parseInt), // If not null, parse to integer + O.chain( + O.fromPredicate( + Number.isInteger // Check if the number is proper int (not NaN) + ) + ), + O.getOrElse(() => -1) // If all the above conditions pass, we are good, else set default value (-1) + ) setCurrentEnvironment(selectedEnvIndex) diff --git a/packages/hoppscotch-app/package.json b/packages/hoppscotch-app/package.json index 33868fdf5..c71e00839 100644 --- a/packages/hoppscotch-app/package.json +++ b/packages/hoppscotch-app/package.json @@ -17,11 +17,11 @@ "start": "nuxt start", "generate": "nuxt generate --modern", "analyze": "npx nuxt build -a", - "lint:script": "eslint --ext .ts,.js,.vue --ignore-path .gitignore", - "lint:style": "stylelint **/*.{css,scss,vue} --ignore-path .gitignore", + "lint:script": "eslint --ext .ts,.js,.vue --ignore-path .gitignore .", + "lint:style": "stylelint **/*.{css,scss} --ignore-path .gitignore", "lint": "pnpm run lint:script && pnpm run lint:style", - "lintfix:script": "eslint --fix --ext .ts,.js,.vue --ignore-path .gitignore", - "lintfix:style": "stylelint --fix **/*.{css,scss,vue} --ignore-path .gitignore", + "lintfix:script": "eslint --fix --ext .ts,.js,.vue --ignore-path .gitignore .", + "lintfix:style": "stylelint --fix **/*.{css,scss} --ignore-path .gitignore", "lintfix": "pnpm run lintfix:script && pnpm run lintfix:style", "test": "jest", "do-dev": "pnpm run dev", @@ -38,7 +38,7 @@ "@nuxtjs/axios": "^5.13.6", "@nuxtjs/composition-api": "^0.29.3", "@nuxtjs/gtm": "^2.4.0", - "@nuxtjs/i18n": "^7.1.0", + "@nuxtjs/i18n": "^7.2.0", "@nuxtjs/robots": "^2.5.0", "@nuxtjs/sitemap": "^2.4.0", "@nuxtjs/toast": "^3.3.1", @@ -50,7 +50,7 @@ "axios": "^0.24.0", "codemirror": "^5.63.3", "codemirror-theme-github": "^1.0.0", - "core-js": "^3.19.0", + "core-js": "^3.19.1", "esprima": "^4.0.1", "firebase": "^9.2.0", "fp-ts": "^2.11.5", @@ -72,7 +72,7 @@ "socket.io-client-v4": "npm:socket.io-client@^4.3.2", "socketio-wildcard": "^2.0.0", "splitpanes": "^2.3.8", - "subscriptions-transport-ws": "^0.9.19", + "subscriptions-transport-ws": "^0.11.0", "tern": "^0.24.3", "uuid": "8.3.2", "vue-apollo": "^3.0.8", @@ -88,12 +88,10 @@ "devDependencies": { "@babel/core": "^7.16.0", "@babel/preset-env": "^7.16.0", - "@commitlint/cli": "^13.2.1", - "@commitlint/config-conventional": "^13.2.0", "@graphql-codegen/add": "^3.1.0", - "@graphql-codegen/cli": "2.2.0", + "@graphql-codegen/cli": "2.2.2", "@graphql-codegen/typed-document-node": "^2.2.0", - "@graphql-codegen/typescript": "2.2.2", + "@graphql-codegen/typescript": "2.3.0", "@graphql-codegen/typescript-operations": "^2.2.0", "@graphql-codegen/typescript-urql-graphcache": "^2.2.0", "@graphql-codegen/urql-introspection": "^2.1.0", @@ -102,7 +100,7 @@ "@nuxt/typescript-build": "^2.1.0", "@nuxtjs/color-mode": "^2.1.1", "@nuxtjs/dotenv": "^1.4.1", - "@nuxtjs/eslint-config-typescript": "^6.0.1", + "@nuxtjs/eslint-config-typescript": "^7.0.2", "@nuxtjs/eslint-module": "^3.0.2", "@nuxtjs/google-analytics": "^2.4.0", "@nuxtjs/google-fonts": "^1.3.0", @@ -120,11 +118,11 @@ "@vue/test-utils": "^1.2.2", "babel-core": "^7.0.0-bridge.0", "babel-jest": "^27.3.1", - "eslint": "^7.32.0", + "eslint": "^8.1.0", "eslint-config-prettier": "^8.3.0", - "eslint-plugin-nuxt": "^2.0.0", + "eslint-plugin-nuxt": "^3.0.0", "eslint-plugin-prettier": "^4.0.0", - "eslint-plugin-vue": "^7.20.0", + "eslint-plugin-vue": "^8.0.3", "jest": "^27.3.1", "jest-serializer-vue": "^2.0.2", "npm-run-all": "^4.1.5", @@ -134,9 +132,10 @@ "raw-loader": "^4.0.2", "sass": "^1.43.4", "sass-loader": "^10.2.0", - "stylelint": "^13.13.1", + "stylelint": "^14.0.1", "stylelint-config-prettier": "^9.0.3", - "stylelint-config-standard": "^22.0.0", + "stylelint-config-standard": "^23.0.0", + "stylelint-config-standard-scss": "^2.0.1", "ts-jest": "^27.0.7", "typescript": "^4.4.4", "unplugin-vue2-script-setup": "^0.6.13", diff --git a/packages/hoppscotch-js-sandbox/.eslintrc.js b/packages/hoppscotch-js-sandbox/.eslintrc.cjs similarity index 92% rename from packages/hoppscotch-js-sandbox/.eslintrc.js rename to packages/hoppscotch-js-sandbox/.eslintrc.cjs index 4a403131a..ee2a1a574 100644 --- a/packages/hoppscotch-js-sandbox/.eslintrc.js +++ b/packages/hoppscotch-js-sandbox/.eslintrc.cjs @@ -25,5 +25,6 @@ module.exports = { "import/no-named-as-default": "off", "no-undef": "off", "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/no-non-null-assertion": "off", }, } diff --git a/packages/hoppscotch-js-sandbox/.prettierrc.js b/packages/hoppscotch-js-sandbox/.prettierrc.cjs similarity index 100% rename from packages/hoppscotch-js-sandbox/.prettierrc.js rename to packages/hoppscotch-js-sandbox/.prettierrc.cjs diff --git a/packages/hoppscotch-js-sandbox/jest.config.js b/packages/hoppscotch-js-sandbox/jest.config.js index 70aa99805..d183c8a9d 100644 --- a/packages/hoppscotch-js-sandbox/jest.config.js +++ b/packages/hoppscotch-js-sandbox/jest.config.js @@ -2,5 +2,5 @@ export default { preset: "ts-jest", testEnvironment: "node", collectCoverage: true, - setupFilesAfterEnv: ['./jest.setup.ts'], + setupFilesAfterEnv: ["./jest.setup.ts"], } diff --git a/packages/hoppscotch-js-sandbox/jest.setup.ts b/packages/hoppscotch-js-sandbox/jest.setup.ts index 562234114..9960425a6 100644 --- a/packages/hoppscotch-js-sandbox/jest.setup.ts +++ b/packages/hoppscotch-js-sandbox/jest.setup.ts @@ -1 +1 @@ -require('@relmify/jest-fp-ts'); \ No newline at end of file +require("@relmify/jest-fp-ts") diff --git a/packages/hoppscotch-js-sandbox/package.json b/packages/hoppscotch-js-sandbox/package.json index 619a85317..b7f899672 100644 --- a/packages/hoppscotch-js-sandbox/package.json +++ b/packages/hoppscotch-js-sandbox/package.json @@ -11,8 +11,8 @@ }, "scripts": { "demo": "esrun src/demo.ts", - "lint": "eslint --ext .ts,.js --ignore-path .gitignore", - "lintfix": "eslint --ext .ts,.js --ignore-path .gitignore --fix", + "lint": "eslint --ext .ts,.js --ignore-path .gitignore .", + "lintfix": "eslint --fix --ext .ts,.js --ignore-path .gitignore .", "test": "npx jest", "build": "npx tsc", "clean": "npx tsc --build --clean", @@ -43,9 +43,9 @@ "@types/jest": "^27.0.2", "@types/lodash": "^4.14.176", "@types/node": "^16.11.5", - "@typescript-eslint/eslint-plugin": "^4.33.0", - "@typescript-eslint/parser": "^4.33.0", - "eslint": "^7.32.0", + "@typescript-eslint/eslint-plugin": "^5.3.0", + "@typescript-eslint/parser": "^5.3.0", + "eslint": "^8.1.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^4.0.0", "io-ts": "^2.2.16", @@ -54,10 +54,5 @@ "pretty-quick": "^3.1.1", "ts-jest": "^27.0.7", "typescript": "^4.4.4" - }, - "jest": { - "setupFilesAfterEnv": [ - "@relmify/jest-fp-ts" - ] } } diff --git a/packages/hoppscotch-js-sandbox/src/__tests__/preRequest.spec.ts b/packages/hoppscotch-js-sandbox/src/__tests__/preRequest.spec.ts index 2910c5d23..f92e34245 100644 --- a/packages/hoppscotch-js-sandbox/src/__tests__/preRequest.spec.ts +++ b/packages/hoppscotch-js-sandbox/src/__tests__/preRequest.spec.ts @@ -8,11 +8,14 @@ describe("execPreRequestScript", () => { ` pw.env.set("bob", "newbob") `, - [{ key: "bob", value: "oldbob" }, { key: "foo", value: "bar" }] + [ + { key: "bob", value: "oldbob" }, + { key: "foo", value: "bar" }, + ] )() ).resolves.toEqualRight([ { key: "bob", value: "newbob" }, - { key: "foo", value: "bar" } + { key: "foo", value: "bar" }, ]) }) @@ -22,7 +25,10 @@ describe("execPreRequestScript", () => { ` pw.env.set(10, "newbob") `, - [{ key: "bob", value: "oldbob" }, { key: "foo", value: "bar" }] + [ + { key: "bob", value: "oldbob" }, + { key: "foo", value: "bar" }, + ] )() ).resolves.toBeLeft() }) @@ -33,7 +39,10 @@ describe("execPreRequestScript", () => { ` pw.env.set("bob", 10) `, - [{ key: "bob", value: "oldbob" }, { key: "foo", value: "bar" }] + [ + { key: "bob", value: "oldbob" }, + { key: "foo", value: "bar" }, + ] )() ).resolves.toBeLeft() }) @@ -44,7 +53,10 @@ describe("execPreRequestScript", () => { ` pw.env.set("bob", `, - [{ key: "bob", value: "oldbob" }, { key: "foo", value: "bar" }] + [ + { key: "bob", value: "oldbob" }, + { key: "foo", value: "bar" }, + ] )() ).resolves.toBeLeft() }) @@ -57,8 +69,6 @@ describe("execPreRequestScript", () => { `, [] )() - ).resolves.toEqualRight( - [{ key: "foo", value: "bar" }] - ) + ).resolves.toEqualRight([{ key: "foo", value: "bar" }]) }) -}) \ No newline at end of file +}) diff --git a/packages/hoppscotch-js-sandbox/src/__tests__/testing/expect/toBe.spec.ts b/packages/hoppscotch-js-sandbox/src/__tests__/testing/expect/toBe.spec.ts index 9b7cccc31..46ce4f4d6 100644 --- a/packages/hoppscotch-js-sandbox/src/__tests__/testing/expect/toBe.spec.ts +++ b/packages/hoppscotch-js-sandbox/src/__tests__/testing/expect/toBe.spec.ts @@ -4,7 +4,7 @@ import "@relmify/jest-fp-ts" const fakeResponse: TestResponse = { status: 200, body: "hoi", - headers: [] + headers: [], } describe("toBe", () => { @@ -19,7 +19,9 @@ describe("toBe", () => { )() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ status: "pass", message: "Expected '2' to be '2'" }], + expectResults: [ + { status: "pass", message: "Expected '2' to be '2'" }, + ], }), ]) }) @@ -34,7 +36,9 @@ describe("toBe", () => { )() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ status: "fail", message: "Expected '2' to be '4'" }], + expectResults: [ + { status: "fail", message: "Expected '2' to be '4'" }, + ], }), ]) }) @@ -51,10 +55,12 @@ describe("toBe", () => { )() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ - status: "fail", - message: "Expected '2' to not be '2'", - }], + expectResults: [ + { + status: "fail", + message: "Expected '2' to not be '2'", + }, + ], }), ]) }) @@ -69,10 +75,12 @@ describe("toBe", () => { )() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ - status: "pass", - message: "Expected '2' to not be '4'", - }], + expectResults: [ + { + status: "pass", + message: "Expected '2' to not be '4'", + }, + ], }), ]) }) @@ -85,14 +93,16 @@ test("strict checks types", () => { ` pw.expect(2).toBe("2") `, - fakeResponse + fakeResponse )() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ - status: "fail", - message: "Expected '2' to be '2'", - }], + expectResults: [ + { + status: "fail", + message: "Expected '2' to be '2'", + }, + ], }), ]) }) diff --git a/packages/hoppscotch-js-sandbox/src/__tests__/testing/expect/toBeLevelxxx.spec.ts b/packages/hoppscotch-js-sandbox/src/__tests__/testing/expect/toBeLevelxxx.spec.ts index 46da1de64..a57c83f9b 100644 --- a/packages/hoppscotch-js-sandbox/src/__tests__/testing/expect/toBeLevelxxx.spec.ts +++ b/packages/hoppscotch-js-sandbox/src/__tests__/testing/expect/toBeLevelxxx.spec.ts @@ -4,7 +4,7 @@ import "@relmify/jest-fp-ts" const fakeResponse: TestResponse = { status: 200, body: "hoi", - headers: [] + headers: [], } describe("toBeLevel2xx", () => { @@ -14,10 +14,12 @@ describe("toBeLevel2xx", () => { execTestScript(`pw.expect(${i}).toBeLevel2xx()`, fakeResponse)() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ - status: "pass", - message: `Expected '${i}' to be 200-level status`, - }], + expectResults: [ + { + status: "pass", + message: `Expected '${i}' to be 200-level status`, + }, + ], }), ]) } @@ -29,10 +31,12 @@ describe("toBeLevel2xx", () => { execTestScript(`pw.expect(${i}).toBeLevel2xx()`, fakeResponse)() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ - status: "fail", - message: `Expected '${i}' to be 200-level status`, - }], + expectResults: [ + { + status: "fail", + message: `Expected '${i}' to be 200-level status`, + }, + ], }), ]) } @@ -43,11 +47,14 @@ describe("toBeLevel2xx", () => { execTestScript(`pw.expect("foo").toBeLevel2xx()`, fakeResponse)() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ - status: "error", - message: "Expected 200-level status but could not parse value 'foo'", - }], - }) + expectResults: [ + { + status: "error", + message: + "Expected 200-level status but could not parse value 'foo'", + }, + ], + }), ]) }) @@ -57,10 +64,12 @@ describe("toBeLevel2xx", () => { execTestScript(`pw.expect(${i}).not.toBeLevel2xx()`, fakeResponse)() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ - status: "fail", - message: `Expected '${i}' to not be 200-level status`, - }], + expectResults: [ + { + status: "fail", + message: `Expected '${i}' to not be 200-level status`, + }, + ], }), ]) } @@ -72,10 +81,12 @@ describe("toBeLevel2xx", () => { execTestScript(`pw.expect(${i}).not.toBeLevel2xx()`, fakeResponse)() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ - status: "pass", - message: `Expected '${i}' to not be 200-level status`, - }], + expectResults: [ + { + status: "pass", + message: `Expected '${i}' to not be 200-level status`, + }, + ], }), ]) } @@ -86,11 +97,14 @@ describe("toBeLevel2xx", () => { execTestScript(`pw.expect("foo").not.toBeLevel2xx()`, fakeResponse)() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ - status: "error", - message: "Expected 200-level status but could not parse value 'foo'", - }], - }) + expectResults: [ + { + status: "error", + message: + "Expected 200-level status but could not parse value 'foo'", + }, + ], + }), ]) }) }) @@ -102,10 +116,12 @@ describe("toBeLevel3xx", () => { execTestScript(`pw.expect(${i}).toBeLevel3xx()`, fakeResponse)() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ - status: "pass", - message: `Expected '${i}' to be 300-level status`, - }], + expectResults: [ + { + status: "pass", + message: `Expected '${i}' to be 300-level status`, + }, + ], }), ]) } @@ -117,10 +133,12 @@ describe("toBeLevel3xx", () => { execTestScript(`pw.expect(${i}).toBeLevel3xx()`, fakeResponse)() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ - status: "fail", - message: `Expected '${i}' to be 300-level status`, - }], + expectResults: [ + { + status: "fail", + message: `Expected '${i}' to be 300-level status`, + }, + ], }), ]) } @@ -131,11 +149,14 @@ describe("toBeLevel3xx", () => { execTestScript(`pw.expect("foo").toBeLevel3xx()`, fakeResponse)() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ - status: "error", - message: "Expected 300-level status but could not parse value 'foo'", - }], - }) + expectResults: [ + { + status: "error", + message: + "Expected 300-level status but could not parse value 'foo'", + }, + ], + }), ]) }) @@ -145,10 +166,12 @@ describe("toBeLevel3xx", () => { execTestScript(`pw.expect(${i}).not.toBeLevel3xx()`, fakeResponse)() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ - status: "fail", - message: `Expected '${i}' to not be 300-level status`, - }], + expectResults: [ + { + status: "fail", + message: `Expected '${i}' to not be 300-level status`, + }, + ], }), ]) } @@ -160,10 +183,12 @@ describe("toBeLevel3xx", () => { execTestScript(`pw.expect(${i}).not.toBeLevel3xx()`, fakeResponse)() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ - status: "pass", - message: `Expected '${i}' to not be 300-level status`, - }], + expectResults: [ + { + status: "pass", + message: `Expected '${i}' to not be 300-level status`, + }, + ], }), ]) } @@ -174,14 +199,16 @@ describe("toBeLevel3xx", () => { execTestScript(`pw.expect("foo").not.toBeLevel3xx()`, fakeResponse)() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ - status: "error", - message: "Expected 300-level status but could not parse value 'foo'", - }] - }) + expectResults: [ + { + status: "error", + message: + "Expected 300-level status but could not parse value 'foo'", + }, + ], + }), ]) }) - }) describe("toBeLevel4xx", () => { @@ -191,10 +218,12 @@ describe("toBeLevel4xx", () => { execTestScript(`pw.expect(${i}).toBeLevel4xx()`, fakeResponse)() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ - status: "pass", - message: `Expected '${i}' to be 400-level status`, - }], + expectResults: [ + { + status: "pass", + message: `Expected '${i}' to be 400-level status`, + }, + ], }), ]) } @@ -206,10 +235,12 @@ describe("toBeLevel4xx", () => { execTestScript(`pw.expect(${i}).toBeLevel4xx()`, fakeResponse)() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ - status: "fail", - message: `Expected '${i}' to be 400-level status`, - }], + expectResults: [ + { + status: "fail", + message: `Expected '${i}' to be 400-level status`, + }, + ], }), ]) } @@ -220,11 +251,14 @@ describe("toBeLevel4xx", () => { execTestScript(`pw.expect("foo").toBeLevel4xx()`, fakeResponse)() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ - status: "error", - message: "Expected 400-level status but could not parse value 'foo'", - }], - }) + expectResults: [ + { + status: "error", + message: + "Expected 400-level status but could not parse value 'foo'", + }, + ], + }), ]) }) @@ -234,10 +268,12 @@ describe("toBeLevel4xx", () => { execTestScript(`pw.expect(${i}).not.toBeLevel4xx()`, fakeResponse)() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ - status: "fail", - message: `Expected '${i}' to not be 400-level status`, - }], + expectResults: [ + { + status: "fail", + message: `Expected '${i}' to not be 400-level status`, + }, + ], }), ]) } @@ -249,10 +285,12 @@ describe("toBeLevel4xx", () => { execTestScript(`pw.expect(${i}).not.toBeLevel4xx()`, fakeResponse)() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ - status: "pass", - message: `Expected '${i}' to not be 400-level status`, - }], + expectResults: [ + { + status: "pass", + message: `Expected '${i}' to not be 400-level status`, + }, + ], }), ]) } @@ -263,11 +301,14 @@ describe("toBeLevel4xx", () => { execTestScript(`pw.expect("foo").not.toBeLevel4xx()`, fakeResponse)() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ - status: "error", - message: "Expected 400-level status but could not parse value 'foo'", - }], - }) + expectResults: [ + { + status: "error", + message: + "Expected 400-level status but could not parse value 'foo'", + }, + ], + }), ]) }) }) @@ -279,10 +320,12 @@ describe("toBeLevel5xx", () => { execTestScript(`pw.expect(${i}).toBeLevel5xx()`, fakeResponse)() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ - status: "pass", - message: `Expected '${i}' to be 500-level status`, - }], + expectResults: [ + { + status: "pass", + message: `Expected '${i}' to be 500-level status`, + }, + ], }), ]) } @@ -294,10 +337,12 @@ describe("toBeLevel5xx", () => { execTestScript(`pw.expect(${i}).toBeLevel5xx()`, fakeResponse)() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ - status: "fail", - message: `Expected '${i}' to be 500-level status`, - }], + expectResults: [ + { + status: "fail", + message: `Expected '${i}' to be 500-level status`, + }, + ], }), ]) } @@ -308,11 +353,14 @@ describe("toBeLevel5xx", () => { execTestScript(`pw.expect("foo").toBeLevel5xx()`, fakeResponse)() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ - status: "error", - message: "Expected 500-level status but could not parse value 'foo'", - }], - }) + expectResults: [ + { + status: "error", + message: + "Expected 500-level status but could not parse value 'foo'", + }, + ], + }), ]) }) @@ -322,10 +370,12 @@ describe("toBeLevel5xx", () => { execTestScript(`pw.expect(${i}).not.toBeLevel5xx()`, fakeResponse)() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ - status: "fail", - message: `Expected '${i}' to not be 500-level status`, - }], + expectResults: [ + { + status: "fail", + message: `Expected '${i}' to not be 500-level status`, + }, + ], }), ]) } @@ -337,10 +387,12 @@ describe("toBeLevel5xx", () => { execTestScript(`pw.expect(${i}).not.toBeLevel5xx()`, fakeResponse)() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ - status: "pass", - message: `Expected '${i}' to not be 500-level status`, - }], + expectResults: [ + { + status: "pass", + message: `Expected '${i}' to not be 500-level status`, + }, + ], }), ]) } @@ -351,11 +403,14 @@ describe("toBeLevel5xx", () => { execTestScript(`pw.expect("foo").not.toBeLevel5xx()`, fakeResponse)() ).resolves.toEqualRight([ expect.objectContaining({ - expectResults: [{ - status: "error", - message: "Expected 500-level status but could not parse value 'foo'", - }], - }) + expectResults: [ + { + status: "error", + message: + "Expected 500-level status but could not parse value 'foo'", + }, + ], + }), ]) }) -}) \ No newline at end of file +}) diff --git a/packages/hoppscotch-js-sandbox/src/__tests__/testing/expect/toBeType.spec.ts b/packages/hoppscotch-js-sandbox/src/__tests__/testing/expect/toBeType.spec.ts index f9c5132d0..2aa3b1bb5 100644 --- a/packages/hoppscotch-js-sandbox/src/__tests__/testing/expect/toBeType.spec.ts +++ b/packages/hoppscotch-js-sandbox/src/__tests__/testing/expect/toBeType.spec.ts @@ -3,7 +3,7 @@ import { execTestScript, TestResponse } from "../../../test-runner" const fakeResponse: TestResponse = { status: 200, body: "hoi", - headers: [] + headers: [], } describe("toBeType", () => { @@ -16,16 +16,23 @@ describe("toBeType", () => { pw.expect(true).toBeType("boolean") pw.expect({}).toBeType("object") pw.expect(undefined).toBeType("undefined") - `, fakeResponse + `, + fakeResponse )() ).resolves.toEqualRight([ expect.objectContaining({ expectResults: [ - { status: "pass", message: `Expected '2' to be type 'number'` }, + { status: "pass", message: `Expected '2' to be type 'number'` }, { status: "pass", message: `Expected '2' to be type 'string'` }, { status: "pass", message: `Expected 'true' to be type 'boolean'` }, - { status: "pass", message: `Expected '[object Object]' to be type 'object'` }, - { status: "pass", message: `Expected 'undefined' to be type 'undefined'` }, + { + status: "pass", + message: `Expected '[object Object]' to be type 'object'`, + }, + { + status: "pass", + message: `Expected 'undefined' to be type 'undefined'`, + }, ], }), ]) @@ -46,11 +53,17 @@ describe("toBeType", () => { ).resolves.toEqualRight([ expect.objectContaining({ expectResults: [ - { status: "fail", message: `Expected '2' to be type 'string'`}, - { status: "fail", message: `Expected '2' to be type 'number'`}, - { status: "fail", message: `Expected 'true' to be type 'string'`}, - { status: "fail", message: `Expected '[object Object]' to be type 'number'`}, - { status: "fail", message: `Expected 'undefined' to be type 'number'`}, + { status: "fail", message: `Expected '2' to be type 'string'` }, + { status: "fail", message: `Expected '2' to be type 'number'` }, + { status: "fail", message: `Expected 'true' to be type 'string'` }, + { + status: "fail", + message: `Expected '[object Object]' to be type 'number'`, + }, + { + status: "fail", + message: `Expected 'undefined' to be type 'number'`, + }, ], }), ]) @@ -65,16 +78,26 @@ describe("toBeType", () => { pw.expect(true).not.toBeType("boolean") pw.expect({}).not.toBeType("object") pw.expect(undefined).not.toBeType("undefined") - `, fakeResponse + `, + fakeResponse )() ).resolves.toEqualRight([ expect.objectContaining({ expectResults: [ { status: "fail", message: `Expected '2' to not be type 'number'` }, { status: "fail", message: `Expected '2' to not be type 'string'` }, - { status: "fail", message: `Expected 'true' to not be type 'boolean'` }, - { status: "fail", message: `Expected '[object Object]' to not be type 'object'` }, - { status: "fail", message: `Expected 'undefined' to not be type 'undefined'` }, + { + status: "fail", + message: `Expected 'true' to not be type 'boolean'`, + }, + { + status: "fail", + message: `Expected '[object Object]' to not be type 'object'`, + }, + { + status: "fail", + message: `Expected 'undefined' to not be type 'undefined'`, + }, ], }), ]) @@ -97,9 +120,18 @@ describe("toBeType", () => { expectResults: [ { status: "pass", message: `Expected '2' to not be type 'string'` }, { status: "pass", message: `Expected '2' to not be type 'number'` }, - { status: "pass", message: `Expected 'true' to not be type 'string'` }, - { status: "pass", message: `Expected '[object Object]' to not be type 'number'` }, - { status: "pass", message: `Expected 'undefined' to not be type 'number'` }, + { + status: "pass", + message: `Expected 'true' to not be type 'string'`, + }, + { + status: "pass", + message: `Expected '[object Object]' to not be type 'number'`, + }, + { + status: "pass", + message: `Expected 'undefined' to not be type 'number'`, + }, ], }), ]) @@ -120,13 +152,28 @@ describe("toBeType", () => { ).resolves.toEqualRight([ expect.objectContaining({ expectResults: [ - { status: "error", message: `Argument for toBeType should be "string", "boolean", "number", "object", "undefined", "bigint", "symbol" or "function"` }, - { status: "error", message: `Argument for toBeType should be "string", "boolean", "number", "object", "undefined", "bigint", "symbol" or "function"` }, - { status: "error", message: `Argument for toBeType should be "string", "boolean", "number", "object", "undefined", "bigint", "symbol" or "function"` }, - { status: "error", message: `Argument for toBeType should be "string", "boolean", "number", "object", "undefined", "bigint", "symbol" or "function"` }, - { status: "error", message: `Argument for toBeType should be "string", "boolean", "number", "object", "undefined", "bigint", "symbol" or "function"` }, - ] - }) + { + status: "error", + message: `Argument for toBeType should be "string", "boolean", "number", "object", "undefined", "bigint", "symbol" or "function"`, + }, + { + status: "error", + message: `Argument for toBeType should be "string", "boolean", "number", "object", "undefined", "bigint", "symbol" or "function"`, + }, + { + status: "error", + message: `Argument for toBeType should be "string", "boolean", "number", "object", "undefined", "bigint", "symbol" or "function"`, + }, + { + status: "error", + message: `Argument for toBeType should be "string", "boolean", "number", "object", "undefined", "bigint", "symbol" or "function"`, + }, + { + status: "error", + message: `Argument for toBeType should be "string", "boolean", "number", "object", "undefined", "bigint", "symbol" or "function"`, + }, + ], + }), ]) }) @@ -145,13 +192,28 @@ describe("toBeType", () => { ).resolves.toEqualRight([ expect.objectContaining({ expectResults: [ - { status: "error", message: `Argument for toBeType should be "string", "boolean", "number", "object", "undefined", "bigint", "symbol" or "function"` }, - { status: "error", message: `Argument for toBeType should be "string", "boolean", "number", "object", "undefined", "bigint", "symbol" or "function"` }, - { status: "error", message: `Argument for toBeType should be "string", "boolean", "number", "object", "undefined", "bigint", "symbol" or "function"` }, - { status: "error", message: `Argument for toBeType should be "string", "boolean", "number", "object", "undefined", "bigint", "symbol" or "function"` }, - { status: "error", message: `Argument for toBeType should be "string", "boolean", "number", "object", "undefined", "bigint", "symbol" or "function"` }, - ] - }) + { + status: "error", + message: `Argument for toBeType should be "string", "boolean", "number", "object", "undefined", "bigint", "symbol" or "function"`, + }, + { + status: "error", + message: `Argument for toBeType should be "string", "boolean", "number", "object", "undefined", "bigint", "symbol" or "function"`, + }, + { + status: "error", + message: `Argument for toBeType should be "string", "boolean", "number", "object", "undefined", "bigint", "symbol" or "function"`, + }, + { + status: "error", + message: `Argument for toBeType should be "string", "boolean", "number", "object", "undefined", "bigint", "symbol" or "function"`, + }, + { + status: "error", + message: `Argument for toBeType should be "string", "boolean", "number", "object", "undefined", "bigint", "symbol" or "function"`, + }, + ], + }), ]) }) }) diff --git a/packages/hoppscotch-js-sandbox/src/__tests__/testing/expect/toHaveLength.spec.ts b/packages/hoppscotch-js-sandbox/src/__tests__/testing/expect/toHaveLength.spec.ts index 1d8db0c85..c8e00c640 100644 --- a/packages/hoppscotch-js-sandbox/src/__tests__/testing/expect/toHaveLength.spec.ts +++ b/packages/hoppscotch-js-sandbox/src/__tests__/testing/expect/toHaveLength.spec.ts @@ -3,7 +3,7 @@ import { execTestScript, TestResponse } from "../../../test-runner" const fakeResponse: TestResponse = { status: 200, body: "hoi", - headers: [] + headers: [], } describe("toHaveLength", () => { @@ -20,7 +20,7 @@ describe("toHaveLength", () => { expect.objectContaining({ expectResults: [ { status: "pass", message: "Expected the array to be of length '4'" }, - { status: "pass", message: "Expected the array to be of length '0'" }, + { status: "pass", message: "Expected the array to be of length '0'" }, ], }), ]) @@ -57,8 +57,14 @@ describe("toHaveLength", () => { ).resolves.toEqualRight([ expect.objectContaining({ expectResults: [ - { status: "fail", message: "Expected the array to not be of length '4'" }, - { status: "fail", message: "Expected the array to not be of length '0'" }, + { + status: "fail", + message: "Expected the array to not be of length '4'", + }, + { + status: "fail", + message: "Expected the array to not be of length '0'", + }, ], }), ]) @@ -76,8 +82,14 @@ describe("toHaveLength", () => { ).resolves.toEqualRight([ expect.objectContaining({ expectResults: [ - { status: "pass", message: "Expected the array to not be of length '4'" }, - { status: "pass", message: "Expected the array to not be of length '0'" }, + { + status: "pass", + message: "Expected the array to not be of length '4'", + }, + { + status: "pass", + message: "Expected the array to not be of length '0'", + }, ], }), ]) @@ -95,10 +107,18 @@ describe("toHaveLength", () => { ).resolves.toEqualRight([ expect.objectContaining({ expectResults: [ - { status: "error", message: "Expected toHaveLength to be called for an array or string" }, - { status: "error", message: "Expected toHaveLength to be called for an array or string" }, - ] - }) + { + status: "error", + message: + "Expected toHaveLength to be called for an array or string", + }, + { + status: "error", + message: + "Expected toHaveLength to be called for an array or string", + }, + ], + }), ]) }) @@ -114,10 +134,18 @@ describe("toHaveLength", () => { ).resolves.toEqualRight([ expect.objectContaining({ expectResults: [ - { status: "error", message: "Expected toHaveLength to be called for an array or string" }, - { status: "error", message: "Expected toHaveLength to be called for an array or string" }, - ] - }) + { + status: "error", + message: + "Expected toHaveLength to be called for an array or string", + }, + { + status: "error", + message: + "Expected toHaveLength to be called for an array or string", + }, + ], + }), ]) }) @@ -132,9 +160,12 @@ describe("toHaveLength", () => { ).resolves.toEqualRight([ expect.objectContaining({ expectResults: [ - { status: "error", message: "Argument for toHaveLength should be a number" }, + { + status: "error", + message: "Argument for toHaveLength should be a number", + }, ], - }) + }), ]) }) @@ -149,9 +180,12 @@ describe("toHaveLength", () => { ).resolves.toEqualRight([ expect.objectContaining({ expectResults: [ - { status: "error", message: "Argument for toHaveLength should be a number" }, + { + status: "error", + message: "Argument for toHaveLength should be a number", + }, ], - }) + }), ]) }) }) diff --git a/packages/hoppscotch-js-sandbox/src/__tests__/testing/test-runner.spec.ts b/packages/hoppscotch-js-sandbox/src/__tests__/testing/test-runner.spec.ts index dc93bed2b..d9a8c1460 100644 --- a/packages/hoppscotch-js-sandbox/src/__tests__/testing/test-runner.spec.ts +++ b/packages/hoppscotch-js-sandbox/src/__tests__/testing/test-runner.spec.ts @@ -3,7 +3,7 @@ import { execTestScript, TestResponse } from "../../test-runner" const fakeResponse: TestResponse = { status: 200, body: "hoi", - headers: [] + headers: [], } describe("execTestScript function behavior", () => { @@ -21,7 +21,7 @@ describe("execTestScript function behavior", () => { `, fakeResponse )() - ).resolves.toBeRight(); + ).resolves.toBeRight() }) test("resolves for tests with failed expectations", () => { @@ -35,7 +35,8 @@ describe("execTestScript function behavior", () => { pw.expect(size * 4).toBe(4000); pw.expect(size / 4).not.toBe(250); }); - `, fakeResponse + `, + fakeResponse )() ).resolves.toBeRight() }) @@ -52,7 +53,8 @@ describe("execTestScript function behavior", () => { pw.expect(size * 4).toBe(4000); pw.expect(size / 4).not.toBe(250); }); - `, fakeResponse + `, + fakeResponse )() ).resolves.toBeLeft() }) diff --git a/packages/hoppscotch-js-sandbox/src/__tests__/utils.spec.ts b/packages/hoppscotch-js-sandbox/src/__tests__/utils.spec.ts index 50d03fdb5..0cf9f3751 100644 --- a/packages/hoppscotch-js-sandbox/src/__tests__/utils.spec.ts +++ b/packages/hoppscotch-js-sandbox/src/__tests__/utils.spec.ts @@ -15,16 +15,15 @@ afterAll(() => { }) describe("marshalObjectToVM", () => { - test("successfully marshals simple object into the vm", () => { const testObj = { - a: 1 + a: 1, } const objVMHandle: QuickJS.QuickJSHandle | null = pipe( marshalObjectToVM(vm, testObj), match( - (e) => null, + () => null, (result) => result ) ) @@ -38,7 +37,7 @@ describe("marshalObjectToVM", () => { test("fails marshalling cyclic object into vm", () => { const testObj = { a: 1, - b: null as any + b: null as any, } testObj.b = testObj @@ -46,12 +45,11 @@ describe("marshalObjectToVM", () => { const objVMHandle: QuickJS.QuickJSHandle | null = pipe( marshalObjectToVM(vm, testObj), match( - (e) => null, + () => null, (result) => result ) ) expect(objVMHandle).toBeNull() }) - -}) \ No newline at end of file +}) diff --git a/packages/hoppscotch-js-sandbox/src/demo.ts b/packages/hoppscotch-js-sandbox/src/demo.ts index 8723dc608..2652010f8 100644 --- a/packages/hoppscotch-js-sandbox/src/demo.ts +++ b/packages/hoppscotch-js-sandbox/src/demo.ts @@ -1,15 +1,13 @@ import { runTestScript } from "./index" import { TestResponse } from "./test-runner" - const dummyResponse: TestResponse = { status: 200, body: "hoi", - headers: [] -}; - + headers: [], +} // eslint-disable-next-line prettier/prettier -(async () => { +;(async () => { console.dir( await runTestScript( ` @@ -46,7 +44,7 @@ const dummyResponse: TestResponse = { pw.expect(arr).not.toHaveLength(4); }); `, - dummyResponse + dummyResponse ), { depth: 100, diff --git a/packages/hoppscotch-js-sandbox/src/global.d.ts b/packages/hoppscotch-js-sandbox/src/global.d.ts index 7a83e2841..e5c8003ab 100644 --- a/packages/hoppscotch-js-sandbox/src/global.d.ts +++ b/packages/hoppscotch-js-sandbox/src/global.d.ts @@ -1 +1 @@ -import '@relmify/jest-fp-ts'; \ No newline at end of file +import "@relmify/jest-fp-ts" diff --git a/packages/hoppscotch-js-sandbox/src/index.ts b/packages/hoppscotch-js-sandbox/src/index.ts index 1150342fa..4a9df9191 100644 --- a/packages/hoppscotch-js-sandbox/src/index.ts +++ b/packages/hoppscotch-js-sandbox/src/index.ts @@ -1,7 +1,11 @@ import { pipe } from "fp-ts/lib/function" import { chain, right } from "fp-ts/lib/TaskEither" import { execPreRequestScript } from "./preRequest" -import { execTestScript, TestResponse, TestDescriptor as _TestDescriptor } from "./test-runner" +import { + execTestScript, + TestResponse, + TestDescriptor as _TestDescriptor, +} from "./test-runner" export type TestDescriptor = _TestDescriptor /** @@ -9,13 +13,11 @@ export type TestDescriptor = _TestDescriptor * @param testScript The string of the script to run * @returns A TaskEither with an error message or a TestDescriptor with the final status */ -export const runTestScript = ( - testScript: string, - response: TestResponse -) => pipe( - execTestScript(testScript, response), - chain((results) => right(results[0])) // execTestScript returns an array of descriptors with a single element (extract that) -) +export const runTestScript = (testScript: string, response: TestResponse) => + pipe( + execTestScript(testScript, response), + chain((results) => right(results[0])) // execTestScript returns an array of descriptors with a single element (extract that) + ) /** * Executes a given pre-request script on the sandbox @@ -23,4 +25,4 @@ export const runTestScript = ( * @param env The envirionment variables active * @returns A TaskEither with an error message or an array of the final environments with the all the script values applied */ -export const runPreRequestScript = execPreRequestScript \ No newline at end of file +export const runPreRequestScript = execPreRequestScript diff --git a/packages/hoppscotch-js-sandbox/src/preRequest.ts b/packages/hoppscotch-js-sandbox/src/preRequest.ts index ade271980..08953cb73 100644 --- a/packages/hoppscotch-js-sandbox/src/preRequest.ts +++ b/packages/hoppscotch-js-sandbox/src/preRequest.ts @@ -1,23 +1,23 @@ -import { pipe } from "fp-ts/lib/function"; -import { chain, TaskEither, tryCatch, right, left } from "fp-ts/lib/TaskEither"; -import * as qjs from "quickjs-emscripten"; -import clone from "lodash/clone"; +import { pipe } from "fp-ts/lib/function" +import { chain, TaskEither, tryCatch, right, left } from "fp-ts/lib/TaskEither" +import * as qjs from "quickjs-emscripten" +import clone from "lodash/clone" type EnvEntry = { - key: string; - value: string; -}; + key: string + value: string +} export const execPreRequestScript = ( preRequestScript: string, env: EnvEntry[] -): TaskEither => pipe( - tryCatch( - async () => await qjs.getQuickJS(), - (reason) => `QuickJS initialization failed: ${reason}` - ), - chain( - (QuickJS) => { +): TaskEither => + pipe( + tryCatch( + async () => await qjs.getQuickJS(), + (reason) => `QuickJS initialization failed: ${reason}` + ), + chain((QuickJS) => { const finalEnv = clone(env) const vm = QuickJS.createVm() @@ -26,30 +26,35 @@ export const execPreRequestScript = ( const envHandle = vm.newObject() - const envSetFuncHandle = vm.newFunction("set", (keyHandle, valueHandle) => { - const key = vm.dump(keyHandle) - const value = vm.dump(valueHandle) + const envSetFuncHandle = vm.newFunction( + "set", + (keyHandle, valueHandle) => { + const key = vm.dump(keyHandle) + const value = vm.dump(valueHandle) - if (typeof key !== "string") return { - error: vm.newString("Expected key to be a string") + if (typeof key !== "string") + return { + error: vm.newString("Expected key to be a string"), + } + + if (typeof value !== "string") + return { + error: vm.newString("Expected value to be a string"), + } + + const keyIndex = finalEnv.findIndex((env) => env.key === key) + + if (keyIndex === -1) { + finalEnv.push({ key, value }) + } else { + finalEnv[keyIndex] = { key, value } + } + + return { + value: vm.undefined, + } } - - if (typeof value !== "string") return { - error: vm.newString("Expected value to be a string") - } - - const keyIndex = finalEnv.findIndex((env) => env.key === key) - - if (keyIndex === -1) { - finalEnv.push({ key, value }) - } else { - finalEnv[keyIndex] = { key, value } - } - - return { - value: vm.undefined - } - }) + ) vm.setProp(envHandle, "set", envSetFuncHandle) envSetFuncHandle.dispose() @@ -72,6 +77,5 @@ export const execPreRequestScript = ( vm.dispose() return right(finalEnv) - } + }) ) -) \ No newline at end of file diff --git a/packages/hoppscotch-js-sandbox/src/test-runner.ts b/packages/hoppscotch-js-sandbox/src/test-runner.ts index ed3df1f5a..58f584375 100644 --- a/packages/hoppscotch-js-sandbox/src/test-runner.ts +++ b/packages/hoppscotch-js-sandbox/src/test-runner.ts @@ -9,9 +9,9 @@ import { marshalObjectToVM } from "./utils" */ export type TestResponse = { /** Status Code of the response */ - status: number, + status: number /** List of headers returned */ - headers: { key: string, value: string }[], + headers: { key: string; value: string }[] /** * Body of the response, this will be the JSON object if it is a JSON content type, else body string */ @@ -21,8 +21,7 @@ export type TestResponse = { /** * The result of an expectation statement */ -type ExpectResult = - | { status: "pass" | "fail" | "error", message: string } // The expectation failed (fail) or errored (error) +type ExpectResult = { status: "pass" | "fail" | "error"; message: string } // The expectation failed (fail) or errored (error) /** * An object defining the result of the execution of a @@ -68,14 +67,18 @@ function createExpectation( if (negated) assertion = !assertion if (assertion) { - currTestStack[currTestStack.length - 1].expectResults.push({ + currTestStack[currTestStack.length - 1].expectResults.push({ status: "pass", - message: `Expected '${expectVal}' to${negated ? " not" : ""} be '${expectedVal}'` + message: `Expected '${expectVal}' to${ + negated ? " not" : "" + } be '${expectedVal}'`, }) } else { currTestStack[currTestStack.length - 1].expectResults.push({ status: "fail", - message: `Expected '${expectVal}' to${negated ? " not" : ""} be '${expectedVal}'`, + message: `Expected '${expectVal}' to${ + negated ? " not" : "" + } be '${expectedVal}'`, }) } @@ -91,13 +94,16 @@ function createExpectation( if (assertion) { currTestStack[currTestStack.length - 1].expectResults.push({ status: "pass", - message: `Expected '${expectVal}' to${negated ? " not" : ""} be 200-level status`, + message: `Expected '${expectVal}' to${ + negated ? " not" : "" + } be 200-level status`, }) } else { currTestStack[currTestStack.length - 1].expectResults.push({ status: "fail", - message: - `Expected '${expectVal}' to${negated ? " not" : ""} be 200-level status`, + message: `Expected '${expectVal}' to${ + negated ? " not" : "" + } be 200-level status`, }) } } else { @@ -119,13 +125,16 @@ function createExpectation( if (assertion) { currTestStack[currTestStack.length - 1].expectResults.push({ status: "pass", - message: `Expected '${expectVal}' to${negated ? " not" : ""} be 300-level status`, + message: `Expected '${expectVal}' to${ + negated ? " not" : "" + } be 300-level status`, }) } else { currTestStack[currTestStack.length - 1].expectResults.push({ status: "fail", - message: - `Expected '${expectVal}' to${negated ? " not" : ""} be 300-level status`, + message: `Expected '${expectVal}' to${ + negated ? " not" : "" + } be 300-level status`, }) } } else { @@ -147,13 +156,16 @@ function createExpectation( if (assertion) { currTestStack[currTestStack.length - 1].expectResults.push({ status: "pass", - message: `Expected '${expectVal}' to${negated ? " not" : ""} be 400-level status`, + message: `Expected '${expectVal}' to${ + negated ? " not" : "" + } be 400-level status`, }) } else { currTestStack[currTestStack.length - 1].expectResults.push({ status: "fail", - message: - `Expected '${expectVal}' to${negated ? " not" : ""} be 400-level status`, + message: `Expected '${expectVal}' to${ + negated ? " not" : "" + } be 400-level status`, }) } } else { @@ -175,12 +187,16 @@ function createExpectation( if (assertion) { currTestStack[currTestStack.length - 1].expectResults.push({ status: "pass", - message: `Expected '${expectVal}' to${negated ? " not" : ""} be 500-level status`, + message: `Expected '${expectVal}' to${ + negated ? " not" : "" + } be 500-level status`, }) } else { currTestStack[currTestStack.length - 1].expectResults.push({ status: "fail", - message: `Expected '${expectVal}' to${negated ? " not" : ""} be 500-level status` + message: `Expected '${expectVal}' to${ + negated ? " not" : "" + } be 500-level status`, }) } } else { @@ -189,7 +205,7 @@ function createExpectation( message: `Expected 500-level status but could not parse value '${expectVal}'`, }) } - + return { value: vm.undefined } }) @@ -197,25 +213,40 @@ function createExpectation( const expectedType = vm.dump(expectedValHandle) // Check if the expectation param is a valid type name string, else error - if (["string", "boolean", "number", "object", "undefined", "bigint", "symbol", "function"].includes(expectedType)) { + if ( + [ + "string", + "boolean", + "number", + "object", + "undefined", + "bigint", + "symbol", + "function", + ].includes(expectedType) + ) { let assertion = typeof expectVal === expectedType if (negated) assertion = !assertion if (assertion) { currTestStack[currTestStack.length - 1].expectResults.push({ status: "pass", - message: `Expected '${expectVal}' to${negated ? " not" : ""} be type '${expectedType}'` + message: `Expected '${expectVal}' to${ + negated ? " not" : "" + } be type '${expectedType}'`, }) } else { currTestStack[currTestStack.length - 1].expectResults.push({ status: "fail", - message: `Expected '${expectVal}' to${negated ? " not" : ""} be type '${expectedType}'`, + message: `Expected '${expectVal}' to${ + negated ? " not" : "" + } be type '${expectedType}'`, }) } } else { currTestStack[currTestStack.length - 1].expectResults.push({ status: "error", - message: `Argument for toBeType should be "string", "boolean", "number", "object", "undefined", "bigint", "symbol" or "function"` + message: `Argument for toBeType should be "string", "boolean", "number", "object", "undefined", "bigint", "symbol" or "function"`, }) } @@ -240,25 +271,29 @@ function createExpectation( if (typeof expectedLength === "number" && !Number.isNaN(expectedLength)) { let assertion = (expectVal as any[]).length === expectedLength if (negated) assertion = !assertion - + if (assertion) { currTestStack[currTestStack.length - 1].expectResults.push({ status: "pass", - message: `Expected the array to${negated ? " not" : ""} be of length '${expectedLength}'`, + message: `Expected the array to${ + negated ? " not" : "" + } be of length '${expectedLength}'`, }) } else { currTestStack[currTestStack.length - 1].expectResults.push({ status: "fail", - message: `Expected the array to${negated ? " not" : ""} be of length '${expectedLength}'` + message: `Expected the array to${ + negated ? " not" : "" + } be of length '${expectedLength}'`, }) } } else { currTestStack[currTestStack.length - 1].expectResults.push({ status: "error", - message: `Argument for toHaveLength should be a number` + message: `Argument for toHaveLength should be a number`, }) } - + return { value: vm.undefined } } ) @@ -291,77 +326,81 @@ function createExpectation( export const execTestScript = ( testScript: string, response: TestResponse -): TaskEither => pipe( - tryCatch( - async () => await qjs.getQuickJS(), - (reason) => `QuickJS initialization failed: ${reason}` - ), - chain( - // TODO: Make this more functional ? - (QuickJS) => { - const vm = QuickJS.createVm() +): TaskEither => + pipe( + tryCatch( + async () => await qjs.getQuickJS(), + (reason) => `QuickJS initialization failed: ${reason}` + ), + chain( + // TODO: Make this more functional ? + (QuickJS) => { + const vm = QuickJS.createVm() - const pwHandle = vm.newObject() + const pwHandle = vm.newObject() - const testRunStack: TestDescriptor[] = [ - { descriptor: "root", expectResults: [], children: [] }, - ] + const testRunStack: TestDescriptor[] = [ + { descriptor: "root", expectResults: [], children: [] }, + ] - const testFuncHandle = vm.newFunction( - "test", - (descriptorHandle, testFuncHandle) => { - const descriptor = vm.getString(descriptorHandle) + const testFuncHandle = vm.newFunction( + "test", + (descriptorHandle, testFuncHandle) => { + const descriptor = vm.getString(descriptorHandle) - testRunStack.push({ - descriptor, - expectResults: [], - children: [], - }) + testRunStack.push({ + descriptor, + expectResults: [], + children: [], + }) - const result = vm.unwrapResult(vm.callFunction(testFuncHandle, vm.null)) - result.dispose() + const result = vm.unwrapResult( + vm.callFunction(testFuncHandle, vm.null) + ) + result.dispose() - const child = testRunStack.pop() as TestDescriptor - testRunStack[testRunStack.length - 1].children.push(child) + const child = testRunStack.pop() as TestDescriptor + testRunStack[testRunStack.length - 1].children.push(child) + } + ) + + const expectFnHandle = vm.newFunction("expect", (expectValueHandle) => { + const expectVal = vm.dump(expectValueHandle) + + return { + value: createExpectation(vm, expectVal, false, testRunStack), + } + }) + + // Marshal response object + const responseObjHandle = marshalObjectToVM(vm, response) + if (isLeft(responseObjHandle)) + return left(`Response marshalling failed: ${responseObjHandle.left}`) + + vm.setProp(pwHandle, "response", responseObjHandle.right) + responseObjHandle.right.dispose() + + vm.setProp(pwHandle, "expect", expectFnHandle) + expectFnHandle.dispose() + + vm.setProp(pwHandle, "test", testFuncHandle) + testFuncHandle.dispose() + + vm.setProp(vm.global, "pw", pwHandle) + pwHandle.dispose() + + const evalRes = vm.evalCode(testScript) + + if (evalRes.error) { + const errorData = vm.dump(evalRes.error) + evalRes.error.dispose() + + return left(`Script evaluation failed: ${errorData}`) } - ) - const expectFnHandle = vm.newFunction("expect", (expectValueHandle) => { - const expectVal = vm.dump(expectValueHandle) + vm.dispose() - return { - value: createExpectation(vm, expectVal, false, testRunStack), - } - }) - - // Marshal response object - const responseObjHandle = marshalObjectToVM(vm, response) - if (isLeft(responseObjHandle)) return left(`Response marshalling failed: ${responseObjHandle.left}`) - - vm.setProp(pwHandle, "response", responseObjHandle.right) - responseObjHandle.right.dispose() - - vm.setProp(pwHandle, "expect", expectFnHandle) - expectFnHandle.dispose() - - vm.setProp(pwHandle, "test", testFuncHandle) - testFuncHandle.dispose() - - vm.setProp(vm.global, "pw", pwHandle) - pwHandle.dispose() - - const evalRes = vm.evalCode(testScript) - - if (evalRes.error) { - const errorData = vm.dump(evalRes.error) - evalRes.error.dispose() - - return left(`Script evaluation failed: ${errorData}`) + return right(testRunStack) } - - vm.dispose() - - return right(testRunStack) - } + ) ) -) \ No newline at end of file diff --git a/packages/hoppscotch-js-sandbox/src/utils.ts b/packages/hoppscotch-js-sandbox/src/utils.ts index 854786e45..90b2d4848 100644 --- a/packages/hoppscotch-js-sandbox/src/utils.ts +++ b/packages/hoppscotch-js-sandbox/src/utils.ts @@ -1,7 +1,10 @@ -import { Either, left, right } from "fp-ts/lib/Either"; -import * as QuickJS from "quickjs-emscripten"; +import { Either, left, right } from "fp-ts/lib/Either" +import * as QuickJS from "quickjs-emscripten" -export function marshalObjectToVM(vm: QuickJS.QuickJSVm, obj: object): Either { +export function marshalObjectToVM( + vm: QuickJS.QuickJSVm, + obj: object +): Either { let jsonString try { @@ -15,7 +18,11 @@ export function marshalObjectToVM(vm: QuickJS.QuickJSVm, obj: object): Either=12.13.0 <17.0'} @@ -414,12 +440,6 @@ packages: tslib: 2.0.3 dev: false - /@babel/code-frame/7.12.11: - resolution: {integrity: sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==} - dependencies: - '@babel/highlight': 7.16.0 - dev: true - /@babel/code-frame/7.15.8: resolution: {integrity: sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==} engines: {node: '>=6.9.0'} @@ -459,7 +479,7 @@ packages: transitivePeerDependencies: - supports-color - /@babel/eslint-parser/7.16.0_@babel+core@7.16.0+eslint@7.32.0: + /@babel/eslint-parser/7.16.0_@babel+core@7.16.0+eslint@8.1.0: resolution: {integrity: sha512-c+AsYOHjI+FgCa+ifLd8sDXp4U4mjkfFgL9NdQWhuA731kAUJs0WdJIXET4A14EJAR9Jv9FFF/MzPWJfV9Oirw==} engines: {node: ^10.13.0 || ^12.13.0 || >=14.0.0} peerDependencies: @@ -467,7 +487,7 @@ packages: eslint: ^7.5.0 || ^8.0.0 dependencies: '@babel/core': 7.16.0 - eslint: 7.32.0 + eslint: 8.1.0 eslint-scope: 5.1.1 eslint-visitor-keys: 2.1.0 semver: 6.3.0 @@ -1673,75 +1693,75 @@ packages: resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} dev: true - /@commitlint/cli/13.2.1: - resolution: {integrity: sha512-JGzYk2ay5JkRS5w+FLQzr0u/Kih52ds4HPpa3vnwVOQN8Q+S1VYr8Nk/6kRm6uNYsAcC1nejtuDxRdLcLh/9TA==} + /@commitlint/cli/14.1.0: + resolution: {integrity: sha512-Orq62jkl9qAGvjFqhehtAqjGY/duJ8hIRPPIHmGR2jIB96D4VTmazS3ZvqJz2Q9kKr61mLAk/171zm0FVzQCYA==} engines: {node: '>=v12'} hasBin: true dependencies: - '@commitlint/format': 13.2.0 - '@commitlint/lint': 13.2.0 - '@commitlint/load': 13.2.1 - '@commitlint/read': 13.2.0 - '@commitlint/types': 13.2.0 + '@commitlint/format': 14.1.0 + '@commitlint/lint': 14.1.0 + '@commitlint/load': 14.1.0 + '@commitlint/read': 14.0.0 + '@commitlint/types': 14.0.0 lodash: 4.17.21 resolve-from: 5.0.0 resolve-global: 1.0.0 yargs: 17.2.1 dev: true - /@commitlint/config-conventional/13.2.0: - resolution: {integrity: sha512-7u7DdOiF+3qSdDlbQGfpvCH8DCQdLFvnI2+VucYmmV7E92iD6t9PBj+UjIoSQCaMAzYp27Vkall78AkcXBh6Xw==} + /@commitlint/config-conventional/14.1.0: + resolution: {integrity: sha512-JuhCqkEv8jyqmd54EpXPsQFpYc/8k7sfP1UziRdEvZSJUCLxz+8Pk4cNS0oF1BtjaWO7ITgXPlIZg47PyApGmg==} engines: {node: '>=v12'} dependencies: conventional-changelog-conventionalcommits: 4.6.1 dev: true - /@commitlint/ensure/13.2.0: - resolution: {integrity: sha512-rqhT62RehdLTRBu8OrPHnRCCd/7RmHEE4TiTlT4BLlr5ls5jlZhecOQWJ8np872uCNirrJ5NFjnjYYdbkNoW9Q==} + /@commitlint/ensure/14.1.0: + resolution: {integrity: sha512-xrYvFdqVepT3XA1BmSh88eKbvYKtLuQu98QLfgxVmwS99Kj3yW0sT3D7jGvNsynbIx2dhbXofDyubf/DKkpFrQ==} engines: {node: '>=v12'} dependencies: - '@commitlint/types': 13.2.0 + '@commitlint/types': 14.0.0 lodash: 4.17.21 dev: true - /@commitlint/execute-rule/13.2.0: - resolution: {integrity: sha512-6nPwpN0hwTYmsH3WM4hCdN+NrMopgRIuQ0aqZa+jnwMoS/g6ljliQNYfL+m5WO306BaIu1W3yYpbW5aI8gEr0g==} + /@commitlint/execute-rule/14.0.0: + resolution: {integrity: sha512-Hh/HLpCBDlrD3Rx2x2pDBx6CU+OtVqGXh7mbFpNihAVx6B0zyZqm/vv0cdwdhfGW5OEn1BhCqHf1ZOvL/DwdWA==} engines: {node: '>=v12'} dev: true - /@commitlint/format/13.2.0: - resolution: {integrity: sha512-yNBQJe6YFhM1pJAta4LvzQxccSKof6axJH7ALYjuhQqfT8AKlad7Y/2SuJ07ioyreNIqwOTuF2UfU8yJ7JzEIQ==} + /@commitlint/format/14.1.0: + resolution: {integrity: sha512-sF6engqqHjvxGctWRKjFs/HQeNowlpbVmmoP481b2UMQnVQnjjfXJvQsoLpaqFUvgc2sHM4L85F8BmAw+iHG1w==} engines: {node: '>=v12'} dependencies: - '@commitlint/types': 13.2.0 + '@commitlint/types': 14.0.0 chalk: 4.1.2 dev: true - /@commitlint/is-ignored/13.2.0: - resolution: {integrity: sha512-onnx4WctHFPPkHGFFAZBIWRSaNwuhixIIfbwPhcZ6IewwQX5n4jpjwM1GokA7vhlOnQ57W7AavbKUGjzIVtnRQ==} + /@commitlint/is-ignored/14.0.0: + resolution: {integrity: sha512-nJltYjXTa+mk+6SPe35nOZCCvt3Gh5mbDz008KQ4OPcn1GX1NG+pEgz1Kx3agDp/pc+JGnsrr5GV00gygIoloA==} engines: {node: '>=v12'} dependencies: - '@commitlint/types': 13.2.0 + '@commitlint/types': 14.0.0 semver: 7.3.5 dev: true - /@commitlint/lint/13.2.0: - resolution: {integrity: sha512-5XYkh0e9ehHjA7BxAHFpjPgr1qqbFY8OFG1wpBiAhycbYBtJnQmculA2wcwqTM40YCUBqEvWFdq86jTG8fbkMw==} + /@commitlint/lint/14.1.0: + resolution: {integrity: sha512-CApGJEOtWU/CcuPD8HkOR1jdUYpjKutGPaeby9nSFzJhwl/UQOjxc4Nd+2g2ygsMi5l3N4j2sWQYEgccpFC3lA==} engines: {node: '>=v12'} dependencies: - '@commitlint/is-ignored': 13.2.0 - '@commitlint/parse': 13.2.0 - '@commitlint/rules': 13.2.0 - '@commitlint/types': 13.2.0 + '@commitlint/is-ignored': 14.0.0 + '@commitlint/parse': 14.0.0 + '@commitlint/rules': 14.1.0 + '@commitlint/types': 14.0.0 dev: true - /@commitlint/load/13.2.1: - resolution: {integrity: sha512-qlaJkj0hfa9gtWRfCfbgFBTK3GYQRmjZhba4l9mUu4wV9lEZ4ICFlrLtd/8kaLXf/8xbrPhkAPkVFOAqM0YwUQ==} + /@commitlint/load/14.1.0: + resolution: {integrity: sha512-p+HbgjhkqLsnxyjOUdEYHztHCp8n2oLVUJTmRPuP5FXLNevh6Gwmxf+NYC2J0sgD084aV2CFi3qu1W4yHWIknA==} engines: {node: '>=v12'} dependencies: - '@commitlint/execute-rule': 13.2.0 - '@commitlint/resolve-extends': 13.2.0 - '@commitlint/types': 13.2.0 + '@commitlint/execute-rule': 14.0.0 + '@commitlint/resolve-extends': 14.1.0 + '@commitlint/types': 14.0.0 '@endemolshinegroup/cosmiconfig-typescript-loader': 3.0.2_3fdcc7bc724bd900a681b5e9457ed94a chalk: 4.1.2 cosmiconfig: 7.0.1 @@ -1750,32 +1770,32 @@ packages: typescript: 4.4.4 dev: true - /@commitlint/message/13.2.0: - resolution: {integrity: sha512-+LlErJj2F2AC86xJb33VJIvSt25xqSF1I0b0GApSgoUtQBeJhx4SxIj1BLvGcLVmbRmbgTzAFq/QylwLId7EhA==} + /@commitlint/message/14.0.0: + resolution: {integrity: sha512-316Pum+bwDcZamOQw0DXSY17Dq9EjvL1zKdYIZqneu4lnXN6uFfi53Y/sP5crW6zlLdnuTHe1MnuewXPLHfH1Q==} engines: {node: '>=v12'} dev: true - /@commitlint/parse/13.2.0: - resolution: {integrity: sha512-AtfKSQJQADbDhW+kuC5PxOyBANsYCuuJlZRZ2PYslOz2rvWwZ93zt+nKjM4g7C9ETbz0uq4r7/EoOsTJ2nJqfQ==} + /@commitlint/parse/14.0.0: + resolution: {integrity: sha512-49qkk0TcwdxJPZUX8MElEzMlRFIL/cg64P4pk8HotFEm2HYdbxxZp6v3cbVw5WOsnRA0frrs+NNoOcIT83ccMQ==} engines: {node: '>=v12'} dependencies: - '@commitlint/types': 13.2.0 + '@commitlint/types': 14.0.0 conventional-changelog-angular: 5.0.13 conventional-commits-parser: 3.2.3 dev: true - /@commitlint/read/13.2.0: - resolution: {integrity: sha512-7db5e1Bn3re6hQN0SqygTMF/QX6/MQauoJn3wJiUHE93lvwO6aFQxT3qAlYeyBPwfWsmDz/uSH454jtrSsv3Uw==} + /@commitlint/read/14.0.0: + resolution: {integrity: sha512-WXXcSLBqwXTqnEmB0lbU2TrayDJ2G3qI/lxy1ianVmpQol8p9BjodAA6bYxtYYHdQFVXUrIsclzFP/naWG+hlQ==} engines: {node: '>=v12'} dependencies: - '@commitlint/top-level': 13.2.0 - '@commitlint/types': 13.2.0 + '@commitlint/top-level': 14.0.0 + '@commitlint/types': 14.0.0 fs-extra: 10.0.0 git-raw-commits: 2.0.10 dev: true - /@commitlint/resolve-extends/13.2.0: - resolution: {integrity: sha512-HLCMkqMKtvl1yYLZ1Pm0UpFvd0kYjsm1meLOGZ7VkOd9G/XX+Fr1S2G5AT2zeiDw7WUVYK8lGVMNa319bnV+aw==} + /@commitlint/resolve-extends/14.1.0: + resolution: {integrity: sha512-ko80k6QB6E6/OvGNWy4u7gzzWyluDT3VDNL2kfZaDywsnrYntUKyT4Do97gQ7orttITzj2GRtk3KWClVz4rUUQ==} engines: {node: '>=v12'} dependencies: import-fresh: 3.3.0 @@ -1784,31 +1804,31 @@ packages: resolve-global: 1.0.0 dev: true - /@commitlint/rules/13.2.0: - resolution: {integrity: sha512-O3A9S7blOzvHfzrJrUQe9JxdtGy154ol/GXHwvd8WfMJ10y5ryBB4b6+0YZ1XhItWzrEASOfOKbD++EdLV90dQ==} + /@commitlint/rules/14.1.0: + resolution: {integrity: sha512-6jmv414/1JzGzDI/DS+snAMhcL6roQKPdg0WB3kWTWN52EvWXBFm0HIMGt2H/FlRKxozwVXlQN60/1fNIl98xA==} engines: {node: '>=v12'} dependencies: - '@commitlint/ensure': 13.2.0 - '@commitlint/message': 13.2.0 - '@commitlint/to-lines': 13.2.0 - '@commitlint/types': 13.2.0 + '@commitlint/ensure': 14.1.0 + '@commitlint/message': 14.0.0 + '@commitlint/to-lines': 14.0.0 + '@commitlint/types': 14.0.0 execa: 5.1.1 dev: true - /@commitlint/to-lines/13.2.0: - resolution: {integrity: sha512-ZfWZix2y/CzewReCrj5g0nKOEfj5HW9eBMDrqjJJMPApve00CWv0tYrFCGXuGlv244lW4uvWJt6J/0HLRWsfyg==} + /@commitlint/to-lines/14.0.0: + resolution: {integrity: sha512-uIXk54oJDuYyLpI208s3+cGmJ323yvSJ9LB7yUDMWUeJi2LgRxE2EBZL995kLQdnoAsBBXcLq+VDyppg5bV/cg==} engines: {node: '>=v12'} dev: true - /@commitlint/top-level/13.2.0: - resolution: {integrity: sha512-knBvWYbIq6VV6VPHrVeDsxDiJq4Zq6cv5NIYU3iesKAsmK2KlLfsZPa+Ig96Y4AqAPU3zNJwjHxYkz9qxdBbfA==} + /@commitlint/top-level/14.0.0: + resolution: {integrity: sha512-MZDKZfWfl9g4KozgWBGTCrI2cXkMHnBFlhwvEfrAu5G8wd5aL1f2uWEUMnBMjUikmhVj99i1pzge4XFWHQ29wQ==} engines: {node: '>=v12'} dependencies: find-up: 5.0.0 dev: true - /@commitlint/types/13.2.0: - resolution: {integrity: sha512-RRVHEqmk1qn/dIaSQhvuca6k/6Z54G+r/KyimZ8gnAFielGiGUpsFRhIY3qhd5rXClVxDaa3nlcyTWckSccotQ==} + /@commitlint/types/14.0.0: + resolution: {integrity: sha512-sIls1nP2uSbGL466edYlh8mn7O/WP4i3bcvP+2DMhkscRCSgaPhNRWDilhYVsHt2Vu1HTQ27uT0Bj5/Lt2+EcQ==} engines: {node: '>=v12'} dependencies: chalk: 4.1.2 @@ -1864,13 +1884,13 @@ packages: - typescript dev: true - /@eslint/eslintrc/0.4.3: - resolution: {integrity: sha512-J6KFFz5QCYUJq3pf0mjEcCJVERbzv71PUIDczuh9JkwGEzced6CO5ADLHB1rbf/+oPBtoPfMYNOpGDzCANlbXw==} - engines: {node: ^10.12.0 || >=12.0.0} + /@eslint/eslintrc/1.0.3: + resolution: {integrity: sha512-DHI1wDPoKCBPoLZA3qDR91+3te/wDSc1YhKg3jR8NxKKRJq2hwHwcWv31cSwSYvIBrmbENoYMWcenW8uproQqg==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: ajv: 6.12.6 debug: 4.3.2 - espree: 7.3.1 + espree: 9.0.0 globals: 13.12.0 ignore: 4.0.6 import-fresh: 3.3.0 @@ -2333,24 +2353,24 @@ packages: tslib: 2.3.1 dev: true - /@graphql-codegen/cli/2.2.0_graphql@15.7.2+typescript@4.4.4: - resolution: {integrity: sha512-f4EsScASza57aPM1z6eKAaYmwz83B/LsmiyBb8phy1NfbWea2IBUCfEgtvOHN85xbiMpdQfNtckE2mC84yH80w==} + /@graphql-codegen/cli/2.2.2_graphql@15.7.2+typescript@4.4.4: + resolution: {integrity: sha512-QTijlvgmzBkSQ/7+VTxQbkcEoSfX/qpX2yg6xXQPISU71Q+6k2dGvYfRrjchwGu7/cNeSaYfgh8S/MhkmNg7Uw==} hasBin: true peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 dependencies: - '@graphql-codegen/core': 2.1.0_graphql@15.7.2 - '@graphql-codegen/plugin-helpers': 2.3.0_graphql@15.7.2 - '@graphql-tools/apollo-engine-loader': 7.1.2_graphql@15.7.2 + '@graphql-codegen/core': 2.3.0_graphql@15.7.2 + '@graphql-codegen/plugin-helpers': 2.3.1_graphql@15.7.2 + '@graphql-tools/apollo-engine-loader': 7.2.1_graphql@15.7.2 '@graphql-tools/code-file-loader': 7.2.2_graphql@15.7.2 '@graphql-tools/git-loader': 7.1.2_graphql@15.7.2 - '@graphql-tools/github-loader': 7.1.1_graphql@15.7.2 + '@graphql-tools/github-loader': 7.2.1_graphql@15.7.2 '@graphql-tools/graphql-file-loader': 7.3.2_graphql@15.7.2 '@graphql-tools/json-file-loader': 7.3.2_graphql@15.7.2 '@graphql-tools/load': 7.4.1_graphql@15.7.2 '@graphql-tools/prisma-loader': 7.1.1_graphql@15.7.2 - '@graphql-tools/url-loader': 7.4.2_graphql@15.7.2 - '@graphql-tools/utils': 8.5.1_graphql@15.7.2 + '@graphql-tools/url-loader': 7.5.1_graphql@15.7.2 + '@graphql-tools/utils': 8.5.2_graphql@15.7.2 ansi-escapes: 4.3.2 chalk: 4.1.2 change-case-all: 1.0.14 @@ -2389,14 +2409,14 @@ packages: - zen-observable dev: true - /@graphql-codegen/core/2.1.0_graphql@15.7.2: - resolution: {integrity: sha512-pNzpBZWP+B7doPtANN61CMoBq382KMuGierbZXyilrO6RAqgN/DgU4UEIaQFat1BfiVA5GFDAQryysOv4glU8g==} + /@graphql-codegen/core/2.3.0_graphql@15.7.2: + resolution: {integrity: sha512-dGBd5DEOB1hJ3Ddd6l+3U4cbDZ91e0BIJQGTyZPLRYyffqJP+Y7IEYm4lMaBNY9m6qVXeGq+fgCS2SXlXEzJoA==} peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 dependencies: - '@graphql-codegen/plugin-helpers': 2.3.0_graphql@15.7.2 + '@graphql-codegen/plugin-helpers': 2.3.1_graphql@15.7.2 '@graphql-tools/schema': 8.3.1_graphql@15.7.2 - '@graphql-tools/utils': 8.5.1_graphql@15.7.2 + '@graphql-tools/utils': 8.5.2_graphql@15.7.2 graphql: 15.7.2 tslib: 2.3.1 dev: true @@ -2415,6 +2435,20 @@ packages: tslib: 2.3.1 dev: true + /@graphql-codegen/plugin-helpers/2.3.1_graphql@15.7.2: + resolution: {integrity: sha512-rWH7igcjYqZ6rqNFTb4Wyp31863fRmmVpsRN8VHzBCltrepOO97jwTwB93aAw+T6Dm8aZto3QFfDIC79u8wA2Q==} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-tools/utils': 8.5.2_graphql@15.7.2 + change-case-all: 1.0.14 + common-tags: 1.8.0 + graphql: 15.7.2 + import-from: 4.0.0 + lodash: 4.17.21 + tslib: 2.3.1 + dev: true + /@graphql-codegen/typed-document-node/2.2.0_graphql@15.7.2: resolution: {integrity: sha512-A/owHXw3f+OLCefY3qQnfQ5nEMbqQ5U/BEufRP3K15XXXUnoF1PpLvFrN0RcWRJtuzHfByt7Z2oKnNBEKyMUGg==} peerDependencies: @@ -2464,26 +2498,12 @@ packages: - supports-color dev: true - /@graphql-codegen/typescript/2.2.2_graphql@15.7.2: - resolution: {integrity: sha512-prcB4nNi2iQzZRLla6N6kEPmnE2WU1zz5+sEBcZcqphjWERqQ3zwdSKsuLorE/XxMp500p6BQ96cVo+bFkmVtA==} - peerDependencies: - graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 - dependencies: - '@graphql-codegen/plugin-helpers': 2.3.0_graphql@15.7.2 - '@graphql-codegen/visitor-plugin-common': 2.2.1_graphql@15.7.2 - auto-bind: 4.0.0 - graphql: 15.7.2 - tslib: 2.3.1 - transitivePeerDependencies: - - supports-color - dev: true - /@graphql-codegen/typescript/2.3.0_graphql@15.7.2: resolution: {integrity: sha512-bsq+y0cyrltVfpK5/JVz90lMBFby/Q+4oxiFGpjVdAjv/dbS9Bu476tQlN0Es76fc88Ce25wD40JXKfgWQDqKw==} peerDependencies: graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 dependencies: - '@graphql-codegen/plugin-helpers': 2.3.0_graphql@15.7.2 + '@graphql-codegen/plugin-helpers': 2.3.1_graphql@15.7.2 '@graphql-codegen/visitor-plugin-common': 2.5.0_graphql@15.7.2 auto-bind: 4.0.0 graphql: 15.7.2 @@ -2503,26 +2523,6 @@ packages: tslib: 2.3.1 dev: true - /@graphql-codegen/visitor-plugin-common/2.2.1_graphql@15.7.2: - resolution: {integrity: sha512-RbTCaayVCAEMp2jRUAwAp6Y49gq7K+SV/rwzdkoMUJUOUu4PxM4bCbWdnnXr0CIpbwjYIOnoqx729q6riT5+hg==} - peerDependencies: - graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 - dependencies: - '@graphql-codegen/plugin-helpers': 2.3.0_graphql@15.7.2 - '@graphql-tools/optimize': 1.1.1_graphql@15.7.2 - '@graphql-tools/relay-operation-optimizer': 6.4.1_graphql@15.7.2 - '@graphql-tools/utils': 8.2.2_graphql@15.7.2 - auto-bind: 4.0.0 - change-case-all: 1.0.14 - dependency-graph: 0.11.0 - graphql: 15.7.2 - graphql-tag: 2.12.5_graphql@15.7.2 - parse-filepath: 1.0.2 - tslib: 2.3.1 - transitivePeerDependencies: - - supports-color - dev: true - /@graphql-codegen/visitor-plugin-common/2.5.0_graphql@15.7.2: resolution: {integrity: sha512-a1kJ/5YBivCj9X20YuhNU2mPY9xjUVmJO0VjHBu06PyvC27GsR1PmvgRALIXrb6QwV+9DDUda3ewKzgne2Qc+A==} peerDependencies: @@ -2543,13 +2543,13 @@ packages: - supports-color dev: true - /@graphql-tools/apollo-engine-loader/7.1.2_graphql@15.7.2: - resolution: {integrity: sha512-ZI5/4I1ims88+MczjAzuRXn2uy5Rndl3C/wniMRqHbmQ9GukDj4HUNTO7e/81ST5ZwfolAQhwakQR16Ew3Exmw==} + /@graphql-tools/apollo-engine-loader/7.2.1_graphql@15.7.2: + resolution: {integrity: sha512-Fj/A8+9SXPTXkpKqhcSq7O9WZuMdy5zynGrnMyewbCuw1kSfzgC4pJB76ILSPa5ajOcC5bBmmvXm+yVFVRgVMg==} peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: - '@graphql-tools/utils': 8.5.1_graphql@15.7.2 - cross-fetch: 3.1.4 + '@graphql-tools/utils': 8.5.2_graphql@15.7.2 + cross-undici-fetch: 0.0.20 graphql: 15.7.2 sync-fetch: 0.3.1 tslib: 2.3.1 @@ -2583,7 +2583,7 @@ packages: peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: - '@graphql-tools/utils': 8.5.1_graphql@15.7.2 + '@graphql-tools/utils': 8.5.2_graphql@15.7.2 dataloader: 2.0.0 graphql: 15.7.2 tslib: 2.3.1 @@ -2609,7 +2609,7 @@ packages: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: '@graphql-tools/graphql-tag-pluck': 7.1.3_graphql@15.7.2 - '@graphql-tools/utils': 8.5.1_graphql@15.7.2 + '@graphql-tools/utils': 8.5.2_graphql@15.7.2 globby: 11.0.4 graphql: 15.7.2 tslib: 2.3.1 @@ -2654,7 +2654,7 @@ packages: dependencies: '@graphql-tools/batch-execute': 8.3.1_graphql@15.7.2 '@graphql-tools/schema': 8.3.1_graphql@15.7.2 - '@graphql-tools/utils': 8.5.1_graphql@15.7.2 + '@graphql-tools/utils': 8.5.2_graphql@15.7.2 dataloader: 2.0.0 graphql: 15.7.2 tslib: 2.3.1 @@ -2680,7 +2680,7 @@ packages: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: '@graphql-tools/graphql-tag-pluck': 7.1.3_graphql@15.7.2 - '@graphql-tools/utils': 8.5.1_graphql@15.7.2 + '@graphql-tools/utils': 8.5.2_graphql@15.7.2 graphql: 15.7.2 is-glob: 4.0.3 micromatch: 4.0.4 @@ -2704,15 +2704,16 @@ packages: - supports-color dev: false - /@graphql-tools/github-loader/7.1.1_graphql@15.7.2: - resolution: {integrity: sha512-LEg4FzKOkJ8NZEstG+EkIB056lg4dEuftLCgEe7zdMnDsP1KSc9IXvdNJrCYhL/QTaR/VmZVxVE393HXWzWF4Q==} + /@graphql-tools/github-loader/7.2.1_graphql@15.7.2: + resolution: {integrity: sha512-vqwh2H11ZkAATDam/JqiP0CSqQRPUbjgCDxPdUu/xvST2QKyA4+uVXLBcpBRJc5kJCQjELijeRWVHSk9oN1q6g==} peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: '@graphql-tools/graphql-tag-pluck': 7.1.3_graphql@15.7.2 - '@graphql-tools/utils': 8.5.1_graphql@15.7.2 - cross-fetch: 3.1.4 + '@graphql-tools/utils': 8.5.2_graphql@15.7.2 + cross-undici-fetch: 0.0.20 graphql: 15.7.2 + sync-fetch: 0.3.1 tslib: 2.3.1 transitivePeerDependencies: - supports-color @@ -2734,8 +2735,8 @@ packages: peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: - '@graphql-tools/import': 6.5.7_graphql@15.7.2 - '@graphql-tools/utils': 8.5.1_graphql@15.7.2 + '@graphql-tools/import': 6.5.8_graphql@15.7.2 + '@graphql-tools/utils': 8.5.2_graphql@15.7.2 globby: 11.0.4 graphql: 15.7.2 tslib: 2.3.1 @@ -2765,7 +2766,7 @@ packages: '@babel/parser': 7.15.8 '@babel/traverse': 7.15.4 '@babel/types': 7.15.6 - '@graphql-tools/utils': 8.5.1_graphql@15.7.2 + '@graphql-tools/utils': 8.5.2_graphql@15.7.2 graphql: 15.7.2 tslib: 2.3.1 transitivePeerDependencies: @@ -2781,6 +2782,18 @@ packages: graphql: 15.7.2 resolve-from: 5.0.0 tslib: 2.3.1 + dev: false + + /@graphql-tools/import/6.5.8_graphql@15.7.2: + resolution: {integrity: sha512-G0/PRf7tY3FZ8QzCeI+XH+CMye1Gd5JHw1G8RvhELxKG0l94xMAih/y7n8FgYp1Q2NgjsY2hFhUpdqgvF/WU3w==} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-tools/utils': 8.5.2_graphql@15.7.2 + graphql: 15.7.2 + resolve-from: 5.0.0 + tslib: 2.3.1 + dev: true /@graphql-tools/json-file-loader/6.2.6_graphql@15.7.2: resolution: {integrity: sha512-CnfwBSY5926zyb6fkDBHnlTblHnHI4hoBALFYXnrg0Ev4yWU8B04DZl/pBRUc459VNgO2x8/mxGIZj2hPJG1EA==} @@ -2797,7 +2810,7 @@ packages: peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: - '@graphql-tools/utils': 8.5.1_graphql@15.7.2 + '@graphql-tools/utils': 8.5.2_graphql@15.7.2 globby: 11.0.4 graphql: 15.7.2 tslib: 2.3.1 @@ -2856,7 +2869,7 @@ packages: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: '@graphql-tools/schema': 8.3.1_graphql@15.7.2 - '@graphql-tools/utils': 8.5.1_graphql@15.7.2 + '@graphql-tools/utils': 8.5.2_graphql@15.7.2 graphql: 15.7.2 p-limit: 3.1.0 tslib: 2.3.1 @@ -2917,8 +2930,8 @@ packages: peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: - '@graphql-tools/url-loader': 7.4.2_graphql@15.7.2 - '@graphql-tools/utils': 8.5.1_graphql@15.7.2 + '@graphql-tools/url-loader': 7.5.1_graphql@15.7.2 + '@graphql-tools/utils': 8.5.2_graphql@15.7.2 '@types/js-yaml': 4.0.4 '@types/json-stable-stringify': 1.0.33 '@types/jsonwebtoken': 8.5.5 @@ -3048,28 +3061,26 @@ packages: - utf-8-validate dev: false - /@graphql-tools/url-loader/7.4.2_graphql@15.7.2: - resolution: {integrity: sha512-dS/cTux3Xw5flM9KHCwPzq7S0Yy7ff8mOmvq2quDfYmn0OawhccyEcjGnrgQ896ujwg+qYQqEyB62hv4A5962w==} + /@graphql-tools/url-loader/7.5.1_graphql@15.7.2: + resolution: {integrity: sha512-P782cv7xB0D98ExUBUvNXmMckDIEgJjcNRRfe20fEa3Bh6snhNwL1aIHfQ3w6bzqU8Kdp4pMiOkamoHWbEsOHw==} peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: '@graphql-tools/delegate': 8.4.1_graphql@15.7.2 - '@graphql-tools/utils': 8.5.1_graphql@15.7.2 + '@graphql-tools/utils': 8.5.2_graphql@15.7.2 '@graphql-tools/wrap': 8.3.1_graphql@15.7.2 - '@n1ru4l/graphql-live-query': 0.8.1_graphql@15.7.2 + '@n1ru4l/graphql-live-query': 0.8.2_graphql@15.7.2 '@types/websocket': 1.0.4 '@types/ws': 8.2.0 - abort-controller: 3.0.0 - cross-fetch: 3.1.4 + cross-undici-fetch: 0.0.20 dset: 3.1.1 extract-files: 11.0.0 - form-data: 4.0.0 graphql: 15.7.2 graphql-sse: 1.0.5_graphql@15.7.2 graphql-ws: 5.5.5_graphql@15.7.2 isomorphic-ws: 4.0.1_ws@8.2.3 meros: 1.1.4 - subscriptions-transport-ws: 0.10.0_graphql@15.7.2 + subscriptions-transport-ws: 0.11.0_graphql@15.7.2 sync-fetch: 0.3.1 tslib: 2.3.1 valid-url: 1.0.9 @@ -3112,15 +3123,6 @@ packages: tslib: 2.3.1 dev: false - /@graphql-tools/utils/8.2.2_graphql@15.7.2: - resolution: {integrity: sha512-29FFY5U4lpXuBiW9dRvuWnBVwGhWbGLa2leZcAMU/Pz47Cr/QLZGVgpLBV9rt+Gbs7wyIJM7t7EuksPs0RDm3g==} - peerDependencies: - graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 - dependencies: - graphql: 15.7.2 - tslib: 2.3.1 - dev: true - /@graphql-tools/utils/8.5.1_graphql@15.7.2: resolution: {integrity: sha512-V/OQVpj+Z05qW9ZdlJWSKzREYlgGEq+juV+pUy3JO9jI+sZo/W3oncuW9+1awwp/RkL0aZ9RgjL+XYOgCsmOLw==} peerDependencies: @@ -3129,6 +3131,15 @@ packages: graphql: 15.7.2 tslib: 2.3.1 + /@graphql-tools/utils/8.5.2_graphql@15.7.2: + resolution: {integrity: sha512-wxA51td/759nQziPYh+HxE0WbURRufrp1lwfOYMgfK4e8Aa6gCa1P1p6ERogUIm423NrIfOVau19Q/BBpHdolw==} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + graphql: 15.7.2 + tslib: 2.3.1 + dev: true + /@graphql-tools/wrap/6.2.4_graphql@15.7.2: resolution: {integrity: sha512-cyQgpybolF9DjL2QNOvTS1WDCT/epgYoiA8/8b3nwv5xmMBQ6/6nYnZwityCZ7njb7MMyk7HBEDNNlP9qNJDcA==} peerDependencies: @@ -3162,7 +3173,7 @@ packages: dependencies: '@graphql-tools/delegate': 8.4.1_graphql@15.7.2 '@graphql-tools/schema': 8.3.1_graphql@15.7.2 - '@graphql-tools/utils': 8.5.1_graphql@15.7.2 + '@graphql-tools/utils': 8.5.2_graphql@15.7.2 graphql: 15.7.2 tslib: 2.3.1 value-or-promise: 1.0.11 @@ -3195,19 +3206,19 @@ packages: yargs: 16.2.0 dev: false - /@humanwhocodes/config-array/0.5.0: - resolution: {integrity: sha512-FagtKFz74XrTl7y6HCzQpwDfXP0yhxe9lHLD1UZxjvZIcbyRz8zTFF/yYNfSfzU414eDwZ1SrO0Qvtyf+wFMQg==} + /@humanwhocodes/config-array/0.6.0: + resolution: {integrity: sha512-JQlEKbcgEUjBFhLIF4iqM7u/9lwgHRBcpHrmUNCALK0Q3amXN6lxdoXLnF0sm11E9VqTmBALR87IlUg1bZ8A9A==} engines: {node: '>=10.10.0'} dependencies: - '@humanwhocodes/object-schema': 1.2.0 + '@humanwhocodes/object-schema': 1.2.1 debug: 4.3.2 minimatch: 3.0.4 transitivePeerDependencies: - supports-color dev: true - /@humanwhocodes/object-schema/1.2.0: - resolution: {integrity: sha512-wdppn25U8z/2yiaT6YGquE6X8sSv7hNMWSXYSSU1jGv/yd6XqjXgTDJ8KP4NgjTXfJ3GbRjeeb8RTV7a/VpM+w==} + /@humanwhocodes/object-schema/1.2.1: + resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==} dev: true /@iarna/toml/2.2.5: @@ -3461,8 +3472,8 @@ packages: resolution: {integrity: sha512-W6CLUJ2eBMw3Rec70qrsEW0jOm/3twwJv21mrmj2yORiaVmVYGS4sSS5yUwvQc1ZlDLYGPnClVWmUUMagKNsfA==} dev: false - /@n1ru4l/graphql-live-query/0.8.1_graphql@15.7.2: - resolution: {integrity: sha512-x5SLY+L9/5s07OJprISXx4csNBPF74UZeTI01ZPSaxOtRz2Gljk652kSPf6OjMLtx5uATr35O0M3G0LYhHBLtg==} + /@n1ru4l/graphql-live-query/0.8.2_graphql@15.7.2: + resolution: {integrity: sha512-StBuj5gxoVbFx2axvJF6ArnHVqVnibYeekRjO2T1KbUWyR+SbxaqDg9E3Ch9XkJnQAb+7HKW2JSUc+jnuqsXxQ==} peerDependencies: graphql: ^15.4.0 dependencies: @@ -3657,8 +3668,8 @@ packages: ufo: 0.7.9 dev: false - /@nuxt/kit-edge/3.0.0-27264278.aba2d22: - resolution: {integrity: sha512-FfPr+jGV7+exXKWZK+1h4by0pdBKWOqPJGzmlABna+tp/EDiqZL6EIFPfgl+DkgEFCvsT/Uya+7G0f6LX8QgMA==} + /@nuxt/kit-edge/3.0.0-27267095.2166661: + resolution: {integrity: sha512-o4qijroMtFMBDWHWEyKkZXUuqy6RfWK/OCn1vEuT0xaEh1frVJl6kbBVOYrnKr6Od1yk2bHD24huCp8nF7cGEw==} engines: {node: ^14.16.0 || ^16.11.0 || ^17.0.0} dependencies: consola: 2.15.3 @@ -3670,13 +3681,13 @@ packages: hookable: 5.0.0 jiti: 1.12.9 lodash.template: 4.5.0 - mlly: 0.3.11 + mlly: 0.3.12 pathe: 0.2.0 pkg-types: 0.3.1 rc9: 1.2.0 scule: 0.2.1 semver: 7.3.5 - std-env: 2.3.1 + std-env: 3.0.0 ufo: 0.7.9 unctx: 1.0.2 untyped: 0.2.11 @@ -3777,14 +3788,14 @@ packages: - webpack dev: true - /@nuxt/typescript-build/2.1.0_@nuxt+types@2.15.8+eslint@7.32.0: + /@nuxt/typescript-build/2.1.0_@nuxt+types@2.15.8+eslint@8.1.0: resolution: {integrity: sha512-7TLMpfzgOckf3cBkzoPFns6Xl8FzY6MoFfm/5HUE47QeTWAdOG9ZFxMrVhHWieZHYUuV+k6byRtaRv4S/3R8zA==} peerDependencies: '@nuxt/types': '>=2.13.1' dependencies: '@nuxt/types': 2.15.8_sass@1.43.4 consola: 2.15.3 - fork-ts-checker-webpack-plugin: 6.4.0_eslint@7.32.0+typescript@4.2.4 + fork-ts-checker-webpack-plugin: 6.4.0_eslint@8.1.0+typescript@4.2.4 ts-loader: 8.3.0_typescript@4.2.4 typescript: 4.2.4 transitivePeerDependencies: @@ -3949,48 +3960,50 @@ packages: dotenv: 8.6.0 dev: true - /@nuxtjs/eslint-config-typescript/6.0.1_eslint@7.32.0+typescript@4.4.4: - resolution: {integrity: sha512-ZK/C2ZtXrc2FlQwssc3gqc3K9RAtGF+OLGXRDtDxyrlhgPwAC4bc9McBGqUokdbE+pup0OA38PylPOhbWHZkrg==} + /@nuxtjs/eslint-config-typescript/7.0.2_eslint@8.1.0+typescript@4.4.4: + resolution: {integrity: sha512-nf/RupsrhproJPzoymmxMVFDQ48WV9BdN6zHSBR6uKmMpQcVoD/I4CAZfYW2f5gscnp2KPayKPoDEeugm7BajQ==} peerDependencies: - eslint: ^7.27.0 + eslint: ^8.1.0 dependencies: - '@nuxtjs/eslint-config': 6.0.1_f178490c6a6949e5c714e48d3ab36f98 - '@typescript-eslint/eslint-plugin': 4.33.0_cc617358c89d3f38c52462f6d809db4c - '@typescript-eslint/parser': 4.33.0_eslint@7.32.0+typescript@4.4.4 - eslint: 7.32.0 + '@nuxtjs/eslint-config': 7.0.0_8b83960a909347b56897443063930486 + '@typescript-eslint/eslint-plugin': 5.3.0_f8873316f48f7781ccc3e081fc76e214 + '@typescript-eslint/parser': 5.3.0_eslint@8.1.0+typescript@4.4.4 + eslint: 8.1.0 + eslint-import-resolver-typescript: 2.5.0_eslint@8.1.0 transitivePeerDependencies: + - eslint-plugin-import - supports-color - typescript dev: true - /@nuxtjs/eslint-config/6.0.1_f178490c6a6949e5c714e48d3ab36f98: - resolution: {integrity: sha512-NISrmMx4J2usVDVLG7WFwTdfQaznHf/b2aKTb1o0TCxxXdY30UHLqEH+3MqpjY+0+UPM06YswFmOBjOg5y2BXQ==} + /@nuxtjs/eslint-config/7.0.0_8b83960a909347b56897443063930486: + resolution: {integrity: sha512-GiDdRrAbqzo2PMDLw8taVpN16QdvcoEj08Cf3SKIhhg6fXlI2mcwSURJ85XHFvpKuRIWMxfkQ9RRuH6IUhiBqQ==} peerDependencies: - eslint: ^7.27.0 + eslint: ^8.1.0 dependencies: - eslint: 7.32.0 - eslint-config-standard: 16.0.3_a98be2c812be0dd4646c7ffcb7a10e91 - eslint-plugin-import: 2.25.2_eslint@7.32.0 - eslint-plugin-jest: 24.7.0_f178490c6a6949e5c714e48d3ab36f98 - eslint-plugin-node: 11.1.0_eslint@7.32.0 - eslint-plugin-promise: 5.1.1_eslint@7.32.0 - eslint-plugin-standard: 4.1.0_eslint@7.32.0 - eslint-plugin-unicorn: 28.0.2_eslint@7.32.0 - eslint-plugin-vue: 7.20.0_eslint@7.32.0 + eslint: 8.1.0 + eslint-config-standard: 16.0.3_0e7aa85332991e897b6a90eef80a6a17 + eslint-plugin-import: 2.25.2_eslint@8.1.0 + eslint-plugin-jest: 25.2.2_8b83960a909347b56897443063930486 + eslint-plugin-node: 11.1.0_eslint@8.1.0 + eslint-plugin-promise: 5.1.1_eslint@8.1.0 + eslint-plugin-standard: 5.0.0_eslint@8.1.0 + eslint-plugin-unicorn: 37.0.1_eslint@8.1.0 + eslint-plugin-vue: 7.20.0_eslint@8.1.0 transitivePeerDependencies: - '@typescript-eslint/eslint-plugin' - supports-color - typescript dev: true - /@nuxtjs/eslint-module/3.0.2_eslint@7.32.0: + /@nuxtjs/eslint-module/3.0.2_eslint@8.1.0: resolution: {integrity: sha512-9q6/bMSvUU2L7Vhy5LUmghW3BQZMReQAvywBwZtX7s62W6dIL7IdD1T3u2zc8JW90grtJK84Ocx3dyYTj/Oavw==} peerDependencies: eslint: '>=7' dependencies: consola: 2.15.3 - eslint: 7.32.0 - eslint-webpack-plugin: 2.5.4_eslint@7.32.0 + eslint: 8.1.0 + eslint-webpack-plugin: 2.5.4_eslint@8.1.0 transitivePeerDependencies: - webpack dev: true @@ -4015,8 +4028,8 @@ packages: semver: 7.3.5 dev: false - /@nuxtjs/i18n/7.1.0: - resolution: {integrity: sha512-g8ynhA7JYZTwQXr+KQElDWe4zqB58k3fJhzjyse96S7SUtnday49P28oIakW+GKC5VzXNJqoE/lHFz7NteeVug==} + /@nuxtjs/i18n/7.2.0: + resolution: {integrity: sha512-fO/QRMxZ0t6LpYJ7ti6mHc0lsog4SMr7Xll3d45zdVSI7+5eBE1YcoG8yXv1sndGQZoq8k0iD1dXuAJA6UL5ww==} dependencies: '@babel/parser': 7.16.2 '@babel/traverse': 7.16.0 @@ -4029,7 +4042,7 @@ packages: klona: 2.0.5 lodash.merge: 4.6.2 ufo: 0.7.9 - vue-i18n: 8.26.6 + vue-i18n: 8.26.7 transitivePeerDependencies: - supports-color dev: false @@ -4075,14 +4088,14 @@ packages: sitemap: 4.1.1 dev: false - /@nuxtjs/stylelint-module/4.0.0_stylelint@13.13.1: + /@nuxtjs/stylelint-module/4.0.0_stylelint@14.0.1: resolution: {integrity: sha512-yNVCpbZQH07wr7nOoTdb7dNHSA2PUw/Y9Pw2rOQ3Dp2FSDh6/+o56Pojwnxf/xBON9EUBiCrglTMMO3mWd7YQA==} peerDependencies: stylelint: ^13.0.0 dependencies: consola: 2.15.3 - stylelint: 13.13.1 - stylelint-webpack-plugin: 2.2.2_stylelint@13.13.1 + stylelint: 14.0.1 + stylelint-webpack-plugin: 2.2.2_stylelint@14.0.1 transitivePeerDependencies: - webpack dev: true @@ -4419,34 +4432,6 @@ packages: resolution: {integrity: sha512-2pTGuibAXJswAPJjaKisthqS/NOK5ypG4LYT6tEAV0S/mxW0zOIvYvGK0V8w8+SHxAm6vRMSjqSalFXeBAqs+Q==} dev: false - /@stylelint/postcss-css-in-js/0.37.2_4f7b71a942b8b7a555b8adf78f88122b: - resolution: {integrity: sha512-nEhsFoJurt8oUmieT8qy4nk81WRHmJynmVwn/Vts08PL9fhgIsMhk1GId5yAN643OzqEEb5S/6At2TZW7pqPDA==} - peerDependencies: - postcss: '>=7.0.0' - postcss-syntax: '>=0.36.2' - dependencies: - '@babel/core': 7.16.0 - postcss: 7.0.39 - postcss-syntax: 0.36.2_postcss@7.0.39 - transitivePeerDependencies: - - supports-color - dev: true - - /@stylelint/postcss-markdown/0.36.2_4f7b71a942b8b7a555b8adf78f88122b: - resolution: {integrity: sha512-2kGbqUVJUGE8dM+bMzXG/PYUWKkjLIkRLWNh39OaADkiabDRdw8ATFCgbMz5xdIcvwspPAluSL7uY+ZiTWdWmQ==} - deprecated: 'Use the original unforked package instead: postcss-markdown' - peerDependencies: - postcss: '>=7.0.0' - postcss-syntax: '>=0.36.2' - dependencies: - postcss: 7.0.39 - postcss-syntax: 0.36.2_postcss@7.0.39 - remark: 13.0.0 - unist-util-find-all-after: 3.0.2 - transitivePeerDependencies: - - supports-color - dev: true - /@szmarczak/http-timer/1.1.2: resolution: {integrity: sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==} engines: {node: '>=6'} @@ -4799,12 +4784,6 @@ packages: resolution: {integrity: sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==} dev: false - /@types/mdast/3.0.10: - resolution: {integrity: sha512-W864tg/Osz1+9f4lrGTZpCSO5/z4608eUp19tbozkq2HJK6i3z1kT0H9tlADXuYIb1YYOBByU4Jsqkk75q48qA==} - dependencies: - '@types/unist': 2.0.6 - dev: true - /@types/mime/1.3.2: resolution: {integrity: sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw==} @@ -4967,10 +4946,6 @@ packages: dependencies: source-map: 0.6.1 - /@types/unist/2.0.6: - resolution: {integrity: sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==} - dev: true - /@types/webpack-bundle-analyzer/3.9.3: resolution: {integrity: sha512-l/vaDMWGcXiMB3CbczpyICivLTB07/JNtn1xebsRXE9tPaUDEHgX3x7YP6jfznG5TOu7I4w0Qx1tZz61znmPmg==} dependencies: @@ -5064,24 +5039,24 @@ packages: resolution: {integrity: sha512-fbF6oTd4sGGy0xjHPKAt+eS2CrxJ3+6gQ3FGcBoIJR2TLAyCkCyI8JqZNy+FeON0AhVgNJoUumVoZQjBFUqHkw==} dev: false - /@typescript-eslint/eslint-plugin/4.33.0_cc617358c89d3f38c52462f6d809db4c: - resolution: {integrity: sha512-aINiAxGVdOl1eJyVjaWn/YcVAq4Gi/Yo35qHGCnqbWVz61g39D0h23veY/MA0rFFGfxK7TySg2uwDeNv+JgVpg==} - engines: {node: ^10.12.0 || >=12.0.0} + /@typescript-eslint/eslint-plugin/5.3.0_f8873316f48f7781ccc3e081fc76e214: + resolution: {integrity: sha512-ARUEJHJrq85aaiCqez7SANeahDsJTD3AEua34EoQN9pHS6S5Bq9emcIaGGySt/4X2zSi+vF5hAH52sEen7IO7g==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: - '@typescript-eslint/parser': ^4.0.0 - eslint: ^5.0.0 || ^6.0.0 || ^7.0.0 + '@typescript-eslint/parser': ^5.0.0 + eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 typescript: '*' peerDependenciesMeta: typescript: optional: true dependencies: - '@typescript-eslint/experimental-utils': 4.33.0_eslint@7.32.0+typescript@4.4.4 - '@typescript-eslint/parser': 4.33.0_eslint@7.32.0+typescript@4.4.4 - '@typescript-eslint/scope-manager': 4.33.0 + '@typescript-eslint/experimental-utils': 5.3.0_eslint@8.1.0+typescript@4.4.4 + '@typescript-eslint/parser': 5.3.0_eslint@8.1.0+typescript@4.4.4 + '@typescript-eslint/scope-manager': 5.3.0 debug: 4.3.2 - eslint: 7.32.0 + eslint: 8.1.0 functional-red-black-tree: 1.0.1 - ignore: 5.1.8 + ignore: 5.1.9 regexpp: 3.2.0 semver: 7.3.5 tsutils: 3.21.0_typescript@4.4.4 @@ -5090,68 +5065,68 @@ packages: - supports-color dev: true - /@typescript-eslint/experimental-utils/4.33.0_eslint@7.32.0+typescript@4.4.4: - resolution: {integrity: sha512-zeQjOoES5JFjTnAhI5QY7ZviczMzDptls15GFsI6jyUOq0kOf9+WonkhtlIhh0RgHRnqj5gdNxW5j1EvAyYg6Q==} - engines: {node: ^10.12.0 || >=12.0.0} + /@typescript-eslint/experimental-utils/5.3.0_eslint@8.1.0+typescript@4.4.4: + resolution: {integrity: sha512-NFVxYTjKj69qB0FM+piah1x3G/63WB8vCBMnlnEHUsiLzXSTWb9FmFn36FD9Zb4APKBLY3xRArOGSMQkuzTF1w==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: '*' dependencies: '@types/json-schema': 7.0.9 - '@typescript-eslint/scope-manager': 4.33.0 - '@typescript-eslint/types': 4.33.0 - '@typescript-eslint/typescript-estree': 4.33.0_typescript@4.4.4 - eslint: 7.32.0 + '@typescript-eslint/scope-manager': 5.3.0 + '@typescript-eslint/types': 5.3.0 + '@typescript-eslint/typescript-estree': 5.3.0_typescript@4.4.4 + eslint: 8.1.0 eslint-scope: 5.1.1 - eslint-utils: 3.0.0_eslint@7.32.0 + eslint-utils: 3.0.0_eslint@8.1.0 transitivePeerDependencies: - supports-color - typescript dev: true - /@typescript-eslint/parser/4.33.0_eslint@7.32.0+typescript@4.4.4: - resolution: {integrity: sha512-ZohdsbXadjGBSK0/r+d87X0SBmKzOq4/S5nzK6SBgJspFo9/CUDJ7hjayuze+JK7CZQLDMroqytp7pOcFKTxZA==} - engines: {node: ^10.12.0 || >=12.0.0} + /@typescript-eslint/parser/5.3.0_eslint@8.1.0+typescript@4.4.4: + resolution: {integrity: sha512-rKu/yAReip7ovx8UwOAszJVO5MgBquo8WjIQcp1gx4pYQCwYzag+I5nVNHO4MqyMkAo0gWt2gWUi+36gWAVKcw==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: - eslint: ^5.0.0 || ^6.0.0 || ^7.0.0 + eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 typescript: '*' peerDependenciesMeta: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 4.33.0 - '@typescript-eslint/types': 4.33.0 - '@typescript-eslint/typescript-estree': 4.33.0_typescript@4.4.4 + '@typescript-eslint/scope-manager': 5.3.0 + '@typescript-eslint/types': 5.3.0 + '@typescript-eslint/typescript-estree': 5.3.0_typescript@4.4.4 debug: 4.3.2 - eslint: 7.32.0 + eslint: 8.1.0 typescript: 4.4.4 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/scope-manager/4.33.0: - resolution: {integrity: sha512-5IfJHpgTsTZuONKbODctL4kKuQje/bzBRkwHE8UOZ4f89Zeddg+EGZs8PD8NcN4LdM3ygHWYB3ukPAYjvl/qbQ==} - engines: {node: ^8.10.0 || ^10.13.0 || >=11.10.1} + /@typescript-eslint/scope-manager/5.3.0: + resolution: {integrity: sha512-22Uic9oRlTsPppy5Tcwfj+QET5RWEnZ5414Prby465XxQrQFZ6nnm5KnXgnsAJefG4hEgMnaxTB3kNEyjdjj6A==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 4.33.0 - '@typescript-eslint/visitor-keys': 4.33.0 + '@typescript-eslint/types': 5.3.0 + '@typescript-eslint/visitor-keys': 5.3.0 dev: true - /@typescript-eslint/types/4.33.0: - resolution: {integrity: sha512-zKp7CjQzLQImXEpLt2BUw1tvOMPfNoTAfb8l51evhYbOEEzdWyQNmHWWGPR6hwKJDAi+1VXSBmnhL9kyVTTOuQ==} - engines: {node: ^8.10.0 || ^10.13.0 || >=11.10.1} + /@typescript-eslint/types/5.3.0: + resolution: {integrity: sha512-fce5pG41/w8O6ahQEhXmMV+xuh4+GayzqEogN24EK+vECA3I6pUwKuLi5QbXO721EMitpQne5VKXofPonYlAQg==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@typescript-eslint/typescript-estree/4.33.0_typescript@4.4.4: - resolution: {integrity: sha512-rkWRY1MPFzjwnEVHsxGemDzqqddw2QbTJlICPD9p9I9LfsO8fdmfQPOX3uKfUaGRDFJbfrtm/sXhVXN4E+bzCA==} - engines: {node: ^10.12.0 || >=12.0.0} + /@typescript-eslint/typescript-estree/5.3.0_typescript@4.4.4: + resolution: {integrity: sha512-FJ0nqcaUOpn/6Z4Jwbtf+o0valjBLkqc3MWkMvrhA2TvzFXtcclIM8F4MBEmYa2kgcI8EZeSAzwoSrIC8JYkug==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: typescript: '*' peerDependenciesMeta: typescript: optional: true dependencies: - '@typescript-eslint/types': 4.33.0 - '@typescript-eslint/visitor-keys': 4.33.0 + '@typescript-eslint/types': 5.3.0 + '@typescript-eslint/visitor-keys': 5.3.0 debug: 4.3.2 globby: 11.0.4 is-glob: 4.0.3 @@ -5162,12 +5137,12 @@ packages: - supports-color dev: true - /@typescript-eslint/visitor-keys/4.33.0: - resolution: {integrity: sha512-uqi/2aSz9g2ftcHWf8uLPJA70rUv6yuMW5Bohw+bwcuzaxQIHaKFZCKGoGXIrc9vkTJ3+0txM73K0Hq3d5wgIg==} - engines: {node: ^8.10.0 || ^10.13.0 || >=11.10.1} + /@typescript-eslint/visitor-keys/5.3.0: + resolution: {integrity: sha512-oVIAfIQuq0x2TFDNLVavUn548WL+7hdhxYn+9j3YdJJXB7mH9dAmZNJsPDa7Jc+B9WGqoiex7GUDbyMxV0a/aw==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 4.33.0 - eslint-visitor-keys: 2.1.0 + '@typescript-eslint/types': 5.3.0 + eslint-visitor-keys: 3.0.0 dev: true /@urql/core/2.3.4_graphql@15.7.2: @@ -5626,6 +5601,14 @@ packages: acorn: 7.4.1 dev: true + /acorn-jsx/5.3.2_acorn@8.5.0: + resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} + peerDependencies: + acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 + dependencies: + acorn: 8.5.0 + dev: true + /acorn-loose/6.1.0: resolution: {integrity: sha512-FHhXoiF0Uch3IqsrnPpWwCtiv5PYvipTpT1k9lDMgQVVYc9iDuSl5zdJV358aI8twfHCYMFBRVYvAVki9wC/ng==} engines: {node: '>=0.4.0'} @@ -5940,7 +5923,7 @@ packages: engines: {node: '>=8'} dependencies: '@types/node-fetch': 2.5.12 - core-js: 3.19.0 + core-js: 3.19.1 node-fetch: 2.6.6 sha.js: 2.4.11 dev: false @@ -5974,7 +5957,7 @@ packages: apollo-link-http: 1.5.17_graphql@15.7.2 apollo-server-errors: 2.5.0_graphql@15.7.2 await-to-js: 2.1.1 - core-js: 3.19.0 + core-js: 3.19.1 cosmiconfig: 5.2.1 dotenv: 8.6.0 glob: 7.2.0 @@ -6473,6 +6456,7 @@ packages: picocolors: 0.2.1 postcss: 7.0.39 postcss-value-parser: 4.1.0 + dev: false /await-to-js/2.1.1: resolution: {integrity: sha512-CHBC6gQGCIzjZ09tJ+XmpQoZOn4GdWePB4qUweCaKNJ0D3f115YdhmYVTZ4rMVpiJ3cFzZcTYK1VMYEICV4YXw==} @@ -6753,10 +6737,6 @@ packages: /backo2/1.0.2: resolution: {integrity: sha1-MasayLEpNjRj41s+u2n038+6eUc=} - /bail/1.0.5: - resolution: {integrity: sha512-xFbRxM1tahm08yHBP16MMjVUAvDaBMD38zsM9EMAUN61omwLmKlOpB/Zku5QkjZ8TZ4vn53pj+t518cH0S03RQ==} - dev: true - /balanced-match/1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} @@ -7001,6 +6981,11 @@ packages: base64-js: 1.5.1 ieee754: 1.2.1 + /builtin-modules/3.2.0: + resolution: {integrity: sha512-lGzLKcioL90C7wMczpkY0n/oART3MbBa8R9OFGE1rJxoVI86u4WAGfEk8Wjv10eKSyTHVGkSo3bvBylCEtk7LA==} + engines: {node: '>=6'} + dev: true + /builtin-status-codes/3.0.0: resolution: {integrity: sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=} dev: false @@ -7296,18 +7281,6 @@ packages: engines: {node: '>=10'} dev: true - /character-entities-legacy/1.1.4: - resolution: {integrity: sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==} - dev: true - - /character-entities/1.2.4: - resolution: {integrity: sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==} - dev: true - - /character-reference-invalid/1.1.4: - resolution: {integrity: sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==} - dev: true - /chardet/0.7.0: resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} @@ -7384,6 +7357,7 @@ packages: /ci-info/2.0.0: resolution: {integrity: sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==} + dev: false /ci-info/3.2.0: resolution: {integrity: sha512-dVqRX7fLUm8J6FgHJ418XuIgDLZDkYcDFTeL6TA2gt5WlIZUQrrH6EZrNClwT/H0FateUsZkGIOPRrLbP+PR9A==} @@ -7584,7 +7558,6 @@ packages: /clone/2.1.2: resolution: {integrity: sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=} engines: {node: '>=0.8'} - dev: true /co/4.6.0: resolution: {integrity: sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=} @@ -7906,8 +7879,8 @@ packages: deprecated: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. requiresBuild: true - /core-js/3.19.0: - resolution: {integrity: sha512-L1TpFRWXZ76vH1yLM+z6KssLZrP8Z6GxxW4auoCj+XiViOzNPJCAuTIkn03BGdFe6Z5clX5t64wRIRypsZQrUg==} + /core-js/3.19.1: + resolution: {integrity: sha512-Tnc7E9iKd/b/ff7GFbhwPVzJzPztGrChB8X8GLqoYGdEOG8IpLnK1xPyo3ZoO3HsK6TodJS58VGPOxA+hLHQMg==} requiresBuild: true dev: false @@ -8030,6 +8003,15 @@ packages: shebang-command: 2.0.0 which: 2.0.2 + /cross-undici-fetch/0.0.20: + resolution: {integrity: sha512-5d3WBC4VRHpFndECK9bx4TngXrw0OUXdhX561Ty1ZoqMASz9uf55BblhTC1CO6GhMWnvk9SOqYEXQliq6D2P4A==} + dependencies: + abort-controller: 3.0.0 + form-data: 4.0.0 + node-fetch: 2.6.6 + undici: 4.9.5 + dev: true + /crypto-browserify/3.12.0: resolution: {integrity: sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==} dependencies: @@ -8984,16 +8966,16 @@ packages: source-map: 0.6.1 dev: true - /eslint-config-prettier/8.3.0_eslint@7.32.0: + /eslint-config-prettier/8.3.0_eslint@8.1.0: resolution: {integrity: sha512-BgZuLUSeKzvlL/VUjx/Yb787VQ26RU3gGjA3iiFvdsp/2bMfVIWUVP7tjxtjS0e+HP409cPlPvNkQloz8C91ew==} hasBin: true peerDependencies: eslint: '>=7.0.0' dependencies: - eslint: 7.32.0 + eslint: 8.1.0 dev: true - /eslint-config-standard/16.0.3_a98be2c812be0dd4646c7ffcb7a10e91: + /eslint-config-standard/16.0.3_0e7aa85332991e897b6a90eef80a6a17: resolution: {integrity: sha512-x4fmJL5hGqNJKGHSjnLdgA6U6h1YW/G2dW9fA+cyVur4SK6lyue8+UgNKWlZtUDTXvgKDD/Oa3GQjmB5kjtVvg==} peerDependencies: eslint: ^7.12.1 @@ -9001,10 +8983,10 @@ packages: eslint-plugin-node: ^11.1.0 eslint-plugin-promise: ^4.2.1 || ^5.0.0 dependencies: - eslint: 7.32.0 - eslint-plugin-import: 2.25.2_eslint@7.32.0 - eslint-plugin-node: 11.1.0_eslint@7.32.0 - eslint-plugin-promise: 5.1.1_eslint@7.32.0 + eslint: 8.1.0 + eslint-plugin-import: 2.25.2_eslint@8.1.0 + eslint-plugin-node: 11.1.0_eslint@8.1.0 + eslint-plugin-promise: 5.1.1_eslint@8.1.0 dev: true /eslint-import-resolver-node/0.3.6: @@ -9014,6 +8996,23 @@ packages: resolve: 1.20.0 dev: true + /eslint-import-resolver-typescript/2.5.0_eslint@8.1.0: + resolution: {integrity: sha512-qZ6e5CFr+I7K4VVhQu3M/9xGv9/YmwsEXrsm3nimw8vWaVHRDrQRp26BgCypTxBp3vUp4o5aVEJRiy0F2DFddQ==} + engines: {node: '>=4'} + peerDependencies: + eslint: '*' + eslint-plugin-import: '*' + dependencies: + debug: 4.3.2 + eslint: 8.1.0 + glob: 7.2.0 + is-glob: 4.0.3 + resolve: 1.20.0 + tsconfig-paths: 3.11.0 + transitivePeerDependencies: + - supports-color + dev: true + /eslint-module-utils/2.7.1: resolution: {integrity: sha512-fjoetBXQZq2tSTWZ9yWVl2KuFrTZZH3V+9iD1V1RfpDgxzJR+mPd/KZmMiA8gbPqdBzpNiEHOuT7IYEWxrH0zQ==} engines: {node: '>=4'} @@ -9023,18 +9022,18 @@ packages: pkg-dir: 2.0.0 dev: true - /eslint-plugin-es/3.0.1_eslint@7.32.0: + /eslint-plugin-es/3.0.1_eslint@8.1.0: resolution: {integrity: sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==} engines: {node: '>=8.10.0'} peerDependencies: eslint: '>=4.19.1' dependencies: - eslint: 7.32.0 + eslint: 8.1.0 eslint-utils: 2.1.0 regexpp: 3.2.0 dev: true - /eslint-plugin-import/2.25.2_eslint@7.32.0: + /eslint-plugin-import/2.25.2_eslint@8.1.0: resolution: {integrity: sha512-qCwQr9TYfoBHOFcVGKY9C9unq05uOxxdklmBXLVvcwo68y5Hta6/GzCZEMx2zQiu0woKNEER0LE7ZgaOfBU14g==} engines: {node: '>=4'} peerDependencies: @@ -9044,7 +9043,7 @@ packages: array.prototype.flat: 1.2.5 debug: 2.6.9 doctrine: 2.1.0 - eslint: 7.32.0 + eslint: 8.1.0 eslint-import-resolver-node: 0.3.6 eslint-module-utils: 2.7.1 has: 1.0.3 @@ -9056,51 +9055,51 @@ packages: tsconfig-paths: 3.11.0 dev: true - /eslint-plugin-jest/24.7.0_f178490c6a6949e5c714e48d3ab36f98: - resolution: {integrity: sha512-wUxdF2bAZiYSKBclsUMrYHH6WxiBreNjyDxbRv345TIvPeoCEgPNEn3Sa+ZrSqsf1Dl9SqqSREXMHExlMMu1DA==} - engines: {node: '>=10'} + /eslint-plugin-jest/25.2.2_8b83960a909347b56897443063930486: + resolution: {integrity: sha512-frn5yhOF60U4kcqozO3zKTNZQUk+mfx037XOy2iiYL8FhorEkuCuL3/flzKcY1ECDP2WYT9ydmvlO3fRW9o4mg==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} peerDependencies: - '@typescript-eslint/eslint-plugin': '>= 4' - eslint: '>=5' + '@typescript-eslint/eslint-plugin': ^4.0.0 || ^5.0.0 + eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 peerDependenciesMeta: '@typescript-eslint/eslint-plugin': optional: true dependencies: - '@typescript-eslint/eslint-plugin': 4.33.0_cc617358c89d3f38c52462f6d809db4c - '@typescript-eslint/experimental-utils': 4.33.0_eslint@7.32.0+typescript@4.4.4 - eslint: 7.32.0 + '@typescript-eslint/eslint-plugin': 5.3.0_f8873316f48f7781ccc3e081fc76e214 + '@typescript-eslint/experimental-utils': 5.3.0_eslint@8.1.0+typescript@4.4.4 + eslint: 8.1.0 transitivePeerDependencies: - supports-color - typescript dev: true - /eslint-plugin-node/11.1.0_eslint@7.32.0: + /eslint-plugin-node/11.1.0_eslint@8.1.0: resolution: {integrity: sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==} engines: {node: '>=8.10.0'} peerDependencies: eslint: '>=5.16.0' dependencies: - eslint: 7.32.0 - eslint-plugin-es: 3.0.1_eslint@7.32.0 + eslint: 8.1.0 + eslint-plugin-es: 3.0.1_eslint@8.1.0 eslint-utils: 2.1.0 - ignore: 5.1.8 + ignore: 5.1.9 minimatch: 3.0.4 resolve: 1.20.0 semver: 6.3.0 dev: true - /eslint-plugin-nuxt/2.0.0_eslint@7.32.0: - resolution: {integrity: sha512-0VaG4SlKeGwMKSmOug/gNjliKoDNM/XfgiPhJ4v6FnjYrM3zSwTQVMH6vPjI8Gs722NjgwOZTucvmYbHzYEp5A==} + /eslint-plugin-nuxt/3.0.0_eslint@8.1.0: + resolution: {integrity: sha512-imtSTazhE1RVmdOk22Ee7RJrMZchXDj7IQrOnMWvYpgHyJ2p4F03IJ+hj7bgvKwmnGVgX+/l2CrV3HxOYrksFQ==} dependencies: - eslint-plugin-vue: 7.20.0_eslint@7.32.0 + eslint-plugin-vue: 7.20.0_eslint@8.1.0 semver: 7.3.5 - vue-eslint-parser: 7.11.0_eslint@7.32.0 + vue-eslint-parser: 8.0.1_eslint@8.1.0 transitivePeerDependencies: - eslint - supports-color dev: true - /eslint-plugin-prettier/4.0.0_6e975bd57c7acf028c1a9ddbbf60c898: + /eslint-plugin-prettier/4.0.0_850528f9ec3c0797b9b19a94a36b5ba3: resolution: {integrity: sha512-98MqmCJ7vJodoQK359bqQWaxOE0CS8paAz/GgjaZLyex4TTk3g9HugoO89EqWCrFiOqn9EVvcoo7gZzONCWVwQ==} engines: {node: '>=6.0.0'} peerDependencies: @@ -9111,64 +9110,82 @@ packages: eslint-config-prettier: optional: true dependencies: - eslint: 7.32.0 - eslint-config-prettier: 8.3.0_eslint@7.32.0 + eslint: 8.1.0 + eslint-config-prettier: 8.3.0_eslint@8.1.0 prettier: 2.4.1 prettier-linter-helpers: 1.0.0 dev: true - /eslint-plugin-promise/5.1.1_eslint@7.32.0: + /eslint-plugin-promise/5.1.1_eslint@8.1.0: resolution: {integrity: sha512-XgdcdyNzHfmlQyweOPTxmc7pIsS6dE4MvwhXWMQ2Dxs1XAL2GJDilUsjWen6TWik0aSI+zD/PqocZBblcm9rdA==} engines: {node: ^10.12.0 || >=12.0.0} peerDependencies: eslint: ^7.0.0 dependencies: - eslint: 7.32.0 + eslint: 8.1.0 dev: true - /eslint-plugin-standard/4.1.0_eslint@7.32.0: - resolution: {integrity: sha512-ZL7+QRixjTR6/528YNGyDotyffm5OQst/sGxKDwGb9Uqs4In5Egi4+jbobhqJoyoCM6/7v/1A5fhQ7ScMtDjaQ==} + /eslint-plugin-standard/5.0.0_eslint@8.1.0: + resolution: {integrity: sha512-eSIXPc9wBM4BrniMzJRBm2uoVuXz2EPa+NXPk2+itrVt+r5SbKFERx/IgrK/HmfjddyKVz2f+j+7gBRvu19xLg==} + deprecated: 'standard 16.0.0 and eslint-config-standard 16.0.0 no longer require the eslint-plugin-standard package. You can remove it from your dependencies with ''npm rm eslint-plugin-standard''. More info here: https://github.com/standard/standard/issues/1316' peerDependencies: eslint: '>=5.0.0' dependencies: - eslint: 7.32.0 + eslint: 8.1.0 dev: true - /eslint-plugin-unicorn/28.0.2_eslint@7.32.0: - resolution: {integrity: sha512-k4AoFP7n8/oq6lBXkdc9Flid6vw2B8j7aXFCxgzJCyKvmaKrCUFb1TFPhG9eSJQFZowqmymMPRtl8oo9NKLUbw==} - engines: {node: '>=10'} + /eslint-plugin-unicorn/37.0.1_eslint@8.1.0: + resolution: {integrity: sha512-E1jq5u9ojnadisJcPi+hMXTGSiIzkIUMDvWsBudsCGXvKUB2aNSU2TcfyW2/jAS5A4ryBXfzxLykMxX1EdluSQ==} + engines: {node: '>=12'} peerDependencies: - eslint: '>=7.17.0' + eslint: '>=7.32.0' dependencies: - ci-info: 2.0.0 + '@babel/helper-validator-identifier': 7.15.7 + ci-info: 3.2.0 clean-regexp: 1.0.0 - eslint: 7.32.0 - eslint-template-visitor: 2.3.2_eslint@7.32.0 - eslint-utils: 2.1.0 - eslint-visitor-keys: 2.1.0 - import-modules: 2.1.0 + eslint: 8.1.0 + eslint-template-visitor: 2.3.2_eslint@8.1.0 + eslint-utils: 3.0.0_eslint@8.1.0 + esquery: 1.4.0 + indent-string: 4.0.0 + is-builtin-module: 3.1.0 lodash: 4.17.21 pluralize: 8.0.0 read-pkg-up: 7.0.1 regexp-tree: 0.1.24 - reserved-words: 0.1.2 safe-regex: 2.1.1 semver: 7.3.5 + strip-indent: 3.0.0 transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-vue/7.20.0_eslint@7.32.0: + /eslint-plugin-vue/7.20.0_eslint@8.1.0: resolution: {integrity: sha512-oVNDqzBC9h3GO+NTgWeLMhhGigy6/bQaQbHS+0z7C4YEu/qK/yxHvca/2PTZtGNPsCrHwOTgKMrwu02A9iPBmw==} engines: {node: '>=8.10'} peerDependencies: eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 dependencies: - eslint: 7.32.0 + eslint: 8.1.0 eslint-utils: 2.1.0 natural-compare: 1.4.0 semver: 6.3.0 - vue-eslint-parser: 7.11.0_eslint@7.32.0 + vue-eslint-parser: 7.11.0_eslint@8.1.0 + transitivePeerDependencies: + - supports-color + dev: true + + /eslint-plugin-vue/8.0.3_eslint@8.1.0: + resolution: {integrity: sha512-Rlhhy5ltzde0sRwSkqHuNePTXLMMaJ5+qsQubM4RYloYsQ8cXlnJT5MDaCzSirkGADipOHtmQXIbbPFAzUrADg==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 + dependencies: + eslint: 8.1.0 + eslint-utils: 3.0.0_eslint@8.1.0 + natural-compare: 1.4.0 + semver: 7.3.5 + vue-eslint-parser: 8.0.1_eslint@8.1.0 transitivePeerDependencies: - supports-color dev: true @@ -9189,14 +9206,22 @@ packages: estraverse: 4.3.0 dev: true - /eslint-template-visitor/2.3.2_eslint@7.32.0: + /eslint-scope/6.0.0: + resolution: {integrity: sha512-uRDL9MWmQCkaFus8RF5K9/L/2fn+80yoW3jkD53l4shjCh26fCtvJGasxjUqP5OT87SYTxCVA3BwTUzuELx9kA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dependencies: + esrecurse: 4.3.0 + estraverse: 5.3.0 + dev: true + + /eslint-template-visitor/2.3.2_eslint@8.1.0: resolution: {integrity: sha512-3ydhqFpuV7x1M9EK52BPNj6V0Kwu0KKkcIAfpUhwHbR8ocRln/oUHgfxQupY8O1h4Qv/POHDumb/BwwNfxbtnA==} peerDependencies: eslint: '>=7.0.0' dependencies: '@babel/core': 7.16.0 - '@babel/eslint-parser': 7.16.0_@babel+core@7.16.0+eslint@7.32.0 - eslint: 7.32.0 + '@babel/eslint-parser': 7.16.0_@babel+core@7.16.0+eslint@8.1.0 + eslint: 8.1.0 eslint-visitor-keys: 2.1.0 esquery: 1.4.0 multimap: 1.1.0 @@ -9211,13 +9236,13 @@ packages: eslint-visitor-keys: 1.3.0 dev: true - /eslint-utils/3.0.0_eslint@7.32.0: + /eslint-utils/3.0.0_eslint@8.1.0: resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==} engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0} peerDependencies: eslint: '>=5' dependencies: - eslint: 7.32.0 + eslint: 8.1.0 eslint-visitor-keys: 2.1.0 dev: true @@ -9231,7 +9256,12 @@ packages: engines: {node: '>=10'} dev: true - /eslint-webpack-plugin/2.5.4_eslint@7.32.0: + /eslint-visitor-keys/3.0.0: + resolution: {integrity: sha512-mJOZa35trBTb3IyRmo8xmKBZlxf+N7OnUl4+ZhJHs/r+0770Wh/LEACE2pqMGMe27G/4y8P2bYGk4J70IC5k1Q==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dev: true + + /eslint-webpack-plugin/2.5.4_eslint@8.1.0: resolution: {integrity: sha512-7rYh0m76KyKSDE+B+2PUQrlNS4HJ51t3WKpkJg6vo2jFMbEPTG99cBV0Dm7LXSHucN4WGCG65wQcRiTFrj7iWw==} engines: {node: '>= 10.13.0'} peerDependencies: @@ -9240,21 +9270,20 @@ packages: dependencies: '@types/eslint': 7.28.2 arrify: 2.0.1 - eslint: 7.32.0 + eslint: 8.1.0 jest-worker: 26.6.2 micromatch: 4.0.4 normalize-path: 3.0.0 schema-utils: 3.1.1 dev: true - /eslint/7.32.0: - resolution: {integrity: sha512-VHZ8gX+EDfz+97jGcgyGCyRia/dPOd6Xh9yPv8Bl1+SoaIwD+a/vlrOmGRUyOYu7MwUhc7CxqeaDZU13S4+EpA==} - engines: {node: ^10.12.0 || >=12.0.0} + /eslint/8.1.0: + resolution: {integrity: sha512-JZvNneArGSUsluHWJ8g8MMs3CfIEzwaLx9KyH4tZ2i+R2/rPWzL8c0zg3rHdwYVpN/1sB9gqnjHwz9HoeJpGHw==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true dependencies: - '@babel/code-frame': 7.12.11 - '@eslint/eslintrc': 0.4.3 - '@humanwhocodes/config-array': 0.5.0 + '@eslint/eslintrc': 1.0.3 + '@humanwhocodes/config-array': 0.6.0 ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.3 @@ -9262,22 +9291,22 @@ packages: doctrine: 3.0.0 enquirer: 2.3.6 escape-string-regexp: 4.0.0 - eslint-scope: 5.1.1 - eslint-utils: 2.1.0 - eslint-visitor-keys: 2.1.0 - espree: 7.3.1 + eslint-scope: 6.0.0 + eslint-utils: 3.0.0_eslint@8.1.0 + eslint-visitor-keys: 3.0.0 + espree: 9.0.0 esquery: 1.4.0 esutils: 2.0.3 fast-deep-equal: 3.1.3 file-entry-cache: 6.0.1 functional-red-black-tree: 1.0.1 - glob-parent: 5.1.2 + glob-parent: 6.0.2 globals: 13.12.0 ignore: 4.0.6 import-fresh: 3.3.0 imurmurhash: 0.1.4 is-glob: 4.0.3 - js-yaml: 3.14.1 + js-yaml: 4.1.0 json-stable-stringify-without-jsonify: 1.0.1 levn: 0.4.1 lodash.merge: 4.6.2 @@ -9289,7 +9318,6 @@ packages: semver: 7.3.5 strip-ansi: 6.0.1 strip-json-comments: 3.1.1 - table: 6.7.2 text-table: 0.2.0 v8-compile-cache: 2.3.0 transitivePeerDependencies: @@ -9310,13 +9338,13 @@ packages: eslint-visitor-keys: 1.3.0 dev: true - /espree/7.3.1: - resolution: {integrity: sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g==} - engines: {node: ^10.12.0 || >=12.0.0} + /espree/9.0.0: + resolution: {integrity: sha512-r5EQJcYZ2oaGbeR0jR0fFVijGOcwai07/690YRXLINuhmVeRY4UKSAsQPe/0BNuDgwP7Ophoc1PRsr2E3tkbdQ==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - acorn: 7.4.1 - acorn-jsx: 5.3.2_acorn@7.4.1 - eslint-visitor-keys: 1.3.0 + acorn: 8.5.0 + acorn-jsx: 5.3.2_acorn@8.5.0 + eslint-visitor-keys: 3.0.0 dev: true /esprima/4.0.1: @@ -9520,10 +9548,6 @@ packages: assign-symbols: 1.0.0 is-extendable: 1.0.1 - /extend/3.0.2: - resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==} - dev: true - /external-editor/3.1.0: resolution: {integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==} engines: {node: '>=4'} @@ -9870,7 +9894,7 @@ packages: resolution: {integrity: sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=} engines: {node: '>=0.10.0'} - /fork-ts-checker-webpack-plugin/6.4.0_eslint@7.32.0+typescript@4.2.4: + /fork-ts-checker-webpack-plugin/6.4.0_eslint@8.1.0+typescript@4.2.4: resolution: {integrity: sha512-3I3wFkc4DbzaUDPWEi96wdYGu4EKtxBafhZYm0o4mX51d9bphAY4P3mBl8K5mFXFJqVzHfmdbm9kLGnm7vwwBg==} engines: {node: '>=10', yarn: '>=1.0.0'} peerDependencies: @@ -9890,7 +9914,7 @@ packages: chokidar: 3.5.2 cosmiconfig: 6.0.0 deepmerge: 4.2.2 - eslint: 7.32.0 + eslint: 8.1.0 fs-extra: 9.1.0 glob: 7.2.0 memfs: 3.3.0 @@ -10186,6 +10210,13 @@ packages: dependencies: is-glob: 4.0.3 + /glob-parent/6.0.2: + resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} + engines: {node: '>=10.13.0'} + dependencies: + is-glob: 4.0.3 + dev: true + /glob/7.1.7: resolution: {integrity: sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==} dependencies: @@ -10212,7 +10243,7 @@ packages: engines: {node: '>=10.0'} dependencies: boolean: 3.1.4 - core-js: 3.19.0 + core-js: 3.19.1 es6-error: 4.1.1 matcher: 3.0.0 roarr: 2.15.4 @@ -10280,7 +10311,7 @@ packages: array-union: 2.1.0 dir-glob: 3.0.1 fast-glob: 3.2.7 - ignore: 5.1.8 + ignore: 5.1.9 merge2: 1.4.1 slash: 3.0.0 dev: false @@ -10292,7 +10323,7 @@ packages: array-union: 2.1.0 dir-glob: 3.0.1 fast-glob: 3.2.7 - ignore: 5.1.8 + ignore: 5.1.9 merge2: 1.4.1 slash: 3.0.0 @@ -10309,14 +10340,6 @@ packages: minimatch: 3.0.4 dev: false - /gonzales-pe/4.3.0: - resolution: {integrity: sha512-otgSPpUmdWJ43VXyiNgEYE4luzHCL2pz4wQ0OnDluC6Eg4Ko3Vexy/SrSynglw/eR+OhkzmqFCZa/OFa/RgAOQ==} - engines: {node: '>=0.6.0'} - hasBin: true - dependencies: - minimist: 1.2.5 - dev: true - /google-fonts-helper/1.2.0: resolution: {integrity: sha512-ojpHo6uwaqI2/tpXcCBY9u/3erd++Wjpf1UQkmb+ZUa/oMztiospubmQCwDQ0AHhFUkBMW1+R12am1kxQFqymg==} dependencies: @@ -10387,8 +10410,8 @@ packages: '@graphql-tools/json-file-loader': 7.3.2_graphql@15.7.2 '@graphql-tools/load': 7.4.1_graphql@15.7.2 '@graphql-tools/merge': 8.2.1_graphql@15.7.2 - '@graphql-tools/url-loader': 7.4.2_graphql@15.7.2 - '@graphql-tools/utils': 8.5.1_graphql@15.7.2 + '@graphql-tools/url-loader': 7.5.1_graphql@15.7.2 + '@graphql-tools/utils': 8.5.2_graphql@15.7.2 cosmiconfig: 7.0.1 cosmiconfig-toml-loader: 1.0.0 graphql: 15.7.2 @@ -11070,6 +11093,10 @@ packages: resolution: {integrity: sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==} engines: {node: '>= 4'} + /ignore/5.1.9: + resolution: {integrity: sha512-2zeMQpbKz5dhZ9IwL0gbxSW5w0NK/MSAMtNuhgIHEPmaU3vPdKPL0UdvUCXs5SS4JAwsBxysK5sFMW8ocFiVjQ==} + engines: {node: '>= 4'} + /image-size/0.5.5: resolution: {integrity: sha1-Cd/Uq50g4p6xw+gLiZA3jfnjy5w=} engines: {node: '>=0.10.0'} @@ -11144,11 +11171,6 @@ packages: resolve-cwd: 3.0.0 dev: true - /import-modules/2.1.0: - resolution: {integrity: sha512-8HEWcnkbGpovH9yInoisxaSoIg9Brbul+Ju3Kqe2UsYDUBJD/iQjSgEj0zPcTDPKfPp2fs5xlv1i+JSye/m1/A==} - engines: {node: '>=8'} - dev: true - /imurmurhash/0.1.4: resolution: {integrity: sha1-khi5srkoojixPcT7a21XbyMUU+o=} engines: {node: '>=0.8.19'} @@ -11279,17 +11301,6 @@ packages: dependencies: kind-of: 6.0.3 - /is-alphabetical/1.0.4: - resolution: {integrity: sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==} - dev: true - - /is-alphanumerical/1.0.4: - resolution: {integrity: sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==} - dependencies: - is-alphabetical: 1.0.4 - is-decimal: 1.0.4 - dev: true - /is-arrayish/0.2.1: resolution: {integrity: sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=} @@ -11326,9 +11337,11 @@ packages: /is-buffer/1.1.6: resolution: {integrity: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==} - /is-buffer/2.0.5: - resolution: {integrity: sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==} - engines: {node: '>=4'} + /is-builtin-module/3.1.0: + resolution: {integrity: sha512-OV7JjAgOTfAFJmHZLvpSTb4qi0nIILDV1gWPYDnDJUTNFM5aGlRAhk4QcT8i7TuAleeEV5Fdkqn3t4mS+Q11fg==} + engines: {node: '>=6'} + dependencies: + builtin-modules: 3.2.0 dev: true /is-callable/1.2.4: @@ -11376,10 +11389,6 @@ packages: dependencies: has-tostringtag: 1.0.0 - /is-decimal/1.0.4: - resolution: {integrity: sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==} - dev: true - /is-descriptor/0.1.6: resolution: {integrity: sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==} engines: {node: '>=0.10.0'} @@ -11460,10 +11469,6 @@ packages: dependencies: is-extglob: 2.1.1 - /is-hexadecimal/1.0.4: - resolution: {integrity: sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==} - dev: true - /is-https/2.0.2: resolution: {integrity: sha512-UfUCKVQH/6PQRCh5Qk9vNu4feLZiFmV/gr8DjbtJD0IrCRIDTA6E+d/AVFGPulI5tqK5W45fYbn1Nir1O99rFw==} dev: false @@ -11535,11 +11540,6 @@ packages: resolution: {integrity: sha1-caUMhCnfync8kqOQpKA7OfzVHT4=} engines: {node: '>=0.10.0'} - /is-plain-obj/2.1.0: - resolution: {integrity: sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==} - engines: {node: '>=8'} - dev: true - /is-plain-obj/3.0.0: resolution: {integrity: sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==} engines: {node: '>=10'} @@ -11551,6 +11551,11 @@ packages: dependencies: isobject: 3.0.1 + /is-plain-object/5.0.0: + resolution: {integrity: sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==} + engines: {node: '>=0.10.0'} + dev: true + /is-potential-custom-element-name/1.0.1: resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==} dev: true @@ -12594,8 +12599,8 @@ packages: resolution: {integrity: sha512-pJiBpiXMbt7dkzXe8Ghj/u4FfXOOa98fPW+bihOJ4SjnoijweJrNThJfd3ifXpXhREjpoF2mZVH1GfS9LV3kHQ==} engines: {node: '>= 8'} - /known-css-properties/0.21.0: - resolution: {integrity: sha512-sZLUnTqimCkvkgRS+kbPlYW5o8q5w1cu+uIisKpEWkj31I8mx8kNG162DwRav8Zirkva6N5uoFsm9kzK4mUXjw==} + /known-css-properties/0.23.0: + resolution: {integrity: sha512-h9ivI88e1lFNmTT4HovBN33Ysn0OIJG7IPG2mkpx2uniQXFWqo35QdiX7w0TovlUFXfW8aPFblP5/q0jlOr2sA==} dev: true /last-call-webpack-plugin/3.0.0: @@ -12665,7 +12670,7 @@ packages: debug: 4.3.2_supports-color@8.1.1 enquirer: 2.3.6 execa: 5.1.1 - listr2: 3.13.1_enquirer@2.3.6 + listr2: 3.13.3_enquirer@2.3.6 micromatch: 4.0.4 normalize-path: 3.0.0 please-upgrade-node: 3.2.0 @@ -12731,18 +12736,19 @@ packages: transitivePeerDependencies: - zen-observable - /listr2/3.13.1_enquirer@2.3.6: - resolution: {integrity: sha512-pk4YBDA2cxtpM8iLHbz6oEsfZieJKHf6Pt19NlKaHZZVpqHyVs/Wqr7RfBBCeAFCJchGO7WQHVkUPZTvJMHk8w==} + /listr2/3.13.3_enquirer@2.3.6: + resolution: {integrity: sha512-VqAgN+XVfyaEjSaFewGPcDs5/3hBbWVaX1VgWv2f52MF7US45JuARlArULctiB44IIcEk3JF7GtoFCLqEdeuPA==} engines: {node: '>=10.0.0'} peerDependencies: enquirer: '>= 2.3.0 < 3' dependencies: cli-truncate: 2.1.0 + clone: 2.1.2 colorette: 2.0.16 enquirer: 2.3.6 log-update: 4.0.0 p-map: 4.0.0 - rxjs: 6.6.7 + rxjs: 7.4.0 through: 2.3.8 wrap-ansi: 7.0.0 dev: false @@ -12959,10 +12965,6 @@ packages: resolution: {integrity: sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==} dev: false - /longest-streak/2.0.4: - resolution: {integrity: sha512-vM6rUVCVUJJt33bnmHiZEvr7wPT78ztX7rojL+LW51bHtLh6HTjx84LA5W4+oa6aKEJA7jJu5LR6vQRBpA5DVg==} - dev: true - /loose-envify/1.4.0: resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} hasBin: true @@ -13091,33 +13093,6 @@ packages: safe-buffer: 5.2.1 dev: false - /mdast-util-from-markdown/0.8.5: - resolution: {integrity: sha512-2hkTXtYYnr+NubD/g6KGBS/0mFmBcifAsI0yIWRiRo0PjVs6SSOSOdtzbp6kSGnShDN6G5aWZpKQ2lWRy27mWQ==} - dependencies: - '@types/mdast': 3.0.10 - mdast-util-to-string: 2.0.0 - micromark: 2.11.4 - parse-entities: 2.0.0 - unist-util-stringify-position: 2.0.3 - transitivePeerDependencies: - - supports-color - dev: true - - /mdast-util-to-markdown/0.6.5: - resolution: {integrity: sha512-XeV9sDE7ZlOQvs45C9UKMtfTcctcaj/pGwH8YLbMHoMOXNNCn2LsqVQOqrF1+/NU8lKDAqozme9SCXWyo9oAcQ==} - dependencies: - '@types/unist': 2.0.6 - longest-streak: 2.0.4 - mdast-util-to-string: 2.0.0 - parse-entities: 2.0.0 - repeat-string: 1.6.1 - zwitch: 1.0.5 - dev: true - - /mdast-util-to-string/2.0.0: - resolution: {integrity: sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w==} - dev: true - /mdn-data/2.0.14: resolution: {integrity: sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==} @@ -13242,15 +13217,6 @@ packages: engines: {node: '>= 0.6'} dev: false - /micromark/2.11.4: - resolution: {integrity: sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==} - dependencies: - debug: 4.3.2 - parse-entities: 2.0.0 - transitivePeerDependencies: - - supports-color - dev: true - /micromatch/3.1.0: resolution: {integrity: sha512-3StSelAE+hnRvMs8IdVW7Uhk8CVed5tp+kLLGlBP6WiRAXS21GPGu/Nat4WNPXj2Eoc24B02SaeoyozPMfj0/g==} engines: {node: '>=0.10.0'} @@ -13450,8 +13416,8 @@ packages: engines: {node: '>=10'} hasBin: true - /mlly/0.3.11: - resolution: {integrity: sha512-Md4jt3kLrp7ebOTdJ2YAF6TXE5Yd5D1CqdizxqG/Km6jHtR7tatu0oefAjvi1EgfvN8vu/Y/7mAutzpYCrHktw==} + /mlly/0.3.12: + resolution: {integrity: sha512-+5DdpxP48PpfV/FcP4j/8TREPycnROCg0hX1nmD6aoZ2lD4FpZI4sxWG6l6YpUktXi/vckj8NaAl3DVQSkIn3w==} dev: true /moment/2.29.1: @@ -13740,6 +13706,7 @@ packages: /normalize-range/0.1.2: resolution: {integrity: sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=} engines: {node: '>=0.10.0'} + dev: false /normalize-selector/0.2.0: resolution: {integrity: sha1-0LFF62kRicY6eNIB3E/bEpPvDAM=} @@ -13812,6 +13779,7 @@ packages: /num2fraction/1.2.2: resolution: {integrity: sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=} + dev: false /number-is-nan/1.0.1: resolution: {integrity: sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=} @@ -13820,7 +13788,7 @@ packages: /nuxt-windicss/2.0.11: resolution: {integrity: sha512-/vAEmKLq1Iomuj4lz751dsoXdlGVAoiEGSh3JVxuZJMkqc/yrHTQrNhtMaOQzx5heuVsQ+E2bIF+Q/tfxicOFQ==} dependencies: - '@nuxt/kit': /@nuxt/kit-edge/3.0.0-27264278.aba2d22 + '@nuxt/kit': /@nuxt/kit-edge/3.0.0-27267095.2166661 defu: 5.0.0 h3: 0.3.3 listhen: 0.2.5 @@ -14171,17 +14139,6 @@ packages: safe-buffer: 5.2.1 dev: false - /parse-entities/2.0.0: - resolution: {integrity: sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==} - dependencies: - character-entities: 1.2.4 - character-entities-legacy: 1.1.4 - character-reference-invalid: 1.1.4 - is-alphanumerical: 1.0.4 - is-decimal: 1.0.4 - is-hexadecimal: 1.0.4 - dev: true - /parse-filepath/1.0.2: resolution: {integrity: sha1-pjISf1Oq89FYdvWHLz/6x2PWyJE=} engines: {node: '>=0.8'} @@ -14417,7 +14374,7 @@ packages: resolution: {integrity: sha512-BjECNgz/tsyqg0/T4Z/U7WbFQXUT24nfkxPbALcrk/uHVeZf9MrGG4tfvYtu+jsrHCFMseLQ6woQddDEBATw3A==} dependencies: jsonc-parser: 3.0.0 - mlly: 0.3.11 + mlly: 0.3.12 pathe: 0.2.0 dev: true @@ -14628,17 +14585,6 @@ packages: postcss: 7.0.39 dev: false - /postcss-html/0.36.0_4f7b71a942b8b7a555b8adf78f88122b: - resolution: {integrity: sha512-HeiOxGcuwID0AFsNAL0ox3mW6MHH5cstWN1Z3Y+n6H+g12ih7LHdYxWwEA/QmrebctLjo79xz9ouK3MroHwOJw==} - peerDependencies: - postcss: '>=5.0.0' - postcss-syntax: '>=0.36.0' - dependencies: - htmlparser2: 3.10.1 - postcss: 7.0.39 - postcss-syntax: 0.36.2_postcss@7.0.39 - dev: true - /postcss-image-set-function/3.0.1: resolution: {integrity: sha512-oPTcFFip5LZy8Y/whto91L9xdRHCWEMs3e1MdJxhgt4jy2WYXfhkng59fH5qLXSCPN8k4n94p1Czrfe5IOkKUw==} engines: {node: '>=6.0.0'} @@ -14678,13 +14624,6 @@ packages: postcss-values-parser: 2.0.1 dev: false - /postcss-less/3.1.4: - resolution: {integrity: sha512-7TvleQWNM2QLcHqvudt3VYjULVB49uiW6XzEUFmvwHzvsOEF5MwBrIXZDJQvJNFGjJQTzSzZnDoCJ8h/ljyGXA==} - engines: {node: '>=6.14.4'} - dependencies: - postcss: 7.0.39 - dev: true - /postcss-load-config/2.1.2: resolution: {integrity: sha512-/rDeGV6vMUo3mwJZmeHfEDvwnTKKqQ0S7OHUi/kJvvtx3aWtyWG2/0ZWnzCt2keEclwN6Tf0DST2v9kITdOKYw==} engines: {node: '>= 4'} @@ -15020,25 +14959,20 @@ packages: resolution: {integrity: sha1-Kcy8fDfe36wwTp//C/FZaz9qDk4=} dev: true - /postcss-safe-parser/4.0.2: - resolution: {integrity: sha512-Uw6ekxSWNLCPesSv/cmqf2bY/77z11O7jZGPax3ycZMFU/oi2DMH9i89AdHc1tRwFg/arFoEwX0IS3LCUxJh1g==} - engines: {node: '>=6.0.0'} + /postcss-safe-parser/6.0.0_postcss@8.3.11: + resolution: {integrity: sha512-FARHN8pwH+WiS2OPCxJI8FuRJpTVnn6ZNFiqAM2aeW2LwTHWWmWgIyKC6cUo0L8aeKiF/14MNvnpls6R2PBeMQ==} + engines: {node: '>=12.0'} + peerDependencies: + postcss: ^8.3.3 dependencies: - postcss: 7.0.39 + postcss: 8.3.11 dev: true - /postcss-sass/0.4.4: - resolution: {integrity: sha512-BYxnVYx4mQooOhr+zer0qWbSPYnarAy8ZT7hAQtbxtgVf8gy+LSLT/hHGe35h14/pZDTw1DsxdbrwxBN++H+fg==} - dependencies: - gonzales-pe: 4.3.0 - postcss: 7.0.39 - dev: true - - /postcss-scss/2.1.1: - resolution: {integrity: sha512-jQmGnj0hSGLd9RscFw9LyuSVAa5Bl1/KBPqG1NQw9w8ND55nY4ZEsdlVuYJvLPpV+y0nwTV5v/4rHPzZRihQbA==} - engines: {node: '>=6.0.0'} - dependencies: - postcss: 7.0.39 + /postcss-scss/4.0.2: + resolution: {integrity: sha512-xfdkU128CkKKKVAwkyt0M8OdnelJ3MRcIRAPPQkRpoPeuzWY3RIeg7piRCpZ79MK7Q16diLXMMAD9dN5mauPlQ==} + engines: {node: '>=12.0'} + peerDependencies: + postcss: ^8.3.3 dev: true /postcss-selector-matches/4.0.0: @@ -15089,14 +15023,6 @@ packages: svgo: 1.3.2 dev: false - /postcss-syntax/0.36.2_postcss@7.0.39: - resolution: {integrity: sha512-nBRg/i7E3SOHWxF3PpF5WnJM/jQ1YpY9000OaVXlAQj6Zp/kIqJxEDWIZ67tAd7NLuk7zqN4yqe9nc0oNAOs1w==} - peerDependencies: - postcss: '>=5.0.0' - dependencies: - postcss: 7.0.39 - dev: true - /postcss-unique-selectors/4.0.1: resolution: {integrity: sha512-+JanVaryLo9QwZjKrmJgkI4Fn8SBgRO6WXQBJi7KiAVPlmxikB5Jzc4EvXMT2H0/m0RjrVVm9rGNhZddm/8Spg==} engines: {node: '>=6.9.0'} @@ -15774,30 +15700,6 @@ packages: fbjs: 3.0.1 invariant: 2.2.4 - /remark-parse/9.0.0: - resolution: {integrity: sha512-geKatMwSzEXKHuzBNU1z676sGcDcFoChMK38TgdHJNAYfFtsfHDQG7MoJAjs6sgYMqyLduCYWDIWZIxiPeafEw==} - dependencies: - mdast-util-from-markdown: 0.8.5 - transitivePeerDependencies: - - supports-color - dev: true - - /remark-stringify/9.0.1: - resolution: {integrity: sha512-mWmNg3ZtESvZS8fv5PTvaPckdL4iNlCHTt8/e/8oN08nArHRHjNZMKzA/YW3+p7/lYqIw4nx1XsjCBo/AxNChg==} - dependencies: - mdast-util-to-markdown: 0.6.5 - dev: true - - /remark/13.0.0: - resolution: {integrity: sha512-HDz1+IKGtOyWN+QgBiAT0kn+2s6ovOxHyPAFGKVE81VSzJ+mq7RwHFledEvB5F1p4iJvOah/LOKdFuzvRnNLCA==} - dependencies: - remark-parse: 9.0.0 - remark-stringify: 9.0.1 - unified: 9.2.2 - transitivePeerDependencies: - - supports-color - dev: true - /remedial/1.0.8: resolution: {integrity: sha512-/62tYiOe6DzS5BqVsNpH/nkGlX45C/Sp6V+NtiN6JQNS1Viay7cWkazmRkrQrdFj2eshDe96SIQNIoMxqhzBOg==} dev: true @@ -15847,10 +15749,6 @@ packages: resolution: {integrity: sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=} dev: false - /reserved-words/0.1.2: - resolution: {integrity: sha1-AKCUD5jNUBrqqsMWQR2a3FKzGrE=} - dev: true - /resolve-alpn/1.2.1: resolution: {integrity: sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==} dev: true @@ -16715,6 +16613,11 @@ packages: resolution: {integrity: sha512-eOsoKTWnr6C8aWrqJJ2KAReXoa7Vn5Ywyw6uCXgA/xDhxPoaIsBa5aNJmISY04dLwXPBnDHW4diGM7Sn5K4R/g==} dependencies: ci-info: 3.2.0 + dev: false + + /std-env/3.0.0: + resolution: {integrity: sha512-GoFEqAGzhaexp/T01rIiLOK9LHa6HmVwEUyeU4cwdSnOhfxpw9IMeAFi44SHWbCErEs29qEh7vAOUbtUmoycjA==} + dev: true /stream-browserify/2.0.2: resolution: {integrity: sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==} @@ -16922,34 +16825,72 @@ packages: postcss-selector-parser: 3.1.2 dev: false - /stylelint-config-prettier/9.0.3_stylelint@13.13.1: + /stylelint-config-prettier/9.0.3_stylelint@14.0.1: resolution: {integrity: sha512-5n9gUDp/n5tTMCq1GLqSpA30w2sqWITSSEiAWQlpxkKGAUbjcemQ0nbkRvRUa0B1LgD3+hCvdL7B1eTxy1QHJg==} engines: {node: '>= 12'} hasBin: true peerDependencies: stylelint: '>=11.0.0' dependencies: - stylelint: 13.13.1 + stylelint: 14.0.1 dev: true - /stylelint-config-recommended/5.0.0_stylelint@13.13.1: - resolution: {integrity: sha512-c8aubuARSu5A3vEHLBeOSJt1udOdS+1iue7BmJDTSXoCBmfEQmmWX+59vYIj3NQdJBY6a/QRv1ozVFpaB9jaqA==} + /stylelint-config-recommended-scss/5.0.1_stylelint@14.0.1: + resolution: {integrity: sha512-kVI5lX8jtaw9uNnnxxziw+LhW59m0x/JzGj8zVepeFQJ56eM4HazN4gMyCRQQSLr/8CXlIHGOW34CV5hIMr3FQ==} peerDependencies: - stylelint: ^13.13.0 + stylelint: ^14.0.0 dependencies: - stylelint: 13.13.1 + postcss-scss: 4.0.2 + stylelint: 14.0.1 + stylelint-config-recommended: 6.0.0_stylelint@14.0.1 + stylelint-scss: 4.0.0_stylelint@14.0.1 + transitivePeerDependencies: + - postcss dev: true - /stylelint-config-standard/22.0.0_stylelint@13.13.1: - resolution: {integrity: sha512-uQVNi87SHjqTm8+4NIP5NMAyY/arXrBgimaaT7skvRfE9u3JKXRK9KBkbr4pVmeciuCcs64kAdjlxfq6Rur7Hw==} + /stylelint-config-recommended/6.0.0_stylelint@14.0.1: + resolution: {integrity: sha512-ZorSSdyMcxWpROYUvLEMm0vSZud2uB7tX1hzBZwvVY9SV/uly4AvvJPPhCcymZL3fcQhEQG5AELmrxWqtmzacw==} peerDependencies: - stylelint: ^13.13.0 + stylelint: ^14.0.0 dependencies: - stylelint: 13.13.1 - stylelint-config-recommended: 5.0.0_stylelint@13.13.1 + stylelint: 14.0.1 dev: true - /stylelint-webpack-plugin/2.2.2_stylelint@13.13.1: + /stylelint-config-standard-scss/2.0.1_stylelint@14.0.1: + resolution: {integrity: sha512-TW5NLquUSS0mg2N31zzaSbYRbV/CMifSVLdpgo6VdGvjysgYqJOcKM/5bmXucTOsdfqomcPXetFZ3adC7nD+cg==} + peerDependencies: + stylelint: ^14.0.0 + dependencies: + stylelint: 14.0.1 + stylelint-config-recommended-scss: 5.0.1_stylelint@14.0.1 + stylelint-config-standard: 23.0.0_stylelint@14.0.1 + transitivePeerDependencies: + - postcss + dev: true + + /stylelint-config-standard/23.0.0_stylelint@14.0.1: + resolution: {integrity: sha512-8PDlk+nWuc1T66nVaODTdVodN0pjuE5TBlopi39Lt9EM36YJsRhqttMyUhnS78oc/59Q6n8iw2GJB4QcoFqtRg==} + peerDependencies: + stylelint: ^14.0.0 + dependencies: + stylelint: 14.0.1 + stylelint-config-recommended: 6.0.0_stylelint@14.0.1 + dev: true + + /stylelint-scss/4.0.0_stylelint@14.0.1: + resolution: {integrity: sha512-lIRhPqtI6I065EJ6aI4mWKsmQt8Krnu6aF9XSL9s8Nd2f/cDKImST0T9TfjnUul3ReKYWozkG9dlpNTZH2FB9w==} + peerDependencies: + stylelint: ^14.0.0 + dependencies: + lodash: 4.17.21 + postcss-media-query-parser: 0.2.3 + postcss-resolve-nested-selector: 0.1.1 + postcss-selector-parser: 6.0.6 + postcss-value-parser: 4.1.0 + stylelint: 14.0.1 + dev: true + + /stylelint-webpack-plugin/2.2.2_stylelint@14.0.1: resolution: {integrity: sha512-zfIsAF13xe6xuhwxZDFWQEmuVcxnRk9JFovyRL/23CWjPK1HLRw4QZdvo0Bz1bQZaDQA+6ha7cU0NO+LXaw4Mw==} engines: {node: '>= 10.13.0'} peerDependencies: @@ -16963,19 +16904,15 @@ packages: micromatch: 4.0.4 normalize-path: 3.0.0 schema-utils: 3.1.1 - stylelint: 13.13.1 + stylelint: 14.0.1 dev: true - /stylelint/13.13.1: - resolution: {integrity: sha512-Mv+BQr5XTUrKqAXmpqm6Ddli6Ief+AiPZkRsIrAoUKFuq/ElkUh9ZMYxXD0iQNZ5ADghZKLOWz1h7hTClB7zgQ==} - engines: {node: '>=10.13.0'} + /stylelint/14.0.1: + resolution: {integrity: sha512-ZcAkmFLVCultmwkQUjxKzxW/o5+CzNmDk6TPJj/d4Y7ipTGGrewIWmNm+InjdSr04PR5/yynsAJeYJY/wisdMg==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} hasBin: true dependencies: - '@stylelint/postcss-css-in-js': 0.37.2_4f7b71a942b8b7a555b8adf78f88122b - '@stylelint/postcss-markdown': 0.36.2_4f7b71a942b8b7a555b8adf78f88122b - autoprefixer: 9.8.8 balanced-match: 2.0.0 - chalk: 4.1.2 cosmiconfig: 7.0.1 debug: 4.3.2 execall: 2.0.0 @@ -16987,34 +16924,28 @@ packages: globby: 11.0.4 globjoin: 0.1.4 html-tags: 3.1.0 - ignore: 5.1.8 + ignore: 5.1.9 import-lazy: 4.0.0 imurmurhash: 0.1.4 - known-css-properties: 0.21.0 - lodash: 4.17.21 - log-symbols: 4.1.0 + is-plain-object: 5.0.0 + known-css-properties: 0.23.0 mathml-tag-names: 2.1.3 meow: 9.0.0 micromatch: 4.0.4 + normalize-path: 3.0.0 normalize-selector: 0.2.0 - postcss: 7.0.39 - postcss-html: 0.36.0_4f7b71a942b8b7a555b8adf78f88122b - postcss-less: 3.1.4 + picocolors: 1.0.0 + postcss: 8.3.11 postcss-media-query-parser: 0.2.3 postcss-resolve-nested-selector: 0.1.1 - postcss-safe-parser: 4.0.2 - postcss-sass: 0.4.4 - postcss-scss: 2.1.1 + postcss-safe-parser: 6.0.0_postcss@8.3.11 postcss-selector-parser: 6.0.6 - postcss-syntax: 0.36.2_postcss@7.0.39 postcss-value-parser: 4.1.0 resolve-from: 5.0.0 - slash: 3.0.0 specificity: 0.4.1 string-width: 4.2.3 strip-ansi: 6.0.1 style-search: 0.1.0 - sugarss: 2.0.0 svg-tags: 1.0.0 table: 6.7.2 v8-compile-cache: 2.3.0 @@ -17023,10 +16954,10 @@ packages: - supports-color dev: true - /subscriptions-transport-ws/0.10.0_graphql@15.7.2: - resolution: {integrity: sha512-k28LhLn3abJ1mowFW+LP4QGggE0e3hrk55zXbMHyAeZkCUYtC0owepiwqMD3zX8DglQVaxnhE760pESrNSEzpg==} + /subscriptions-transport-ws/0.11.0_graphql@15.7.2: + resolution: {integrity: sha512-8D4C6DIH5tGiAIpp5I0wD/xRlNiZAPGHygzCe7VzyzUoxHtawzjNAY9SUTXU05/EY2NMY9/9GF0ycizkXr1CWQ==} peerDependencies: - graphql: '>=0.10.0' + graphql: ^15.7.2 || ^16.0.0 dependencies: backo2: 1.0.2 eventemitter3: 3.1.2 @@ -17037,7 +16968,6 @@ packages: transitivePeerDependencies: - bufferutil - utf-8-validate - dev: true /subscriptions-transport-ws/0.9.19_graphql@15.7.2: resolution: {integrity: sha512-dxdemxFFB0ppCLg10FTtRqH/31FNRL1y1BQv8209MK5I4CwALb7iihQg+7p65lFcIl8MHatINWBLOqpgU4Kyyw==} @@ -17055,12 +16985,6 @@ packages: - utf-8-validate dev: false - /sugarss/2.0.0: - resolution: {integrity: sha512-WfxjozUk0UVA4jm+U1d736AUpzSrNsQcIbyOkoE364GrtWmIrFdk5lksEupgWMD4VaT/0kVx1dobpiDumSgmJQ==} - dependencies: - postcss: 7.0.39 - dev: true - /supports-color/2.0.0: resolution: {integrity: sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=} engines: {node: '>=0.8.0'} @@ -17533,10 +17457,6 @@ packages: engines: {node: '>=8'} dev: true - /trough/1.0.5: - resolution: {integrity: sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA==} - dev: true - /ts-invariant/0.3.3: resolution: {integrity: sha512-UReOKsrJFGC9tUblgSRWo+BsVNbEd77Cl6WiV/XpMlkifXwNIJbknViCucHvVZkXSC/mcWeRnIGdY7uprcwvdQ==} dependencies: @@ -17855,6 +17775,11 @@ packages: resolution: {integrity: sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==} dev: false + /undici/4.9.5: + resolution: {integrity: sha512-t59IFVYiMnFThboJL9izqwsDEfSbZDPZ/8iCYBCkEFLy63x9m4YaNt0E+r5+X993syC9M0W/ksusZC9YuAamMg==} + engines: {node: '>=12.18'} + dev: true + /unfetch/4.2.0: resolution: {integrity: sha512-F9p7yYCn6cIW9El1zi0HI6vqpeIvBsr3dSuRO6Xuppb1u5rXpCPmMvLSyECLhybr9isec8Ohl0hPekMVrEinDA==} dev: false @@ -17883,17 +17808,6 @@ packages: engines: {node: '>= 0.4.12'} dev: true - /unified/9.2.2: - resolution: {integrity: sha512-Sg7j110mtefBD+qunSLO1lqOEKdrwBFBrR6Qd8f4uwkhWNlbkaqwHse6e7QvD3AP/MNoJdEDLaf8OxYyoWgorQ==} - dependencies: - bail: 1.0.5 - extend: 3.0.2 - is-buffer: 2.0.5 - is-plain-obj: 2.1.0 - trough: 1.0.5 - vfile: 4.2.1 - dev: true - /union-value/1.0.1: resolution: {integrity: sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==} engines: {node: '>=0.10.0'} @@ -17930,22 +17844,6 @@ packages: crypto-random-string: 2.0.0 dev: false - /unist-util-find-all-after/3.0.2: - resolution: {integrity: sha512-xaTC/AGZ0rIM2gM28YVRAFPIZpzbpDtU3dRmp7EXlNVA8ziQc4hY3H7BHXM1J49nEmiqc3svnqMReW+PGqbZKQ==} - dependencies: - unist-util-is: 4.1.0 - dev: true - - /unist-util-is/4.1.0: - resolution: {integrity: sha512-ZOQSsnce92GrxSqlnEEseX0gi7GH9zTJZ0p9dtu87WRb/37mMPO2Ilx1s/t9vBHrFhbgweUwb+t7cIn5dxPhZg==} - dev: true - - /unist-util-stringify-position/2.0.3: - resolution: {integrity: sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==} - dependencies: - '@types/unist': 2.0.6 - dev: true - /universalify/0.1.2: resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} engines: {node: '>= 4.0.0'} @@ -18230,22 +18128,6 @@ packages: resolution: {integrity: sha512-/juG65kTL4Cy2su4P8HjtkTxk6VmJDiOPBufWniqQ6wknac6jNiXS9vU+hO3wgusiyqWlzTbVHi0dyJqRONg3w==} dev: false - /vfile-message/2.0.4: - resolution: {integrity: sha512-DjssxRGkMvifUOJre00juHoP9DPWuzjxKuMDrhNbk2TdaYYBNMStsNhEOt3idrtI12VQYM/1+iM0KOzXi4pxwQ==} - dependencies: - '@types/unist': 2.0.6 - unist-util-stringify-position: 2.0.3 - dev: true - - /vfile/4.2.1: - resolution: {integrity: sha512-O6AE4OskCG5S1emQ/4gl8zK586RqA3srz3nfK/Viy0UPToBc5Trp9BVFb1u0CjsKrAWwnpr4ifM/KBXPWwJbCA==} - dependencies: - '@types/unist': 2.0.6 - is-buffer: 2.0.5 - unist-util-stringify-position: 2.0.3 - vfile-message: 2.0.4 - dev: true - /vite-plugin-windicss/1.4.12: resolution: {integrity: sha512-5YLT7e72z1vCTSmprU/KxtRg22ySN+H19Qxy67lbG3mEbq8YbheOlmVhbqNqSv2MjFVhFqu72Q1FkkjyWENyQQ==} peerDependencies: @@ -18361,14 +18243,14 @@ packages: resolution: {integrity: sha512-vKl1skEKn8EK9f8P2ZzhRnuaRHLHrlt1sbRmazlvsx6EiC3A8oWF8YCBrMJzoN+W3OnElwIGbVjsx6/xelY1AA==} dev: false - /vue-eslint-parser/7.11.0_eslint@7.32.0: + /vue-eslint-parser/7.11.0_eslint@8.1.0: resolution: {integrity: sha512-qh3VhDLeh773wjgNTl7ss0VejY9bMMa0GoDG2fQVyDzRFdiU3L7fw74tWZDHNQXdZqxO3EveQroa9ct39D2nqg==} engines: {node: '>=8.10'} peerDependencies: eslint: '>=5.0.0' dependencies: debug: 4.3.2 - eslint: 7.32.0 + eslint: 8.1.0 eslint-scope: 5.1.1 eslint-visitor-keys: 1.3.0 espree: 6.2.1 @@ -18379,6 +18261,24 @@ packages: - supports-color dev: true + /vue-eslint-parser/8.0.1_eslint@8.1.0: + resolution: {integrity: sha512-lhWjDXJhe3UZw2uu3ztX51SJAPGPey1Tff2RK3TyZURwbuI4vximQLzz4nQfCv8CZq4xx7uIiogHMMoSJPr33A==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: '>=6.0.0' + dependencies: + debug: 4.3.2 + eslint: 8.1.0 + eslint-scope: 6.0.0 + eslint-visitor-keys: 3.0.0 + espree: 9.0.0 + esquery: 1.4.0 + lodash: 4.17.21 + semver: 7.3.5 + transitivePeerDependencies: + - supports-color + dev: true + /vue-functional-data-merge/3.1.0: resolution: {integrity: sha512-leT4kdJVQyeZNY1kmnS1xiUlQ9z1B/kdBFCILIjYYQDqZgLqCLa0UhjSSeRX6c3mUe6U5qYeM8LrEqkHJ1B4LA==} dev: false @@ -18393,8 +18293,8 @@ packages: resolution: {integrity: sha512-BXq3jwIagosjgNVae6tkHzzIk6a8MHFtzAdwhnV5VlvPTFxDCvIttgSiHWjdGoTJvXtmRu5HacExfdarRcFhog==} dev: false - /vue-i18n/8.26.6: - resolution: {integrity: sha512-VNiOOC845P6VZVgiuJpzSfoLSfbwZJoC+hHQlbOTF5btqL+TldagYmEjsvoVNjhJFK/7NhYXxHCGs1/MOOC53A==} + /vue-i18n/8.26.7: + resolution: {integrity: sha512-7apa5PvRg1YCLoraE3lOgpCG8hJGupLCtywQWedWsgBbvF0TOgFvhitqK9xRH0PBGG1G8aiJz9oklyNDFfDxLg==} dev: false /vue-jest/3.0.7_babel-core@7.0.0-bridge.0: @@ -19110,7 +19010,3 @@ packages: /zen-observable/0.8.15: resolution: {integrity: sha512-PQ2PC7R9rslx84ndNBZB/Dkv8V8fZEpk83RLgXtYd0fwUgEjseMn1Dgajh2x6S8QbZAFa9p2qVCEuYZNgve0dQ==} dev: false - - /zwitch/1.0.5: - resolution: {integrity: sha512-V50KMwwzqJV0NpZIZFwfOD5/lyny3WlSzRiXgA0G7VUnRlqttta1L6UQIHzd6EuBY/cHGfwTIck7w1yH6Q5zUw==} - dev: true