| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:583dde84-44ae-d5ce-b313-8ce4a2a8ec4f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B404:47529:D143A:12B941:6AFB2EC5 |
| html-safe-nonce | 346163aeee2b7c8665436823774c8767ea8527f2a90bb80cacb3692d8fa6336d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDA0OjQ3NTI5OkQxNDNBOjEyQjk0MTo2QUZCMkVDNSIsInZpc2l0b3JfaWQiOiI2MTczNTg1MDAwOTI3ODAxMDI5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f2a9619f5dc29829e5268a9dd2dc4ae2df2d0cb27256ee1af890600a9e55c7f7 |
| hovercard-subject-tag | pull_request:4405968433 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/7300/files |
| twitter:image | https://avatars.githubusercontent.com/u/17950982?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/17950982?s=400&v=4 |
| og:image:alt | Problem
A Condition expression is compiled by inlining each resolved reference into the author's JavaScript as source text. The literal that gets emitted only ever anticipated the quoting it ch... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 40c7ffe00e8bbb3ca8403c83d7ef110379c9eba2cbc7a7c333b037ffd940d4e4 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f494d77c37809e03e18d49c6e9945c57e0b64070 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/simstudioai/sim/pull/7300/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7300%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7300%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim |
| Reload | https://github.com/simstudioai/sim/pull/7300/files |
| Reload | https://github.com/simstudioai/sim/pull/7300/files |
| Reload | https://github.com/simstudioai/sim/pull/7300/files |
| simstudioai | https://github.com/simstudioai |
| sim | https://github.com/simstudioai/sim |
| Code | https://github.com/simstudioai/sim |
| Issues129 (129) | https://github.com/simstudioai/sim/issues |
| Pull requests198 (198) | https://github.com/simstudioai/sim/pulls |
| Actions | https://github.com/simstudioai/sim/actions |
| Projects | https://github.com/simstudioai/sim/projects |
| Security and quality | https://github.com/simstudioai/sim/security |
| Insights | https://github.com/simstudioai/sim/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| icecrasher321 | https://github.com/icecrasher321 |
| staging | https://github.com/simstudioai/sim/tree/staging |
| fix/condition-expression-injection | https://github.com/simstudioai/sim/tree/fix/condition-expression-injection |
|
Conversation
106
| https://github.com/simstudioai/sim/pull/7300 |
|
Commits
13
| https://github.com/simstudioai/sim/pull/7300/commits |
|
Checks
27
| https://github.com/simstudioai/sim/pull/7300/checks |
|
Files changed
| https://github.com/simstudioai/sim/pull/7300/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/7300/files |
|
fix(executor): stop resolved data from breaking out of generated condition and function code
| https://github.com/simstudioai/sim/pull/7300/files#top |
|
Show all changes
13 commits
| https://github.com/simstudioai/sim/pull/7300/files |
|
3f10365
fix(executor): stop resolved data from breaking out of generated code
Aug 31, 2026
| https://github.com/simstudioai/sim/pull/7300/commits/3f10365d62a9d2141ad55a9f72a18029189b6f6a |
|
bf0a80c
fix(executor): parse condition objects instead of splicing their JSON
Aug 31, 2026
| https://github.com/simstudioai/sim/pull/7300/commits/bf0a80c1abf16252717f04c4270bc96e6340a761 |
|
73bba51
fix(executor): widen the condition environment read to any mention
Aug 31, 2026
| https://github.com/simstudioai/sim/pull/7300/commits/73bba519e87244ed11c1c62d1aa317ca827d9fd5 |
|
c28a7e4
fix(executor): teach the code scanner about regex literals
Aug 31, 2026
| https://github.com/simstudioai/sim/pull/7300/commits/c28a7e4bc3c9c385a2f884e1ed292044ba997949 |
|
47da972
fix(executor): keep resolved data out of the condition secret decision
Aug 31, 2026
| https://github.com/simstudioai/sim/pull/7300/commits/47da972c76fb958246da241630c912ad947398dd |
|
184460a
fix(executor): read what a closing parenthesis closed
Aug 31, 2026
| https://github.com/simstudioai/sim/pull/7300/commits/184460ad795aadd37a73005d5fbfeb45834a0116 |
|
d5c2b89
fix(executor): decide the environment read from the author's own text
Aug 31, 2026
| https://github.com/simstudioai/sim/pull/7300/commits/d5c2b892ccbc10bc613ea2a3d7eb9a2e527acce3 |
|
4fb3027
fix(executor): do not read a keyword-named method as a control-flow head
Aug 31, 2026
| https://github.com/simstudioai/sim/pull/7300/commits/4fb30274941463fb08ed6bcb3df3abffe4c32328 |
|
82a80c3
fix(executor): keep a caller from choosing which secret expands
Aug 31, 2026
| https://github.com/simstudioai/sim/pull/7300/commits/82a80c3d5d648c598b6af28337650ab8cde31083 |
|
39bb39d
fix(executor): step over comments instead of reading them as tokens
Aug 31, 2026
| https://github.com/simstudioai/sim/pull/7300/commits/39bb39df1d9b4c0a74cf702e37c6b80a40a264ba |
|
4a6ced5
fix(executor): take the preceding token from the scan, not from a wal…
Aug 31, 2026
| https://github.com/simstudioai/sim/pull/7300/commits/4a6ced56f0307d8c72207a25d2b8f2d39c10c3fc |
|
522980c
fix(executor): divide after a postfix update
Aug 31, 2026
| https://github.com/simstudioai/sim/pull/7300/commits/522980cfa64ce16138c2a48f7033e8f415500365 |
|
ea25c3c
fix(executor): start a new identifier at the character before it
Aug 31, 2026
| https://github.com/simstudioai/sim/pull/7300/commits/ea25c3ce2cc971c273f37d2c1bac3f51245a0134 |
|
Clear filters
| https://github.com/simstudioai/sim/pull/7300/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/7300/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/7300/files |
|
condition-handler.test.ts
| https://github.com/simstudioai/sim/pull/7300/files#diff-064a4bb886fba11b872087b9ced2f91da3c38abcf15f14af2c7d557c2b1db882 |
|
condition-handler.ts
| https://github.com/simstudioai/sim/pull/7300/files#diff-59b85c48f9cbcee6cddb93179ee9a261f9174a720f75ec87c584be23f1459ab5 |
|
code-formatting.ts
| https://github.com/simstudioai/sim/pull/7300/files#diff-39437df9f54ae1d64b19b53cbd39e025395422f747e02bad5bbac80fcad06bb4 |
|
resolver.test.ts
| https://github.com/simstudioai/sim/pull/7300/files#diff-2fa26b2dbc26ddf18b930cacd45e8f8785bea1a3c1183192cbb19678ea81b649 |
|
resolver.ts
| https://github.com/simstudioai/sim/pull/7300/files#diff-689d75b70daf1f65a0914798bb39ad228e6918dc990978d09a349acfe0ca22f6 |
|
block.test.ts
| https://github.com/simstudioai/sim/pull/7300/files#diff-8503dd8744c64603659c82c08b6dd1a9863b8d28bba58e34fe3e6a93b725da8b |
|
block.ts
| https://github.com/simstudioai/sim/pull/7300/files#diff-14253186b01590e9d16564de9e0a1a9fc69546106c14d3979017aa04adda0403 |
| apps/sim/executor/handlers/condition/condition-handler.test.ts | https://github.com/simstudioai/sim/pull/7300/files#diff-064a4bb886fba11b872087b9ced2f91da3c38abcf15f14af2c7d557c2b1db882 |
|
View file
| https://github.com/simstudioai/sim/blob/ea25c3ce2cc971c273f37d2c1bac3f51245a0134/apps/sim/executor/handlers/condition/condition-handler.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/7300/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/7300/files#diff-064a4bb886fba11b872087b9ced2f91da3c38abcf15f14af2c7d557c2b1db882 |
|
| https://github.com/simstudioai/sim/pull/7300/files#diff-064a4bb886fba11b872087b9ced2f91da3c38abcf15f14af2c7d557c2b1db882 |
| apps/sim/executor/handlers/condition/condition-handler.ts | https://github.com/simstudioai/sim/pull/7300/files#diff-59b85c48f9cbcee6cddb93179ee9a261f9174a720f75ec87c584be23f1459ab5 |
|
View file
| https://github.com/simstudioai/sim/blob/ea25c3ce2cc971c273f37d2c1bac3f51245a0134/apps/sim/executor/handlers/condition/condition-handler.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/7300/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/7300/files#diff-59b85c48f9cbcee6cddb93179ee9a261f9174a720f75ec87c584be23f1459ab5 |
|
| https://github.com/simstudioai/sim/pull/7300/files#diff-59b85c48f9cbcee6cddb93179ee9a261f9174a720f75ec87c584be23f1459ab5 |
|
| https://github.com/simstudioai/sim/pull/7300/files#diff-59b85c48f9cbcee6cddb93179ee9a261f9174a720f75ec87c584be23f1459ab5 |
|
| https://github.com/simstudioai/sim/pull/7300/files#diff-59b85c48f9cbcee6cddb93179ee9a261f9174a720f75ec87c584be23f1459ab5 |
|
| https://github.com/simstudioai/sim/pull/7300/files#diff-59b85c48f9cbcee6cddb93179ee9a261f9174a720f75ec87c584be23f1459ab5 |
|
| https://github.com/simstudioai/sim/pull/7300/files#diff-59b85c48f9cbcee6cddb93179ee9a261f9174a720f75ec87c584be23f1459ab5 |
|
| https://github.com/simstudioai/sim/pull/7300/files#diff-59b85c48f9cbcee6cddb93179ee9a261f9174a720f75ec87c584be23f1459ab5 |
|
| https://github.com/simstudioai/sim/pull/7300/files#diff-59b85c48f9cbcee6cddb93179ee9a261f9174a720f75ec87c584be23f1459ab5 |
|
| https://github.com/simstudioai/sim/pull/7300/files#diff-59b85c48f9cbcee6cddb93179ee9a261f9174a720f75ec87c584be23f1459ab5 |
|
| https://github.com/simstudioai/sim/pull/7300/files#diff-59b85c48f9cbcee6cddb93179ee9a261f9174a720f75ec87c584be23f1459ab5 |
|
| https://github.com/simstudioai/sim/pull/7300/files#diff-59b85c48f9cbcee6cddb93179ee9a261f9174a720f75ec87c584be23f1459ab5 |
|
| https://github.com/simstudioai/sim/pull/7300/files#diff-59b85c48f9cbcee6cddb93179ee9a261f9174a720f75ec87c584be23f1459ab5 |
|
| https://github.com/simstudioai/sim/pull/7300/files#diff-59b85c48f9cbcee6cddb93179ee9a261f9174a720f75ec87c584be23f1459ab5 |
|
| https://github.com/simstudioai/sim/pull/7300/files#diff-59b85c48f9cbcee6cddb93179ee9a261f9174a720f75ec87c584be23f1459ab5 |
| apps/sim/executor/utils/code-formatting.ts | https://github.com/simstudioai/sim/pull/7300/files#diff-39437df9f54ae1d64b19b53cbd39e025395422f747e02bad5bbac80fcad06bb4 |
|
View file
| https://github.com/simstudioai/sim/blob/ea25c3ce2cc971c273f37d2c1bac3f51245a0134/apps/sim/executor/utils/code-formatting.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/7300/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/7300/files#diff-39437df9f54ae1d64b19b53cbd39e025395422f747e02bad5bbac80fcad06bb4 |
| Please reload this page | https://github.com/simstudioai/sim/pull/7300/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/7300/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |