Skip to content

fix: handle api_version chaining and ensure backward compatibility #495

fix: handle api_version chaining and ensure backward compatibility

fix: handle api_version chaining and ensure backward compatibility #495

Triggered via pull request April 8, 2025 13:40
Status Success
Total duration 1m 45s
Artifacts

codeql-analysis.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 3 warnings
Analyze (javascript)
CodeQL Action major versions v1 and v2 have been deprecated. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/
test/unit/index.js ► Contentstack GlobalField test ► GlobalField create test: test/unit/mock/objects.js#L965
Failed test found in: report.json Error: Cannot read properties of undefined (reading 'created_at')
test/unit/index.js ► Contentstack GlobalField test ► GlobalField fetch test: test/unit/mock/objects.js#L965
Failed test found in: report.json Error: Cannot read properties of undefined (reading 'created_at')
test/unit/index.js ► Contentstack GlobalField test ► GlobalField update test: test/unit/mock/objects.js#L965
Failed test found in: report.json Error: Cannot read properties of undefined (reading 'created_at')
test/unit/index.js ► Contentstack GlobalField test (API Version 3.2) ► GlobalField create test: test/unit/mock/objects.js#L965
Failed test found in: report.json Error: Cannot read properties of undefined (reading 'created_at')
test/unit/index.js ► Contentstack GlobalField test (API Version 3.2) ► GlobalField fetch test: test/unit/mock/objects.js#L965
Failed test found in: report.json Error: Cannot read properties of undefined (reading 'created_at')
test/unit/index.js ► Contentstack GlobalField test (API Version 3.2) ► GlobalField test without uid: test/unit/globalField-test.js#L178
Failed test found in: report.json Error: expected { api_key: 'api_key' } to deeply equal { api_key: 'api_key', …(1) }
test/unit/index.js ► Contentstack GlobalField test (API Version 3.2) ► GlobalField update test: test/unit/mock/objects.js#L965
Failed test found in: report.json Error: Cannot read properties of undefined (reading 'created_at')
test/unit/index.js ► Contentstack GlobalField test (API Version 3.2) ► should update nested global field: test/unit/globalField-test.js#L354
Failed test found in: report.json Error: _get__(...)(...).updateNestedGlobalField is not a function
test/unit/index.js ► Contentstack GlobalField test ► GlobalField create test: test/unit/mock/objects.js#L965
Failed test found in: report.json Error: Cannot read properties of undefined (reading 'created_at')
test/unit/index.js ► Contentstack GlobalField test ► GlobalField fetch test: test/unit/mock/objects.js#L965
Failed test found in: report.json Error: Cannot read properties of undefined (reading 'created_at')
test/unit/index.js ► Contentstack GlobalField test ► GlobalField update test: test/unit/mock/objects.js#L965
Failed test found in: report.json Error: Cannot read properties of undefined (reading 'created_at')
test/unit/index.js ► Contentstack GlobalField test (API Version 3.2) ► GlobalField create test: test/unit/mock/objects.js#L965
Failed test found in: report.json Error: Cannot read properties of undefined (reading 'created_at')
test/unit/index.js ► Contentstack GlobalField test (API Version 3.2) ► GlobalField fetch test: test/unit/mock/objects.js#L965
Failed test found in: report.json Error: Cannot read properties of undefined (reading 'created_at')
test/unit/index.js ► Contentstack GlobalField test (API Version 3.2) ► GlobalField test without uid: test/unit/globalField-test.js#L178
Failed test found in: report.json Error: expected { api_key: 'api_key' } to deeply equal { api_key: 'api_key', …(1) }
test/unit/index.js ► Contentstack GlobalField test (API Version 3.2) ► GlobalField update test: test/unit/mock/objects.js#L965
Failed test found in: report.json Error: Cannot read properties of undefined (reading 'created_at')
test/unit/index.js ► Contentstack GlobalField test (API Version 3.2) ► should update nested global field: test/unit/globalField-test.js#L354
Failed test found in: report.json Error: _get__(...)(...).updateNestedGlobalField is not a function
Analyze (javascript)
1 issue was detected with this workflow: Please specify an on.push hook to analyze and see code scanning alerts from the default branch on the Security tab.
Analyze (javascript)
Unable to validate code scanning workflow: MissingPushHook
Analyze (javascript)
Cache not found for keys: codeql-trap-1-2.21.0-javascript-f2c7adc8ba7ff0ee003b249680561be49de2c096, codeql-trap-1-2.21.0-javascript-