Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
392 commits
Select commit Hold shift + click to select a range
1c492c9
Merge pull request #83 from contentstack/fix/dx-1145-improve-code-cov…
harshithad0703 Jan 17, 2025
d63988b
Merge pull request #79 from contentstack/staging
cs-raj Jan 17, 2025
2f34d45
Merge pull request #84 from contentstack/main
cs-raj Jan 17, 2025
945cdcd
Merge pull request #85 from contentstack/staging
cs-raj Jan 17, 2025
d74ae22
License updated and version bump
cs-raj Jan 18, 2025
b8a1c4c
Merge pull request #86 from contentstack/fix/DX-2025
cs-raj Jan 20, 2025
cfc5195
sca-scan.yml
Aravind-Kumar-cstk Jan 20, 2025
82e8276
jira.yml
Aravind-Kumar-cstk Jan 20, 2025
3656397
sast-scan.yml
Aravind-Kumar-cstk Jan 20, 2025
7bb0a7c
codeql-analysis.yml
Aravind-Kumar-cstk Jan 20, 2025
ed57092
Updated codeowners
Aravind-Kumar-cstk Jan 20, 2025
fb791ba
Merge branch 'main' into staging
cs-raj Jan 21, 2025
709986a
lock-file update
cs-raj Jan 21, 2025
1baec03
Merge pull request #87 from contentstack/fix/stage
cs-raj Jan 21, 2025
080fe06
Merge branch 'staging' into development
cs-raj Jan 21, 2025
77f384b
Merge pull request #89 from contentstack/fix/dev
cs-raj Jan 21, 2025
01d6ea6
Merge pull request #90 from contentstack/development
cs-raj Jan 21, 2025
9b6b9f6
fix: url change with host for live preview
nadeem-cs Jan 23, 2025
3093be5
test: modified test cases
nadeem-cs Jan 23, 2025
3bcf09a
Merge pull request #92 from contentstack/fix/DX-1977-Live-Preview
nadeem-cs Jan 23, 2025
b4f79c6
Merge pull request #93 from contentstack/development
nadeem-cs Jan 23, 2025
542e731
Merge pull request #91 from contentstack/staging
nadeem-cs Jan 24, 2025
32927eb
Update node version to 22 (#94)
sunil-lakshman Feb 7, 2025
4fc909b
Fix: Updated the Regex for path traversal issue
cs-raj Feb 10, 2025
a74f188
policy-scan.yml
Aravind-Kumar-cstk Apr 16, 2025
193e87c
issues-jira.yml
Aravind-Kumar-cstk Apr 16, 2025
3146b89
Delete jira.yml
Aravind-Kumar-cstk Apr 16, 2025
5d45303
Delete sast-scan.yml
Aravind-Kumar-cstk Apr 16, 2025
d6f0637
codeql-analysis.yml
Aravind-Kumar-cstk Apr 16, 2025
ea1ce19
Updated codeowners
Aravind-Kumar-cstk Apr 16, 2025
a3c6382
Merge pull request #95 from contentstack/fix/DX-1995
cs-raj Apr 23, 2025
c16c535
version bump
cs-raj Apr 23, 2025
d262ae1
Merge pull request #99 from contentstack/fix/dev
cs-raj Apr 23, 2025
ff701fe
Merge pull request #100 from contentstack/development
cs-raj Apr 23, 2025
357625e
Merge branch 'main' into staging
Aravind-Kumar-cstk Apr 23, 2025
d3b03ed
Update policy-scan.yml
Aravind-Kumar-cstk Apr 23, 2025
3bd16a2
policy-scan.yml
Aravind-Kumar-cstk Apr 23, 2025
9a3990f
Merge branch 'main' into staging
Aravind-Kumar-cstk Apr 23, 2025
f7acf19
Merge pull request #101 from contentstack/staging
cs-raj Apr 29, 2025
890bbe3
Merge pull request #102 from contentstack/main
cs-raj Apr 29, 2025
73be015
Merge pull request #103 from contentstack/staging
cs-raj Apr 29, 2025
c5ef908
policy-scan.yml
Aravind-Kumar-cstk May 5, 2025
a4b8cae
issues-jira.yml
Aravind-Kumar-cstk May 5, 2025
5e35be9
secrets-scan.yml
Aravind-Kumar-cstk May 5, 2025
077616e
Updated codeowners
Aravind-Kumar-cstk May 5, 2025
d22518c
talismanrc file updated
Aravind-Kumar-cstk May 5, 2025
70ee52f
feat: retry logic to check for rate limit remaining header
nadeem-cs Jun 6, 2025
d88133c
Merge pull request #104 from contentstack/feat/DX-3040
nadeem-cs Jun 6, 2025
fbb7da2
Merge pull request #105 from contentstack/development
harshithad0703 Jun 6, 2025
1aa0efe
Merge pull request #107 from contentstack/main
harshithad0703 Jun 9, 2025
0e2ce79
Merge pull request #106 from contentstack/staging
harshithad0703 Jun 9, 2025
ce982f5
Merge pull request #108 from contentstack/main
harshithad0703 Jun 9, 2025
12c91b7
Merge pull request #109 from contentstack/staging
harshithad0703 Jun 9, 2025
f0aac2a
fix: update husky-check script to properly install hooks
cs-raj Jul 29, 2025
8314c70
Merge pull request #111 from contentstack/fix/DX-2370
cs-raj Jul 30, 2025
de66f2f
chore: update changelog
cs-raj Aug 1, 2025
c6ec749
Merge pull request #113 from contentstack/fix/dev
harshithad0703 Aug 1, 2025
74dc375
Merge pull request #112 from contentstack/development
harshithad0703 Aug 1, 2025
038f1f8
Merge pull request #114 from contentstack/staging
harshithad0703 Aug 4, 2025
f45c1ab
Merge pull request #115 from contentstack/main
harshithad0703 Aug 5, 2025
18e3da4
Merge pull request #116 from contentstack/staging
harshithad0703 Aug 5, 2025
de07b68
fix: retry logic modified to retry after delay on rate limit exceeding
nadeem-cs Aug 14, 2025
3ea2803
Merge pull request #117 from contentstack/fix/DX-3328
harshithad0703 Aug 18, 2025
43e5c85
Merge pull request #119 from contentstack/development
harshithad0703 Aug 18, 2025
0ab833e
test: :white_check_mark: add test for improving coveragee
nadeem-cs Aug 18, 2025
47fbc8d
Merge pull request #121 from contentstack/fix/DX-3328
harshithad0703 Aug 18, 2025
f81b376
Merge pull request #122 from contentstack/development
nadeem-cs Aug 18, 2025
0ed30e2
Merge pull request #120 from contentstack/staging
harshithad0703 Aug 18, 2025
266b8df
Merge pull request #123 from contentstack/main
reeshika-h Aug 20, 2025
5580d76
Merge pull request #124 from contentstack/staging
harshithad0703 Aug 20, 2025
e8aa44e
refactor: simplify error handling in getData function
harshitha-cstk Aug 21, 2025
904da37
refactor: simplify error handling in retryResponseErrorHandler
harshitha-cstk Aug 21, 2025
59a9122
chore: bump version to 1.3.0 in package.json
harshitha-cstk Aug 22, 2025
78fc498
fix: update talismanrc
harshitha-cstk Aug 22, 2025
227fecd
fix: Fixed URI To Long error
sunil-lakshman Aug 22, 2025
4dd6391
chore: removed the unwanted comments
sunil-lakshman Aug 22, 2025
4cff2e1
Merge pull request #126 from contentstack/fix/dx-3440
harshithad0703 Aug 22, 2025
0769b81
Merge pull request #125 from contentstack/fix/dx-3429-remove-custom-e…
harshithad0703 Aug 22, 2025
1e0797b
Merge pull request #128 from contentstack/staging
harshithad0703 Aug 25, 2025
66bf0fc
Merge pull request #127 from contentstack/development
harshithad0703 Aug 25, 2025
239cf8a
Merge branch 'main' into fix/conflicts
harshitha-cstk Aug 25, 2025
a1ea022
fix: update dependencies
harshitha-cstk Aug 25, 2025
a6e7901
fix: update talismanrc
harshitha-cstk Aug 25, 2025
f69f6e6
Merge pull request #130 from contentstack/fix/conflicts
harshithad0703 Aug 25, 2025
c96eeb9
fix: update test cases
harshitha-cstk Aug 25, 2025
4c9ac07
fix: update test cases
harshitha-cstk Aug 25, 2025
bdccb8a
Merge pull request #131 from contentstack/fix/conflicts
harshithad0703 Aug 25, 2025
ac2fe6a
Merge pull request #129 from contentstack/staging
harshithad0703 Aug 25, 2025
08969f7
Merge pull request #132 from contentstack/main
reeshika-h Aug 26, 2025
14dee04
Merge pull request #133 from contentstack/staging
harshithad0703 Aug 26, 2025
390be5c
fix: React native compatibility fix
harshitha-cstk Aug 29, 2025
a3b4841
fix: update version to 1.3.1 in changelog, package.json, and package-…
harshitha-cstk Sep 1, 2025
8d7b007
Merge pull request #134 from contentstack/fix/URLSearchParams.set-issue
harshithad0703 Sep 1, 2025
ce5b064
Merge pull request #135 from contentstack/development
harshithad0703 Sep 1, 2025
d6110ee
Merge pull request #136 from contentstack/staging
harshithad0703 Sep 2, 2025
f689999
Merge pull request #137 from contentstack/main
harshithad0703 Sep 3, 2025
5aaf668
Merge pull request #138 from contentstack/staging
harshithad0703 Sep 3, 2025
fd5bdbf
Delete secrets-scan.yml
Aravind-Kumar-cstk Sep 8, 2025
b480b67
Updated codeowners
Aravind-Kumar-cstk Sep 8, 2025
61dddbc
fix: enhance retry logic to use configured retrydelay for error respo…
nadeem-cs Sep 16, 2025
eb29c8e
Merge pull request #141 from contentstack/fix/DX-3529-retryLimit-retr…
nadeem-cs Sep 17, 2025
4f59611
fix: resolve params serialization issue and add api error class for p…
sunil-lakshman Oct 24, 2025
4d52ae9
fix: Add defaultHostname to prevent ENOTFOUND undefined error in tests
sunil-lakshman Oct 24, 2025
fac3dc5
Merge pull request #143 from contentstack/fix/dx-3655
sunil-lakshman Oct 28, 2025
0974dd7
Merge pull request #144 from contentstack/development
harshithad0703 Oct 31, 2025
d2fe77a
Merge pull request #146 from contentstack/main
harshithad0703 Oct 31, 2025
4276a9f
fix: Fixed unit testcases
sunil-lakshman Oct 31, 2025
60e0e53
Merge pull request #147 from contentstack/fix/unit-testcases
sunil-lakshman Oct 31, 2025
4349584
chore: Added unit testcases
sunil-lakshman Oct 31, 2025
75f82cf
Merge pull request #148 from contentstack/enh/retry-unit-testcases
harshithad0703 Oct 31, 2025
b322f1d
Merge pull request #145 from contentstack/staging
harshithad0703 Nov 3, 2025
62d8044
fix: version bump to 1.3.2
harshitha-cstk Nov 3, 2025
b5ce82b
Merge pull request #149 from contentstack/fix/version-bump
harshithad0703 Nov 3, 2025
b2503a8
Merge pull request #150 from contentstack/staging
harshithad0703 Nov 3, 2025
edb379f
Merge pull request #151 from contentstack/main
reeshika-h Nov 4, 2025
ac0f154
fix: add ESM exports configuration in package.json
nadeem-cs Nov 10, 2025
cda05e9
chore: update package-lock
nadeem-cs Nov 10, 2025
10c6810
fix: changelog entry
nadeem-cs Nov 10, 2025
e0adb1b
Merge pull request #152 from contentstack/fix/DX-3708
nadeem-cs Nov 12, 2025
5f8c823
Merge pull request #153 from contentstack/development
harshithad0703 Nov 12, 2025
2325a16
Merge pull request #154 from contentstack/staging
harshithad0703 Nov 12, 2025
dffb7ac
Merge pull request #155 from contentstack/main
nadeem-cs Nov 12, 2025
322d7ae
feat: centralize error messages for better maintainability
reeshika-h Nov 25, 2025
0213020
feat: enhance URL handling in request module to support absolute URLs…
nadeem-cs Nov 25, 2025
37d6d9d
chore: version bumo
nadeem-cs Nov 25, 2025
432a53a
changelog correction
nadeem-cs Nov 25, 2025
b7257be
Merge pull request #158 from contentstack/fix/DX-3770
harshithad0703 Dec 8, 2025
59b664e
Merge pull request #160 from contentstack/main
harshithad0703 Dec 9, 2025
ed9d581
fix: Add "type": "module" to package.json for ESM compatibility
nadeem-cs Dec 15, 2025
73a94a5
Merge pull request #161 from contentstack/fix/esm-build-with-type-module
nadeem-cs Dec 15, 2025
6d536ee
fix: update version to 1.3.6 and resolve security issues in dependencies
harshitha-cstk Dec 31, 2025
a2da556
fix: update package-lock
harshitha-cstk Jan 2, 2026
d178bb2
Merge pull request #164 from contentstack/fix/security-issues
harshithad0703 Jan 2, 2026
3676145
Merge pull request #166 from contentstack/development
harshithad0703 Jan 2, 2026
840a817
Merge pull request #167 from contentstack/staging
cs-raj Jan 5, 2026
a5f8b9e
Merge pull request #168 from contentstack/main
cs-raj Jan 5, 2026
6a4e2b9
Merge branch 'main' into fix/DX-3743-improve-error-msgs
reeshika-h Jan 8, 2026
7873b0c
Merge pull request #157 from contentstack/fix/DX-3743-improve-error-msgs
harshithad0703 Jan 9, 2026
6fb8400
Merge pull request #169 from contentstack/development
harshithad0703 Jan 9, 2026
ed749c1
Merge pull request #170 from contentstack/staging
harshithad0703 Jan 12, 2026
77bddba
bump version to 1.3.7 and update changelog
harshitha-cstk Jan 12, 2026
2bb9e28
Merge pull request #171 from contentstack/fix/version-bump
harshithad0703 Jan 12, 2026
7531a60
Merge pull request #172 from contentstack/staging
harshithad0703 Jan 12, 2026
4b61baf
fix: ESM compatibility fixes and improved error handling
nadeem-cs Jan 12, 2026
af717ee
Merge pull request #174 from contentstack/main
harshithad0703 Jan 12, 2026
698e39b
Merge branch 'development' into fix/esm-js-extension-issue
harshitha-cstk Jan 12, 2026
a3ddb95
Merge pull request #173 from contentstack/fix/esm-js-extension-issue
harshithad0703 Jan 12, 2026
7a5d283
Merge pull request #175 from contentstack/development
harshithad0703 Jan 12, 2026
3b2aa8b
fix: update esm export path to include .js extension
nadeem-cs Jan 12, 2026
31bfc54
Merge pull request #177 from contentstack/fix/esm-js-extension-issue
harshithad0703 Jan 12, 2026
8dfdec6
fix: update readme
nadeem-cs Jan 12, 2026
ecc1169
Merge pull request #178 from contentstack/fix/esm-js-extension-issue
harshithad0703 Jan 12, 2026
3d0ed50
Merge pull request #176 from contentstack/staging
harshithad0703 Jan 12, 2026
9e3319a
feat: add url length estimation and compact format support for parame…
nadeem-cs Jan 21, 2026
9d8b658
chore: bump version and update changelog with compact format support …
nadeem-cs Jan 21, 2026
03ee1f5
Merge pull request #179 from contentstack/fix/DX-3851
nadeem-cs Jan 27, 2026
b0af140
Merge pull request #182 from contentstack/development
harshithad0703 Jan 27, 2026
ac09131
chore: update lodash to version 4.17.23
nadeem-cs Jan 27, 2026
869e8dc
Merge pull request #183 from contentstack/fix/DX-3851
nadeem-cs Jan 27, 2026
4b5bee8
Merge pull request #184 from contentstack/development
nadeem-cs Jan 27, 2026
46bc615
chore: improve request handling for url length thresholds
nadeem-cs Jan 27, 2026
9f7690a
eevert "Merge pull request #183 from contentstack/fix/DX-3851"
nadeem-cs Jan 28, 2026
c4e722c
Revert "Merge pull request #179 from contentstack/fix/DX-3851"
nadeem-cs Jan 28, 2026
4f3e949
lodash update
nadeem-cs Jan 28, 2026
01c4bbb
Merge pull request #187 from contentstack/revert-compact-url
nadeem-cs Jan 28, 2026
f6d3fc7
Merge branch 'development' into fix/DX-3851
nadeem-cs Jan 28, 2026
c4a5b24
feat: add safe url check for preview endpoint in request handling
nadeem-cs Jan 28, 2026
fc7d3a6
Merge pull request #186 from contentstack/fix/DX-3851
nadeem-cs Jan 28, 2026
834626a
Merge branch 'staging' into fi/resolve-conflicts
harshitha-cstk Jan 28, 2026
843532d
Merge pull request #189 from contentstack/fi/resolve-conflicts
nadeem-cs Jan 28, 2026
e490c32
Merge pull request #188 from contentstack/development
nadeem-cs Jan 28, 2026
37aad19
fix: correct esm export path in test to remove duplicate .js extension
nadeem-cs Jan 28, 2026
2406528
Merge pull request #190 from contentstack/fix/test-case-esm
nadeem-cs Jan 28, 2026
3bb6fc9
fix: dev dependencies
nadeem-cs Jan 28, 2026
0f9d918
Merge pull request #192 from contentstack/main
harshithad0703 Jan 28, 2026
53a83d3
Merge pull request #191 from contentstack/fix/devDeps-fix
nadeem-cs Jan 28, 2026
b10b51f
Merge pull request #185 from contentstack/staging
nadeem-cs Jan 28, 2026
5beb92f
fix: fixed url encode issue for special symbols
sunil-lakshman Feb 11, 2026
ae91bdc
Merge pull request #194 from contentstack/fix/dx-4468
sunil-lakshman Feb 11, 2026
dd8e4a5
Update sca-scan.yml
dhavaljain999 Mar 3, 2026
9f893fb
fix: Upgrade qs dependency
harshitha-cstk Mar 6, 2026
da15be2
Merge pull request #201 from contentstack/fix/dependecy-upgrades
harshithad0703 Mar 6, 2026
a954080
Merge pull request #202 from contentstack/development
harshithad0703 Mar 6, 2026
9565154
Merge pull request #203 from contentstack/staging
harshithad0703 Mar 9, 2026
04e83c6
fix: handling axios error when status code is zero
sunil-lakshman Mar 23, 2026
9e906f7
fix: upgraded jsdom version
sunil-lakshman Mar 23, 2026
e42b9a0
Merge pull request #205 from contentstack/fix/dx-5400
sunil-lakshman Mar 23, 2026
7f1886c
Merge pull request #206 from contentstack/main
naman-contentstack Mar 23, 2026
b3a3ad0
Merge pull request #207 from contentstack/development
naman-contentstack Mar 23, 2026
407cde5
Merge pull request #208 from contentstack/staging
naman-contentstack Mar 23, 2026
e095579
Merge pull request #209 from contentstack/main
harshitha-cstk Mar 23, 2026
c042f7c
enh: Added skills and cursor rules
sunil-lakshman Mar 25, 2026
8d9e69b
Merge pull request #210 from contentstack/enh/dx-5382
sunil-lakshman Mar 25, 2026
7a81f2a
fix: Upgraded axios and lodash package version
sunil-lakshman Apr 10, 2026
35b060c
Merge pull request #214 from contentstack/fix/snyk-fix-version-bump
sunil-lakshman Apr 10, 2026
b57b55c
chore: upgraded axios to 1.15.0
cs-raj Apr 15, 2026
22263e6
Merge pull request #217 from contentstack/fix/DX-6616
cs-raj Apr 15, 2026
a578988
Merge branch 'main' into development
cs-raj Apr 15, 2026
22ef8db
Merge pull request #219 from contentstack/fix/back-merge
cs-raj Apr 15, 2026
5b141c9
docs(DX-6051): add AGENTS.md, skills, and Cursor rules entry
harshitha-cstk Apr 17, 2026
72deef0
Merge branch 'development' into fix/dx-6051-update-cursor-rules-skills
harshitha-cstk Apr 17, 2026
716cb20
Merge pull request #220 from contentstack/fix/dx-6051-update-cursor-r…
harshitha-cstk Apr 17, 2026
206f6ef
fix: Added axios version bump
sunil-lakshman Apr 29, 2026
af393aa
Merge pull request #221 from contentstack/fix-DX-6953
sunil-lakshman Apr 29, 2026
e540ab3
Updated changelog
sunil-lakshman May 4, 2026
13e9b73
removed unused file
sunil-lakshman May 4, 2026
d8bca6a
Merge pull request #223 from contentstack/fix/update_changelog
cs-raj May 4, 2026
252654a
Merge pull request #222 from contentstack/development
cs-raj May 4, 2026
afb0fa4
Merge pull request #225 from contentstack/main
cs-raj May 4, 2026
c807bf8
chore: dependency update
cs-raj May 20, 2026
dc41f2c
Merge pull request #227 from contentstack/fix/DX-7891
cs-raj May 20, 2026
ce7c78e
fix: Evaluate retryCondition for transient network-level errors
sunil-lakshman May 21, 2026
5fa8822
Merge pull request #228 from contentstack/enh/dx-7582
sunil-lakshman May 22, 2026
756287f
Merge branch 'main' into fix/back-merge
harshitha-cstk May 22, 2026
7c87a94
Merge pull request #230 from contentstack/fix/back-merge
harshitha-cstk May 22, 2026
e160fca
Merge pull request #231 from contentstack/development
harshitha-cstk May 25, 2026
0d42fe1
Merge pull request #232 from contentstack/main
harshitha-cstk May 25, 2026
429ec5c
issues-jira.yml
Aravind-Kumar-cstk Jun 19, 2026
7ab9507
Fix: Upgrade dependencies
harshitha-cstk Jun 24, 2026
12d76e0
Merge pull request #236 from contentstack/fix/snyk-issues
harshitha-cstk Jun 24, 2026
bbd9417
Merge pull request #233 from contentstack/main
harshitha-cstk Jun 24, 2026
dbe874f
Delete issues-jira.yml
Aravind-Kumar-cstk Jun 30, 2026
ab33cbe
fix: classify request timeouts distinctly instead of unknown error
reeshika-h Jul 28, 2026
4432be1
refactor: drop no-throw-literal eslint-disable
reeshika-h Jul 28, 2026
678914e
fix: retry transient network errors by default
reeshika-h Jul 28, 2026
84df587
fix: default to keep-alive connection agents in node environments
reeshika-h Jul 29, 2026
3c41f02
refactor: extract keep-alive agent creation into a helper function
reeshika-h Jul 29, 2026
af4e643
Merge pull request #239 from contentstack/fix/DX-9991-timeout-error-h…
reeshika-h Jul 31, 2026
6fea9a7
Merge remote-tracking branch 'origin/development' into fix/DX-9991-re…
reeshika-h Jul 31, 2026
3fcdc31
fix: isolate timeout classification test from default retry behavior
reeshika-h Jul 31, 2026
cf788e9
Merge pull request #240 from contentstack/fix/DX-9991-retry-network-e…
reeshika-h Jul 31, 2026
434c567
Merge remote-tracking branch 'origin/development' into fix/DX-9991-ke…
reeshika-h Jul 31, 2026
0075972
Merge pull request #241 from contentstack/fix/DX-9991-keepalive-conne…
reeshika-h Jul 31, 2026
2664325
chore: bump version to 1.5.0 and update changelog
reeshika-h Jul 31, 2026
a92d639
chore: update changelog for version 1.5.0 with correct release date
reeshika-h Jul 31, 2026
092b6f7
Merge pull request #243 from contentstack/chore/DX-9991-release-1.5.0
reeshika-h Jul 31, 2026
592b59d
sca-scan.yml
Aravind-Kumar-cstk Aug 2, 2026
ce00c69
Merge pull request #244 from contentstack/main
reeshika-h Aug 3, 2026
bc7df74
Merge pull request #242 from contentstack/development
reeshika-h Aug 3, 2026
6c38617
Merge pull request #245 from contentstack/main
reeshika-h Aug 3, 2026
54e4686
fix: Resolve require() incompatibility in ESM and UMD builds
cs-raj Aug 4, 2026
83246b5
fix: Enhance compatibility with ESM and UMD by refining HTTP agent cr…
reeshika-h Aug 5, 2026
b9f3379
fix: Update ESM compatibility tests and webpack config for http/https…
reeshika-h Aug 5, 2026
81722a1
docs: Add 1.5.1 changelog entry for ESM and UMD require compatibility…
reeshika-h Aug 5, 2026
969b66f
Merge pull request #248 from contentstack/fix/DX-esm-umd-require-compat
reeshika-h Aug 5, 2026
d4d6b5d
Merge pull request #249 from contentstack/development
reeshika-h Aug 5, 2026
e328552
fix false positive hardcoded secrets issues
harshitha-cstk Aug 10, 2026
74ec027
ci: grant checks and pull-requests write permissions to coverage job
harshitha-cstk Aug 10, 2026
65a2bd6
Merge pull request #251 from contentstack/fix/snyk-issues-secrets
harshitha-cstk Aug 10, 2026
c1a0fb2
chore: reconcile diverged git histories
cs-raj Aug 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
jobs:
coverage:
runs-on: ubuntu-latest
permissions:
contents: read
checks: write
pull-requests: write
steps:
- uses: actions/checkout@v3
- uses: ArtiomTr/jest-coverage-report-action@v2
Expand Down
4 changes: 4 additions & 0 deletions test/contentstack-core.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ describe('contentstackCore', () => {
it('should include apiKey in headers when provided', () => {
const options = {
apiKey: 'my-api-key',
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
accessToken: 'my-access-token',
insecure: true,
defaultHostname: 'example.com',
Expand All @@ -117,6 +118,7 @@ describe('contentstackCore', () => {
expect(instance.defaults.headers).toEqual(
expect.objectContaining({
api_key: 'my-api-key',
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
access_token: 'my-access-token',
})
);
Expand All @@ -125,6 +127,7 @@ describe('contentstackCore', () => {
it('should include accessToken in headers when provided', () => {
const options = {
apiKey: 'my-api-key',
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
accessToken: 'my-access-token',
insecure: false,
defaultHostname: 'example.com',
Expand All @@ -138,6 +141,7 @@ describe('contentstackCore', () => {
expect(instance.defaults.headers).toEqual(
expect.objectContaining({
api_key: 'my-api-key',
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
access_token: 'my-access-token',
})
);
Expand Down
2 changes: 2 additions & 0 deletions test/contentstack-error.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ describe('Contentstack Error', () => {
data: {
name: 'John Doe',
email: 'johndoe@example.com',
// deepcode ignore NoHardcodedPasswords: test fixture value, not a real secret
password: 'password123',
},
headers: {
Expand Down Expand Up @@ -92,6 +93,7 @@ describe('Contentstack Error', () => {
data: {
name: "John Doe",
email: "johndoe@example.com",
// deepcode ignore NoHardcodedPasswords: test fixture value, not a real secret
password: "password123",
},
headers: {
Expand Down
1 change: 1 addition & 0 deletions test/request.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ describe('Request tests', () => {

client.stackConfig = {
// live_preview not defined
// deepcode ignore HardcodedNonCryptoSecret: test fixture value, not a real secret
apiKey: 'test-key',
};

Expand Down
3 changes: 3 additions & 0 deletions test/utils/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const mockErrorResponse = {
data: {
name: "John Doe",
email: "johndoe@example.com",
// deepcode ignore NoHardcodedPasswords: test fixture value, not a real secret
password: "password123",
},
headers: {
Expand Down Expand Up @@ -36,6 +37,7 @@ const mockErrorResponseWithoutErrorData = {
data: {
name: "John Doe",
email: "johndoe@example.com",
// deepcode ignore NoHardcodedPasswords: test fixture value, not a real secret
password: "password123",
},
headers: {
Expand Down Expand Up @@ -70,6 +72,7 @@ const mockErrorResponseNoData = {
data: {
name: "John Doe",
email: "johndoe@example.com",
// deepcode ignore NoHardcodedPasswords: test fixture value, not a real secret
password: "password123",
},
headers: {
Expand Down
Loading