* feat: update data model and request-pane to support post-req-script
* fix: unit test failed
* feat: integrate post-request script to the engine - INS-3785,INS-3786 (#7329)
* feat: integrate post-request script to the engine
* refactor: some minor improvements
* fix: lint error
* chore: clean up typings
* refactor: separate transforming into sync and async parts
* use named args
* fix: renaming pre-req vars, functions and 2 minor fixes
* fix: the error message is updated
* feat: add snippets for post-request scripting (#7395)
* feat: enable extended assertion chains on `insomnia.response` (#7396)
* feat: add snippets for post-request scripting
* feat(sdk): support response.to.have assertion for verifying response
* chore: fix lint error
---------
Co-authored-by: jackkav <jackkav@gmail.com>
* test: add tests for post-request scripts and post-request scripts - INS-3786 (#7331)
* test: add some tests for post-req script and script engine
* fix: incorrect script type
* chore: refresh package-lock after merging
* chore: clean up package-lock.json
* fix: failed tests after rebasing
* feat: support importing post-req script from Postman (#7423)
* feat: support importing post-req script from Postman
* fix: introduce post-req script property for merged changes
* test: add a test case for importing scripts
* fix: add missing fixture
* chore: remove row after merging
* chore: rename to after-response-script
* fix test
* refresh lock
* update snapshot
* extract pre request logic to function
* refresh lock again
* throw on base env
* fix: revert the logic which rejects the case of unselected environment
---------
Co-authored-by: jackkav <jackkav@gmail.com>
* install package
* first pass
* wip
* use pm names
* pin isomorphic-git
* can import tags
* add test
* add unit test
* renaming
* extract to file
* remove desc
* transform body form value
* rename to faker
* perf: spec lint
* Move ruleset loading to main
* fix: solve todo
* fix: solve todo
* feat: open nodeIntegrationInWorker option
* fix: need save spectralRun ipc
* feat: add worker plugin
* put the default ruleset handling in loadSpectralRuleset
* make sure we check for latest id
* fix: postMessage and ipc can not transfer special objects
* move logic to new place and clean up main
* fix race condition and cleanup code
* fix: worker build
* add necessary worker ternminate and more logs
* use fs require in worker
* rename file and add reject
* fix typo
* remove unused console log in loader
* leave note about GC
---------
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
Co-authored-by: jackkav <jackkav@gmail.com>
* fix: some external modules are missing
* chore: update @types/tv4
* chore: use map instead of switch-case statement
* test(scripting): check using external libs in the critical test suite
* replace custom sidebar with resizable-panels
* set direction when reading the media query for the first time
* handle toggle-sidebar command and keyboard shortcut
* Remove unused constants and refactor keyboard shortcuts hook
* 1200 to 880
* fix env e2e test
* feat: move script sdk to one workspace and update importing paths
* test: add jest config for enabling tests
* fix: failed to build package because of missing .node loader