[PR #3655] [CLOSED] feat: added unset variable to sandbox #4475

Closed
opened 2026-03-17 02:00:25 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/3655
Author: @ajmalmohad
Created: 12/15/2023
Status: Closed

Base: mainHead: feature/unset-var-script


📝 Commits (10+)

  • 2462492 chore(cli): bump dependencies (#3441)
  • d1c9c35 chore: merge hoppscotch/release/2023.8.3 into hoppscotch/release/2023.12.0
  • 59b5a50 HBE-296 feat: introducing 'infra' type and splitting model properties between 'admin' and 'infra' (#3445)
  • a215860 feat: replacing windicss by tailwindcss in hoppscotch-ui (#3076)
  • 9dcbc4a refactor: updated dashboard gql queries and components to use the new infra type of the updated schema (#3455)
  • 6daa043 chore: merge hoppscotch/release/2023.8.3 into hoppscotch/release/2023.12.0
  • 23e3739 feat: introducing a new smart table hoppscotch ui component (#3178)
  • 507fe69 feat: new banner service and added ability to bind additional services from other platforms (#3474)
  • 93ce86f chore: merge hoppscotch/release/2023.8.3 into hoppscotch/release/2023.12.0
  • 4caf005 feat: introduction of shared-requests (#3476)

📊 Changes

636 files changed (+27628 additions, -19709 deletions)

View changed files

📝 .env.example (+5 -2)
📝 .gitignore (+1 -4)
.vscode/extensions.json (+0 -14)
aio-multiport-setup.Caddyfile (+19 -0)
aio-subpath-access.Caddyfile (+37 -0)
aio.Caddyfile (+0 -11)
📝 aio_run.mjs (+2 -1)
📝 docker-compose.yml (+8 -3)
📝 package.json (+4 -0)
📝 packages/codemirror-lang-graphql/package.json (+3 -3)
packages/dioc/.gitignore (+0 -24)
packages/dioc/README.md (+0 -141)
packages/dioc/index.d.ts (+0 -2)
packages/dioc/lib/container.ts (+0 -147)
packages/dioc/lib/main.ts (+0 -2)
packages/dioc/lib/service.ts (+0 -65)
packages/dioc/lib/testing.ts (+0 -33)
packages/dioc/lib/vue.ts (+0 -34)
packages/dioc/package.json (+0 -54)
packages/dioc/test/container.spec.ts (+0 -262)

...and 80 more files

📄 Description

We can unset variables using unset function in pre-request script and test script

Closes #3398

Description

Unset function is added to the Javascript Sandbox. It will work on both pre-request scripts and test scripts

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

Additional Information

Screenshot from 2023-12-15 11-45-38
Screenshot from 2023-12-15 11-46-17
Screenshot from 2023-12-15 11-47-09


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/3655 **Author:** [@ajmalmohad](https://github.com/ajmalmohad) **Created:** 12/15/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feature/unset-var-script` --- ### 📝 Commits (10+) - [`2462492`](https://github.com/hoppscotch/hoppscotch/commit/2462492c8621504ecb6a6c0f8615849ed2b63056) chore(cli): bump dependencies (#3441) - [`d1c9c35`](https://github.com/hoppscotch/hoppscotch/commit/d1c9c3583f0bc001ff7d93ccc62013e8b8696575) chore: merge hoppscotch/release/2023.8.3 into hoppscotch/release/2023.12.0 - [`59b5a50`](https://github.com/hoppscotch/hoppscotch/commit/59b5a50a97371cd18ba2643ad168362a2555f855) HBE-296 feat: introducing 'infra' type and splitting model properties between 'admin' and 'infra' (#3445) - [`a215860`](https://github.com/hoppscotch/hoppscotch/commit/a215860782efbeec40af30ab166357f3fcdeef10) feat: replacing windicss by tailwindcss in hoppscotch-ui (#3076) - [`9dcbc4a`](https://github.com/hoppscotch/hoppscotch/commit/9dcbc4a1265c7f67855b628b1d45101da5b5ec92) refactor: updated dashboard gql queries and components to use the new infra type of the updated schema (#3455) - [`6daa043`](https://github.com/hoppscotch/hoppscotch/commit/6daa043a1b6ab27da950da5ad4779637cd6ebb91) chore: merge hoppscotch/release/2023.8.3 into hoppscotch/release/2023.12.0 - [`23e3739`](https://github.com/hoppscotch/hoppscotch/commit/23e37397184910973dd51d4b25b15a520a3f0340) feat: introducing a new smart table hoppscotch ui component (#3178) - [`507fe69`](https://github.com/hoppscotch/hoppscotch/commit/507fe69efe8fa8dfd4958833c2d03193af8cf57c) feat: new banner service and added ability to bind additional services from other platforms (#3474) - [`93ce86f`](https://github.com/hoppscotch/hoppscotch/commit/93ce86f32d09ffc66071d65e5be26e0549e58ed9) chore: merge hoppscotch/release/2023.8.3 into hoppscotch/release/2023.12.0 - [`4caf005`](https://github.com/hoppscotch/hoppscotch/commit/4caf0053cdb967bf0e614ae97364d602e47645b1) feat: introduction of shared-requests (#3476) ### 📊 Changes **636 files changed** (+27628 additions, -19709 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+5 -2) 📝 `.gitignore` (+1 -4) ➖ `.vscode/extensions.json` (+0 -14) ➕ `aio-multiport-setup.Caddyfile` (+19 -0) ➕ `aio-subpath-access.Caddyfile` (+37 -0) ➖ `aio.Caddyfile` (+0 -11) 📝 `aio_run.mjs` (+2 -1) 📝 `docker-compose.yml` (+8 -3) 📝 `package.json` (+4 -0) 📝 `packages/codemirror-lang-graphql/package.json` (+3 -3) ➖ `packages/dioc/.gitignore` (+0 -24) ➖ `packages/dioc/README.md` (+0 -141) ➖ `packages/dioc/index.d.ts` (+0 -2) ➖ `packages/dioc/lib/container.ts` (+0 -147) ➖ `packages/dioc/lib/main.ts` (+0 -2) ➖ `packages/dioc/lib/service.ts` (+0 -65) ➖ `packages/dioc/lib/testing.ts` (+0 -33) ➖ `packages/dioc/lib/vue.ts` (+0 -34) ➖ `packages/dioc/package.json` (+0 -54) ➖ `packages/dioc/test/container.spec.ts` (+0 -262) _...and 80 more files_ </details> ### 📄 Description We can unset variables using unset function in pre-request script and test script <!-- Thanks for creating this pull request 🤗 Please make sure that the pull request is limited to one type (docs, feature, etc.) and keep it as small as possible. You can open multiple prs instead of opening a huge one. --> <!-- If this pull request closes an issue, please mention the issue number below --> Closes #3398 ### Description Unset function is added to the Javascript Sandbox. It will work on both pre-request scripts and test scripts <!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax - [ ] Not Completed - [x] Completed --> ### Checks <!-- Make sure your pull request passes the CI checks and do check the following fields as needed - --> - [x] My pull request adheres to the code style of this project - [ ] My code requires changes to the documentation - [ ] I have updated the documentation as required - [x] All the tests have passed ### Additional Information ![Screenshot from 2023-12-15 11-45-38](https://github.com/hoppscotch/hoppscotch/assets/55492635/b5e6b95f-1adc-40f8-97a9-90e44d1e400b) ![Screenshot from 2023-12-15 11-46-17](https://github.com/hoppscotch/hoppscotch/assets/55492635/10c5b49b-4443-49ea-b9b4-61da44182945) ![Screenshot from 2023-12-15 11-47-09](https://github.com/hoppscotch/hoppscotch/assets/55492635/0f3d976b-673b-4efb-83d5-e52b6eeaf8e9) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:00:25 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#4475
No description provided.