Commit Graph

218 Commits

Author SHA1 Message Date
Filipe Freire
2af3eff41b Bump app version to 2022.5.0-beta.3 and lerna package versions 2022-07-07 15:37:58 +00:00
David Marby
946b5627bc Bump app version to 2022.5.0-beta.2 and lerna package versions 2022-06-30 08:10:31 +00:00
Dimitri Mitropoulos
9bea9e06f1
fixes ContentTypeDropdown and AuthDropdown (#4918) 2022-06-29 17:34:28 -04:00
Jack Kavanagh
ba04d2c47d
Chore/some-fc (#4904)
* editable

* wrapper debug

* method dropdown

* request actions dropdown

* response history dropdown

* wrapper home

* copy button

* auth dropdown

* env dropdown

* content type dropdown

* fix types

* second pass

* response csv viewer

* useCallback pass

* more useCallbacks

* wrapper unit test

* simplify pagelayout

* fix editable bug in unit test

* wrapper unit test useCallbacks

* some gentle tidying

* useCallback usage for async func

* switch to useInterval

* updates types for Editable, Highlight, et al.

* moves usage after declaration

* extracts FC for AuthDropdown items

* removes some prop drilling and extracts component

* adds mandaotry useCallback, rm unused props, types

* use named exports from react npm like rest of project

eventually, we will remove usages of `React` default export since it's a hack from half a decade ago that's no longer necessary now that jsx-transform is a thing.

* removes unnecessary useImperativeHandle (we learn somethin' every day)

* adds necessary useCallback, removes unnecessary useImparativeHandle, TS

* fixes types for useRef (turns out you don't need null in the generic)

* removes unused props

* fixes types from ref helpers

* fixes return from useCallback

* updates useCallback usages

* fixes bind

* fixes lint

for some reason, kept getting:

```
insomnia: /home/dimitri/src/github.com/Kong/insomnia/packages/insomnia/src/preload.js
insomnia:   0:0  error  Parsing error: "parserOptions.project" has been set for @typescript-eslint/parser.
insomnia: The file does not match your project config: packages/insomnia/src/preload.js.
insomnia: The file must be included in at least one of the projects provided
```

* revert incomplete type change

* remove unnecessary useEffect

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-06-29 12:17:13 +00:00
Dimitri Mitropoulos
ed3aad6046
tsconfig cleanup (#4908) 2022-06-27 12:57:50 -04:00
Wils Dawson
b400eb1160 Bump app version to 2022.5.0-beta.1 and lerna package versions 2022-06-23 14:10:00 +00:00
Filipe Freire
00a383690e Merge branch 'release/2022.4.2' into develop 2022-06-22 18:23:44 +01:00
Filipe Freire
f44da26ff3 Bump app version to 2022.4.2 and lerna package versions 2022-06-22 14:24:12 +00:00
John Chadwick
5622393f24
Enable strict TypeScript in insomnia. (#4869)
* Enable strict TypeScript in insomnia.

* Remove implied tsconfig settings.
2022-06-16 22:13:54 +00:00
Jack Kavanagh
6707e5889d Bump app version to 2022.5.0-beta.0 and lerna package versions 2022-06-16 09:58:24 +00:00
David Marby
b24d30a21d Merge branch 'release/2022.4.1' into develop 2022-06-15 19:26:05 +02:00
Filipe Freire
07c5b0cc66 Bump app version to 2022.4.1 and lerna package versions 2022-06-15 09:56:45 +00:00
John Chadwick
fc36be710f
Make ButtonProps.onClick more type-able. (#4853)
* Make Button onClick prop more typeable

Swaps the order of the arguments so that the optional arg is second.

* Review fixes.

* removes some implicit any's

* NoticeTable to FC

might as well, at this point.  we're trying to do these as we can as they present themselves

* fixes margin for collapse icon (broken before this PR)

and removes an unnecessary type parameter

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-06-13 15:20:05 +00:00
Gabriel Amorim
7b7a8c83ae
fix: check if bubble is a child of Tooltip container before removing it (#4821)
Co-authored-by: Gabriel Rosa <gabriel.rosa@dadosfera.ai>
Co-authored-by: Mark Kim <103070941+marckong@users.noreply.github.com>
2022-06-09 17:09:28 -04:00
Filipe Freire
e98bf5d427 Merge branch 'release/2022.4.0' into develop 2022-06-09 14:15:03 +00:00
Jack Kavanagh
28acc69435
bump node and electron 19 (#4847)
* bump electron, node and node-libcurl

* package locks
2022-06-09 09:17:28 +01:00
Filipe Freire
2d6d9ec37f Bump app version to 2022.4.0 and lerna package versions 2022-06-09 08:05:54 +00:00
Dimitri Mitropoulos
c6a17d8a3e
chore: single letter variables (#4848) 2022-06-08 12:27:21 -04:00
Filipe Freire
10faac4232 Bump app version to 2022.4.0-beta.4 and lerna package versions 2022-06-08 09:21:49 +00:00
Jack Kavanagh
9c269f40cc
class to pure the second pass (#4831)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-06-02 14:28:15 -04:00
Mark Kim
35f5094048 Bump app version to 2022.4.0-beta.3 and lerna package versions 2022-06-02 13:20:00 +00:00
Dimitri Mitropoulos
0dd6090f1b Bump app version to 2022.4.0-beta.2 and lerna package versions 2022-05-19 14:12:37 +00:00
Dimitri Mitropoulos
52393eccc0
chore(deps): upgrades jest to 28 (#4783) 2022-05-17 08:18:06 -04:00
Filipe Freire
c18a729fe7 Bump app version to 2022.4.0-beta.1 and lerna package versions 2022-05-12 13:27:17 +00:00
David Marby
e2d2c3093d Bump app version to 2022.4.0-beta.0 and lerna package versions 2022-05-05 10:22:35 +00:00
David Marby
1ee7c198f1 Merge branch 'release/2022.3.0' into develop 2022-04-28 15:05:00 +02:00
Jack Kavanagh
4a56db0560
remove unused deps (#4730)
* restore packages used in scripts

* package lock
2022-04-28 12:36:05 +00:00
Dimitri Mitropoulos
cced992115
Upgrades electron to 18.1.0 (#4643)
Co-authored-by: David Marby <david@dmarby.se>
2022-04-27 15:40:05 +00:00
David Marby
e7730587ef Bump app version to 2022.3.0 and lerna package versions 2022-04-22 11:53:32 +00:00
David Marby
b8c0c7fd41 Sync package-lock.json versions 2022-04-21 22:07:05 +02:00
David Marby
5f6f0edd39 Merge branch 'release/2022.3.0-beta.4' into develop 2022-04-21 19:50:06 +02:00
John Chadwick
776a5148a5
Fix for CVE-2021-3777 (rebased) (#4716)
* Add .whitesource configuration file

* Added GitHub Sync action to repository.

* Fixed CVE

nodejs-tmpl is vulnerable to Inefficient Regular Expression Complexity

Updated from 1.0.4 to 1.0.5.

Publish Date: 2021-09-15

URL: https://vuln.whitesourcesoftware.com/vulnerability/CVE-2021-3777

* Delete ibm_fork_sync.yml

* Delete .whitesource

Co-authored-by: whitesource-bolt-for-github[bot] <42819689+whitesource-bolt-for-github[bot]@users.noreply.github.com>
Co-authored-by: Ivan Pedrero <pedrero.ivan@hotmail.com>
2022-04-20 19:37:14 +00:00
David Marby
0d46d18847 Bump app version to 2022.3.0-beta.4 and lerna package versions 2022-04-20 15:19:38 +00:00
James Gatz
fec3e4d551
fix(styled-components): add specificity selector (#4711) 2022-04-20 12:16:02 +00:00
James Gatz
eb21506d40
️vite/esbuild (#4329)
* ️ vite

* replace webpack with esbuild in build script

* move build sr to esbuild

* esbuild send-request shim

* remove main externals

* fix lint

* remove webpack from insomnia-testing

* removes more webpack stuff

TODO after this PR: make debugging work again

* pin swagger-ui-react to version before esm change

* restore prepare script to build in bootstrap

* use default tsconfig for eslint and apply fixes

* bundle insomnia-components as cjs/esm

* makes ca_certs.ts pass linting

* builds types for insomnia-components

* improve build script for production

* skip typechecking insomnia-components

* separate package from build

* add electron to externals

* add preload bundling and fix build output

* exclude grpc/proto-loader from the bundle

* move node packages to commonjs

* don't bundle grpc since it's a node module

* fix content security error

* use vite lib mode for insomnia-components

* tidy up vite config and tsconfig options

* update package-locks

* use process.env. for static build time variables

* fix vscode debugging

Co-authored-by: jackkav <jackkav@gmail.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-04-18 17:27:39 +02:00
Dimitri Mitropoulos
727c1f3366
chore: bracket lint rules (#4694) 2022-04-13 17:04:29 -04:00
Dimitri Mitropoulos
7d8c303318
chore(deps): styled-components (#4669)
* upgrades styled-components

* lockfiles

* map styled-components to the insomnia-app node_modules to fix React version mismatch

Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2022-04-08 15:47:39 +01:00
Filipe Freire
03fdd2eb7d Bump app version to 2022.3.0-beta.3 and lerna package versions 2022-04-07 16:59:54 +00:00
Filipe Freire
273b26b0b4 Bump app version to 2022.3.0-beta.2 and lerna package versions 2022-03-31 14:28:34 +00:00
Dimitri Mitropoulos
0b8258dc5f
chore(deps): fuzzysort (#4616)
* updates fuzzysort

* lockfiles

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2022-03-29 13:05:10 +01:00
Filipe Freire
298f394e3b Bump app version to 2022.3.0-beta.1 and lerna package versions 2022-03-28 15:17:18 +00:00
David Marby
f96d151371 Bump app version to 2022.3.0-beta.0 and lerna package versions 2022-03-24 12:33:04 +00:00
Filipe Freire
a4369bea1e Merge branch 'release/2022.2.1' into develop 2022-03-23 09:53:07 +00:00
Filipe Freire
ef855863e2 Bump app version to 2022.2.1 and lerna package versions 2022-03-21 15:13:28 +00:00
Dimitri Mitropoulos
f1d6e25a91
chore(deps): upgrade to react 17 (#4521) 2022-03-18 11:16:15 -04:00
David Marby
1cd225a9f5 Bump app version to 2022.2.0 and lerna package versions 2022-03-15 11:18:53 +00:00
David Marby
9d6caafd7a
Remove gitHead from package.json files (#4584) 2022-03-10 19:49:17 +00:00
David Marby
d3b4322bf2
Fix lerna version bumps and don't run release recurring for release PRs (#4576) 2022-03-10 16:58:42 +01:00
Dimitri Mitropoulos
a8858ee6db
removes unused md5 npm dependency (#4570) 2022-03-10 14:45:13 +00:00
David Marby
6f81d98125 Bump app version to 2022.2.0-alpha.0 and lerna package versions 2022-03-10 12:00:04 +00:00