-
Notifications
You must be signed in to change notification settings - Fork 53
Develop 2 #951
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
Develop 2 #951
Conversation
… gulp global installation.
Should make it easier to write tests that test SSL with the Node Client.
… for node-client-api-ssl-server database.
…to changes in the server code.
… latest 12-nightly.
This commit includes fixes for - - Inflight Vulnerable to Denial-of-Service (DoS) via Memory Leak - 'brace-expansion' Package Vulnerable to Regular Expression Denial-of-Service (ReDoS) - GHSA-8cj5-5rvv-wf4v
Resolves dependabot alert - see marklogic#942
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request updates copyright headers across all test files from MarkLogic Corporation to Progress Software Corporation and extends the copyright year range to 2015-2025. Additionally, it includes minor test improvements including code structure fixes and new test cases.
- Update copyright headers from MarkLogic Corporation to Progress Software Corporation with 2015-2025 year range
- Fix minor code issues including bracket placement and assertion corrections
- Add new test files for vector utilities, SSL/TLS configuration, and shortest path functionality
Reviewed Changes
Copilot reviewed 298 out of 363 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| test-complete/*.js | Updated copyright headers from MarkLogic to Progress Software |
| test-complete-proxy/*.js | Updated copyright headers from MarkLogic to Progress Software |
| test-basic/*.js | Updated copyright headers from MarkLogic to Progress Software |
| test-basic/vector-util-test.js | New test file for vector utility functions |
| test-basic/ssl-min-allow-tls-test.js | New test file for SSL/TLS minimum version testing |
| test-basic/shortest-path.js | New test file for shortest path functionality |
| test-basic/documents-read-xqy-docs.js | New test file for reading XQuery documents |
Comments suppressed due to low confidence (1)
test-complete/nodejs-documents-values.js:279
- The parentheses are incorrectly placed. The logical OR operation should be applied to the entire assertion, not just the string literals. The correct syntax should be:
(strData.should.containEql('"name":"covariance","_value":"0.35"')) || (strData.should.containEql('"name":"covariance","_value":"0.349999999999998"'));
strData.should.containEql(('"name":"covariance","_value":"0.35"') || ('"name":"covariance","_value":"0.349999999999998"'));
| }); | ||
|
|
||
| describe('tests for new scoring method - bm25', function() { | ||
| describe('tests for new scoring methods - bm25, random and zero using fromSearch.', function() { |
Copilot
AI
Jul 29, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] The period at the end of the describe block title is inconsistent with other describe blocks and should be removed for consistency.
| describe('tests for new scoring methods - bm25, random and zero using fromSearch.', function() { | |
| describe('tests for new scoring methods - bm25, random and zero using fromSearch', function() { |
| }); | ||
|
|
||
| describe('tests for new scoring method - bm25', function() { | ||
| describe('tests for new scoring methods - bm25, random and zero using fromSearchDocs', function() { |
Copilot
AI
Jul 29, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Missing period at the end of the describe block title for consistency with the previous describe block.
| describe('tests for new scoring methods - bm25, random and zero using fromSearchDocs', function() { | |
| describe('tests for new scoring methods - bm25, random and zero using fromSearchDocs.', function() { |
| const testPlan = pbb.testPlan; | ||
|
|
||
| describe('tests for new vector fucntions.', function() { | ||
| describe('tests for new vector functions.', function() { |
Copilot
AI
Jul 29, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] The period at the end of the describe block title is inconsistent with most other describe blocks and should be removed.
| describe('tests for new vector functions.', function() { | |
| describe('tests for new vector functions', function() { |
| const titleProp = dc('title'); | ||
| const execPlan = pbb.execPlan; | ||
|
|
||
| describe('tests for server-side shortest-path method.', function () { |
Copilot
AI
Jul 29, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] The period at the end of the describe block title is inconsistent with most other describe blocks and should be removed.
| describe('tests for server-side shortest-path method.', function () { | |
| describe('tests for server-side shortest-path method', function () { |
No description provided.