Skip to content

Refactor getCacheCallback to directly use parent promise's resolve an… #271

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 24, 2025

Conversation

sunil-lakshman
Copy link
Contributor

Refactor getCacheCallback to directly use parent promise's resolve an…

nadeem-cs
nadeem-cs previously approved these changes Jan 24, 2025
@sunil-lakshman sunil-lakshman marked this pull request as ready for review January 24, 2025 15:30
@sunil-lakshman sunil-lakshman requested a review from a team as a code owner January 24, 2025 15:30
@sunil-lakshman sunil-lakshman merged commit 7ba4d69 into development Jan 24, 2025
7 checks passed
@sunil-lakshman sunil-lakshman deleted the fix/dx-2078-cache-issue branch January 24, 2025 15:30
sunil-lakshman added a commit that referenced this pull request Jan 30, 2025
… parent promise's resolve an… (#272)

* Refactor getCacheCallback to directly use parent promise's resolve an… (#271)

* Refactor getCacheCallback to directly use parent promise's resolve and reject, simplifying error handling and avoiding nested promises.

* Updated utils.js file

* Fixed empty object error when API throw error

* removed cheerio package as it had high vulnerability in latest update

* update sanity reports files

* version bump to 3.24.2

---------

Co-authored-by: harshitha.d <harshitha.d@contentstack.com>
Co-authored-by: harshithad0703 <104908717+harshithad0703@users.noreply.github.com>
sunil-lakshman added a commit that referenced this pull request Jan 30, 2025
* DX | 27-01-2025 | Release (#269) (#276)

* fix: added fix for updateasseturl for handling jrte within blocks

* dropping isomorphic-fetch and node-fetch

* version bumpt to 3.23.1

* removed commented lines

* Updated error codes in testcases

* fix: disable minification for improved debugging

* fix: setting minimize to true for browser

* verison bump

* license update

* Updated slack bolt and qs

* version fixed

* sanity update for dev11

---------

Co-authored-by: cs-raj <122264749+cs-raj@users.noreply.github.com>
Co-authored-by: Vikram Kalta <vikramkalta@Vikrams-MacBook-Pro.local>
Co-authored-by: Vikram Kalta <65945391+vkalta@users.noreply.github.com>
Co-authored-by: harshitha.d <harshitha.d@contentstack.com>
Co-authored-by: harshithad0703 <104908717+harshithad0703@users.noreply.github.com>

* DX | 27-01-2025 | Release | Refactor getCacheCallback to directly use parent promise's resolve an… (#272)

* Refactor getCacheCallback to directly use parent promise's resolve an… (#271)

* Refactor getCacheCallback to directly use parent promise's resolve and reject, simplifying error handling and avoiding nested promises.

* Updated utils.js file

* Fixed empty object error when API throw error

* removed cheerio package as it had high vulnerability in latest update

* update sanity reports files

* version bump to 3.24.2

---------

Co-authored-by: harshitha.d <harshitha.d@contentstack.com>
Co-authored-by: harshithad0703 <104908717+harshithad0703@users.noreply.github.com>

---------

Co-authored-by: cs-raj <122264749+cs-raj@users.noreply.github.com>
Co-authored-by: Vikram Kalta <vikramkalta@Vikrams-MacBook-Pro.local>
Co-authored-by: Vikram Kalta <65945391+vkalta@users.noreply.github.com>
Co-authored-by: harshitha.d <harshitha.d@contentstack.com>
Co-authored-by: harshithad0703 <104908717+harshithad0703@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants