Skip to content

Commit

Permalink
Bump/minors-and-types (#7234)
Browse files Browse the repository at this point in the history
* bump minors and types

* lock

* fix types

* windback

* yaml-source-map pins to yaml 1.6.0

* swagger css path

* fix tests

* fix type

* fix o2k tests

* fix markdown

* fix smoke tests
  • Loading branch information
jackkav authored Apr 4, 2024
1 parent 75d74e8 commit 5a2cd8f
Show file tree
Hide file tree
Showing 27 changed files with 6,670 additions and 9,275 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ If you plan on helping with development, please read the [Develop Insomnia](READ

If your pull request to [Kong/insomnia](https://github.com/Kong/insomnia) was accepted, and it fixes a bug, adds functionality, or makes it significantly easier to use or understand Insomnia, congratulations! You are eligible to receive a digital Contributor Badge! Go ahead and fill out the [Contributor Submissions form](https://goo.gl/forms/5w6mxLaE4tz2YM0L2).

*Badges expire after 1 year, at which point you may submit a new contribution to renew the badge.*
_Badges expire after 1 year, at which point you may submit a new contribution to renew the badge._
15,490 changes: 6,447 additions & 9,043 deletions package-lock.json

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,29 +46,29 @@
"devDependencies": {
"@jest/globals": "^29.7.0",
"@jest/types": "^29.6.3",
"@types/chai": "^4.3.5",
"@types/eslint": "^8.4.3",
"@types/chai": "^4.3.14",
"@types/eslint": "^8.56.7",
"@types/har-format": "^1.2.15",
"@types/mocha": "^10.0.1",
"@types/node": "^20.3.3",
"@typescript-eslint/eslint-plugin": "^6.3.0",
"@typescript-eslint/parser": "^6.3.0",
"@types/mocha": "^10.0.6",
"@types/node": "^20.12.4",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"esbuild": "^0.19.0",
"esbuild-runner": "^2.2.2",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"eslint-config-helpers": "^1.2.0",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-html": "^7.1.0",
"eslint-plugin-html": "^8.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.6.3",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-simple-import-sort": "^12.0.0",
"jest": "^29.7.0",
"ts-jest": "^29.1.2",
"tslib": "2.0.1",
"type-fest": "^2.12.0",
"typescript": "^5.1.6"
"type-fest": "^4.15.0",
"typescript": "^5.4.3"
}
}
14 changes: 7 additions & 7 deletions packages/insomnia-inso/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
"devDependencies": {
"@jest/globals": "^29.7.0",
"@types/nedb": "^1.8.16",
"@types/node": "^20.11.6",
"concurrently": "^8.2.0",
"@types/node": "^20.12.4",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"esbuild": "^0.19.0",
"esbuild-node-externals": "^1.12.0",
"esbuild-node-externals": "^1.13.0",
"esbuild-runner": "^2.2.2",
"execa": "^5.0.0",
"jest": "^29.7.0",
Expand All @@ -53,14 +53,14 @@
"@stoplight/spectral-ruleset-bundler": "^1.5.2",
"@stoplight/spectral-rulesets": "^1.18.1",
"@stoplight/types": "^14.1.1",
"axios": "^1.6.3",
"axios": "^1.6.8",
"commander": "^5.1.0",
"consola": "^2.15.0",
"cosmiconfig": "^6.0.0",
"enquirer": "^2.3.6",
"enquirer": "^2.4.1",
"insomnia-send-request": "../insomnia-send-request",
"@seald-io/nedb": "^4.0.3",
"@seald-io/nedb": "^4.0.4",
"string-argv": "^0.3.2",
"yaml": "^2.3.1"
"yaml": "^1.6.0"
}
}
10 changes: 5 additions & 5 deletions packages/insomnia-send-request/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
"@stoplight/spectral-formats": "^1.6.0",
"@stoplight/spectral-rulesets": "^1.18.1",
"aws4": "^1.12.0",
"axios": "^1.6.3",
"axios": "^1.6.8",
"clone": "^2.1.2",
"color": "^3.1.2",
"fuzzysort": "^1.2.1",
"hawk": "9.0.1",
"hawk": "9.0.2",
"hkdf": "0.0.2",
"html-entities": "^2.4.0",
"html-entities": "^2.5.2",
"httpsnippet": "^2.0.0",
"isomorphic-git": "^1.5.0",
"jshint": "^2.13.6",
Expand All @@ -28,14 +28,14 @@
"marked": "^5.1.1",
"mime-types": "^2.1.35",
"multiparty": "^4.2.3",
"@seald-io/nedb": "^4.0.3",
"@seald-io/nedb": "^4.0.4",
"node-forge": "^1.3.1",
"nunjucks": "^3.2.4",
"oauth-1.0a": "^2.2.6",
"tough-cookie": "^4.1.3",
"url-join": "^4.0.1",
"uuid": "^8.3.2",
"yaml": "^2.3.1"
"yaml": "^1.6.0"
},
"devDependencies": {},
"scripts": {},
Expand Down
20 changes: 10 additions & 10 deletions packages/insomnia-smoke-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,26 @@
"@grpc/grpc-js": "^1.6.7",
"@grpc/proto-loader": "^0.7.7",
"@jest/globals": "^29.7.0",
"@playwright/test": "1.41.0-alpha-dec-20-2023",
"@playwright/test": "1.42.1",
"@ravanallc/grpc-server-reflection": "^0.1.6",
"@types/concurrently": "^6.4.0",
"@types/express": "^4.17.21",
"@types/oidc-provider": "^8.4.3",
"@types/oidc-provider": "^8.4.4",
"@types/uuid": "^9.0.8",
"@types/ws": "^8.5.10",
"concurrently": "^7.0.0",
"cross-env": "^7.0.3",
"esbuild-runner": "2.2.2",
"execa": "^5.0.0",
"express": "^4.17.1",
"express-basic-auth": "^1.2.0",
"graphql-http": "^1.21.0",
"express": "^4.19.2",
"express-basic-auth": "^1.2.1",
"graphql-http": "^1.22.0",
"faker": "^5.1.0",
"graphql": "^16.7.1",
"graphql": "^16.8.1",
"jest": "^29.7.0",
"oidc-provider": "^7.10.6",
"uuid": "^8.3.2",
"ws": "^8.13.0",
"ws": "^8.16.0",
"xvfb-maybe": "^0.2.1"
},
"description": "[![Playwright](https://img.shields.io/badge/playwright-blue.svg?style=for-the-badge&logo=playwright)](https://github.com/microsoft/playwright)",
Expand All @@ -55,8 +55,8 @@
},
"dependencies": {
"depd": "^1.1.2",
"http-errors": "^1.8.0",
"statuses": "^1.5.0",
"toidentifier": "^1.0.0"
"http-errors": "^2.0.0",
"statuses": "^2.0.1",
"toidentifier": "^1.0.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,7 @@ test.describe('pre-request features tests', async () => {
await bodyEditor.fill('{ "rawBody": {{ _.rawBody }}, "urlencodedBody": {{ _.urlencodedBody }}, "gqlBody": {{ _.gqlBody }}, "fileBody": {{ _.fileBody }}, "formdataBody": {{ _.formdataBody }} }');

// enter script
const preRequestScriptTab = page.getByRole('tab', { name: 'Pre-request Script' });
await preRequestScriptTab.click();
await page.getByTestId('pre-request-script-tab').click();
const preRequestScriptEditor = page.getByTestId('CodeEditor').getByRole('textbox');
await preRequestScriptEditor.fill(`
const rawReq = {
Expand Down Expand Up @@ -430,8 +429,7 @@ test.describe('unhappy paths', async () => {
await page.getByRole('menuitem', { name: 'JSON' }).click();

// enter script
const preRequestScriptTab = page.getByRole('tab', { name: 'Pre-request Script' });
await preRequestScriptTab.click();
await page.getByTestId('pre-request-script-tab').click();
const preRequestScriptEditor = page.getByTestId('CodeEditor').getByRole('textbox');
await preRequestScriptEditor.fill(tc.preReqScript);

Expand Down
68 changes: 34 additions & 34 deletions packages/insomnia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@grpc/grpc-js": "^1.8.17",
"@grpc/proto-loader": "^0.7.7",
"@jest/globals": "^29.7.0",
"@seald-io/nedb": "^4.0.3",
"@seald-io/nedb": "^4.0.4",
"@segment/analytics-node": "1.0.0",
"@sentry/electron": "^3.0.7",
"@stoplight/spectral-core": "^1.18.3",
Expand All @@ -52,21 +52,21 @@
"@stoplight/spectral-rulesets": "^1.18.1",
"apiconnect-wsdl": "1.8.31",
"aws4": "^1.12.0",
"axios": "^1.6.3",
"axios": "^1.6.8",
"chai": "^4.3.4",
"chai-json-schema": "1.5.1",
"change-case": "^4.1.2",
"clone": "^2.1.0",
"clone": "^2.1.2",
"color": "^3.1.2",
"content-disposition": "^0.5.4",
"dompurify": "^3.0.5",
"electron-context-menu": "^3.6.1",
"electron-log": "^4.4.8",
"grpc-reflection-js": "0.3.0",
"hawk": "9.0.1",
"hawk": "9.0.2",
"hkdf": "^0.0.2",
"hosted-git-info": "5.2.1",
"html-entities": "^2.4.0",
"html-entities": "^2.5.2",
"httpsnippet": "^2.0.0",
"iconv-lite": "^0.6.3",
"isomorphic-git": "^1.10.4",
Expand All @@ -76,7 +76,7 @@
"jsonpath-plus": "^6.0.1",
"marked": "^5.1.1",
"mime-types": "^2.1.35",
"mocha": "^10.2.0",
"mocha": "^10.4.0",
"multiparty": "^4.2.3",
"node-forge": "^1.3.1",
"oauth-1.0a": "^2.2.6",
Expand All @@ -91,24 +91,24 @@
},
"devDependencies": {
"@develohpanda/fluent-builder": "^2.1.2",
"@fortawesome/fontawesome-svg-core": "^6.4.2",
"@fortawesome/free-brands-svg-icons": "^6.4.2",
"@fortawesome/free-regular-svg-icons": "^6.4.2",
"@fortawesome/free-solid-svg-icons": "^6.4.2",
"@fortawesome/fontawesome-svg-core": "^6.5.2",
"@fortawesome/free-brands-svg-icons": "^6.5.2",
"@fortawesome/free-regular-svg-icons": "^6.5.2",
"@fortawesome/free-solid-svg-icons": "^6.5.2",
"@fortawesome/react-fontawesome": "^0.2.0",
"@getinsomnia/api-client": "0.0.4",
"@tailwindcss/typography": "^0.5.9",
"@tanstack/react-virtual": "3.0.0-beta.18",
"@testing-library/dom": "^8.13.0",
"@testing-library/jest-dom": "^6.3.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.2.0",
"@tailwindcss/typography": "^0.5.12",
"@tanstack/react-virtual": "3.2.0",
"@testing-library/dom": "^9.3.4",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.2",
"@testing-library/user-event": "^14.5.2",
"@types/aws4": "^1.11.6",
"@types/clone": "^2.1.4",
"@types/codemirror": "^5.60.15",
"@types/color": "^3.0.6",
"@types/content-disposition": "^0.5.8",
"@types/cookie-parser": "^1.4.6",
"@types/cookie-parser": "^1.4.7",
"@types/deep-equal": "^1.0.4",
"@types/dompurify": "^3.0.5",
"@types/hawk": "9.0.6",
Expand All @@ -124,8 +124,8 @@
"@types/node-forge": "^1.3.11",
"@types/nunjucks": "^3.2.6",
"@types/papaparse": "^5.3.14",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@types/react": "^18.2.74",
"@types/react-dom": "^18.2.24",
"@types/shell-quote": "^1.7.5",
"@types/styled-components": "^5.1.34",
"@types/swagger-ui-dist": "3.30.4",
Expand All @@ -139,8 +139,8 @@
"buffer": "^6.0.3",
"classnames": "^2.3.1",
"codemirror": "^5.65.2",
"codemirror-graphql": "^2.0.8",
"concurrently": "^7.0.0",
"codemirror-graphql": "^2.0.11",
"concurrently": "^8.2.2",
"cookie-parser": "^1.4.6",
"cross-env": "^7.0.3",
"date-fns": "^2.28.0",
Expand All @@ -154,8 +154,8 @@
"esbuild-runner": "^2.2.2",
"fuzzysort": "^1.2.1",
"graphql": "^16.8.1",
"gsap": "^3.11.3",
"highlight.js": "^11.5.1",
"gsap": "^3.12.5",
"highlight.js": "^11.9.0",
"httplease-asap": "^0.6.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
Expand All @@ -167,27 +167,27 @@
"ncp": "^2.0.0",
"nunjucks": "^3.2.4",
"objectpath": "^2.0.0",
"openapi-types": "^7.0.1",
"openapi-types": "^12.1.3",
"postcss": "^8.4.32",
"react": "^18.2.0",
"react-aria": "3.23.1",
"react-aria-components": "^1.0.0-rc.0",
"react-aria": "3.32.1",
"react-aria-components": "^1.1.1",
"react-dom": "^18.2.0",
"react-router-dom": "^6.19.0",
"react-stately": "3.21.0",
"react-use": "^17.4.0",
"react-router-dom": "^6.22.3",
"react-stately": "3.30.1",
"react-use": "^17.5.0",
"srp-js": "^0.2.1",
"styled-components": "^5.3.3",
"tailwindcss": "^3.3.3",
"tinykeys": "^1.4.0",
"type-fest": "^2.12.0",
"typescript": "^5.1.6",
"type-fest": "^4.15.0",
"typescript": "^5.4.3",
"typescript-json-schema": "^0.50.1",
"vite": "^5.0.12",
"vkbeautify": "^0.99.1",
"ws": "^8.13.0",
"vkbeautify": "^0.99.3",
"ws": "^8.16.0",
"xmldom": "^0.6.0",
"xpath": "0.0.32"
"xpath": "0.0.34"
},
"dev": {
"dev-server-port": 3334
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { describe, expect, it } from '@jest/globals';

import { NUNJUCKS_TEMPLATE_GLOBAL_PROPERTY_NAME } from '../../../../templating';
import { checkNestedKeys, ensureKeyIsValid } from '../environment-editor';
import { checkNestedKeys, ensureKeyIsValid } from '../environment-utils';

describe('ensureKeyIsValid()', () => {
it.each([
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,6 @@ export const GraphQLEditor: FC<Props> = ({
if (schema) {
graphqlOptions = {
hintOptions: {
schema,
completeSingle: false,
},
infoOptions: {
Expand Down
Loading

0 comments on commit 5a2cd8f

Please sign in to comment.