## Description Previous version of the astring library doesn't preserve parenthesis when transforming AST to JS Code. This led to syntax error when null coalesce and logical expressions are used together. The latest version of astring library fixes this. <img width="1291" alt="screenshot_2022-07-16_at_04 29 52" src="https://user-images.githubusercontent.com/46670083/179581475-863d70f2-0886-403a-a667-a32ad93e76b7.png"> Fixes #15283 ## Type of change - Bug fix (non-breaking change which fixes an issue) ## How Has This Been Tested? Test plan - [x] https://github.com/appsmithorg/TestSmith/issues/1970 ## Checklist: - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes |
||
|---|---|---|
| .. | ||
| fixtures | ||
| integration | ||
| locators | ||
| manual_TestSuite | ||
| plugins | ||
| sample_airbnb/sample_airbnb | ||
| snapshots/Smoke_TestSuite/ClientSideTests/VisualTests | ||
| support | ||
| .eslintrc.json | ||
| cypress-docker-compose.yml | ||
| index.ts | ||
| init-mysql-dump-for-test.sql | ||
| init-pg-dump-for-test.sql | ||
| setup-test-fat.sh | ||
| setup-test.sh | ||
| test.sh | ||
| tsconfig.json | ||