diff --git a/.github/workflows/pr-workflow.yaml b/.github/workflows/pr-workflow.yaml new file mode 100644 index 00000000..f2a31ab9 --- /dev/null +++ b/.github/workflows/pr-workflow.yaml @@ -0,0 +1,16 @@ +name: 🏷️ JIRA ID Validator + +on: + # Using pull_request_target instead of pull_request to handle PRs from forks + pull_request_target: + types: [opened, edited, reopened, synchronize] + # No branch filtering - will run on all PRs + +jobs: + jira-pr-check: + name: 🏷️ Validate JIRA ticket ID + # Use the reusable workflow from the central repository + uses: marklogic/pr-workflows/.github/workflows/jira-id-check.yml@main + with: + # Pass the PR title from the event context + pr-title: ${{ github.event.pull_request.title }} diff --git a/.npmignore b/.npmignore index b0fa8083..7e200ab5 100644 --- a/.npmignore +++ b/.npmignore @@ -5,6 +5,7 @@ test-app/ test-basic/ test-basic-proxy/ test-complete/ +test-complete-app/ test-complete-proxy/ wiki_images/ CONTRIBUTING.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d4a122f..4338d959 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,35 @@ # CHANGELOG + +## 3.7.0 +#### New Functionality + +- Can now encode and decode vectors through the `base64Encode` and `base64Decode` functions in the new lib/vector-util.js library. + Encoding vectors before writing them to documents in MarkLogic 12 helps reduce the amount of disk space and memory consumed by vectors. +- MarkLogic 12 users can now use `minVersion` and `maxVersion` to change default TLS version from 1.3 to a different version. + +#### Bug Fix +- https://github.com/marklogic/node-client-api/issues/917 + +- Fix for security vulnerabilities - + https://github.com/advisories/GHSA-fjxv-7rqg-78g4 + https://github.com/advisories/GHSA-8cj5-5rvv-wf4v + https://github.com/advisories/GHSA-c2qf-rxjj-qqgw + https://github.com/advisories/GHSA-3XGQ-45JJ-V275 + + +## 3.6.0 +#### New Functionality + +- MarkLogic 12 users can now use the `shortestPath` and `annTopK` methods in the Optic plan builder. +- MarkLogic 12 users can now use the `bm25`, `zero`, and `random` score methods in the Optic plan builder. + +#### Bug Fix +- Fix for security vulnerabilities - + https://github.com/advisories/GHSA-3xgq-45jj-v275 + https://github.com/advisories/GHSA-952p-6rrq-rcjv + https://github.com/advisories/GHSA-mwcw-c2x4-8c55 + https://github.com/advisories/GHSA-76p7-773f-r4q5 + ## 3.5.0 #### New Functionality diff --git a/CODEOWNERS b/CODEOWNERS new file mode 100644 index 00000000..865ce1f4 --- /dev/null +++ b/CODEOWNERS @@ -0,0 +1,6 @@ +# Lines starting with '#' are comments. +# Each line is a file pattern followed by one or more owners. + +# These owners will be the default owners for everything in the repo. +* @anu3990 @billfarber @rjrudin @stevebio + diff --git a/Jenkinsfile b/Jenkinsfile index 09a133fc..490cc396 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,7 +18,6 @@ def runTests(String type,String version){ ./node_modules/.bin/mocha --timeout 10000 -R xunit test-basic/ --reporter mocha-junit-reporter --reporter-options mochaFile=$WORKSPACE/test-basic-reports.xml -g \'logging|archivePath\' --invert || true ./node_modules/.bin/gulp setupProxyTests || true ./node_modules/.bin/mocha --timeout 10000 -R xunit test-basic-proxy/lib/**/*.js --reporter mocha-junit-reporter --reporter-options mochaFile=$WORKSPACE/test-basic-proxy-reports.xml -g \'logging|archivePath\' --invert || true - node etc/test-teardown.js -u admin:admin ''' } @@ -53,7 +52,7 @@ def runE2ETests(String type,String version){ cd .. ./node_modules/.bin/mocha --no-parallel -R xunit --timeout 60000 test-complete/ --reporter mocha-junit-reporter --reporter-options mochaFile=$WORKSPACE/test-complete-results.xml || true cd test-complete-proxy - npm install --global gulp-cli + npm install gulp-cli gulp loadToModulesDB gulp generateFnClasses gulp copyFnClasses @@ -92,12 +91,12 @@ pipeline{ JAVA_HOME_DIR="/home/builder/java/openjdk-1.8.0-262" } stages{ - stage('runtests-11.3.0'){ + stage('runtests-11.3.1'){ agent {label 'nodeclientpool'} steps{ runAuditReport() - runTests('Release','11.3.0') - runE2ETests('Release','11.3.0') + runTests('Release','11.3.1') + runE2ETests('Release','11.3.1') } } stage('regressions'){ diff --git a/NOTICE.txt b/NOTICE.txt index d95a5b5c..ad7950a3 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -1,16 +1,16 @@ MarkLogic® Node Client API -Copyright © 2022-2024 MarkLogic Corporation. MarkLogic and MarkLogic logo are trademarks or registered trademarks of MarkLogic Corporation in the United States and other countries. All other trademarks are the property of their respective owners. +Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. This project is licensed under the Apache License, Version 2.0 (the "License"); you may not use this project except in compliance with the License. You may obtain a copy of the License at -http://www.apache.org/licenses/LICENSE-2.0 +http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -To the extent required by the applicable open-source license, a complete machine-readable copy of the source code corresponding to such code is available upon request. This offer is valid to anyone in receipt of this information and shall expire three years following the date of the final distribution of this product version by MarkLogic Corporation. To obtain such source code, send an email to Legal-thirdpartyreview@progress.com. Please specify the product and version for which you are requesting source code. +To the extent required by the applicable open-source license, a complete machine-readable copy of the source code corresponding to such code is available upon request. This offer is valid to anyone in receipt of this information and shall expire three years following the date of the final distribution of this product version by Progress Software Corporation. To obtain such source code, send an email to Legal-thirdpartyreview@progress.com. Please specify the product and version for which you are requesting source code. -The following software may be included in this project (last updated August 14, 2024): +The following software may be included in this project (last updated January 28, 2025): ------------------------------------------------------------------------- MarkLogic® Node Client API @@ -21,46 +21,18 @@ This document provides notices information for the third-party components used b Third Party Components @fastify/busboy 1.2.1 (MIT) - @sovpro/delimited-stream 1.1.0 (MIT) - asynckit 0.4.0 (MIT) - big-integer 1.6.51 (Public Domain) - buffer-from 1.1.2 (MIT) - call-bind 1.0.2 (MIT) - combined-stream 1.0.8 (MIT) + big-integer 1.6.52 (Public Domain) concat-stream 2.0.0 (MIT) deepcopy 2.1.0 (MIT) - delayed-stream 1.0.0 (MIT) - duplexify 4.1.2 (MIT) - end-of-stream 1.4.4 (MIT) - eslint 8.57.0 (MIT) - form-data 4.0.0 (MIT) - function-bind 1.1.1 (MIT) - get-intrinsic 1.2.1 (MIT) - has 1.0.4 (MIT) - has-proto 1.0.1 (MIT) - has-symbols 1.0.3 (MIT) - inherits 2.0.4 (ISC) - is-stream 1.1.0 (MIT) + duplexify 4.1.3 (MIT) + eslint 8.57.1 (MIT) + form-data 4.0.1 (MIT) json-text-sequence 1.0.1 (MIT) - mime-db 1.52.0 (MIT) - mime-types 2.1.35 (MIT) + Kerberos 2.2.1 (Apache-2.0) multipart-stream 2.0.1 (MIT) - object-inspect 1.12.3 (MIT) - olivernn-lunr.js 0.5.11 (MIT) - once 1.4.0 (ISC) - qs 6.11.2 (BSD-3-Clause) - readable-stream 3.6.2 (MIT) - safe-buffer 5.2.1 (MIT) - sandwich-stream 1.0.0 (Apache-2.0) - side-channel 1.0.4 (MIT) - stream-shift 1.0.1 (MIT) - string_decoder 1.3.0 (MIT) - text-decoding 1.0.0 (MIT) + qs 6.14.0 (BSD-3-Clause) through2 4.0.2 (MIT) - type-detect 4.0.8 (MIT) - typedarray 0.0.6 (MIT) - util-deprecate 1.0.2 (MIT) - wrappy 1.0.2 (ISC) + vinyl 3.0.0 (MIT) www-authenticate 0.6.3 (MIT) Common Licenses @@ -86,33 +58,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI ************************************************************ -@sovpro/delimited-stream 1.1.0 (MIT) - -https://www.npmjs.com/package/@sovpro/delimited-stream - -Copyright (c) sovpro - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -************************************************************ - -asynckit 0.4.0 (MIT) - -https://www.npmjs.com/package/asynckit - -The MIT License (MIT) - -Copyright (c) 2016 Alex Indigo - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -************************************************************ - -big-integer 1.6.51 (Public Domain) +big-integer 1.6.52 (Public Domain) https://www.npmjs.com/package/big-integer @@ -128,52 +74,6 @@ For more information, please refer to ************************************************************ -buffer-from 1.1.2 (MIT) - -https://www.npmjs.com/package/buffer-from - -MIT License - -Copyright (c) 2016, 2018 Linus Unnebäck - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -************************************************************ - -call-bind 1.0.2 (MIT) - -https://www.npmjs.com/package/call-bind - -MIT License - -Copyright (c) 2020 Jordan Harband - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -************************************************************ - -combined-stream 1.0.8 (MIT) - -https://www.npmjs.com/package/combined-stream - -Copyright (c) 2011 Debuggable Limited - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -************************************************************ - concat-stream 2.0.0 (MIT) https://www.npmjs.com/package/concat-stream @@ -206,21 +106,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI ************************************************************ -delayed-stream 1.0.0 (MIT) - -https://www.npmjs.com/package/delayed-stream - -Copyright (c) 2011 Debuggable Limited - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -************************************************************ - -duplexify 4.1.2 (MIT) +duplexify 4.1.3 (MIT) https://www.npmjs.com/package/duplexify @@ -236,23 +122,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI ************************************************************ -end-of-stream 1.4.4 (MIT) - -https://www.npmjs.com/package/end-of-stream - -The MIT License (MIT) - -Copyright (c) 2014 Mathias Buus - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -************************************************************ - -eslint 8.57.0 (MIT) +eslint 8.57.1 (MIT) Copyright OpenJS Foundation and other contributors, @@ -264,7 +134,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI ************************************************************ -form-data 4.0.0 (MIT) +form-data 4.0.1 (MIT) https://www.npmjs.com/package/form-data @@ -278,113 +148,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI ************************************************************ -function-bind 1.1.1 (MIT) - -https://www.npmjs.com/package/function-bind - -Copyright (c) 2013 Raynos. - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -************************************************************ - -get-intrinsic 1.2.1(MIT) - -https://www.npmjs.com/package/get-intrinsic - -MIT License - -Copyright (c) 2020 Jordan Harband - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -************************************************************ - -has 1.0.4 (MIT) - -https://www.npmjs.com/package/has - -Copyright (c) 2013 Thiago de Arruda - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -************************************************************ - -has-proto 1.0.1 (MIT) - -https://www.npmjs.com/package/has-proto - -MIT License - -Copyright (c) 2022 Inspect JS - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -************************************************************ - -has-symbols 1.0.3 (MIT) - -https://www.npmjs.com/package/has-symbols - -MIT License - -Copyright (c) 2016 Jordan Harband - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -************************************************************ - -inherits 2.0.4 (ISC) - -https://www.npmjs.com/package/inherits - -The ISC License - -Copyright (c) Isaac Z. Schlueter - -Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -************************************************************ - -is-stream 1.1.0 (MIT) - -https://www.npmjs.com/package/is-stream - -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -************************************************************ - json-text-sequence 1.0.1 (MIT) https://www.npmjs.com/package/json-text-sequence @@ -401,43 +164,11 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI ************************************************************ -mime-db 1.52.0 (MIT) - -https://www.npmjs.com/package/mime-db - -(The MIT License) - -Copyright (c) 2014 Jonathan Ong -Copyright (c) 2015-2022 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -************************************************************ +Kerberos 2.2.1 (Apache-2.0) -mime-types 2.1.35 (MIT) +https://www.npmjs.com/package/kerberos -https://www.npmjs.com/package/mime-types - -The MIT License) - -Copyright (c) 2014 Jonathan Ong -Copyright (c) 2015 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +For the full text of the Apache-2.0 license, see Apache License 2.0 (Apache-2.0) ************************************************************ @@ -457,51 +188,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI ************************************************************ -object-inspect 1.12.3 (MIT) - -https://www.npmjs.com/package/object-inspect - -MIT License - -Copyright (c) 2013 James Halliday - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -************************************************************ - -olivernn-lunr.js 0.5.11 (MIT) - -https://github.com/olivernn/lunr.js - -Copyright (C) 2013 by Oliver Nightingale - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -************************************************************ - -once 1.4.0 (ISC) - -https://www.npmjs.com/package/once - -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -************************************************************ - -qs 6.11.2 (BSD-3-Clause) +qs 6.14.0 (BSD-3-Clause) https://www.npmjs.com/package/qs @@ -521,143 +208,6 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ************************************************************ -readable-stream 3.6.2 (MIT) - -https://www.npmjs.com/package/readable-stream - -Node.js is licensed for use as follows: - -""" -Copyright Node.js contributors. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -""" - -This license applies to parts of Node.js originating from the https://github.com/joyent/node repository: - -""" -Copyright Joyent, Inc. and other Node contributors. All rights reserved. -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -""" - -************************************************************ - -safe-buffer 5.2.1 (MIT) - -https://www.npmjs.com/package/safe-buffer - -The MIT License (MIT) - -Copyright (c) Feross Aboukhadijeh - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -************************************************************ - -sandwich-stream 1.0.0 (Apache-2.0) - -https://www.npmjs.com/package/sandwich-stream - -Copyright 2013 Paul Connolley (connrs) - -For the full text of the Apache-2.0 license, see Apache License 2.0 (Apache-2.0) - -************************************************************ - -side-channel 1.0.4 (MIT) - -https://www.npmjs.com/package/side-channel - -MIT License - -Copyright (c) 2019 Jordan Harband - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -************************************************************ - -stream-shift 1.0.1 (MIT) - -https://www.npmjs.com/package/stream-shift - -The MIT License (MIT) - -Copyright (c) 2016 Mathias Buus - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -************************************************************ - -string_decoder 1.3.0 (MIT) - -https://www.npmjs.com/package/string_decoder - -Node.js is licensed for use as follows: - -""" -Copyright Node.js contributors. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -""" - -This license applies to parts of Node.js originating from the https://github.com/joyent/node repository: - -""" -Copyright Joyent, Inc. and other Node contributors. All rights reserved. -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -""" - -************************************************************ - -text-decoding 1.0.0 (MIT) - -https://www.npmjs.com/package/text-decoding - -MIT License - -Copyright (c) 2019 Art Deco Code Limited - - + ES6 code with ECMA modules - + Zoroaster spec and mask tests - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -Original Work by Joshua Bell and contributors Dual License: Unlicense/Apache 2.0 License - -************************************************************ - through2 4.0.2 (MIT) https://www.npmjs.com/package/through2 @@ -674,54 +224,14 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI ************************************************************ -type-detect 4.0.8 (MIT) +Vinyl 3.0.0 (MIT) -https://www.npmjs.com/package/type-detect +https://www.npmjs.com/package/vinyl -Copyright (c) 2013 Jake Luer (http://alogicalparadox.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -************************************************************ - -typedarray 0.0.6 (MIT) - -https://www.npmjs.com/package/typedarray - -Copyright (c) 2010, Linden Research, Inc. -Copyright (c) 2012, Joshua Bell - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -LicenseInfo -Original can be found at: -https://bitbucket.org/lindenlab/llsd -Modifications by Joshua Bell inexorabletash@gmail.com -https://github.com/inexorabletash/polyfill - -ES3/ES5 implementation of the Krhonos Typed Array Specification -Ref: http://www.khronos.org/registry/typedarray/specs/latest/ -Date: 2011-02-01 -Variations: -Allows typed_array.get/set() as alias for subscripts (typed_array[]) - -************************************************************ - -util-deprecate 1.0.2 (MIT) - -https://www.npmjs.com/package/util-deprecate - -(The MIT License) +The MIT License (MIT) -Copyright (c) 2014 Nathan Rajlich +Copyright (c) 2013, 2016-2022 Blaine Bublitz and Eric Schoffstall Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: @@ -731,22 +241,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI ************************************************************ -wrappy 1.0.2 (ISC) - -https://www.npmjs.com/package/wrappy - -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -************************************************************ - www-authenticate 0.6.3 (MIT) https://www.npmjs.com/package/www-authenticate diff --git a/README.md b/README.md index e44496b6..12349a65 100644 --- a/README.md +++ b/README.md @@ -88,8 +88,8 @@ db.createCollection( ### Resources * [Node.js Client API Documentation](https://docs.marklogic.com/jsdoc/index.html) -* [Node.js Application Developer's Guide](http://docs.marklogic.com/guide/node-dev) -* [MarkLogic Training for the Node.js Client API](http://www.marklogic.com/training-courses/developing-marklogic-applications-i-node-js/) +* [Node.js Application Developer's Guide](https://docs.progress.com/bundle/marklogic-server-develop-with-node-js-11/page/topics/intro.html) +* [MarkLogic Overview](https://www.progress.com/marklogic) ### Code Examples diff --git a/config-optic/connectdef.js b/config-optic/connectdef.js index 256fd8fd..fcda29ec 100644 --- a/config-optic/connectdef.js +++ b/config-optic/connectdef.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; var name = 'nodeOpticFunctionalTest'; diff --git a/config-optic/setupqa.js b/config-optic/setupqa.js index 9deb3241..464fa7dd 100755 --- a/config-optic/setupqa.js +++ b/config-optic/setupqa.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; var util = require('../node_modules/core-util-is/lib/util.js'); diff --git a/config-optic/teardown.js b/config-optic/teardown.js index aa7c883f..f1f05020 100644 --- a/config-optic/teardown.js +++ b/config-optic/teardown.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; var util = require('../node_modules/core-util-is/lib/util.js'); diff --git a/config-optic/testlib.js b/config-optic/testlib.js index d21a6862..9e055670 100644 --- a/config-optic/testlib.js +++ b/config-optic/testlib.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; var valcheck = require('../node_modules/core-util-is/lib/util.js'); diff --git a/etc/test-config-qa-ssl.js b/etc/test-config-qa-ssl.js index 70ea6562..e3d88aa0 100644 --- a/etc/test-config-qa-ssl.js +++ b/etc/test-config-qa-ssl.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var testHost = 'localhost'; var restPort = '8016'; diff --git a/etc/test-config-qa.js b/etc/test-config-qa.js index 5e2f7843..a32ebfb6 100644 --- a/etc/test-config-qa.js +++ b/etc/test-config-qa.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var testHost = 'localhost'; var restPort = '8024'; diff --git a/etc/test-config.js b/etc/test-config.js index 68886522..193dc036 100644 --- a/etc/test-config.js +++ b/etc/test-config.js @@ -1,21 +1,10 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ let testHost = 'localhost'; let restPort = '8015'; +let restSslPort = '8017'; let restAuthType = 'DIGEST'; let managePort = '8002'; @@ -148,5 +137,14 @@ module.exports = { host: testHost, port: restPort, authType: 'oauth' + }, + restConnectionForTls: { + host: testHost, + port: restSslPort, + user: restWriterUser, + password: restWriterPassword, + authType: restAuthType, + ssl: true, + rejectUnauthorized: false } }; diff --git a/etc/test-lib.js b/etc/test-lib.js index b04e60dc..5f09262b 100644 --- a/etc/test-lib.js +++ b/etc/test-lib.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; var valcheck = require('core-util-is'); diff --git a/etc/test-setup-dmsdk-qa.js b/etc/test-setup-dmsdk-qa.js index 463327d2..ad4e8c2c 100644 --- a/etc/test-setup-dmsdk-qa.js +++ b/etc/test-setup-dmsdk-qa.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var valcheck = require('core-util-is'); var marklogic = require('../lib/marklogic.js'); diff --git a/etc/test-setup-prompt.js b/etc/test-setup-prompt.js index b7064764..f6fe5ffb 100644 --- a/etc/test-setup-prompt.js +++ b/etc/test-setup-prompt.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var read = require("read"); var mlutil = require('../lib/mlutil.js'); diff --git a/etc/test-setup-qa.js b/etc/test-setup-qa.js index 4f641dbf..34c28184 100644 --- a/etc/test-setup-qa.js +++ b/etc/test-setup-qa.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var valcheck = require('core-util-is'); var marklogic = require('../lib/marklogic.js'); diff --git a/etc/test-setup-users.js b/etc/test-setup-users.js index 48f1d812..5f14f1e9 100644 --- a/etc/test-setup-users.js +++ b/etc/test-setup-users.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var valcheck = require('core-util-is'); var testlib = require('./test-lib.js'); diff --git a/etc/test-setup.js b/etc/test-setup.js index e94837ea..6885b210 100644 --- a/etc/test-setup.js +++ b/etc/test-setup.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const fs = require('fs'); const valcheck = require('core-util-is'); const marklogic = require('../lib/marklogic.js'); diff --git a/etc/test-teardown-dmsdk-qa.js b/etc/test-teardown-dmsdk-qa.js index b63d5a9a..c4aaf5f9 100644 --- a/etc/test-teardown-dmsdk-qa.js +++ b/etc/test-teardown-dmsdk-qa.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2023 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var marklogic = require('../lib/marklogic.js'); var testlib = require('./test-lib.js'); diff --git a/etc/test-teardown-nodeOpticFunctionalTest.js b/etc/test-teardown-nodeOpticFunctionalTest.js index b63d5a9a..c4aaf5f9 100644 --- a/etc/test-teardown-nodeOpticFunctionalTest.js +++ b/etc/test-teardown-nodeOpticFunctionalTest.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2023 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var marklogic = require('../lib/marklogic.js'); var testlib = require('./test-lib.js'); diff --git a/etc/test-teardown-qa.js b/etc/test-teardown-qa.js index 7038cbe4..d70094ab 100644 --- a/etc/test-teardown-qa.js +++ b/etc/test-teardown-qa.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var marklogic = require('../lib/marklogic.js'); var testlib = require('./test-lib.js'); diff --git a/etc/test-teardown.js b/etc/test-teardown.js index faae2f7d..4b1445f6 100644 --- a/etc/test-teardown.js +++ b/etc/test-teardown.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var marklogic = require('../lib/marklogic.js'); var testlib = require('./test-lib.js'); diff --git a/etc/users-setup.js b/etc/users-setup.js index 9392dc06..9102836b 100644 --- a/etc/users-setup.js +++ b/etc/users-setup.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var valcheck = require('core-util-is'); var marklogic = require('../lib/marklogic.js'); diff --git a/examples/all.js b/examples/all.js index 9dc7f4e0..d9a8c768 100644 --- a/examples/all.js +++ b/examples/all.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var fs = require('fs'); var exutil = require('./example-util.js'); diff --git a/examples/before-load.js b/examples/before-load.js index 50ed5741..2c572c27 100644 --- a/examples/before-load.js +++ b/examples/before-load.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var fs = require('fs'); var marklogic = require('../'); diff --git a/examples/example-util.js b/examples/example-util.js index c83d3c12..29744d05 100644 --- a/examples/example-util.js +++ b/examples/example-util.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var fs = require('fs'); var examplePort = 8000; // change to 8015 to use the test database diff --git a/examples/optimistic-locking.js b/examples/optimistic-locking.js index 3612abf5..5488e9cd 100644 --- a/examples/optimistic-locking.js +++ b/examples/optimistic-locking.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var exutil = require('./example-util.js'); //a real application would require without the 'exutil.' namespace diff --git a/examples/patch-document.js b/examples/patch-document.js index dd6bcb74..4a04be58 100644 --- a/examples/patch-document.js +++ b/examples/patch-document.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var exutil = require('./example-util.js'); //a real application would require without the 'exutil.' namespace diff --git a/examples/probe-document.js b/examples/probe-document.js index be124a1a..bec3b807 100644 --- a/examples/probe-document.js +++ b/examples/probe-document.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var exutil = require('./example-util.js'); //a real application would require without the 'exutil.' namespace diff --git a/examples/marklogic-cloud-connection.js b/examples/progress-cloud-connection.js similarity index 51% rename from examples/marklogic-cloud-connection.js rename to examples/progress-cloud-connection.js index baa6c254..11931ca6 100644 --- a/examples/marklogic-cloud-connection.js +++ b/examples/progress-cloud-connection.js @@ -1,20 +1,8 @@ /* - * Copyright (c) 2023 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ -/* This file provides an example for the users to help them connect to MarkLogic cloud using the apiKey and host +/* This file provides an example for the users to help them connect to Progress cloud using the apiKey and host and writes a document in database - Documents */ const marklogic = require('../'); @@ -22,10 +10,10 @@ const marklogic = require('../'); const db = marklogic.createDatabaseClient({ // The below key-value pairs are required apiKey: 'changeme', - host: 'example.beta.marklogic.com', + host: 'example.beta.progress.com', authType: 'cloud', // basePath is optional. - basePath: '/marklogic/test', + basePath: '/progress/marklogic/test', // accessTokenDuration (in seconds) is optional and can be used to customize the expiration of the access token. accessTokenDuration: 10 }); diff --git a/examples/query-builder.js b/examples/query-builder.js index 54e3fc1e..0e01af25 100644 --- a/examples/query-builder.js +++ b/examples/query-builder.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var exutil = require('./example-util.js'); //a real application would require without the 'exutil.' namespace diff --git a/examples/query-by-example.js b/examples/query-by-example.js index 78b7fe7b..65f62790 100644 --- a/examples/query-by-example.js +++ b/examples/query-by-example.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var exutil = require('./example-util.js'); //a real application would require without the 'exutil.' namespace diff --git a/examples/query-extract.js b/examples/query-extract.js index fc93d200..eab1ca97 100644 --- a/examples/query-extract.js +++ b/examples/query-extract.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var exutil = require('./example-util.js'); //a real application would require without the 'exutil.' namespace diff --git a/examples/query-parser.js b/examples/query-parser.js index f11ad781..255b2b66 100644 --- a/examples/query-parser.js +++ b/examples/query-parser.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var exutil = require('./example-util.js'); //a real application would require without the 'exutil.' namespace diff --git a/examples/queryAll-documents.js b/examples/queryAll-documents.js index 0aeaa51c..a4b2be89 100644 --- a/examples/queryAll-documents.js +++ b/examples/queryAll-documents.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ let exutil = require('./example-util.js'); const marklogic = exutil.require('marklogic'); diff --git a/examples/queryAll-rows.js b/examples/queryAll-rows.js index 1e8b9b99..bca00f36 100644 --- a/examples/queryAll-rows.js +++ b/examples/queryAll-rows.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const exutil = require('./example-util.js'); const marklogic = require('../'); diff --git a/examples/queryToReadAll-documents.js b/examples/queryToReadAll-documents.js index 008b1cb3..59d9352c 100644 --- a/examples/queryToReadAll-documents.js +++ b/examples/queryToReadAll-documents.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const exutil = require('./example-util.js'); const marklogic = exutil.require('marklogic'); diff --git a/examples/queryToRemoveAll-documents.js b/examples/queryToRemoveAll-documents.js index dd298fbd..af732cac 100644 --- a/examples/queryToRemoveAll-documents.js +++ b/examples/queryToRemoveAll-documents.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const exutil = require('./example-util.js'); const marklogic = exutil.require('marklogic'); diff --git a/examples/queryToTransformAll-documents.js b/examples/queryToTransformAll-documents.js index 3fd043a7..51daf319 100644 --- a/examples/queryToTransformAll-documents.js +++ b/examples/queryToTransformAll-documents.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const exutil = require('./example-util.js'); const marklogic = exutil.require('marklogic'); diff --git a/examples/read-documents.js b/examples/read-documents.js index 97b14433..3f2f3f3a 100644 --- a/examples/read-documents.js +++ b/examples/read-documents.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var exutil = require('./example-util.js'); //a real application would require without the 'exutil.' namespace diff --git a/examples/read-metadata.js b/examples/read-metadata.js index 1e909d22..663f40dd 100644 --- a/examples/read-metadata.js +++ b/examples/read-metadata.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var exutil = require('./example-util.js'); // a real application would require without the 'exutil.' namespace diff --git a/examples/read-rows.js b/examples/read-rows.js index 43d92b9d..6ff3c4e4 100644 --- a/examples/read-rows.js +++ b/examples/read-rows.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const exutil = require('./example-util.js'); // a real application would require without the 'exutil.' namespace diff --git a/examples/read-stream.js b/examples/read-stream.js index 1c570dce..31c98a87 100644 --- a/examples/read-stream.js +++ b/examples/read-stream.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var exutil = require('./example-util.js'); //a real application would require without the 'exutil.' namespace diff --git a/examples/readAll-documents.js b/examples/readAll-documents.js index 4507b869..38dc5b7f 100644 --- a/examples/readAll-documents.js +++ b/examples/readAll-documents.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ let exutil = require('./example-util.js'); const marklogic = require('../'); diff --git a/examples/removeAllUris-documents.js b/examples/removeAllUris-documents.js index f0ee8aca..7889ee66 100644 --- a/examples/removeAllUris-documents.js +++ b/examples/removeAllUris-documents.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const exutil = require('./example-util.js'); const marklogic = require('../'); diff --git a/examples/setup.js b/examples/setup.js index a523345a..41666eda 100644 --- a/examples/setup.js +++ b/examples/setup.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var fs = require('fs'); var marklogic = require('../lib/marklogic.js'); diff --git a/examples/transform-on-client.js b/examples/transform-on-client.js index fc1ea44a..22f935b0 100644 --- a/examples/transform-on-client.js +++ b/examples/transform-on-client.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var exutil = require('./example-util.js'); //a real application would require without the 'exutil.' namespace diff --git a/examples/transformAll-documents.js b/examples/transformAll-documents.js index 466c871d..41308825 100644 --- a/examples/transformAll-documents.js +++ b/examples/transformAll-documents.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const exutil = require('./example-util.js'); const marklogic = require('../'); diff --git a/examples/unnest-function.js b/examples/unnest-function.js index beeb66b0..913abddb 100644 --- a/examples/unnest-function.js +++ b/examples/unnest-function.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2023 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const exutil = require('./example-util.js'); const marklogic = require('../'); diff --git a/examples/write-remove.js b/examples/write-remove.js index 5dd66e8f..841e3d52 100644 --- a/examples/write-remove.js +++ b/examples/write-remove.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var exutil = require('./example-util.js'); //a real application would require without the 'exutil.' namespace diff --git a/examples/write-stream.js b/examples/write-stream.js index 151eb348..933f1e6b 100644 --- a/examples/write-stream.js +++ b/examples/write-stream.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var fs = require('fs'); var exutil = require('./example-util.js'); diff --git a/examples/writeAll-documents.js b/examples/writeAll-documents.js index 2cd6f558..7a390c04 100644 --- a/examples/writeAll-documents.js +++ b/examples/writeAll-documents.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ let exutil = require('./example-util.js'); const marklogic = exutil.require('marklogic'); diff --git a/gulpfile.js b/gulpfile.js index e1771828..5c354cfd 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const path = require('path'); const gulp = require('gulp'); const jshint = require('gulp-jshint'); @@ -26,6 +14,7 @@ const proxy = require('./lib/proxy-generator.js'); const testproxy = require('./test-basic-proxy/testGenerator.js'); const testconfig = require('./etc/test-config.js'); const basicloader = require('./lib/basic-loader.js'); +const streamToArray = require("stream-to-array"); function lint() { return gulp.src('lib/*') @@ -90,6 +79,48 @@ function loadProxyTestInspector(callback) { }); } +function updateMjsFiles(callback){ + const testlib = require("./etc/test-lib"); + let serverConfiguration = {}; + testlib.findServerConfigurationPromise(serverConfiguration) + .then(() => { + if(serverConfiguration.serverVersion<12){ + callback(); + } else { + const query = marklogic.queryBuilder.where( + marklogic.ctsQueryBuilder.cts.directoryQuery('/dbf/test/', 'infinity')); + streamToArray(getTestModulesClient().documents.queryAll(query), + function(err, arr ) { + if(err){ + throw new Error(err); + } + arr.forEach(uri=> { + if(uri && uri.toString().endsWith(".mjs")){ + getTestModulesClient().documents.read(uri.toString()) + .result(function(documents){ + const lines = documents[0].content.split('\n'); + let i=lines.length-1; + while(lines[i]===""){ + i--; + } + lines[i] = 'export default ' + lines[i]; + getTestModulesClient().documents.write({ + uri: uri.toString(), + content: lines.join('\n') + }) + .result(function(response){callback();}) + }) + + } else { + callback(); + } + }); + + }); + } + }).catch((error) => {throw new Error(error);}); +} + function loadProxyTestData(callback) { const testdir = path.resolve('test-basic-proxy'); const filePath = path.resolve(testdir, 'testdef.json'); @@ -154,15 +185,15 @@ function runProxyTests() { exports.doc = doc; exports.lint = lint; -exports.loadProxyTests = parallel(loadProxyTestInspector, loadProxyTestData, loadProxyTestCases); +exports.loadProxyTests = series(parallel(loadProxyTestInspector, loadProxyTestData, loadProxyTestCases), updateMjsFiles); exports.generateProxyTests = parallel(positiveProxyTests, negativeProxyTests, generatedProxyTests); exports.runProxyTests = runProxyTests; exports.setupProxyTests = series( - parallel(loadProxyTestInspector, loadProxyTestData, loadProxyTestCases), - parallel(positiveProxyTests, negativeProxyTests, generatedProxyTests)); + parallel(loadProxyTestInspector, loadProxyTestData, loadProxyTestCases,), + parallel(positiveProxyTests, negativeProxyTests, generatedProxyTests), updateMjsFiles); exports.proxyTests = series( parallel(loadProxyTestInspector, loadProxyTestData, loadProxyTestCases), - parallel(positiveProxyTests, negativeProxyTests, generatedProxyTests), + parallel(positiveProxyTests, negativeProxyTests, generatedProxyTests), updateMjsFiles, runProxyTests); exports.test = test; exports.default = lint; diff --git a/lib/basic-loader.js b/lib/basic-loader.js index 626c6372..e652bf7a 100644 --- a/lib/basic-loader.js +++ b/lib/basic-loader.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const fs = require('fs'); diff --git a/lib/ctsquery-builder.js b/lib/ctsquery-builder.js index 3430e219..22c42279 100644 --- a/lib/ctsquery-builder.js +++ b/lib/ctsquery-builder.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const bldrgen = require('./plan-builder-generated.js'); diff --git a/lib/documents.js b/lib/documents.js index 05bfa7fb..b7df7538 100644 --- a/lib/documents.js +++ b/lib/documents.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; var requester = require('./requester.js'); @@ -564,7 +552,9 @@ function singleReadOutputTransform(headers, data) { var document = (categories.length === 1 && categories[0] === 'content') ? {content: content} : collectMetadata(content); - document.uri = operation.uris[0]; + if(operation.uris){ + document.uri = operation.uris[0]; + } document.category = categories; var format = headers.format; @@ -2659,7 +2649,7 @@ function collectDocUris(forestName, jobState){ jobState.error = err; jobState.stream.emit('error', err); } - finishOnQueryAllDocs(jobState); + finishOnQueryAllDocs(jobState); }); } diff --git a/lib/endpoint-proxy.js b/lib/endpoint-proxy.js index ef73aa30..22f57fbf 100644 --- a/lib/endpoint-proxy.js +++ b/lib/endpoint-proxy.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const Operation = require('./operation.js'); diff --git a/lib/endpointDeclarationValidator.js b/lib/endpointDeclarationValidator.js index 56670fc0..c9ea815a 100644 --- a/lib/endpointDeclarationValidator.js +++ b/lib/endpointDeclarationValidator.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const Ajv = require('ajv'); diff --git a/lib/extlibs.js b/lib/extlibs.js index b180b54a..95a86c85 100644 --- a/lib/extlibs.js +++ b/lib/extlibs.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; var requester = require('./requester.js'); var mlutil = require('./mlutil.js'); diff --git a/lib/graphs.js b/lib/graphs.js index b7361629..3a89bddb 100644 --- a/lib/graphs.js +++ b/lib/graphs.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; var requester = require('./requester.js'); diff --git a/lib/internal.js b/lib/internal.js index d0deff42..883b0fdf 100644 --- a/lib/internal.js +++ b/lib/internal.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2023 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const Operation = require("./operation"); diff --git a/lib/marklogic.js b/lib/marklogic.js index 1e29f8cf..1090ebaf 100644 --- a/lib/marklogic.js +++ b/lib/marklogic.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; var http = require('http'); var https = require('https'); @@ -791,7 +779,7 @@ function initClient(client, inputParams) { client.request = https.request; if (noAgent) { mlutil.copyProperties(inputParams, agentOptions, [ - 'keepAliveMsecs', 'maxCachedSessions', 'maxFreeSockets', 'maxSockets', 'maxTotalSockets', 'scheduling', 'timeout' + 'keepAliveMsecs', 'maxCachedSessions', 'maxFreeSockets', 'maxSockets', 'maxTotalSockets', 'scheduling', 'timeout', 'minVersion', 'maxVersion' ]); connectionParams.agent = new https.Agent(agentOptions); } else { diff --git a/lib/mllog.js b/lib/mllog.js index fe278969..317c020a 100644 --- a/lib/mllog.js +++ b/lib/mllog.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; var util = require('util'); diff --git a/lib/mlutil.js b/lib/mlutil.js index 2b670998..3184a345 100644 --- a/lib/mlutil.js +++ b/lib/mlutil.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; var util = require("util"); diff --git a/lib/operation.js b/lib/operation.js index fb6448cd..b2e1c324 100644 --- a/lib/operation.js +++ b/lib/operation.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; var mlutil = require('./mlutil.js'); diff --git a/lib/optional.js b/lib/optional.js index fcc693c5..b48f7a1a 100644 --- a/lib/optional.js +++ b/lib/optional.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; function library(libname) { diff --git a/lib/patch-builder.js b/lib/patch-builder.js index c9445bc5..1fadc157 100644 --- a/lib/patch-builder.js +++ b/lib/patch-builder.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; @@ -446,7 +434,9 @@ function replace() { continue; } if (apply === null || apply === undefined) { - apply = arg.apply; + if(arg){ + apply = arg.apply; + } if (apply != null) { content = arg.content; continue; @@ -536,7 +526,7 @@ function replaceInsert() { continue; } } - if (apply === null || apply === undefined) { + if (arg && !apply) { apply = arg.apply; if (apply != null) { content = arg.content; diff --git a/lib/plan-builder-base.js b/lib/plan-builder-base.js index 472f6c01..59c17b04 100644 --- a/lib/plan-builder-base.js +++ b/lib/plan-builder-base.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const types = require('./server-types-generated.js'); @@ -125,11 +113,11 @@ function castArg(arg, funcName, paramName, argPos, paramTypes) { const value = arg[key]; switch(key) { case 'scoreMethod': - if (['logtfidf', 'logtf', 'simple', 'bm25'].includes(value)) { + if (['logtfidf', 'logtf', 'simple', 'bm25', 'zero', 'random'].includes(value)) { return true; } throw new Error( - `${argLabel(funcName, paramName, argPos)} can only be 'logtfidf', 'logtf', 'simple' or 'bm25'` + `${argLabel(funcName, paramName, argPos)} can only be 'logtfidf', 'logtf', 'simple', 'bm25', 'zero' or 'random'` ); case 'qualityWeight': if (typeof value === 'number' || value instanceof Number) { @@ -401,6 +389,18 @@ function castArg(arg, funcName, paramName, argPos, paramTypes) { } }); return true; + case 'PlanAnnTopKOptions': + const planAnnTopKOptionsSet = new Set(['maxDistance', 'max-distance', 'searchFactor','search-factor']); + if(Object.getPrototypeOf(arg) === Map.prototype){ + arg.forEach((value, key) => { + if(!planAnnTopKOptionsSet.has(key)) { + throw new Error( + `${argLabel(funcName, paramName, argPos)} has invalid key- ${key}` + ); + } + }); + } + return true; default: return false; } @@ -428,7 +428,7 @@ function castArg(arg, funcName, paramName, argPos, paramTypes) { break; case 'string': if (isProtoChained(paramTypes, [types.XsAnyAtomicType, types.TextNode, types.JsonContentNode, types.XmlContentNode, - types.XsString])) { + types.XsString, types.ServerType])) { return arg; } break; diff --git a/lib/plan-builder-generated.js b/lib/plan-builder-generated.js index a581a1be..d413945b 100755 --- a/lib/plan-builder-generated.js +++ b/lib/plan-builder-generated.js @@ -1,21 +1,15 @@ /* - * Copyright (c) 2024 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; -/* IMPORTANT: Do not edit. This file is generated. */ +/* +The contents of this file are mostly an output of the Optic code generator. +But some parts have been manually modified. So care needs to be taken when +running the code generator to not lose any manual modifications, each of +which should either be commented or should be obvious, such as changes in +version numbers for "since" annotations. +*/ const types = require('./server-types-generated.js'); const bldrbase = require('./plan-builder-base.js'); @@ -419,7 +413,7 @@ elementAttributeReference(...args) { * @param { XsQName } [elementName] - One or more element QNames to match. When multiple QNames are specified, the query matches if any QName matches. * @param { XsQName } [attributeName] - One or more attribute QNames to match. When multiple QNames are specified, the query matches if any QName matches. * @param { XsString } [text] - One or more attribute values to match. When multiple strings are specified, the query matches if any string matches. - * @param { XsString } [options] - Options to this query. The default is (). Options include: "case-sensitive" A case-sensitive query. "case-insensitive" A case-insensitive query. "diacritic-sensitive" A diacritic-sensitive query. "diacritic-insensitive" A diacritic-insensitive query. "punctuation-sensitive" A punctuation-sensitive query. "punctuation-insensitive" A punctuation-insensitive query. "whitespace-sensitive" A whitespace-sensitive query. "whitespace-insensitive" A whitespace-insensitive query. "stemmed" A stemmed query. "unstemmed" An unstemmed query. "wildcarded" A wildcarded query. "unwildcarded" An unwildcarded query. "exact" An exact match query. Shorthand for "case-sensitive", "diacritic-sensitive", "punctuation-sensitive", "whitespace-sensitive", "unstemmed", and "unwildcarded". "lang=iso639code" Specifies the language of the query. The iso639code code portion is case-insensitive, and uses the languages specified by ISO 639. The default is specified in the database configuration. "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "synonym" Specifies that all of the terms in the $text parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). * "lexicon-expansion-limit=number" Specifies the limit for lexicon expansion. This puts a restriction on the number of lexicon expansions that can be performed. If the limit is exceeded, the server may raise an error depending on whether the "limit-check" option is set. The default value for this option will be 4096. "limit-check" Specifies that an error will be raised if the lexicon expansion exceeds the specified limit. "no-limit-check" Specifies that error will not be raised if the lexicon expansion exceeds the specified limit. The server will try to resolve the wildcard. + * @param { XsString } [options] - Options to this query. The default is (). Options include: "case-sensitive" A case-sensitive query. "case-insensitive" A case-insensitive query. "diacritic-sensitive" A diacritic-sensitive query. "diacritic-insensitive" A diacritic-insensitive query. "punctuation-sensitive" A punctuation-sensitive query. "punctuation-insensitive" A punctuation-insensitive query. "whitespace-sensitive" A whitespace-sensitive query. "whitespace-insensitive" A whitespace-insensitive query. "stemmed" A stemmed query. "unstemmed" An unstemmed query. "wildcarded" A wildcarded query. "unwildcarded" An unwildcarded query. "exact" An exact match query. Shorthand for "case-sensitive", "diacritic-sensitive", "punctuation-sensitive", "whitespace-sensitive", "unstemmed", and "unwildcarded". "lang=iso639code" Specifies the language of the query. The iso639code code portion is case-insensitive, and uses the languages specified by ISO 639. The default is specified in the database configuration. "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "synonym" Specifies that all of the terms in the $text parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). * @param { XsDouble } [weight] - A weight for this query. Higher weights move search results up in the relevance order. The default is 1.0. The weight should be between 64 and -16. Weights greater than 64 will have the same effect as a weight of 64. Weights less than the absolute value of 0.0625 (between -0.0625 and 0.0625) are rounded to 0, which means that they do not contribute to the score. * @returns { CtsQuery } */ @@ -572,7 +566,7 @@ elementReference(...args) { * @since 2.1.1 * @param { XsQName } [elementName] - One or more element QNames to match. When multiple QNames are specified, the query matches if any QName matches. * @param { XsString } [text] - One or more element values to match. When multiple strings are specified, the query matches if any string matches. - * @param { XsString } [options] - Options to this query. The default is (). Options include: "case-sensitive" A case-sensitive query. "case-insensitive" A case-insensitive query. "diacritic-sensitive" A diacritic-sensitive query. "diacritic-insensitive" A diacritic-insensitive query. "punctuation-sensitive" A punctuation-sensitive query. "punctuation-insensitive" A punctuation-insensitive query. "whitespace-sensitive" A whitespace-sensitive query. "whitespace-insensitive" A whitespace-insensitive query. "stemmed" A stemmed query. "unstemmed" An unstemmed query. "wildcarded" A wildcarded query. "unwildcarded" An unwildcarded query. "exact" An exact match query. Shorthand for "case-sensitive", "diacritic-sensitive", "punctuation-sensitive", "whitespace-sensitive", "unstemmed", and "unwildcarded". "lang=iso639code" Specifies the language of the query. The iso639code code portion is case-insensitive, and uses the languages specified by ISO 639. The default is specified in the database configuration. "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "synonym" Specifies that all of the terms in the $text parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). "lexicon-expansion-limit=number" Specifies the limit for lexicon expansion. This puts a restriction on the number of lexicon expansions that can be performed. If the limit is exceeded, the server may raise an error depending on whether the "limit-check" option is set. The default value for this option will be 4096. "limit-check" Specifies that an error will be raised if the lexicon expansion exceeds the specified limit. "no-limit-check" Specifies that error will not be raised if the lexicon expansion exceeds the specified limit. The server will try to resolve the wildcard. + * @param { XsString } [options] - Options to this query. The default is (). Options include: "case-sensitive" A case-sensitive query. "case-insensitive" A case-insensitive query. "diacritic-sensitive" A diacritic-sensitive query. "diacritic-insensitive" A diacritic-insensitive query. "punctuation-sensitive" A punctuation-sensitive query. "punctuation-insensitive" A punctuation-insensitive query. "whitespace-sensitive" A whitespace-sensitive query. "whitespace-insensitive" A whitespace-insensitive query. "stemmed" A stemmed query. "unstemmed" An unstemmed query. "wildcarded" A wildcarded query. "unwildcarded" An unwildcarded query. "exact" An exact match query. Shorthand for "case-sensitive", "diacritic-sensitive", "punctuation-sensitive", "whitespace-sensitive", "unstemmed", and "unwildcarded". "lang=iso639code" Specifies the language of the query. The iso639code code portion is case-insensitive, and uses the languages specified by ISO 639. The default is specified in the database configuration. "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "synonym" Specifies that all of the terms in the $text parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). * @param { XsDouble } [weight] - A weight for this query. Higher weights move search results up in the relevance order. The default is 1.0. The weight should be between 64 and -16. Weights greater than 64 will have the same effect as a weight of 64. Weights less than the absolute value of 0.0625 (between -0.0625 and 0.0625) are rounded to 0, which means that they do not contribute to the score. * @returns { CtsQuery } */ @@ -591,7 +585,7 @@ elementValueQuery(...args) { * @since 2.1.1 * @param { XsQName } [elementName] - One or more element QNames to match. When multiple QNames are specified, the query matches if any QName matches. * @param { XsString } [text] - Some words or phrases to match. When multiple strings are specified, the query matches if any string matches. - * @param { XsString } [options] - Options to this query. The default is (). Options include: "case-sensitive" A case-sensitive query. "case-insensitive" A case-insensitive query. "diacritic-sensitive" A diacritic-sensitive query. "diacritic-insensitive" A diacritic-insensitive query. "punctuation-sensitive" A punctuation-sensitive query. "punctuation-insensitive" A punctuation-insensitive query. "whitespace-sensitive" A whitespace-sensitive query. "whitespace-insensitive" A whitespace-insensitive query. "stemmed" A stemmed query. "unstemmed" An unstemmed query. "wildcarded" A wildcarded query. "unwildcarded" An unwildcarded query. "exact" An exact match query. Shorthand for "case-sensitive", "diacritic-sensitive", "punctuation-sensitive", "whitespace-sensitive", "unstemmed", and "unwildcarded". "lang=iso639code" Specifies the language of the query. The iso639code code portion is case-insensitive, and uses the languages specified by ISO 639. The default is specified in the database configuration. "distance-weight=number" A weight applied based on the minimum distance between matches of this query. Higher weights add to the importance of proximity (as opposed to term matches) when the relevance order is calculated. The default value is 0.0 (no impact of proximity). The weight should be between 64 and -16. Weights greater than 64 will have the same effect as a weight of 64. This parameter has no effect if the word positions index is not enabled. This parameter has no effect on searches that use score-simple, score-random, or score-zero (because those scoring algorithms do not consider term frequency, proximity is irrelevant). "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "synonym" Specifies that all of the terms in the $text parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). "lexicon-expand=value" The value is one of full, prefix-postfix, off, or heuristic (the default is heuristic). An option with a value of lexicon-expand=full specifies that wildcards are resolved by expanding the pattern to words in a lexicon (if there is one available), and turning into a series of cts:word-queries, even if this takes a long time to evaluate. An option with a value of lexicon-expand=prefix-postfix specifies that wildcards are resolved by expanding the pattern to the pre- and postfixes of the words in the word lexicon (if there is one), and turning the query into a series of character queries, even if it takes a long time to evaluate. An option with a value of lexicon-expand=off specifies that wildcards are only resolved by looking up character patterns in the search pattern index, not in the lexicon. An option with a value of lexicon-expand=heuristic, which is the default, specifies that wildcards are resolved by using a series of internal rules, such as estimating the number of lexicon entries that need to be scanned, seeing if the estimate crosses certain thresholds, and (if appropriate), using another way besides lexicon expansion to resolve the query. * "lexicon-expansion-limit=number" Specifies the limit for lexicon expansion. This puts a restriction on the number of lexicon expansions that can be performed. If the limit is exceeded, the server may raise an error depending on whether the "limit-check" option is set. The default value for this option will be 4096. "limit-check" Specifies that an error will be raised if the lexicon expansion exceeds the specified limit. "no-limit-check" Specifies that error will not be raised if the lexicon expansion exceeds the specified limit. The server will try to resolve the wildcard. + * @param { XsString } [options] - Options to this query. The default is (). Options include: "case-sensitive" A case-sensitive query. "case-insensitive" A case-insensitive query. "diacritic-sensitive" A diacritic-sensitive query. "diacritic-insensitive" A diacritic-insensitive query. "punctuation-sensitive" A punctuation-sensitive query. "punctuation-insensitive" A punctuation-insensitive query. "whitespace-sensitive" A whitespace-sensitive query. "whitespace-insensitive" A whitespace-insensitive query. "stemmed" A stemmed query. "unstemmed" An unstemmed query. "wildcarded" A wildcarded query. "unwildcarded" An unwildcarded query. "exact" An exact match query. Shorthand for "case-sensitive", "diacritic-sensitive", "punctuation-sensitive", "whitespace-sensitive", "unstemmed", and "unwildcarded". "lang=iso639code" Specifies the language of the query. The iso639code code portion is case-insensitive, and uses the languages specified by ISO 639. The default is specified in the database configuration. "distance-weight=number" A weight applied based on the minimum distance between matches of this query. Higher weights add to the importance of proximity (as opposed to term matches) when the relevance order is calculated. The default value is 0.0 (no impact of proximity). The weight should be between 64 and -16. Weights greater than 64 will have the same effect as a weight of 64. This parameter has no effect if the word positions index is not enabled. This parameter has no effect on searches that use score-simple, score-random, or score-zero (because those scoring algorithms do not consider term frequency, proximity is irrelevant). "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "synonym" Specifies that all of the terms in the $text parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). "lexicon-expand=value" The value is one of full, prefix-postfix, off, or heuristic (the default is heuristic). An option with a value of lexicon-expand=full specifies that wildcards are resolved by expanding the pattern to words in a lexicon (if there is one available), and turning into a series of cts:word-queries, even if this takes a long time to evaluate. An option with a value of lexicon-expand=prefix-postfix specifies that wildcards are resolved by expanding the pattern to the pre- and postfixes of the words in the word lexicon (if there is one), and turning the query into a series of character queries, even if it takes a long time to evaluate. An option with a value of lexicon-expand=off specifies that wildcards are only resolved by looking up character patterns in the search pattern index, not in the lexicon. An option with a value of lexicon-expand=heuristic, which is the default, specifies that wildcards are resolved by using a series of internal rules, such as estimating the number of lexicon entries that need to be scanned, seeing if the estimate crosses certain thresholds, and (if appropriate), using another way besides lexicon expansion to resolve the query. "lexicon-expansion-limit=number" Specifies the limit for lexicon expansion. This puts a restriction on the number of lexicon expansions that can be performed. If the limit is exceeded, the server may raise an error depending on whether the "limit-check" option is set. The default value for this option will be 4096. "limit-check" Specifies that an error will be raised if the lexicon expansion exceeds the specified limit. "no-limit-check" Specifies that error will not be raised if the lexicon expansion exceeds the specified limit. The server will try to resolve the wildcard. "no-limit-check" is default, if neither "limit-check" nor "no-limit-check" is explicitly specified. * @param { XsDouble } [weight] - A weight for this query. Higher weights move search results up in the relevance order. The default is 1.0. The weight should be between 64 and -16. Weights greater than 64 will have the same effect as a weight of 64. Weights less than the absolute value of 0.0625 (between -0.0625 and 0.0625) are rounded to 0, which means that they do not contribute to the score. * @returns { CtsQuery } */ @@ -880,7 +874,7 @@ jsonPropertyScopeQuery(...args) { * @since 2.1.1 * @param { XsString } [propertyName] - One or more property names to match. When multiple names are specified, the query matches if any name matches. * @param { XsAnyAtomicType } [value] - One or more property values to match. When multiple values are specified, the query matches if any value matches. The values can be strings, numbers or booleans to match correspondingly typed nodes. If the value is the empty sequence, the query matches null. - * @param { XsString } [options] - Options to this query. The default is (). Options include: "case-sensitive" A case-sensitive query. "case-insensitive" A case-insensitive query. "diacritic-sensitive" A diacritic-sensitive query. "diacritic-insensitive" A diacritic-insensitive query. "punctuation-sensitive" A punctuation-sensitive query. "punctuation-insensitive" A punctuation-insensitive query. "whitespace-sensitive" A whitespace-sensitive query. "whitespace-insensitive" A whitespace-insensitive query. "stemmed" A stemmed query. "unstemmed" An unstemmed query. "wildcarded" A wildcarded query. "unwildcarded" An unwildcarded query. "exact" An exact match query. Shorthand for "case-sensitive", "diacritic-sensitive", "punctuation-sensitive", "whitespace-sensitive", "unstemmed", and "unwildcarded". "lang=iso639code" Specifies the language of the query. The iso639code code portion is case-insensitive, and uses the languages specified by ISO 639. The default is specified in the database configuration. "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "synonym" Specifies that all of the terms in the $text parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). "lexicon-expansion-limit=number" Specifies the limit for lexicon expansion. This puts a restriction on the number of lexicon expansions that can be performed. If the limit is exceeded, the server may raise an error depending on whether the "limit-check" option is set. The default value for this option will be 4096. "limit-check" Specifies that an error will be raised if the lexicon expansion exceeds the specified limit. "no-limit-check" Specifies that error will not be raised if the lexicon expansion exceeds the specified limit. The server will try to resolve the wildcard. + * @param { XsString } [options] - Options to this query. The default is (). Options include: "case-sensitive" A case-sensitive query. "case-insensitive" A case-insensitive query. "diacritic-sensitive" A diacritic-sensitive query. "diacritic-insensitive" A diacritic-insensitive query. "punctuation-sensitive" A punctuation-sensitive query. "punctuation-insensitive" A punctuation-insensitive query. "whitespace-sensitive" A whitespace-sensitive query. "whitespace-insensitive" A whitespace-insensitive query. "stemmed" A stemmed query. "unstemmed" An unstemmed query. "wildcarded" A wildcarded query. "unwildcarded" An unwildcarded query. "exact" An exact match query. Shorthand for "case-sensitive", "diacritic-sensitive", "punctuation-sensitive", "whitespace-sensitive", "unstemmed", and "unwildcarded". "lang=iso639code" Specifies the language of the query. The iso639code code portion is case-insensitive, and uses the languages specified by ISO 639. The default is specified in the database configuration. "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "synonym" Specifies that all of the terms in the $text parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). * @param { XsDouble } [weight] - A weight for this query. Higher weights move search results up in the relevance order. The default is 1.0. The weight should be between 64 and -16. Weights greater than 64 will have the same effect as a weight of 64. Weights less than the absolute value of 0.0625 (between -0.0625 and 0.0625) are rounded to 0, which means that they do not contribute to the score. * @returns { CtsQuery } */ @@ -899,7 +893,7 @@ jsonPropertyValueQuery(...args) { * @since 2.1.1 * @param { XsString } [propertyName] - One or more JSON property names to match. When multiple names are specified, the query matches if any name matches. * @param { XsString } [text] - Some words or phrases to match. When multiple strings are specified, the query matches if any string matches. - * @param { XsString } [options] - Options to this query. The default is (). Options include: "case-sensitive" A case-sensitive query. "case-insensitive" A case-insensitive query. "diacritic-sensitive" A diacritic-sensitive query. "diacritic-insensitive" A diacritic-insensitive query. "punctuation-sensitive" A punctuation-sensitive query. "punctuation-insensitive" A punctuation-insensitive query. "whitespace-sensitive" A whitespace-sensitive query. "whitespace-insensitive" A whitespace-insensitive query. "stemmed" A stemmed query. "unstemmed" An unstemmed query. "wildcarded" A wildcarded query. "unwildcarded" An unwildcarded query. "exact" An exact match query. Shorthand for "case-sensitive", "diacritic-sensitive", "punctuation-sensitive", "whitespace-sensitive", "unstemmed", and "unwildcarded". "lang=iso639code" Specifies the language of the query. The iso639code code portion is case-insensitive, and uses the languages specified by ISO 639. The default is specified in the database configuration. "distance-weight=number" A weight applied based on the minimum distance between matches of this query. Higher weights add to the importance of proximity (as opposed to term matches) when the relevance order is calculated. The default value is 0.0 (no impact of proximity). The weight should be between 64 and -16. Weights greater than 64 will have the same effect as a weight of 64. This parameter has no effect if the word positions index is not enabled. This parameter has no effect on searches that use score-simple, score-random, or score-zero (because those scoring algorithms do not consider term frequency, proximity is irrelevant). "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "synonym" Specifies that all of the terms in the $text parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). "lexicon-expand=value" The value is one of full, prefix-postfix, off, or heuristic (the default is heuristic). An option with a value of lexicon-expand=full specifies that wildcards are resolved by expanding the pattern to words in a lexicon (if there is one available), and turning into a series of cts:word-queries, even if this takes a long time to evaluate. An option with a value of lexicon-expand=prefix-postfix specifies that wildcards are resolved by expanding the pattern to the pre- and postfixes of the words in the word lexicon (if there is one), and turning the query into a series of character queries, even if it takes a long time to evaluate. An option with a value of lexicon-expand=off specifies that wildcards are only resolved by looking up character patterns in the search pattern index, not in the lexicon. An option with a value of lexicon-expand=heuristic, which is the default, specifies that wildcards are resolved by using a series of internal rules, such as estimating the number of lexicon entries that need to be scanned, seeing if the estimate crosses certain thresholds, and (if appropriate), using another way besides lexicon expansion to resolve the query. * "lexicon-expansion-limit=number" Specifies the limit for lexicon expansion. This puts a restriction on the number of lexicon expansions that can be performed. If the limit is exceeded, the server may raise an error depending on whether the "limit-check" option is set. The default value for this option will be 4096. "limit-check" Specifies that an error will be raised if the lexicon expansion exceeds the specified limit. "no-limit-check" Specifies that error will not be raised if the lexicon expansion exceeds the specified limit. The server will try to resolve the wildcard. + * @param { XsString } [options] - Options to this query. The default is (). Options include: "case-sensitive" A case-sensitive query. "case-insensitive" A case-insensitive query. "diacritic-sensitive" A diacritic-sensitive query. "diacritic-insensitive" A diacritic-insensitive query. "punctuation-sensitive" A punctuation-sensitive query. "punctuation-insensitive" A punctuation-insensitive query. "whitespace-sensitive" A whitespace-sensitive query. "whitespace-insensitive" A whitespace-insensitive query. "stemmed" A stemmed query. "unstemmed" An unstemmed query. "wildcarded" A wildcarded query. "unwildcarded" An unwildcarded query. "exact" An exact match query. Shorthand for "case-sensitive", "diacritic-sensitive", "punctuation-sensitive", "whitespace-sensitive", "unstemmed", and "unwildcarded". "lang=iso639code" Specifies the language of the query. The iso639code code portion is case-insensitive, and uses the languages specified by ISO 639. The default is specified in the database configuration. "distance-weight=number" A weight applied based on the minimum distance between matches of this query. Higher weights add to the importance of proximity (as opposed to term matches) when the relevance order is calculated. The default value is 0.0 (no impact of proximity). The weight should be between 64 and -16. Weights greater than 64 will have the same effect as a weight of 64. This parameter has no effect if the word positions index is not enabled. This parameter has no effect on searches that use score-simple, score-random, or score-zero (because those scoring algorithms do not consider term frequency, proximity is irrelevant). "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "synonym" Specifies that all of the terms in the $text parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). "lexicon-expand=value" The value is one of full, prefix-postfix, off, or heuristic (the default is heuristic). An option with a value of lexicon-expand=full specifies that wildcards are resolved by expanding the pattern to words in a lexicon (if there is one available), and turning into a series of cts:word-queries, even if this takes a long time to evaluate. An option with a value of lexicon-expand=prefix-postfix specifies that wildcards are resolved by expanding the pattern to the pre- and postfixes of the words in the word lexicon (if there is one), and turning the query into a series of character queries, even if it takes a long time to evaluate. An option with a value of lexicon-expand=off specifies that wildcards are only resolved by looking up character patterns in the search pattern index, not in the lexicon. An option with a value of lexicon-expand=heuristic, which is the default, specifies that wildcards are resolved by using a series of internal rules, such as estimating the number of lexicon entries that need to be scanned, seeing if the estimate crosses certain thresholds, and (if appropriate), using another way besides lexicon expansion to resolve the query. "lexicon-expansion-limit=number" Specifies the limit for lexicon expansion. This puts a restriction on the number of lexicon expansions that can be performed. If the limit is exceeded, the server may raise an error depending on whether the "limit-check" option is set. The default value for this option will be 4096. "limit-check" Specifies that an error will be raised if the lexicon expansion exceeds the specified limit. "no-limit-check" Specifies that error will not be raised if the lexicon expansion exceeds the specified limit. The server will try to resolve the wildcard. "no-limit-check" is default, if neither "limit-check" nor "no-limit-check" is explicitly specified. * @param { XsDouble } [weight] - A weight for this query. Higher weights move search results up in the relevance order. The default is 1.0. The weight should be between 64 and -16. Weights greater than 64 will have the same effect as a weight of 64. Weights less than the absolute value of 0.0625 (between -0.0625 and 0.0625) are rounded to 0, which means that they do not contribute to the score. * @returns { CtsQuery } */ @@ -916,7 +910,7 @@ jsonPropertyWordQuery(...args) { * Returns a geospatial linestring value. Provides a client interface to a server function. See {@link http://docs.marklogic.com/cts.linestring|cts.linestring} * @method planBuilder.cts#linestring * @since 2.1.1 - * @param { XsAnyAtomicType } [vertices] - The waypoints of the linestring, given in order. vertexes. + * @param { XsAnyAtomicType } [vertices] - The waypoints of the linestring, given in order. Alternatively, the vertices may be provided as a string that follows the well-known text (WKT) scheme for a linestring. * @returns { CtsLinestring } */ linestring(...args) { @@ -1315,7 +1309,7 @@ uriReference(...args) { * @method planBuilder.cts#wordQuery * @since 2.1.1 * @param { XsString } [text] - Some words or phrases to match. When multiple strings are specified, the query matches if any string matches. - * @param { XsString } [options] - Options to this query. The default is (). Options include: "case-sensitive" A case-sensitive query. "case-insensitive" A case-insensitive query. "diacritic-sensitive" A diacritic-sensitive query. "diacritic-insensitive" A diacritic-insensitive query. "punctuation-sensitive" A punctuation-sensitive query. "punctuation-insensitive" A punctuation-insensitive query. "whitespace-sensitive" A whitespace-sensitive query. "whitespace-insensitive" A whitespace-insensitive query. "stemmed" A stemmed query. "unstemmed" An unstemmed query. "wildcarded" A wildcarded query. "unwildcarded" An unwildcarded query. "exact" An exact match query. Shorthand for "case-sensitive", "diacritic-sensitive", "punctuation-sensitive", "whitespace-sensitive", "unstemmed", and "unwildcarded". "lang=iso639code" Specifies the language of the query. The iso639code code portion is case-insensitive, and uses the languages specified by ISO 639. The default is specified in the database configuration. "distance-weight=number" A weight applied based on the minimum distance between matches of this query. Higher weights add to the importance of proximity (as opposed to term matches) when the relevance order is calculated. The default value is 0.0 (no impact of proximity). The weight should be between 64 and -16. Weights greater than 64 will have the same effect as a weight of 64. This parameter has no effect if the word positions index is not enabled. This parameter has no effect on searches that use score-simple, score-random, or score-zero (because those scoring algorithms do not consider term frequency, proximity is irrelevant). "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "synonym" Specifies that all of the terms in the $text parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). "lexicon-expand=value" The value is one of full, prefix-postfix, off, or heuristic (the default is heuristic). An option with a value of lexicon-expand=full specifies that wildcards are resolved by expanding the pattern to words in a lexicon (if there is one available), and turning into a series of cts:word-queries, even if this takes a long time to evaluate. An option with a value of lexicon-expand=prefix-postfix specifies that wildcards are resolved by expanding the pattern to the pre- and postfixes of the words in the word lexicon (if there is one), and turning the query into a series of character queries, even if it takes a long time to evaluate. An option with a value of lexicon-expand=off specifies that wildcards are only resolved by looking up character patterns in the search pattern index, not in the lexicon. An option with a value of lexicon-expand=heuristic, which is the default, specifies that wildcards are resolved by using a series of internal rules, such as estimating the number of lexicon entries that need to be scanned, seeing if the estimate crosses certain thresholds, and (if appropriate), using another way besides lexicon expansion to resolve the query. "lexicon-expansion-limit=number" Specifies the limit for lexicon expansion. This puts a restriction on the number of lexicon expansions that can be performed. If the limit is exceeded, the server may raise an error depending on whether the "limit-check" option is set. The default value for this option will be 4096. "limit-check" Specifies that an error will be raised if the lexicon expansion exceeds the specified limit. "no-limit-check" Specifies that error will not be raised if the lexicon expansion exceeds the specified limit. The server will try to resolve the wildcard. + * @param { XsString } [options] - Options to this query. The default is (). Options include: "case-sensitive" A case-sensitive query. "case-insensitive" A case-insensitive query. "diacritic-sensitive" A diacritic-sensitive query. "diacritic-insensitive" A diacritic-insensitive query. "punctuation-sensitive" A punctuation-sensitive query. "punctuation-insensitive" A punctuation-insensitive query. "whitespace-sensitive" A whitespace-sensitive query. "whitespace-insensitive" A whitespace-insensitive query. "stemmed" A stemmed query. "unstemmed" An unstemmed query. "wildcarded" A wildcarded query. "unwildcarded" An unwildcarded query. "exact" An exact match query. Shorthand for "case-sensitive", "diacritic-sensitive", "punctuation-sensitive", "whitespace-sensitive", "unstemmed", and "unwildcarded". "lang=iso639code" Specifies the language of the query. The iso639code code portion is case-insensitive, and uses the languages specified by ISO 639. The default is specified in the database configuration. "distance-weight=number" A weight applied based on the minimum distance between matches of this query. Higher weights add to the importance of proximity (as opposed to term matches) when the relevance order is calculated. The default value is 0.0 (no impact of proximity). The weight should be between 64 and -16. Weights greater than 64 will have the same effect as a weight of 64. This parameter has no effect if the word positions index is not enabled. This parameter has no effect on searches that use score-simple, score-random, or score-zero (because those scoring algorithms do not consider term frequency, proximity is irrelevant). "min-occurs=number" Specifies the minimum number of occurrences required. If fewer that this number of words occur, the fragment does not match. The default is 1. "max-occurs=number" Specifies the maximum number of occurrences required. If more than this number of words occur, the fragment does not match. The default is unbounded. "synonym" Specifies that all of the terms in the $text parameter are considered synonyms for scoring purposes. The result is that occurrences of more than one of the synonyms are scored as if there are more occurrences of the same term (as opposed to having a separate term that contributes to score). "lexicon-expand=value" The value is one of full, prefix-postfix, off, or heuristic (the default is heuristic). An option with a value of lexicon-expand=full specifies that wildcards are resolved by expanding the pattern to words in a lexicon (if there is one available), and turning into a series of cts:word-queries, even if this takes a long time to evaluate. An option with a value of lexicon-expand=prefix-postfix specifies that wildcards are resolved by expanding the pattern to the pre- and postfixes of the words in the word lexicon (if there is one), and turning the query into a series of character queries, even if it takes a long time to evaluate. An option with a value of lexicon-expand=off specifies that wildcards are only resolved by looking up character patterns in the search pattern index, not in the lexicon. An option with a value of lexicon-expand=heuristic, which is the default, specifies that wildcards are resolved by using a series of internal rules, such as estimating the number of lexicon entries that need to be scanned, seeing if the estimate crosses certain thresholds, and (if appropriate), using another way besides lexicon expansion to resolve the query. "lexicon-expansion-limit=number" Specifies the limit for lexicon expansion. This puts a restriction on the number of lexicon expansions that can be performed. If the limit is exceeded, the server may raise an error depending on whether the "limit-check" option is set. The default value for this option will be 4096. "limit-check" Specifies that an error will be raised if the lexicon expansion exceeds the specified limit. "no-limit-check" Specifies that error will not be raised if the lexicon expansion exceeds the specified limit. The server will try to resolve the wildcard. "no-limit-check" is default, if neither "limit-check" nor "no-limit-check" is explicitly specified. * @param { XsDouble } [weight] - A weight for this query. Higher weights move search results up in the relevance order. The default is 1.0. The weight should be between 64 and -16. Weights greater than 64 will have the same effect as a weight of 64. Weights less than the absolute value of 0.0625 (between -0.0625 and 0.0625) are rounded to 0, which means that they do not contribute to the score. * @returns { CtsQuery } */ @@ -5313,7 +5307,7 @@ class VecExpr { */ add(...args) { const namer = bldrbase.getNamer(args, 'vector1'); - const paramdefs = [['vector1', [types.VecVector, PlanColumn, PlanParam], true, false], ['vector2', [types.VecVector, PlanColumn, PlanParam], true, false]]; + const paramdefs = [['vector1', [types.VecVector, PlanColumn, PlanParam], false, false], ['vector2', [types.VecVector, PlanColumn, PlanParam], false, false]]; const checkedArgs = (namer !== null) ? bldrbase.makeNamedArgs(namer, 'vec.add', 2, new Set(['vector1', 'vector2']), paramdefs, args) : bldrbase.makePositionalArgs('vec.add', 2, false, paramdefs, args); @@ -5328,7 +5322,7 @@ add(...args) { * @returns { VecVector } */ base64Decode(...args) { - const paramdef = ['base64-vector', [types.XsString, PlanColumn, PlanParam], true, false]; + const paramdef = ['base64-vector', [types.XsString, PlanColumn, PlanParam], false, false]; const checkedArgs = bldrbase.makeSingleArgs('vec.base64Decode', 1, paramdef, args); return new types.VecVector('vec', 'base64-decode', checkedArgs); } @@ -5340,25 +5334,42 @@ base64Decode(...args) { * @returns { XsString } */ base64Encode(...args) { - const paramdef = ['vector1', [types.VecVector, PlanColumn, PlanParam], true, false]; + const paramdef = ['vector1', [types.VecVector, PlanColumn, PlanParam], false, false]; const checkedArgs = bldrbase.makeSingleArgs('vec.base64Encode', 1, paramdef, args); return new types.XsString('vec', 'base64-encode', checkedArgs); } /** - * Returns the cosine similarity between two vectors. The vectors must be of the same dimension. Provides a client interface to a server function. See {@link http://docs.marklogic.com/vec.cosineSimilarity|vec.cosineSimilarity} - * @method planBuilder.vec#cosineSimilarity - * @since 3.5.0 - * @param { VecVector } [vector1] - The vector from which to calculate the cosine similarity with vector2. - * @param { VecVector } [vector2] - The vector from which to calculate the cosine similarity with vector1. + * Returns the cosine of the angle between two vectors. The vectors must be of the same dimension. Provides a client interface to a server function. See {@link http://docs.marklogic.com/vec.cosine|vec.cosine} + * @method planBuilder.vec#cosine + * @since 3.7.0 + * @param { VecVector } [vector1] - The vector from which to calculate the cosine with vector2. + * @param { VecVector } [vector2] - The vector from which to calculate the cosine with vector1. + * @returns { XsDouble } + */ +cosine(...args) { + const namer = bldrbase.getNamer(args, 'vector1'); + const paramdefs = [['vector1', [types.VecVector, PlanColumn, PlanParam], false, false], ['vector2', [types.VecVector, PlanColumn, PlanParam], false, false]]; + const checkedArgs = (namer !== null) ? + bldrbase.makeNamedArgs(namer, 'vec.cosine', 2, new Set(['vector1', 'vector2']), paramdefs, args) : + bldrbase.makePositionalArgs('vec.cosine', 2, false, paramdefs, args); + return new types.XsDouble('vec', 'cosine', checkedArgs); + + } +/** + * Returns the cosine distance between two vectors. The vectors must be of the same dimension. Provides a client interface to a server function. See {@link http://docs.marklogic.com/vec.cosineDistance|vec.cosineDistance} + * @method planBuilder.vec#cosineDistance + * @since 3.7.0 + * @param { VecVector } [vector1] - The vector from which to calculate the cosine distance to vector2. + * @param { VecVector } [vector2] - The vector from which to calculate the cosine distance to vector1. * @returns { XsDouble } */ -cosineSimilarity(...args) { +cosineDistance(...args) { const namer = bldrbase.getNamer(args, 'vector1'); - const paramdefs = [['vector1', [types.VecVector, PlanColumn, PlanParam], true, false], ['vector2', [types.VecVector, PlanColumn, PlanParam], true, false]]; + const paramdefs = [['vector1', [types.VecVector, PlanColumn, PlanParam], false, false], ['vector2', [types.VecVector, PlanColumn, PlanParam], false, false]]; const checkedArgs = (namer !== null) ? - bldrbase.makeNamedArgs(namer, 'vec.cosineSimilarity', 2, new Set(['vector1', 'vector2']), paramdefs, args) : - bldrbase.makePositionalArgs('vec.cosineSimilarity', 2, false, paramdefs, args); - return new types.XsDouble('vec', 'cosine-similarity', checkedArgs); + bldrbase.makeNamedArgs(namer, 'vec.cosineDistance', 2, new Set(['vector1', 'vector2']), paramdefs, args) : + bldrbase.makePositionalArgs('vec.cosineDistance', 2, false, paramdefs, args); + return new types.XsDouble('vec', 'cosine-distance', checkedArgs); } /** @@ -5369,7 +5380,7 @@ cosineSimilarity(...args) { * @returns { XsUnsignedInt } */ dimension(...args) { - const paramdef = ['vector1', [types.VecVector, PlanColumn, PlanParam], true, false]; + const paramdef = ['vector1', [types.VecVector, PlanColumn, PlanParam], false, false]; const checkedArgs = bldrbase.makeSingleArgs('vec.dimension', 1, paramdef, args); return new types.XsUnsignedInt('vec', 'dimension', checkedArgs); } @@ -5383,7 +5394,7 @@ dimension(...args) { */ dotProduct(...args) { const namer = bldrbase.getNamer(args, 'vector1'); - const paramdefs = [['vector1', [types.VecVector, PlanColumn, PlanParam], true, false], ['vector2', [types.VecVector, PlanColumn, PlanParam], true, false]]; + const paramdefs = [['vector1', [types.VecVector, PlanColumn, PlanParam], false, false], ['vector2', [types.VecVector, PlanColumn, PlanParam], false, false]]; const checkedArgs = (namer !== null) ? bldrbase.makeNamedArgs(namer, 'vec.dotProduct', 2, new Set(['vector1', 'vector2']), paramdefs, args) : bldrbase.makePositionalArgs('vec.dotProduct', 2, false, paramdefs, args); @@ -5400,7 +5411,7 @@ dotProduct(...args) { */ euclideanDistance(...args) { const namer = bldrbase.getNamer(args, 'vector1'); - const paramdefs = [['vector1', [types.VecVector, PlanColumn, PlanParam], true, false], ['vector2', [types.VecVector, PlanColumn, PlanParam], true, false]]; + const paramdefs = [['vector1', [types.VecVector, PlanColumn, PlanParam], false, false], ['vector2', [types.VecVector, PlanColumn, PlanParam], false, false]]; const checkedArgs = (namer !== null) ? bldrbase.makeNamedArgs(namer, 'vec.euclideanDistance', 2, new Set(['vector1', 'vector2']), paramdefs, args) : bldrbase.makePositionalArgs('vec.euclideanDistance', 2, false, paramdefs, args); @@ -5417,7 +5428,7 @@ euclideanDistance(...args) { */ get(...args) { const namer = bldrbase.getNamer(args, 'vector1'); - const paramdefs = [['vector1', [types.VecVector, PlanColumn, PlanParam], true, false], ['k', [types.XsUnsignedInt, PlanColumn, PlanParam], true, false]]; + const paramdefs = [['vector1', [types.VecVector, PlanColumn, PlanParam], false, false], ['k', [types.XsUnsignedInt, PlanColumn, PlanParam], false, false]]; const checkedArgs = (namer !== null) ? bldrbase.makeNamedArgs(namer, 'vec.get', 2, new Set(['vector1', 'k']), paramdefs, args) : bldrbase.makePositionalArgs('vec.get', 2, false, paramdefs, args); @@ -5432,7 +5443,7 @@ get(...args) { * @returns { XsDouble } */ magnitude(...args) { - const paramdef = ['vector1', [types.VecVector, PlanColumn, PlanParam], true, false]; + const paramdef = ['vector1', [types.VecVector, PlanColumn, PlanParam], false, false]; const checkedArgs = bldrbase.makeSingleArgs('vec.magnitude', 1, paramdef, args); return new types.XsDouble('vec', 'magnitude', checkedArgs); } @@ -5444,7 +5455,7 @@ magnitude(...args) { * @returns { VecVector } */ normalize(...args) { - const paramdef = ['vector1', [types.VecVector, PlanColumn, PlanParam], true, false]; + const paramdef = ['vector1', [types.VecVector, PlanColumn, PlanParam], false, false]; const checkedArgs = bldrbase.makeSingleArgs('vec.normalize', 1, paramdef, args); return new types.VecVector('vec', 'normalize', checkedArgs); } @@ -5458,7 +5469,7 @@ normalize(...args) { */ subtract(...args) { const namer = bldrbase.getNamer(args, 'vector1'); - const paramdefs = [['vector1', [types.VecVector, PlanColumn, PlanParam], true, false], ['vector2', [types.VecVector, PlanColumn, PlanParam], true, false]]; + const paramdefs = [['vector1', [types.VecVector, PlanColumn, PlanParam], false, false], ['vector2', [types.VecVector, PlanColumn, PlanParam], false, false]]; const checkedArgs = (namer !== null) ? bldrbase.makeNamedArgs(namer, 'vec.subtract', 2, new Set(['vector1', 'vector2']), paramdefs, args) : bldrbase.makePositionalArgs('vec.subtract', 2, false, paramdefs, args); @@ -5476,7 +5487,7 @@ subtract(...args) { */ subvector(...args) { const namer = bldrbase.getNamer(args, 'vector'); - const paramdefs = [['vector', [types.VecVector, PlanColumn, PlanParam], true, false], ['start', [types.XsUnsignedInt, PlanColumn, PlanParam], true, false], ['length', [types.XsUnsignedInt, PlanColumn, PlanParam], false, false]]; + const paramdefs = [['vector', [types.VecVector, PlanColumn, PlanParam], false, false], ['start', [types.XsUnsignedInt, PlanColumn, PlanParam], false, false], ['length', [types.XsUnsignedInt, PlanColumn, PlanParam], false, false]]; const checkedArgs = (namer !== null) ? bldrbase.makeNamedArgs(namer, 'vec.subvector', 2, new Set(['vector', 'start', 'length']), paramdefs, args) : bldrbase.makePositionalArgs('vec.subvector', 2, false, paramdefs, args); @@ -5496,19 +5507,20 @@ vector(...args) { return new types.VecVector('vec', 'vector', checkedArgs); } /** - * A helper function that returns a hybrid score using a cts score and a vector similarity calculation result. You can tune the effect of the vector similarity on the score using the similarityWeight option. The ideal value for similarityWeight depends on your application. Provides a client interface to a server function. See {@link http://docs.marklogic.com/vec.vectorScore|vec.vectorScore} + * A helper function that returns a hybrid score using a cts score and a vector distance calculation result. You can tune the effect of the vector distance on the score using the distanceWeight option. The ideal value for distanceWeight depends on your application. The hybrid score is calculated using the formula: score = weight * annScore + (1 - weight) * ctsScore. - annScore is derived from the distance and distanceWeight, where a larger distanceWeight reduces the annScore for the same distance. - weight determines the contribution of the annScore and ctsScore to the final score. A weight of 0.5 balances both equally. This formula allows you to combine traditional cts scoring with vector-based distance scoring, providing a flexible way to rank results. Provides a client interface to a server function. See {@link http://docs.marklogic.com/vec.vectorScore|vec.vectorScore} * @method planBuilder.vec#vectorScore * @since 3.5.0 * @param { XsUnsignedInt } [score] - The cts:score of the matching document. - * @param { XsDouble } [similarity] - The similarity between the vector in the matching document and the query vector. The result of a call to ovec:cosine-similarity(). In the case that the vectors are normalized, pass ovec:dot-product(). Note that vec:euclidean-distance() should not be used here. - * @param { XsDouble } [similarityWeight] - The weight of the vector similarity on the score. The default value is 0.1. If 0.0 is passed in, vector similarity has no effect. If passed a value less than 0.0 or greater than 1.0, throw VEC-VECTORSCORE. + * @param { XsDouble } [distance] - The distance between the vector in the matching document and the query vector. Examples, the result of a call to ovec:cosine-distance() or ovec:euclidean-distance(). + * @param { XsDouble } [distanceWeight] - The weight of the vector distance on the annScore. This value is a positive coefficient that scales the distance. A larger distanceWeight produces a lower annScore for the same distance. The default value is 1. + * @param { XsDouble } [weight] - The weight of the annScore in the final hybrid score. This value is a coefficient between 0 and 1, where 0 gives full weight to the cts score and 1 gives full weight to the annScore. The default value is 0.5. * @returns { XsUnsignedLong } */ vectorScore(...args) { const namer = bldrbase.getNamer(args, 'score'); - const paramdefs = [['score', [types.XsUnsignedInt, PlanColumn, PlanParam], true, false], ['similarity', [types.XsDouble, PlanColumn, PlanParam], true, false], ['similarityWeight', [types.XsDouble, PlanColumn, PlanParam], false, false]]; + const paramdefs = [['score', [types.XsUnsignedInt, PlanColumn, PlanParam], false, false], ['distance', [types.XsDouble, PlanColumn, PlanParam], false, false], ['distanceWeight', [types.XsDouble, PlanColumn, PlanParam], false, false], ['weight', [types.XsDouble, PlanColumn, PlanParam], false, false]]; const checkedArgs = (namer !== null) ? - bldrbase.makeNamedArgs(namer, 'vec.vectorScore', 2, new Set(['score', 'similarity', 'similarityWeight']), paramdefs, args) : + bldrbase.makeNamedArgs(namer, 'vec.vectorScore', 2, new Set(['score', 'distance', 'distanceWeight', 'weight']), paramdefs, args) : bldrbase.makePositionalArgs('vec.vectorScore', 2, false, paramdefs, args); return new types.XsUnsignedLong('vec', 'vector-score', checkedArgs); @@ -7074,6 +7086,13 @@ class PlanFunction extends types.ServerType { super(ns, fn, args); } +} +class PlanAnnTopKOptions extends types.ServerType { + + constructor(ns, fn, args) { + super(ns, fn, args); + } + } class PlanJsonProperty extends types.ServerType { @@ -7516,8 +7535,8 @@ except(...args) { * @method planBuilder.ModifyPlan#existsJoin * @since 2.1.1 * @param { PlanModifyPlan } [right] - The row set from the right view. - * @param { PlanJoinKey } [keys] - The equijoin from one or more calls to the op:on function. - * @param { XsBoolean } [condition] - A boolean expression that filters the join output rows. + * @param { PlanJoinKey } [keys] - Equality condition(s) expressed using one or more calls to the function op:on. These conditions are used to compare the left and right rows. + * @param { XsBoolean } [condition] - A boolean expression used to compare the left and right rows. See Boolean Expression Functions for the list of functions used to build boolean expressions. * @returns { planBuilder.ModifyPlan } */ existsJoin(...args) { @@ -7533,8 +7552,8 @@ existsJoin(...args) { * This method counts values for multiple grouping key columns. Provides a client interface to a server function. See {@link http://docs.marklogic.com/ModifyPlan.prototype.facetBy|ModifyPlan.prototype.facetBy} * @method planBuilder.ModifyPlan#facetBy * @since 2.1.1 - * @param { PlanNamedGroupingKey } [keys] - This parameter specifies the list of column keys for performing counts. For each column, the operation determines the unique values of that column and produces a separate count for the rows with that value. A column can be named with a string or a column parameter function such as op:col or constructed from an expression with the op:as function. The facet can be named by providing a op:named-group that takes exactly one column. - * @param { PlanExprColName } [countCol] - Specifies what to count over the rows for each unique value of each key column. By default, the operation counts the rows. To count the values of a column instead, specify the column to count with this parameter. To count documents, specify a fragment id column with op:fragment-id-col. + * @param { PlanNamedGroupingKey } [keys] - This parameter specifies the list of column keys for performing counts. For each column, the operation determines the unique values of that column and produces a separate count for the rows with that value. A column can be named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with the op:as function. The facet can be named by providing a op:named-group that takes exactly one column. + * @param { PlanExprColName } [countCol] - Specifies what to count over the rows for each unique value of each key column. By default, the operation counts the rows. To count the values of a column instead, specify the column to count with this parameter. To count documents, specify a fragment id column with op:fragment-id-col. * @returns { planBuilder.ModifyPlan } */ facetBy(...args) { @@ -7567,7 +7586,7 @@ groupBy(...args) { * This method performs the union of multiple group-by operations on a row set. Provides a client interface to a server function. See {@link http://docs.marklogic.com/ModifyPlan.prototype.groupByUnion|ModifyPlan.prototype.groupByUnion} * @method planBuilder.ModifyPlan#groupByUnion * @since 2.1.1 - * @param { PlanGroupingKey } [keys] - The sets of grouping keys. The keys for each group are specified with the op:group, op:rollup, or op:cube functions. Each group must have a unique set of keys but multiple groups can have the same key. As a convenience, a group with a single key can specify the name of the key column with a string or a column parameter function such as op:col or constructed from an expression with op:as. The rows produced by the group-by-union operation include the key columns from each group. A group can be empty to group over all of the rows in the row set. + * @param { PlanGroupingKey } [keys] - The sets of grouping keys. The keys for each group are specified with the op:group, op:rollup, or op:cube functions. Each group must have a unique set of keys but multiple groups can have the same key. As a convenience, a group with a single key can specify the name of the key column with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with op:as. The rows produced by the group-by-union operation include the key columns from each group. A group can be empty to group over all of the rows in the row set. * @param { PlanAggregateColName } [aggregates] - This parameter specifies either columns to sample or aggregate functions to apply to a column for all of the rows in the group. Sampled columns can be existing columns or new columns created by an expression specified with op:as. Often a sampled column might have a constant value within the group such as a title or label closely associated with a numeric identifier used as the grouping key. * @returns { planBuilder.ModifyPlan } */ @@ -7584,7 +7603,7 @@ groupByUnion(...args) { * This method performs multiple group-by operations on a row set and produces a single row with a column for each group having an array value whose items are the rows for the group. Each item is an object with properties for the group keys and aggregates. Provides a client interface to a server function. See {@link http://docs.marklogic.com/ModifyPlan.prototype.groupToArrays|ModifyPlan.prototype.groupToArrays} * @method planBuilder.ModifyPlan#groupToArrays * @since 2.1.1 - * @param { PlanNamedGroupingKey } [keys] - The sets of grouping keys. Each group is specified with the op:named-group function. Each group must have a unique set of keys but multiple groups can have the same key. As a convenience, the parameter also accepts unnamed groups with the op:group, op:rollup, or op:cube functions or (for a group with a single key) a column named with a string or a column parameter function such as op:col or constructed from an expression with the op:as function. The row objects produced by the group-to-arrays operation include the key columns from each group. A group can be empty to group over all of the rows in the row set. + * @param { PlanNamedGroupingKey } [keys] - The sets of grouping keys. Each group is specified with the op:named-group function. Each group must have a unique set of keys but multiple groups can have the same key. As a convenience, the parameter also accepts unnamed groups with the op:group, op:rollup, or op:cube functions or (for a group with a single key) a column named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with the op:as function. The row objects produced by the group-to-arrays operation include the key columns from each group. A group can be empty to group over all of the rows in the row set. * @param { PlanAggregateColName } [aggregates] - This parameter specifies either columns to sample or aggregate functions to apply to a column for all of the rows in the group. Sampled columns can be existing columns or new columns created by an expression specified with op:as. Often a sampled column might have a constant value within the group such as a title or label closely associated with a numeric identifier used as the grouping key. * @returns { planBuilder.ModifyPlan } */ @@ -7631,7 +7650,7 @@ joinCrossProduct(...args) { * @method planBuilder.ModifyPlan#joinDoc * @since 2.1.1 * @param { PlanColumnName } [docCol] - The document column to add to the rows. This can be a string or column specifying the name of the new column that should have the document as its value. - * @param { PlanColumn } [sourceCol] - The document uri or fragment id value. This is either the output from op:fragment-id-col specifying a fragment id column or a document uri column. Joining on a fragment id is more efficient than joining on a uri column. + * @param { PlanColumn } [sourceCol] - The document uri or fragment id value. This is either the output from op:fragment-id-col specifying a fragment id column or a document uri column. The uri column can be named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with the op:as function. Joining on a fragment id is more efficient than joining on a uri column. * @returns { planBuilder.ModifyPlan } */ joinDoc(...args) { @@ -7649,7 +7668,7 @@ joinDoc(...args) { * @since 3.4.0 * @param { PlanColumnName } [docCol] - The document column to add to the rows. This can be a string or a column, op:col, op:view-col or op:schema-col, specifying the name of the new column that should have the document as its value. * @param { PlanColumn } [uriCol] - The uri column to add to the rows. This can be a string or a column, op:col, op:view-col or op:schema-col, specifying the name of the new column that should have the document uri as its value. - * @param { PlanColumn } [sourceCol] - The document uri or fragment id value. This is either an op:fragment-id-col specifying a fragment id column or a document uri column as xs:string or as a column using op:col, op:view-col or op:schema-col. Joining on a fragment id is more efficient than joining on a uri column. + * @param { PlanColumn } [sourceCol] - The document uri or fragment id value. This is either an op:fragment-id-col specifying a fragment id column or a document uri column which can be named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with the op:as function. Joining on a fragment id is more efficient than joining on a uri column. * @returns { planBuilder.ModifyPlan } */ joinDocAndUri(...args) { @@ -7665,7 +7684,7 @@ joinDocAndUri(...args) { * This method adds a uri column to rows based on an existing fragment id column to identify the source document for each row. The fragmentIdCol must be an op:fragment-id-col specifying a fragment id column. If the fragment id column is null in the row, the row is dropped from the rowset. Provides a client interface to a server function. See {@link http://docs.marklogic.com/ModifyPlan.prototype.joinDocUri|ModifyPlan.prototype.joinDocUri} * @method planBuilder.ModifyPlan#joinDocUri * @since 2.1.1 - * @param { PlanColumnName } [uriCol] - The document uri. This is the output from op:col('uri') that specifies a document uri column. + * @param { PlanColumnName } [uriCol] - The new column which contains the document uris. The column can be named with a string or a column function such as op:col, op:view-col, or op:schema-col. * @param { PlanColumn } [fragmentIdCol] - The document fragment id value. This is the output from op:fragment-id-col specifying a fragment id column. * @returns { planBuilder.ModifyPlan } */ @@ -7683,8 +7702,8 @@ joinDocUri(...args) { * @method planBuilder.ModifyPlan#joinInner * @since 2.1.1 * @param { PlanModifyPlan } [right] - The row set from the right view. - * @param { PlanJoinKey } [keys] - The equijoin from one or more calls to the op:on function. - * @param { XsBoolean } [condition] - A boolean expression that filters the join output rows. + * @param { PlanJoinKey } [keys] - Equality condition(s) expressed using one or more calls to the function op:on. These conditions are used to compare the left and right rows. + * @param { XsBoolean } [condition] - A boolean expression used to compare the left and right rows. See Boolean Expression Functions for the list of functions used to build boolean expressions. * @returns { planBuilder.ModifyPlan } */ joinInner(...args) { @@ -7701,8 +7720,8 @@ joinInner(...args) { * @method planBuilder.ModifyPlan#joinLeftOuter * @since 2.1.1 * @param { PlanModifyPlan } [right] - The row set from the right view. - * @param { PlanJoinKey } [keys] - The equijoin from one or more calls to the op:on function. - * @param { XsBoolean } [condition] - A boolean expression that filters the join output rows. + * @param { PlanJoinKey } [keys] - Equality condition(s) expressed using one or more calls to the function op:on. These conditions are used to compare the left and right rows. + * @param { XsBoolean } [condition] - A boolean expression used to compare the left and right rows. See Boolean Expression Functions for the list of functions used to build boolean expressions. * @returns { planBuilder.ModifyPlan } */ joinLeftOuter(...args) { @@ -7719,8 +7738,8 @@ joinLeftOuter(...args) { * @method planBuilder.ModifyPlan#joinFullOuter * @since 2.1.1 * @param { PlanModifyPlan } [right] - The row set from the right view. - * @param { PlanJoinKey } [keys] - The equijoin from one or more calls to the op:on function. - * @param { XsBoolean } [condition] - A boolean expression that filters the join output rows. + * @param { PlanJoinKey } [keys] - Equality condition(s) expressed using one or more calls to the function op:on. These conditions are used to compare the left and right rows. + * @param { XsBoolean } [condition] - A boolean expression used to compare the left and right rows. See Boolean Expression Functions for the list of functions used to build boolean expressions. * @returns { planBuilder.ModifyPlan } */ joinFullOuter(...args) { @@ -7778,8 +7797,8 @@ offsetLimit(...args) { * @method planBuilder.ModifyPlan#notExistsJoin * @since 2.1.1 * @param { PlanModifyPlan } [right] - The row set from the right view. - * @param { PlanJoinKey } [keys] - The equijoin from one or more calls to the op:on function. - * @param { XsBoolean } [condition] - A boolean expression that filters the join output rows. + * @param { PlanJoinKey } [keys] - Equality condition(s) expressed using one or more calls to the function op:on. These conditions are used to compare the left and right rows. + * @param { XsBoolean } [condition] - A boolean expression used to compare the left and right rows. See Boolean Expression Functions for the list of functions used to build boolean expressions. * @returns { planBuilder.ModifyPlan } */ notExistsJoin(...args) { @@ -7795,7 +7814,7 @@ notExistsJoin(...args) { * This method sorts the row set by the specified order definition. Provides a client interface to a server function. See {@link http://docs.marklogic.com/ModifyPlan.prototype.orderBy|ModifyPlan.prototype.orderBy} * @method planBuilder.ModifyPlan#orderBy * @since 2.1.1 - * @param { PlanSortKeyName } [keys] - The specified column or sortdef output from the op:asc or op:desc function. + * @param { PlanSortKeyName } [keys] - The specified column or sortdef output from the op:asc or op:desc function. The column can be named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with the op:as function. * @returns { planBuilder.ModifyPlan } */ orderBy(...args) { @@ -7853,7 +7872,7 @@ prepare(...args) { * This call projects the specified columns from the current row set and / or applies a qualifier to the columns in the row set. Unlike SQL, a select call is not required in an Optic query. Provides a client interface to a server function. See {@link http://docs.marklogic.com/ModifyPlan.prototype.select|ModifyPlan.prototype.select} * @method planBuilder.ModifyPlan#select * @since 2.1.1 - * @param { PlanExprColName } [columns] - The columns to project from the input rows. The columns can be named with a string or a column parameter function such as op:col or constructed from an expression with op:as. + * @param { PlanExprColName } [columns] - The columns to project from the input rows. The columns can be named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with op:as. * @param { XsString } [qualifierName] - Specifies a name for qualifying the column names in place of the combination of the schema and view names. Use cases for the qualifier include self joins. Using an empty string removes all qualification from the column names. * @returns { planBuilder.ModifyPlan } */ @@ -7958,8 +7977,8 @@ transformDoc(...args) { * This function populates the view with the uri, doc, collections, metadata, permissions, and / or quality document descriptor columns for database document values. Provides a client interface to a server function. See {@link http://docs.marklogic.com/ModifyPlan.prototype.joinDocCols|ModifyPlan.prototype.joinDocCols} * @method planBuilder.ModifyPlan#joinDocCols * @since 3.1.0 - * @param { PlanDocColsIdentifier } [cols] - The source column to join. This is either an op:fragment-id-col specifying a fragment id column or a op:col, op:view-col or op:schema-col that contains document uris. Joining on a fragment id is more efficient than joining on an uri column. - * @param { PlanColumnName } [docIdCol] - The document uri or fragment id value. This is either an op.fragmentIdCol object specifying a fragment id column or a document uri column. + * @param { PlanDocColsIdentifier } [cols] - The source column to join. This is either an op:fragment-id-col specifying a fragment id column or a uri column which contains document uris. The uri column can be named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with the op:as function.Joining on a fragment id is more efficient than joining on an uri column. + * @param { PlanColumnName } [docIdCol] - The document uri or fragment id value. This is either an op.fragmentIdCol object specifying a fragment id column or a document uri column. * @returns { planBuilder.ModifyPlan } */ joinDocCols(...args) { @@ -7992,8 +8011,8 @@ validateDoc(...args) { /** * This function flattens an array value into multiple rows.Then performs a op:join-inner on the rest of the rows. Provides a client interface to a server function. See {@link http://docs.marklogic.com/ModifyPlan.prototype.unnestInner|ModifyPlan.prototype.unnestInner} * @method planBuilder.ModifyPlan#unnestInner - * @since 3.0.0 - * @param { PlanExprColName } [inputColumn] - The input column, which contains an array, to flatten into rows. This can be a string of the column name or an op:col. Use op:view-col or op:schema-col if you need to identify columns in the two views that have the same column name. + * @since 3.0.0 + * @param { PlanExprColName } [inputColumn] - The input column, which contains an array, to flatten into rows. The column can be named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with the op:as function. * @param { PlanExprColName } [valueColumn] - The output column which contains the flattened array values. This can be a string of the column name or an op:col. Use op:view-col or op:schema-col as needed. * @param { PlanExprColName } [ordinalColumn] - The ordinalColumn is optional. If specified, an additional column will be added to the rows of flattened array values, starting from 1. This can be a string of the column name or an op:col. Use op:view-col or op:schema-col as needed. * @returns { planBuilder.ModifyPlan } @@ -8010,8 +8029,8 @@ unnestInner(...args) { /** * This function flattens an array value into multiple rows.Then performs a op:join-left-outer on the rest of the rows. Provides a client interface to a server function. See {@link http://docs.marklogic.com/ModifyPlan.prototype.unnestLeftOuter|ModifyPlan.prototype.unnestLeftOuter} * @method planBuilder.ModifyPlan#unnestLeftOuter - * @since 3.0.0 - * @param { PlanExprColName } [inputColumn] - The input column, which contains an array, to flatten into rows. This can be a string of the column name or an op:col. Use op:view-col or op:schema-col if you need to identify columns in the two views that have the same column name. + * @since 3.0.0 + * @param { PlanExprColName } [inputColumn] - The input column, which contains an array, to flatten into rows. The column can be named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with the op:as function. * @param { PlanExprColName } [valueColumn] - The output column which contains the flattened array values. This can be a string of the column name or an op:col. Use op:view-col or op:schema-col as needed. * @param { PlanExprColName } [ordinalColumn] - The ordinalColumn is optional. If specified, an additional column will be added to the rows of flattened array values, starting from 1. This can be a string of the column name or an op:col. Use op:view-col or op:schema-col as needed. * @returns { planBuilder.ModifyPlan } @@ -8024,6 +8043,46 @@ unnestLeftOuter(...args) { bldrbase.makePositionalArgs('PlanModifyPlan.unnestLeftOuter', 2, false, paramdefs, args); return new PlanModifyPlan(this, 'op', 'unnest-left-outer', checkedArgs); + } +/** + * This method can be used to find the shortest path between two nodes in a given graph. Provides a client interface to a server function. See {@link http://docs.marklogic.com/ModifyPlan.prototype.shortestPath|ModifyPlan.prototype.shortestPath} + * @method planBuilder.ModifyPlan#shortestPath + * @since 3.6.0 + * @param { PlanExprColName } [start] - The column representing the input starting subject of the shortest path search. The columns can be named with a string or a column function such as op:col, op:view-col, or op:schema-col. + * @param { PlanExprColName } [end] - The column representing the input ending object of the shortest path search. The columns can be named with a string or a column function such as op:col, op:view-col, or op:schema-col. + * @param { PlanExprColName } [path] - The column is the output column representing the actual shortest path(s) taken from start to end. Values are not returned for this column if this is the empty sequence.The columns can be named with a string or a column function such as op:col, op:view-col, or op:schema-col. + * @param { PlanExprColName } [length] - The column is the output column representing the length of the shortest path. Value is not returned for this column if this is the empty sequence.The columns can be named with a string or a column function such as op:col, op:view-col, or op:schema-col. + * @param { PlanExprColName } [weight] - + * @returns { planBuilder.ModifyPlan } + */ +shortestPath(...args) { + const namer = bldrbase.getNamer(args, 'start'); + const paramdefs = [['start', [PlanExprCol, PlanColumn, types.XsString], true, false], ['end', [PlanExprCol, PlanColumn, types.XsString], true, false], ['path', [PlanExprCol, PlanColumn, types.XsString], false, false], ['length', [PlanExprCol, PlanColumn, types.XsString], false, false], ['weight', [PlanExprCol, PlanColumn, types.XsString], false, false]]; + const checkedArgs = (namer !== null) ? + bldrbase.makeNamedArgs(namer, 'PlanModifyPlan.shortestPath', 2, new Set(['start', 'end', 'path', 'length', 'weight']), paramdefs, args) : + bldrbase.makePositionalArgs('PlanModifyPlan.shortestPath', 2, false, paramdefs, args); + return new PlanModifyPlan(this, 'op', 'shortest-path', checkedArgs); + + } +/** + * This method searches against vector data, using a query vector, selecting and returning the top K nearest vectors from the column along with data associated with that vector, for examples, document, node, or row. Provides a client interface to a server function. See {@link http://docs.marklogic.com/ModifyPlan.prototype.annTopK|ModifyPlan.prototype.annTopK} + * @method planBuilder.ModifyPlan#annTopK + * @since 3.6.0 + * @param { PlanInputKParam } [inputK] - This positive integer k is the number of nearest neighbour results to return. + * @param { PlanExprColName } [vectorColumn] - The column is the input table to perform vector distance calculations against. The columns can be named with a string or a column function such as op:col, op:view-col, or op:schema-col. + * @param { PlanQueryVectorParam } [queryVector] - This is the query vector to compare with the vectors from the vector-column column. + * @param { PlanExprColName } [distanceColumn] - The column is an optional output column that returns the value of the distance metric for that output row. The columns can be named with a string or a column function such as op:col, op:view-col, or op:schema-col. + * @param { PlanAnnTopKOptions } [options] - This is either a sequence of strings or a map containing keys and values for the options to this operator. Options include: max-distance This option is a number determines the maximum distance for a returned result. For cosine distance, the default is float max. Rows with a distance greater than this will not be returned. search-factor This option can be used to increase or decrease the number of candidate vectors found from the index, and defaults to 1.0. Higher values will result in slower searches that may provide higher results accuracy. Lower values will result in faster searches that may give lower accuracy.distance Takes values of cosine for now, defaulting to cosine. + * @returns { planBuilder.ModifyPlan } + */ +annTopK(...args) { + const namer = bldrbase.getNamer(args, 'inputK'); + const paramdefs = [['inputK', [types.XsInteger, PlanParam], true, false], ['vectorColumn', [PlanExprCol, PlanColumn, types.XsString], true, false], ['queryVector', [PlanParam, types.VecVector], true, false], ['distanceColumn', [PlanExprCol, PlanColumn, types.XsString], false, false], ['options', [PlanAnnTopKOptions], false, true]]; + const checkedArgs = (namer !== null) ? + bldrbase.makeNamedArgs(namer, 'PlanModifyPlan.annTopK', 3, new Set(['inputK', 'vectorColumn', 'queryVector', 'distanceColumn', 'options']), paramdefs, args) : + bldrbase.makePositionalArgs('PlanModifyPlan.annTopK', 3, false, paramdefs, args); + return new PlanModifyPlan(this, 'op', 'ann-top-k', checkedArgs); + } } /** @@ -8040,7 +8099,7 @@ class PlanAccessPlan extends PlanModifyPlan { * Identifies a column where the column name is unique and a qualifier on the column name isn't necessary (and might not exist). Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.col|op.col} * @method planBuilder.AccessPlan#col * @since 2.1.1 - * @param { XsString } [column] - The Optic AccessorPlan created by op:from-view, op:from-triples, or op:from-lexicons. + * @param { XsString } [column] - The name of the column. * @returns { planBuilder.PlanColumn } */ col(...args) { @@ -8167,8 +8226,8 @@ this.xs = (fieldOverrides.xs !== void 0) ? fieldOverrides.xs : new XsExpr(); * This function returns the sum of the specified numeric expressions. In expressions, the call should pass the result from an op:col function to identify a column. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.add|op.add} * @method planBuilder#add * @since 2.1.1 - * @param { XsAnyAtomicType } [left] - The left value expression. - * @param { XsAnyAtomicType } [right] - The right value expression. + * @param { XsAnyAtomicType } [left] - The left value expression. It can be a number, a column function such as op:col, op:view-col, or op:schema-col, or expressions. + * @param { XsAnyAtomicType } [right] - The right value expression. It can be a number, a column function such as op:col, op:view-col, or op:schema-col, or expressions. * @returns { XsNumeric } */ add(...args) { @@ -8205,8 +8264,8 @@ and(...args) { * This function divides the left numericExpression by the right numericExpression and returns the value. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.divide|op.divide} * @method planBuilder#divide * @since 2.1.1 - * @param { XsAnyAtomicType } [left] - The left numeric expression. - * @param { XsAnyAtomicType } [right] - The right numeric expression. + * @param { XsAnyAtomicType } [left] - The left numeric expression. It can be a number, a column function such as op:col, op:view-col, or op:schema-col, or expressions. + * @param { XsAnyAtomicType } [right] - The right numeric expression. It can be a number, a column function such as op:col, op:view-col, or op:schema-col, or expressions. * @returns { XsNumeric } */ divide(...args) { @@ -8224,8 +8283,8 @@ divide(...args) { * This function takes two or more expressions and returns true if all of the expressions return the same value. Otherwise, it returns false. The expressions can include calls to the op:col function to get the value of a column. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.eq|op.eq} * @method planBuilder#eq * @since 2.1.1 - * @param { XsAnyAtomicType } [left] - The left value expression. - * @param { XsAnyAtomicType } [right] - The right value expression. + * @param { XsAnyAtomicType } [left] - The left value expression. It can be a number, a column function such as op:col, op:view-col, or op:schema-col, or an expression. + * @param { XsAnyAtomicType } [right] - The right value expression. It can be a number, a column function such as op:col, op:view-col, or op:schema-col, or an expression. * @returns { XsBoolean } */ eq(...args) { @@ -8243,8 +8302,8 @@ eq(...args) { * This function returns true if the value of the left expression is greater than or equal to the value of the right expression. Otherwise, it returns false. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.ge|op.ge} * @method planBuilder#ge * @since 2.1.1 - * @param { XsAnyAtomicType } [left] - The left value expression. - * @param { XsAnyAtomicType } [right] - The right value expression. + * @param { XsAnyAtomicType } [left] - The left value expression. It can be a number, a column function such as op:col, op:view-col, or op:schema-col, or an expression. + * @param { XsAnyAtomicType } [right] - The right value expression. It can be a number, a column function such as op:col, op:view-col, or op:schema-col, or an expression. * @returns { XsBoolean } */ ge(...args) { @@ -8262,8 +8321,8 @@ ge(...args) { * This function returns true if the value of the left expression is greater than the value of the right expression. Otherwise, it returns false. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.gt|op.gt} * @method planBuilder#gt * @since 2.1.1 - * @param { XsAnyAtomicType } [left] - The left value expression. - * @param { XsAnyAtomicType } [right] - The right value expression. + * @param { XsAnyAtomicType } [left] - The left value expression. It can be a number, a column function such as op:col, op:view-col, or op:schema-col, or an expression. + * @param { XsAnyAtomicType } [right] - The right value expression. It can be a number, a column function such as op:col, op:view-col, or op:schema-col, or an expression. * @returns { XsBoolean } */ gt(...args) { @@ -8278,10 +8337,10 @@ gt(...args) { return new types.XsBoolean('op', 'gt', args); } /** - * This function returns true if a test expression evaluates to the same value as any of a list of candidate expressions. Otherwise, it returns false. The expressions can include calls to the op:col function to get the value of a column. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.in|op.in} + * This function returns true if a test expression evaluates to the same value as any of a list of candidate expressions. Otherwise, it returns false. The expressions can include calls to the column parameter function such as op:col function to get the value of a column. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.in|op.in} * @method planBuilder#in * @since 2.1.1 - * @param { XsAnyAtomicType } [value] - The expression providing the value to test. + * @param { XsAnyAtomicType } [value] - The expression providing the value to test. It can be a number, a column function such as op:col, op:view-col, or op:schema-col, which contains numbers or an expression that outputs a number. * @param { XsAnyAtomicType } [anyOf] - One or more expressions providing the candidate values. * @returns { XsBoolean } */ @@ -8297,7 +8356,7 @@ in(...args) { return new types.XsBoolean('op', 'in', args); } /** - * This function tests whether the value of an expression is null in the row where the expression might be as simple as a column identified by op:col. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.isDefined|op.isDefined} + * This function tests whether the value of an expression is null in the row where the expression might be as simple as a column identified by column parameter function , such as op:col. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.isDefined|op.isDefined} * @method planBuilder#isDefined * @since 2.1.1 * @param { Item } [operand] - A boolean expression, such as op:eq or op:not, that might be null. @@ -8312,8 +8371,8 @@ isDefined(...args) { * This function returns true if the value of the left expression is less than or equal to the value of the right expression. Otherwise, it returns false. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.le|op.le} * @method planBuilder#le * @since 2.1.1 - * @param { XsAnyAtomicType } [left] - The left value expression. - * @param { XsAnyAtomicType } [right] - The right value expression. + * @param { XsAnyAtomicType } [left] - The left value expression. It can be a number, a column function such as op:col, op:view-col, or op:schema-col, or an expression. + * @param { XsAnyAtomicType } [right] - The right value expression. It can be a number, a column function such as op:col, op:view-col, or op:schema-col, or an expression. * @returns { XsBoolean } */ le(...args) { @@ -8331,8 +8390,8 @@ le(...args) { * This function returns true if the value of the left expression is less than the value of the right expression. Otherwise, it returns false. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.lt|op.lt} * @method planBuilder#lt * @since 2.1.1 - * @param { XsAnyAtomicType } [left] - The left value expression. - * @param { XsAnyAtomicType } [right] - The right value expression. + * @param { XsAnyAtomicType } [left] - The left value expression. It can be a number, a column function such as op:col, op:view-col, or op:schema-col, or an expression. + * @param { XsAnyAtomicType } [right] - The right value expression. It can be a number, a column function such as op:col, op:view-col, or op:schema-col, or an expression. * @returns { XsBoolean } */ lt(...args) { @@ -8350,8 +8409,8 @@ lt(...args) { * This function multiplies the left numericExpression by the right numericExpression and returns the value. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.multiply|op.multiply} * @method planBuilder#multiply * @since 2.1.1 - * @param { XsAnyAtomicType } [left] - The left numeric expression. - * @param { XsAnyAtomicType } [right] - The right numeric expression. + * @param { XsAnyAtomicType } [left] - The left numeric expression. It can be a number, a column function such as op:col, op:view-col, or op:schema-col, or expressions. + * @param { XsAnyAtomicType } [right] - The right numeric expression. It can be a number, a column function such as op:col, op:view-col, or op:schema-col, or expressions. * @returns { XsNumeric } */ multiply(...args) { @@ -8369,8 +8428,8 @@ multiply(...args) { * This function returns true if the value of the left expression is not equal to the value of the right expression. Otherwise, it returns false. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.ne|op.ne} * @method planBuilder#ne * @since 2.1.1 - * @param { XsAnyAtomicType } [left] - The left value expression. - * @param { XsAnyAtomicType } [right] - The right value expression. + * @param { XsAnyAtomicType } [left] - The left value expression. It can be a number, a column function such as op:col, op:view-col, or op:schema-col, or expressions. + * @param { XsAnyAtomicType } [right] - The right value expression. It can be a number, a column function such as op:col, op:view-col, or op:schema-col, or expressions. * @returns { XsBoolean } */ ne(...args) { @@ -8397,10 +8456,10 @@ not(...args) { return new types.XsBoolean('op', 'not', args); } /** - * This function returns true if the specified expressions all return true. Otherwise, it returns false. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.or|op.or} + * This function returns true if any of the specified boolean expressions return true. Otherwise, it returns false. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.or|op.or} * @method planBuilder#or * @since 2.1.1 - * @param { XsAnyAtomicType } [left] - The left value expression. + * @param { XsAnyAtomicType } [left] - The left value expression. See Boolean Expression Functions for the list of functions used to build boolean expressions. * @param { XsAnyAtomicType } [right] - The right value expression. * @returns { XsBoolean } */ @@ -8419,8 +8478,8 @@ or(...args) { * This function subtracts the right numericExpression from the left numericExpression and returns the value. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.subtract|op.subtract} * @method planBuilder#subtract * @since 2.1.1 - * @param { XsAnyAtomicType } [left] - The left numeric expression. - * @param { XsAnyAtomicType } [right] - The right numeric expression. + * @param { XsAnyAtomicType } [left] - The left numeric expression. It can be a number, a column function such as op:col, op:view-col, or op:schema-col, or an expression. + * @param { XsAnyAtomicType } [right] - The right numeric expression. It can be a number, a column function such as op:col, op:view-col, or op:schema-col, or an expression. * @returns { XsNumeric } */ subtract(...args) { @@ -8466,7 +8525,7 @@ param(...args) { * Identifies a column where the column name is unique and a qualifier on the column name isn't necessary (and might not exist). Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.col|op.col} * @method planBuilder#col * @since 2.1.1 - * @param { XsString } [column] - The Optic AccessorPlan created by op:from-view, op:from-triples, or op:from-lexicons. + * @param { XsString } [column] - The name of the column. * @returns { planBuilder.PlanColumn } */ col(...args) { @@ -8604,9 +8663,9 @@ fromTriples(...args) { * This function builds the parameters for the op:from-triples function. The result is passed to op:from-triples to project rows from the graph of triples. The columns in a pattern become the columns of the row. The literals in a pattern are used to match triples. You should specify at least one literal in each pattern, usually the predicate. Where a column appears in more than one pattern, the matched triples are joined to form the row. You can specify optional triples with a op:join-left-outer with a separate op:from-triples. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.pattern|op.pattern} * @method planBuilder#pattern * @since 2.1.1 - * @param { PlanTriplePosition } [subjects] - One column or one or more literal values, such as the literal returned by a sem:iri call. - * @param { PlanTriplePosition } [predicates] - One column or one or more literal values, such as the literal returned by a sem.iri call. - * @param { PlanTriplePosition } [objects] - One column or one or more literal values, such as the literal returned by a sem:iri call. + * @param { PlanTriplePosition } [subjects] - One column or one or more literal values, such as the literal returned by a sem:iri call. The column can be named with a column function such as op:col, op:view-col, or op:schema-col. + * @param { PlanTriplePosition } [predicates] - One column or one or more literal values, such as the literal returned by a sem.iri call. The column can be named with a column function such as op:col, op:view-col, or op:schema-col. + * @param { PlanTriplePosition } [objects] - One column or one or more literal values, such as the literal returned by a sem:iri call. The column can be named with a column function such as op:col, op:view-col, or op:schema-col. * @param { PlanSystemColumn } [sysCols] - Specifies the result of an op:fragment-id-col or op:graph-col function to add columns for the fragment id or graph iri. * @returns { planBuilder.PlanTriplePattern } */ @@ -8695,7 +8754,7 @@ fromSQL(...args) { * @since 2.1.1 * @param { PlanSearchQuery } [query] - Qualifies and establishes the scores for a set of documents. The query can be a cts:query or a string as a shortcut for a cts:word-query. * @param { XsString } [qualifierName] - Specifies a name for qualifying the column names. - * @param { PlanSearchOption } [option] - Similar to the options of cts:search, supplies the 'scoreMethod' key with a value of 'logtfidf', 'logtf', 'simple', or 'bm25' to specify the method for assigning a score to matched documents or supplies the 'qualityWeight' key with a numeric value to specify a multiplier for the quality contribution to the score. Specify a value between 0 (exclusive) and 1 (inclusive) for bm25LengthWeight if 'bm25' scoring method is used. + * @param { PlanSearchOption } [option] - Similar to the options of cts:search, supplies the 'scoreMethod' key with a value of 'logtfidf', 'logtf', 'simple', 'zero', 'random', or 'bm25' to specify the method for assigning a score to matched documents or supplies the 'qualityWeight' key with a numeric value to specify a multiplier for the quality contribution to the score. 'logtfidf' is the default score method and the results are ordered by score by default. Specify a value between 0 (exclusive) and 1 (inclusive) for bm25LengthWeight if 'bm25' scoring method is used. * @returns { planBuilder.AccessPlan } */ fromSearchDocs(...args) { @@ -8714,7 +8773,7 @@ fromSearchDocs(...args) { * @param { PlanSearchQuery } [query] - Qualifies and establishes the scores for a set of documents. The query can be a cts:query or a string as a shortcut for a cts:word-query. The fragments are not filtered to ensure they match the query, but instead selected in the same manner as "unfiltered" cts:search operations. * @param { PlanExprColName } [columns] - Specifies which of the available columns to include in the rows. The available columns include the metrics for relevance ('confidence', 'fitness', 'quality', and 'score') and fragmentId for the document identifier. By default, the rows have the fragmentId and score columns. To rename a column, use op:as specifying the new name for an op:col with the old name. * @param { XsString } [qualifierName] - Specifies a name for qualifying the column names. - * @param { PlanSearchOption } [option] - Similar to the options of cts:search, supplies the 'scoreMethod' key with a value of 'logtfidf', 'logtf', 'simple' or 'bm25' to specify the method for assigning a score to matched documents or supplies the 'qualityWeight' key with a numeric value to specify a multiplier for the quality contribution to the score. Specify a value between 0 (exclusive) and 1 (inclusive) for bm25LengthWeight if 'bm25' scoring method is used. + * @param { PlanSearchOption } [option] - Similar to the options of cts:search, supplies the 'scoreMethod' key with a value of 'logtfidf', 'logtf', 'simple', 'zero', 'random', or 'bm25' to specify the method for assigning a score to matched documents or supplies the 'qualityWeight' key with a numeric value to specify a multiplier for the quality contribution to the score. Specify a value between 0 (exclusive) and 1 (inclusive) for bm25LengthWeight if 'bm25' scoring method is used. * @returns { planBuilder.AccessPlan } */ fromSearch(...args) { @@ -8794,8 +8853,8 @@ sqlCondition(...args) { * Specifies an equijoin using one columndef each from the left and right rows. The result is used by the op:join-inner, op:join-left-outer, and op:join-full-outer, and functions. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.on|op.on} * @method planBuilder#on * @since 2.1.1 - * @param { PlanExprColName } [left] - The rows from the left view. - * @param { PlanExprColName } [right] - The row set from the right view. + * @param { PlanExprColName } [left] - The rows from the left view. The column can be named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with the op:as function. + * @param { PlanExprColName } [right] - The row set from the right view. The column can be named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with the op:as function. * @returns { planBuilder.PlanJoinKey } */ on(...args) { @@ -8811,7 +8870,7 @@ on(...args) { * This function specifies the grouping keys for a group as a list of zero or more columns. The result is used for building the first parameter for the op:group-by-union function. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.group|op.group} * @method planBuilder#group * @since 2.1.1 - * @param { PlanExprColName } [keys] - The columns (if any) to use as grouping keys. The columns can be named with a string or a column parameter function such as op:col or constructed from an expression with op:as. + * @param { PlanExprColName } [keys] - The columns (if any) to use as grouping keys. The columns can be named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with op:as. * @returns { planBuilder.PlanGroup } */ group(...args) { @@ -8823,7 +8882,7 @@ group(...args) { * This function specifies a list of grouping keys for a group and returns that group and larger groups (including all rows) formed by dropping columns from right to left. The result is used for building the first parameter for the op:group-by-union or op:group-to-arrays functions. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.rollup|op.rollup} * @method planBuilder#rollup * @since 2.1.1 - * @param { PlanExprColName } [keys] - The columns to use as grouping keys. The columns can be named with a string or a column parameter function such as op:col or constructed from an expression with op:as. + * @param { PlanExprColName } [keys] - The columns to use as grouping keys. The columns can be named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with op:as. * @returns { planBuilder.PlanGroup } */ rollup(...args) { @@ -8835,7 +8894,7 @@ rollup(...args) { * This function specifies a list of grouping keys for a group and returns that group and every possible larger group (including all rows) formed from any subset of keys. The result is used for building the first parameter for the op:group-by-union or op:group-to-arrays functions. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.cube|op.cube} * @method planBuilder#cube * @since 2.1.1 - * @param { PlanExprColName } [keys] - The columns to use as grouping keys. The columns can be named with a string or a column parameter function such as op:col or constructed from an expression with op:as. + * @param { PlanExprColName } [keys] - The columns to use as grouping keys. The columns can be named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with op:as. * @returns { planBuilder.PlanGroup } */ cube(...args) { @@ -8848,7 +8907,7 @@ cube(...args) { * @method planBuilder#namedGroup * @since 2.1.1 * @param { XsString } [name] - The name for the list of grouping keys. - * @param { PlanExprColName } [keys] - The columns (if any) to use as grouping keys. The columns can be named with a string or a column parameter function such as op:col or constructed from an expression with op:as. + * @param { PlanExprColName } [keys] - The columns (if any) to use as grouping keys. The columns can be named with a string or a a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with op:as. * @returns { planBuilder.PlanNamedGroup } */ namedGroup(...args) { @@ -8865,7 +8924,7 @@ namedGroup(...args) { * @method planBuilder#bucketGroup * @since 2.1.1 * @param { XsString } [name] - The name of both the group and the new grouping key column with numbered buckets. - * @param { PlanExprColName } [key] - The identifier for the existing column with the values (typically numeric or datetime) to put into buckets. The columns can be named with a string or a column parameter function such as op:col or constructed from an expression with op:as. + * @param { PlanExprColName } [key] - The identifier for the existing column with the values (typically numeric or datetime) to put into buckets. The columns can be named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with op:as. * @param { XsAnyAtomicType } [boundaries] - An ordered XQuery sequence of values that specify the boundaries between buckets. The values must have the same type as the existing column. * @param { XsString } [collation] - The collation to use when comparing strings as described in 'Collation URI Syntax' in the Application Developer's Guide * @returns { planBuilder.PlanNamedGroup } @@ -8884,8 +8943,8 @@ bucketGroup(...args) { * @method planBuilder#avg * @since 2.1.1 * @param { PlanColumnName } [name] - The name to be used for the aggregated column. - * @param { PlanExprColName } [column] - The column to be aggregated. - * @param { PlanValueOption } [option] - The options can take a values key with a distinct value to average the distinct values of the column. + * @param { PlanExprColName } [column] - The column to be aggregated. The column can be named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with the op:as function. + * @param { PlanValueOption } [option] - The options can take a values key with a 'distinct' value to average the distinct values of the column. * @returns { planBuilder.PlanAggregateCol } */ avg(...args) { @@ -8902,8 +8961,8 @@ avg(...args) { * @method planBuilder#arrayAggregate * @since 2.1.1 * @param { PlanColumnName } [name] - The name to be used for the aggregated column. - * @param { PlanExprColName } [column] - The columns to be aggregated. - * @param { PlanValueOption } [option] - The options can take a values key with a distinct value to average the distinct values of the column. + * @param { PlanExprColName } [column] - The columns to be aggregated. The column can be named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with the op:as function. + * @param { PlanValueOption } [option] - The options can take a values key with a 'distinct' value to aggregate the distinct values of the column. * @returns { planBuilder.PlanAggregateCol } */ arrayAggregate(...args) { @@ -8920,7 +8979,7 @@ arrayAggregate(...args) { * @method planBuilder#count * @since 2.1.1 * @param { PlanColumnName } [name] - The name to be used for the column values. - * @param { PlanExprColName } [column] - The columns to be counted. + * @param { PlanExprColName } [column] - The columns to be counted. The column can be named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with the op:as function. * @param { PlanValueOption } [option] - The options can take a values key with a 'distinct' value to count the distinct values of the column. * @returns { planBuilder.PlanAggregateCol } */ @@ -8938,8 +8997,8 @@ count(...args) { * @method planBuilder#groupConcat * @since 2.1.1 * @param { PlanColumnName } [name] - The name to be used for column with the concatenated values. - * @param { PlanExprColName } [column] - The name of the column with the values to be concatenated for the group. - * @param { PlanGroupConcatString } [options] - The options can take a values key with a distinct value to average the distinct values of the column. In addition to the values key, the options can take a separator key specifying a separator character. The value can be a string or placeholder parameter. + * @param { PlanExprColName } [column] - The name of the column with the values to be concatenated for the group. The column can be named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with the op:as function. + * @param { PlanGroupConcatString } [options] - The options can take a values key with a 'distinct' value to concat the distinct values of the column. In addition to the values key, the options can take a separator key specifying a separator character. The value can be a string or placeholder parameter. * @returns { planBuilder.PlanAggregateCol } */ groupConcat(...args) { @@ -8973,7 +9032,7 @@ groupKey(...args) { * @method planBuilder#hasGroupKey * @since 2.1.1 * @param { PlanColumnName } [name] - The name to be used for the aggregated flag column. - * @param { PlanExprColName } [column] - The column to flag as a grouping key. The column can be named with a string or a column parameter function such as op:col or constructed from an expression with op:as. + * @param { PlanExprColName } [column] - The column to flag as a grouping key. The column can be named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with op:as. * @returns { planBuilder.PlanAggregateCol } */ hasGroupKey(...args) { @@ -8990,7 +9049,7 @@ hasGroupKey(...args) { * @method planBuilder#max * @since 2.1.1 * @param { PlanColumnName } [name] - The name to be used for the largest value. - * @param { PlanExprColName } [column] - The group or row set. + * @param { PlanExprColName } [column] - The column to be aggregated. The column can be named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with the op:as function. * @param { PlanValueOption } [option] - The options can take a values key with a distinct value to average the distinct values of the column. * @returns { planBuilder.PlanAggregateCol } */ @@ -9008,7 +9067,7 @@ max(...args) { * @method planBuilder#min * @since 2.1.1 * @param { PlanColumnName } [name] - The name to be used for the smallest value. - * @param { PlanExprColName } [column] - The group or row set. + * @param { PlanExprColName } [column] - The column to be aggregated. The column can be named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with the op:as function. * @param { PlanValueOption } [option] - The options can take a values key with a distinct value to average the distinct values of the column. * @returns { planBuilder.PlanAggregateCol } */ @@ -9026,7 +9085,7 @@ min(...args) { * @method planBuilder#sample * @since 2.1.1 * @param { PlanColumnName } [name] - The name to be used for the value. - * @param { PlanExprColName } [column] - The group or row set. + * @param { PlanExprColName } [column] - The column to be aggregated. The column can be named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with the op:as function. * @returns { planBuilder.PlanAggregateCol } */ sample(...args) { @@ -9043,8 +9102,8 @@ sample(...args) { * @method planBuilder#sequenceAggregate * @since 2.1.1 * @param { PlanColumnName } [name] - The name to be used for the aggregated column. - * @param { PlanExprColName } [column] - The column with the values to aggregate. - * @param { PlanValueOption } [option] - The options can take a values key with a distinct value to average the distinct values of the column. + * @param { PlanExprColName } [column] - The column to be aggregated. The column can be named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with the op:as function. + * @param { PlanValueOption } [option] - The options can take a values key with a 'distinct' value to aggregate the distinct values of the column. * @returns { planBuilder.PlanAggregateCol } */ sequenceAggregate(...args) { @@ -9061,8 +9120,8 @@ sequenceAggregate(...args) { * @method planBuilder#sum * @since 2.1.1 * @param { PlanColumnName } [name] - The name to be used for the aggregated column. - * @param { PlanExprColName } [column] - The column with the values to add. - * @param { PlanValueOption } [option] - The options can take a values key with a distinct value to average the distinct values of the column. + * @param { PlanExprColName } [column] - The column with the values to add. The column can be named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with the op:as function. + * @param { PlanValueOption } [option] - The options can take a values key with a 'distinct' value to sum the distinct values of the column. * @returns { planBuilder.PlanAggregateCol } */ sum(...args) { @@ -9079,10 +9138,10 @@ sum(...args) { * @method planBuilder#uda * @since 2.1.1 * @param { PlanColumnName } [name] - The name to be used for the aggregated column. - * @param { PlanExprColName } [column] - The column with the values to aggregate. + * @param { PlanExprColName } [column] - The column to be aggregated. The column can be named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with the op:as function. * @param { XsString } [module] - The path to the installed plugin module. * @param { XsString } [function] - The name of the UDF function. - * @param { XsAnyAtomicType } [arg] - The options can take a values key with a distinct value to average the distinct values of the column and an arg key specifying an argument for the user-defined aggregate. The value can be a string or placeholder parameter. + * @param { XsAnyAtomicType } [arg] - The options can take a values key with a 'distinct' value to aggregate the distinct values of the column and an arg key specifying an argument for the user-defined aggregate. The value can be a string or placeholder parameter. * @returns { planBuilder.PlanAggregateCol } */ uda(...args) { @@ -9098,7 +9157,7 @@ uda(...args) { * This function sorts the rows by the values of the specified column in ascending order. The results are used by the op:order-by function. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.asc|op.asc} * @method planBuilder#asc * @since 2.1.1 - * @param { PlanExprColName } [column] - The column by which order the output. + * @param { PlanExprColName } [column] - The column to order the output. The column can be named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with the op:as function. * @returns { planBuilder.PlanSortKey } */ asc(...args) { @@ -9110,7 +9169,7 @@ asc(...args) { * This function sorts the rows by the values of the specified column in descending order. The results are used by the op:order-by function. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.desc|op.desc} * @method planBuilder#desc * @since 2.1.1 - * @param { PlanExprColName } [column] - The column by which order the output. + * @param { PlanExprColName } [column] - The column to order the output. The column can be named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with the op:as function. * @returns { planBuilder.PlanSortKey } */ desc(...args) { @@ -9173,7 +9232,7 @@ when(...args) { * This function extracts a sequence of child nodes from a column with node values -- especially, the document nodes from a document join. The path is an XPath (specified as a string) to apply to each node to generate a sequence of nodes as an expression value. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.xpath|op.xpath} * @method planBuilder#xpath * @since 2.1.1 - * @param { PlanColumnName } [column] - The name of the column from which to extract the child nodes. + * @param { PlanColumnName } [column] - The name of the column from which to extract the child nodes. The column can be named with a string or a column function such as op:col, op:view-col, or op:schema-col, or constructed from an expression with the op:as function. * @param { XsString } [path] - An XPath (specified as a string) to apply to each node. * @param { PlanNamespaceBindings } [namespaceBindings] - A map of namespace bindings. The keys should be namespace prefixes and the values should be namespace URIs. These namespace bindings will be added to the in-scope namespace bindings in the evaluation of the path. * @returns { Node } diff --git a/lib/plan-builder.js b/lib/plan-builder.js index 9208a45c..f01ec406 100644 --- a/lib/plan-builder.js +++ b/lib/plan-builder.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const types = require('./server-types-generated.js'); diff --git a/lib/proxy-generator.js b/lib/proxy-generator.js index 79397313..7587fed2 100644 --- a/lib/proxy-generator.js +++ b/lib/proxy-generator.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const fs = require('fs'); diff --git a/lib/query-builder.js b/lib/query-builder.js index 44f85e97..8f9ca158 100644 --- a/lib/query-builder.js +++ b/lib/query-builder.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; var util = require("util"); var deepcopy = require('deepcopy'); diff --git a/lib/requester.js b/lib/requester.js index 17fa8fe9..1a5668a0 100644 --- a/lib/requester.js +++ b/lib/requester.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; var createAuthInitializer = require('www-authenticate'); var Kerberos = require('./optional.js') diff --git a/lib/resources-config.js b/lib/resources-config.js index 78c914d1..a3e964d5 100644 --- a/lib/resources-config.js +++ b/lib/resources-config.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; var requester = require('./requester.js'); var mlutil = require('./mlutil.js'); diff --git a/lib/resources-exec.js b/lib/resources-exec.js index 4ffd7b35..72c32709 100644 --- a/lib/resources-exec.js +++ b/lib/resources-exec.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; var requester = require('./requester.js'); var mlutil = require('./mlutil.js'); @@ -54,22 +42,24 @@ function makeRequestOptions(client, args) { var value = null; var j=0; for (; i < keyLen; i++) { - key = keys[i]; - value = params[key]; - if (Array.isArray(value)) { - prefix = sep+encodeURIComponent('rs:'+key)+'='; - for (j=0; j < value.length; j++) { - path += prefix+encodeURIComponent(value[j]); - if (i === 0 && j === 0) { + key = keys?keys[i]:null; + if(params){ + value = params[key]; + if (Array.isArray(value)) { + prefix = sep+encodeURIComponent('rs:'+key)+'='; + for (j=0; j < value.length; j++) { + path += prefix+encodeURIComponent(value[j]); + if (i === 0 && j === 0) { + sep ='&'; + prefix = sep+encodeURIComponent('rs:'+key)+'='; + } + } + } else { + path += sep+'rs:'+key+'='+encodeURIComponent(value); + if (i === 0) { sep ='&'; - prefix = sep+encodeURIComponent('rs:'+key)+'='; } } - } else { - path += sep+'rs:'+key+'='+encodeURIComponent(value); - if (i === 0) { - sep ='&'; - } } } @@ -243,7 +233,7 @@ function writeResources(self, method, responseType, args) { } operation.requestPartList = []; - if (typeof documents !== 'undefined') { + if (typeof documents !== 'undefined' && documents !== null) { for (var i=0; i < documents.length; i++) { addPart(operation, documents[i]); } diff --git a/lib/responder.js b/lib/responder.js index 30bfa56c..1adc0cce 100644 --- a/lib/responder.js +++ b/lib/responder.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; var concatStream = require('concat-stream'); var jsonParser = require('json-text-sequence').parser; @@ -55,7 +43,7 @@ function responseDispatcher(response) { } var responseType = response.headers['content-type']; - var responseTypeLen = (responseType === undefined) ? 0 : responseType.length; + var responseTypeLen = (!responseType) ? 0 : responseType.length; var responseBoundary = null; if (15 <= responseTypeLen && responseType.substr(0, 15) === 'multipart/mixed') { responseBoundary = responseType.replace( @@ -102,9 +90,9 @@ function responseDispatcher(response) { } dispatcher = new MultipartDispatcher(operation); - } else if (20 <= responseTypeLen && responseType.substr(0, 20) === 'application/json-seq') { + } else if (20 <= responseTypeLen && responseType && responseType.substr(0, 20) === 'application/json-seq') { dispatcher = new JSONSeqDispatcher(operation); - } else if (8 <= responseTypeLen && responseType.substr(0, 8) === 'text/csv') { + } else if (8 <= responseTypeLen && responseType && responseType.substr(0, 8) === 'text/csv') { dispatcher = new CSVDispatcher(operation); } else { if (expectedType === 'multipart') { @@ -1121,6 +1109,14 @@ function resolvedPromise(operation, resolve) { var data = operation.data; var hasData = (data != null); var dataLen = hasData ? data.length : null; + if(hasData && dataLen) { + for(let i=0; i { + const dimensions = vector.length; + const buffer = Buffer.alloc(8 + 4 * dimensions); + + buffer.writeInt32LE(0, 0); + buffer.writeInt32LE(dimensions, 4); + + vector.forEach((value, i) => { + buffer.writeFloatLE(value, 8 + i * 4); + }); + + return buffer.toString('base64'); +}; + +const base64Decode = (encodedVector) => { + + const buffer = Buffer.from(encodedVector, 'base64'); + const version = buffer.readInt32LE(0); + + if (version !== 0) { + throw new Error(`Unsupported vector version: ${version}`); + } + + const dimensions = buffer.readInt32LE(4); + const vector = []; + + for (let i = 0; i < dimensions; i++) { + vector.push(buffer.readFloatLE(8 + i * 4)); + } + + return vector; +}; + +module.exports = { + base64Encode : base64Encode, + base64Decode: base64Decode +}; \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 2f1cfe9c..bfa4c179 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "marklogic", - "version": "3.5.0", + "version": "3.7.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "marklogic", - "version": "3.5.0", + "version": "3.7.0", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { @@ -16,7 +16,7 @@ "deepcopy": "^2.1.0", "duplexify": "^4.1.2", "eslint": "^8.57.0", - "form-data": "^4.0.0", + "form-data": "^4.0.4", "json-text-sequence": "^1.0.1", "multipart-stream": "^2.0.1", "qs": "^6.11.0", @@ -54,11 +54,32 @@ "vinyl": "^3.0.0" } }, + "node_modules/@babel/helper-string-parser": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz", + "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz", + "integrity": "sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/@babel/parser": { - "version": "7.24.8", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.8.tgz", - "integrity": "sha512-WzfbgXOkGzZiXXCqk43kKwZjzwx4oulxZi3nq2TYL9mOjQv6kYwul9mz6ID36njuL7Xkp6nJEfok848Zj10j/w==", + "version": "7.28.0", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.0.tgz", + "integrity": "sha512-jVZGvOxOuNSsuQuLRTh13nU0AogFlw32w/MT+LV6D3sP5WdbW61E77RnkbaO2dUvmPAYrBDJXGn5gGS6tH4j8g==", "dev": true, + "dependencies": { + "@babel/types": "^7.28.0" + }, "bin": { "parser": "bin/babel-parser.js" }, @@ -66,6 +87,19 @@ "node": ">=6.0.0" } }, + "node_modules/@babel/types": { + "version": "7.28.2", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.2.tgz", + "integrity": "sha512-ruv7Ae4J5dUYULmeXw1gmb7rYRz57OWCPM57pHojnLq/3Z1CK2lNSLTCVjxVk1F/TZHwOZZrOWi0ur95BbLxNQ==", + "dev": true, + "dependencies": { + "@babel/helper-string-parser": "^7.27.1", + "@babel/helper-validator-identifier": "^7.27.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/@colors/colors": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz", @@ -87,23 +121,26 @@ } }, "node_modules/@eslint-community/eslint-utils": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", - "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz", + "integrity": "sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==", "dependencies": { - "eslint-visitor-keys": "^3.3.0" + "eslint-visitor-keys": "^3.4.3" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, + "funding": { + "url": "https://opencollective.com/eslint" + }, "peerDependencies": { "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" } }, "node_modules/@eslint-community/regexpp": { - "version": "4.11.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.0.tgz", - "integrity": "sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==", + "version": "4.12.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz", + "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==", "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" } @@ -151,9 +188,9 @@ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" }, "node_modules/@eslint/js": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", - "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", + "version": "8.57.1", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.1.tgz", + "integrity": "sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } @@ -191,12 +228,12 @@ } }, "node_modules/@humanwhocodes/config-array": { - "version": "0.11.14", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", - "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz", + "integrity": "sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==", "deprecated": "Use @eslint/config-array instead", "dependencies": { - "@humanwhocodes/object-schema": "^2.0.2", + "@humanwhocodes/object-schema": "^2.0.3", "debug": "^4.3.1", "minimatch": "^3.0.5" }, @@ -222,6 +259,68 @@ "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", "deprecated": "Use @eslint/object-schema instead" }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" + }, + "node_modules/@isaacs/cliui/node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@isaacs/cliui/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, "node_modules/@jsdoc/salty": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/@jsdoc/salty/-/salty-0.2.3.tgz", @@ -266,6 +365,15 @@ "node": ">= 8" } }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "optional": true, + "engines": { + "node": ">=14" + } + }, "node_modules/@sovpro/delimited-stream": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@sovpro/delimited-stream/-/delimited-stream-1.1.0.tgz", @@ -309,14 +417,14 @@ "dev": true }, "node_modules/@ungap/structured-clone": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", - "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==" + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.0.tgz", + "integrity": "sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==" }, "node_modules/acorn": { - "version": "8.12.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", - "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", + "version": "8.15.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", + "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", "bin": { "acorn": "bin/acorn" }, @@ -537,18 +645,18 @@ } }, "node_modules/astring": { - "version": "1.8.6", - "resolved": "https://registry.npmjs.org/astring/-/astring-1.8.6.tgz", - "integrity": "sha512-ISvCdHdlTDlH5IpxQJIex7BWBywFWgjJSVdwst+/iQCoEYnyOaQ95+X1JGshuBjGp6nxKUy1jMgE3zPqN7fQdg==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/astring/-/astring-1.9.0.tgz", + "integrity": "sha512-LElXdjswlqjWrPpJFg1Fx4wpkOCxj1TDHlSV4PlaRxHGWko024xICaa97ZkMfs6DRKlCguiAI+rbXv5GWwXIkg==", "dev": true, "bin": { "astring": "bin/astring" } }, "node_modules/async": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz", - "integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==", + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", + "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", "dev": true }, "node_modules/async-done": { @@ -583,9 +691,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/b4a": { - "version": "1.6.6", - "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.6.tgz", - "integrity": "sha512-5Tk1HLk6b6ctmjIkAcU/Ujv/1WqiDl0F0JdRCR80VsOcUlHcu7pWeWRlOqQLHfDEsVx9YH/aif5AG4ehoCtTmg==", + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.7.tgz", + "integrity": "sha512-OnAYlL5b7LEkALw87fUVafQw5rVR9RjwGd4KUwNQ6DrrNmaVaUCgLipfVlzrPQ4tWOR9P0IXGNOx50jYCCdSJg==", "devOptional": true }, "node_modules/bach": { @@ -608,9 +716,9 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" }, "node_modules/bare-events": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.4.2.tgz", - "integrity": "sha512-qMKFd2qG/36aA4GwvKq8MxnPgCQAmBWmSyLWsJcbn8v03wvIPQ/hG1Ms8bPzndZxMDoHpxez5VOS+gC9Yi24/Q==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.6.0.tgz", + "integrity": "sha512-EKZ5BTXYExaNqi3I3f9RtEsaI/xBSGjE0XZCZilPzFAV/goswFHuPd9jEZlPIZ/iNZJwDSao9qRiScySz7MbQg==", "optional": true }, "node_modules/base64-js": { @@ -665,15 +773,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/bindings": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", - "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", - "optional": true, - "dependencies": { - "file-uri-to-path": "1.0.0" - } - }, "node_modules/bl": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", @@ -692,9 +791,9 @@ "dev": true }, "node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", "dependencies": { "balanced-match": "^1.0.0" } @@ -764,16 +863,25 @@ "safe-json-stringify": "~1" } }, - "node_modules/call-bind": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", - "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "node_modules/call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", "dependencies": { - "es-define-property": "^1.0.0", "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "set-function-length": "^1.2.1" + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/call-bound": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz", + "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "get-intrinsic": "^1.3.0" }, "engines": { "node": ">= 0.4" @@ -815,9 +923,9 @@ } }, "node_modules/chai": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.4.1.tgz", - "integrity": "sha512-13sOfMv2+DWduEU+/xbun3LScLoqN17nBeTLUsmDfKdoiC1fr0n9PU4guu4AhRcOVFk/sW8LyZWHuhWtQZiF+g==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.5.0.tgz", + "integrity": "sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==", "dev": true, "dependencies": { "assertion-error": "^1.1.0", @@ -826,7 +934,7 @@ "get-func-name": "^2.0.2", "loupe": "^2.3.6", "pathval": "^1.1.1", - "type-detect": "^4.0.8" + "type-detect": "^4.1.0" }, "engines": { "node": ">=4" @@ -922,6 +1030,23 @@ "wrap-ansi": "^7.0.0" } }, + "node_modules/cliui/node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, "node_modules/clone": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz", @@ -931,12 +1056,6 @@ "node": ">=0.8" } }, - "node_modules/clone-stats": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/clone-stats/-/clone-stats-1.0.0.tgz", - "integrity": "sha512-au6ydSpg6nsrigcZ4m8Bc9hxjeW+GJ8xh5G3BJCMt4WXe1H10UNaVOamqQTmrx1kjVuxAHIQSNU6hY4Nsn9/ag==", - "devOptional": true - }, "node_modules/color": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", @@ -1104,11 +1223,11 @@ "dev": true }, "node_modules/debug": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz", - "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", + "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==", "dependencies": { - "ms": "2.1.2" + "ms": "^2.1.3" }, "engines": { "node": ">=6.0" @@ -1189,22 +1308,6 @@ "node": ">=0.10.0" } }, - "node_modules/define-data-property": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", - "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", - "dependencies": { - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "gopd": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", @@ -1223,9 +1326,9 @@ } }, "node_modules/detect-libc": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.3.tgz", - "integrity": "sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.4.tgz", + "integrity": "sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA==", "optional": true, "engines": { "node": ">=8" @@ -1321,6 +1424,19 @@ "node": ">=0.10" } }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/duplexify": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-4.1.3.tgz", @@ -1345,11 +1461,15 @@ "node": ">= 10.13.0" } }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" + }, "node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" }, "node_modules/enabled": { "version": "2.0.0", @@ -1358,9 +1478,9 @@ "dev": true }, "node_modules/end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz", + "integrity": "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==", "dependencies": { "once": "^1.4.0" } @@ -1372,12 +1492,9 @@ "dev": true }, "node_modules/es-define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", - "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", - "dependencies": { - "get-intrinsic": "^1.2.4" - }, + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", "engines": { "node": ">= 0.4" } @@ -1390,10 +1507,35 @@ "node": ">= 0.4" } }, + "node_modules/es-object-atoms": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", + "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-set-tostringtag": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", + "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", + "dependencies": { + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/escalade": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", - "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", "dev": true, "engines": { "node": ">=6" @@ -1411,15 +1553,16 @@ } }, "node_modules/eslint": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", - "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", + "version": "8.57.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz", + "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==", + "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.57.0", - "@humanwhocodes/config-array": "^0.11.14", + "@eslint/js": "8.57.1", + "@humanwhocodes/config-array": "^0.13.0", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", "@ungap/structured-clone": "^1.2.0", @@ -1672,10 +1815,20 @@ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==" }, "node_modules/fast-uri": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.1.tgz", - "integrity": "sha512-MWipKbbYiYI0UC7cl8m/i/IWTqfC8YXsqjzybjddLsFjStroQzsHXkc73JutMvBiXmOvapk+axIl79ig5t55Bw==", - "dev": true + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.6.tgz", + "integrity": "sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ] }, "node_modules/fastest-levenshtein": { "version": "1.0.16", @@ -1687,9 +1840,9 @@ } }, "node_modules/fastq": { - "version": "1.17.1", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", - "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz", + "integrity": "sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==", "dependencies": { "reusify": "^1.0.4" } @@ -1711,12 +1864,6 @@ "node": "^10.12.0 || >=12.0.0" } }, - "node_modules/file-uri-to-path": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", - "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", - "optional": true - }, "node_modules/fill-range": { "version": "7.1.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", @@ -1807,9 +1954,9 @@ } }, "node_modules/flatted": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", - "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==" + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz", + "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==" }, "node_modules/fn.name": { "version": "1.1.0", @@ -1838,13 +1985,41 @@ "node": ">=0.10.0" } }, + "node_modules/foreground-child": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz", + "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==", + "dependencies": { + "cross-spawn": "^7.0.6", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/foreground-child/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/form-data": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", - "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz", + "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.2", "mime-types": "^2.1.12" }, "engines": { @@ -1870,11 +2045,6 @@ "node": ">=10.13.0" } }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" - }, "node_modules/fsevents": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", @@ -1916,15 +2086,20 @@ } }, "node_modules/get-intrinsic": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", - "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", "function-bind": "^1.1.2", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3", - "hasown": "^2.0.0" + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" }, "engines": { "node": ">= 0.4" @@ -1933,6 +2108,18 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/get-stream": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", @@ -1952,20 +2139,21 @@ "optional": true }, "node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "deprecated": "Glob versions prior to v9 are no longer supported", + "version": "10.3.11", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.11.tgz", + "integrity": "sha512-0UAMm+R/z1E2bTR8eFnoIIlnrUK89m36i90Ez36ld9hLulfUPBgRCQtBy/v86ABx18jnGyrTvu4X3LAjIeBogw==", "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.6", + "minimatch": "^9.0.1", + "minipass": "^7.0.4", + "path-scurry": "^1.10.2" + }, + "bin": { + "glob": "dist/esm/bin.mjs" }, "engines": { - "node": "*" + "node": ">=16 || 14 >=14.17" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -1983,9 +2171,9 @@ } }, "node_modules/glob-stream": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/glob-stream/-/glob-stream-8.0.2.tgz", - "integrity": "sha512-R8z6eTB55t3QeZMmU1C+Gv+t5UnNRkA55c5yo67fAVfxODxieTwsjNG7utxS/73NdP1NbDgCrhVEg2h00y4fFw==", + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/glob-stream/-/glob-stream-8.0.3.tgz", + "integrity": "sha512-fqZVj22LtFJkHODT+M4N1RJQ3TjnnQhfE9GwZI8qXscYarnhpip70poMldRnP8ipQ/w0B621kOhfc53/J9bd/A==", "dev": true, "dependencies": { "@gulpjs/to-absolute-glob": "^4.0.0", @@ -2083,11 +2271,11 @@ } }, "node_modules/gopd": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", - "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "dependencies": { - "get-intrinsic": "^1.1.3" + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -2114,15 +2302,15 @@ } }, "node_modules/gulp": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/gulp/-/gulp-5.0.0.tgz", - "integrity": "sha512-S8Z8066SSileaYw1S2N1I64IUc/myI2bqe2ihOBzO6+nKpvNSg7ZcWJt/AwF8LC/NVN+/QZ560Cb/5OPsyhkhg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/gulp/-/gulp-5.0.1.tgz", + "integrity": "sha512-PErok3DZSA5WGMd6XXV3IRNO0mlB+wW3OzhFJLEec1jSERg2j1bxJ6e5Fh6N6fn3FH2T9AP4UYNb/pYlADB9sA==", "dev": true, "dependencies": { "glob-watcher": "^6.0.0", - "gulp-cli": "^3.0.0", + "gulp-cli": "^3.1.0", "undertaker": "^2.0.0", - "vinyl-fs": "^4.0.0" + "vinyl-fs": "^4.0.2" }, "bin": { "gulp": "bin/gulp.js" @@ -2132,9 +2320,9 @@ } }, "node_modules/gulp-cli": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/gulp-cli/-/gulp-cli-3.0.0.tgz", - "integrity": "sha512-RtMIitkT8DEMZZygHK2vEuLPqLPAFB4sntSxg4NoDta7ciwGZ18l7JuhCTiS5deOJi2IoK0btE+hs6R4sfj7AA==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/gulp-cli/-/gulp-cli-3.1.0.tgz", + "integrity": "sha512-zZzwlmEsTfXcxRKiCHsdyjZZnFvXWM4v1NqBJSYbuApkvVKivjcmOS2qruAJ+PkEHLFavcDKH40DPc1+t12a9Q==", "dev": true, "dependencies": { "@gulpjs/messages": "^1.1.0", @@ -2142,7 +2330,7 @@ "copy-props": "^4.0.0", "gulplog": "^2.2.0", "interpret": "^3.1.1", - "liftoff": "^5.0.0", + "liftoff": "^5.0.1", "mute-stdout": "^2.0.0", "replace-homedir": "^2.0.0", "semver-greatest-satisfied-range": "^2.0.0", @@ -2325,6 +2513,12 @@ } } }, + "node_modules/gulp-mocha/node_modules/debug/node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, "node_modules/gulp-mocha/node_modules/diff": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", @@ -2347,27 +2541,6 @@ "node": ">=0.10.0" } }, - "node_modules/gulp-mocha/node_modules/glob": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", - "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", - "deprecated": "Glob versions prior to v9 are no longer supported", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/gulp-mocha/node_modules/js-yaml": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.0.0.tgz", @@ -2436,12 +2609,6 @@ "url": "https://opencollective.com/mochajs" } }, - "node_modules/gulp-mocha/node_modules/mocha/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true - }, "node_modules/gulp-mocha/node_modules/plugin-error": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/plugin-error/-/plugin-error-1.0.1.tgz", @@ -2481,15 +2648,6 @@ "node": ">=8.10.0" } }, - "node_modules/gulp-mocha/node_modules/serialize-javascript": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-5.0.1.tgz", - "integrity": "sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA==", - "dev": true, - "dependencies": { - "randombytes": "^2.1.0" - } - }, "node_modules/gulp-mocha/node_modules/supports-color": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", @@ -2540,21 +2698,10 @@ "node": ">=8" } }, - "node_modules/has-property-descriptors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", - "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", - "dependencies": { - "es-define-property": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-proto": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", - "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", + "node_modules/has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", "engines": { "node": ">= 0.4" }, @@ -2562,10 +2709,13 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "node_modules/has-tostringtag": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "dependencies": { + "has-symbols": "^1.0.3" + }, "engines": { "node": ">= 0.4" }, @@ -2684,17 +2834,17 @@ ] }, "node_modules/ignore": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", - "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "engines": { "node": ">= 4" } }, "node_modules/import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", + "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==", "dependencies": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" @@ -2714,16 +2864,6 @@ "node": ">=0.8.19" } }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", @@ -2801,9 +2941,9 @@ "dev": true }, "node_modules/is-core-module": { - "version": "2.14.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.14.0.tgz", - "integrity": "sha512-a5dFJih5ZLYlRtDc0dZWP7RiKr6xIKzmn/oAYCDvdLThadVgyJwlaoQPmRtMSpz+rk0OGAgIu+TcM9HUF0fk1A==", + "version": "2.16.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz", + "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==", "dev": true, "dependencies": { "hasown": "^2.0.2" @@ -2851,7 +2991,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true, "engines": { "node": ">=8" } @@ -2997,14 +3136,31 @@ "node": ">=0.10.0" } }, - "node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "node_modules/jackspeak": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz", + "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==", "dependencies": { - "argparse": "^2.0.1" + "@isaacs/cliui": "^8.0.2" }, - "bin": { + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { "js-yaml": "bin/js-yaml.js" } }, @@ -3113,15 +3269,14 @@ } }, "node_modules/kerberos": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/kerberos/-/kerberos-2.1.0.tgz", - "integrity": "sha512-HvOl6O6cyEN/8Z4CAocHe/sekJtvt5UrxUdCuu7bXDZ2Hnsy6OpsQbISW+lpm03vrbO2ir+1QQ5Sx/vMEhHnog==", + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/kerberos/-/kerberos-2.2.2.tgz", + "integrity": "sha512-42O7+/1Zatsc3MkxaMPpXcIl/ukIrbQaGoArZEAr6GcEi2qhfprOBYOPhj+YvSMJkEkdpTjApUx+2DuWaKwRhg==", "hasInstallScript": true, "optional": true, "dependencies": { - "bindings": "^1.5.0", "node-addon-api": "^6.1.0", - "prebuild-install": "7.1.1" + "prebuild-install": "^7.1.2" }, "engines": { "node": ">=12.9.0" @@ -3190,9 +3345,9 @@ } }, "node_modules/liftoff": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/liftoff/-/liftoff-5.0.0.tgz", - "integrity": "sha512-a5BQjbCHnB+cy+gsro8lXJ4kZluzOijzJ1UVVfyJYZC+IP2pLv1h4+aysQeKuTmyO8NAqfyQAk4HWaP/HjcKTg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/liftoff/-/liftoff-5.0.1.tgz", + "integrity": "sha512-wwLXMbuxSF8gMvubFcFRp56lkFV69twvbU5vDPbaw+Q+/rF8j0HKjGbIdlSi+LuJm9jf7k9PB+nTxnsLMPcv2Q==", "dev": true, "dependencies": { "extend": "^3.0.2", @@ -3208,12 +3363,12 @@ } }, "node_modules/linkify-it": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-3.0.3.tgz", - "integrity": "sha512-ynTsyrFSdE5oZ/O9GEf00kPngmOfVwazR5GKDq6EYfhlpFug3J2zybX56a2PRRpc9P+FuSoGNAwjlbDs9jJBPQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-5.0.0.tgz", + "integrity": "sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==", "dev": true, "dependencies": { - "uc.micro": "^1.0.1" + "uc.micro": "^2.0.0" } }, "node_modules/locate-path": { @@ -3328,9 +3483,9 @@ } }, "node_modules/logform": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/logform/-/logform-2.6.1.tgz", - "integrity": "sha512-CdaO738xRapbKIMVn2m4F6KTj4j7ooJ8POVnebSgKo3KBz5axNXRAL7ZdRjIV6NOr2Uf4vjtRkxrFETOioCqSA==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/logform/-/logform-2.7.0.tgz", + "integrity": "sha512-TFYA4jnP7PVbmlBIfhlSe+WKxs9dklXMTEGcBCIvLhE/Tn3H6Gk1norupVW7m5Cnd4bLcr08AytbyV/xj7f/kQ==", "dev": true, "dependencies": { "@colors/colors": "1.6.0", @@ -3354,16 +3509,9 @@ } }, "node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "optional": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==" }, "node_modules/map-cache": { "version": "0.2.2", @@ -3381,19 +3529,20 @@ "dev": true }, "node_modules/markdown-it": { - "version": "12.3.2", - "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-12.3.2.tgz", - "integrity": "sha512-TchMembfxfNVpHkbtriWltGWc+m3xszaRD0CZup7GFFhzIgQqxIfn3eGj1yZpfuflzPvfkt611B2Q/Bsk1YnGg==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-14.1.0.tgz", + "integrity": "sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==", "dev": true, "dependencies": { "argparse": "^2.0.1", - "entities": "~2.1.0", - "linkify-it": "^3.0.1", - "mdurl": "^1.0.1", - "uc.micro": "^1.0.5" + "entities": "^4.4.0", + "linkify-it": "^5.0.0", + "mdurl": "^2.0.0", + "punycode.js": "^2.3.1", + "uc.micro": "^2.1.0" }, "bin": { - "markdown-it": "bin/markdown-it.js" + "markdown-it": "bin/markdown-it.mjs" } }, "node_modules/markdown-it-anchor": { @@ -3407,10 +3556,13 @@ } }, "node_modules/markdown-it/node_modules/entities": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.1.0.tgz", - "integrity": "sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", "dev": true, + "engines": { + "node": ">=0.12" + }, "funding": { "url": "https://github.com/fb55/entities?sponsor=1" } @@ -3427,6 +3579,14 @@ "node": ">= 12" } }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "engines": { + "node": ">= 0.4" + } + }, "node_modules/md5": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/md5/-/md5-2.3.0.tgz", @@ -3439,9 +3599,9 @@ } }, "node_modules/mdurl": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", - "integrity": "sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-2.0.0.tgz", + "integrity": "sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==", "dev": true }, "node_modules/merge-stream": { @@ -3451,9 +3611,9 @@ "dev": true }, "node_modules/micromatch": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", - "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "dev": true, "dependencies": { "braces": "^3.0.3", @@ -3523,6 +3683,14 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, "node_modules/mkdirp": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", @@ -3542,9 +3710,9 @@ "optional": true }, "node_modules/mocha": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.6.0.tgz", - "integrity": "sha512-hxjt4+EEB0SA0ZDygSS015t65lJw/I2yRCS3Ae+SJ5FrbzrXgfYwJr96f0OvIXdj7h4lv/vLCrH3rkiuizFSvw==", + "version": "10.8.2", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.8.2.tgz", + "integrity": "sha512-VZlYo/WE8t1tstuRmqgeyBgCbJc/lEdopaa+axcKzTBJ+UIdlAB9XnmvTCAH4pwR4ElNInaedhEBmZD8iCSVEg==", "dev": true, "dependencies": { "ansi-colors": "^4.1.3", @@ -3592,32 +3760,6 @@ "mocha": ">=2.2.5" } }, - "node_modules/mocha/node_modules/glob": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", - "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", - "deprecated": "Glob versions prior to v9 are no longer supported", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/mocha/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true - }, "node_modules/mocha/node_modules/supports-color": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", @@ -3643,9 +3785,9 @@ } }, "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" }, "node_modules/multipart-stream": { "version": "2.0.1", @@ -3695,24 +3837,6 @@ "node": ">=0.8.0" } }, - "node_modules/mv/node_modules/glob": { - "version": "6.0.4", - "resolved": "https://registry.npmjs.org/glob/-/glob-6.0.4.tgz", - "integrity": "sha512-MKZeRNyYZAVVVG1oZeLaWie1uweH40m9AZwIwxyPbTSX4hHrVYSzLg0Ro5Z5R7XKkIX+Cc6oD1rqeDJnwsB8/A==", - "deprecated": "Glob versions prior to v9 are no longer supported", - "dev": true, - "optional": true, - "dependencies": { - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "2 || 3", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - } - }, "node_modules/mv/node_modules/mkdirp": { "version": "0.5.6", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", @@ -3741,17 +3865,23 @@ } }, "node_modules/nan": { - "version": "2.20.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.20.0.tgz", - "integrity": "sha512-bk3gXBZDGILuuo/6sKtr0DQmSThYHLtNCdSdXk9YkxD/jK6X2vmCyyXBBxyqZ4XcnzTyYEAThfX3DCEnLf6igw==", + "version": "2.23.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.23.0.tgz", + "integrity": "sha512-1UxuyYGdoQHcGg87Lkqm3FzefucTa0NAiOcuRsDmysep3c1LVCRK2krrUDafMWtjSG04htvAmvg96+SDknOmgQ==", "dev": true, "optional": true }, "node_modules/nanoid": { - "version": "3.1.31", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.31.tgz", - "integrity": "sha512-ZivnJm0o9bb13p2Ot5CpgC2rQdzB9Uxm/mFZweqm5eMViqOJe3PV6LU2E30SiLgheesmcPrjquqraoolONSA0A==", + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], "bin": { "nanoid": "bin/nanoid.cjs" }, @@ -3760,9 +3890,9 @@ } }, "node_modules/napi-build-utils": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-1.0.2.tgz", - "integrity": "sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-2.0.0.tgz", + "integrity": "sha512-GEbrYkbfF7MoNaoh2iGG84Mnf/WZfB0GdGEsM8wz7Expx/LlWf5U8t9nvJKXSp3qr5IsEbK04cBGhol/KwOsWA==", "optional": true }, "node_modules/natural-compare": { @@ -3781,9 +3911,9 @@ } }, "node_modules/node-abi": { - "version": "3.65.0", - "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.65.0.tgz", - "integrity": "sha512-ThjYBfoDNr08AWx6hGaRbfPwxKV9kVzAzOzlLKbk2CuqXE2xnCh+cbAGnwM3t8Lq4v9rUB7VfondlkBckcJrVA==", + "version": "3.75.0", + "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.75.0.tgz", + "integrity": "sha512-OhYaY5sDsIka7H7AtijtI9jwGYLyl29eQn/W623DiN/MIv5sUqc4g7BIDThX+gb7di9f6xK02nkp8sdfFWZLTg==", "optional": true, "dependencies": { "semver": "^7.3.5" @@ -3832,9 +3962,9 @@ } }, "node_modules/object-inspect": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", - "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", + "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==", "engines": { "node": ">= 0.4" }, @@ -4002,14 +4132,6 @@ "node": ">=8" } }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", @@ -4045,6 +4167,21 @@ "node": ">=0.10.0" } }, + "node_modules/path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "dependencies": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/pathval": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", @@ -4055,9 +4192,9 @@ } }, "node_modules/picocolors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", - "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", "dev": true }, "node_modules/picomatch": { @@ -4089,9 +4226,9 @@ } }, "node_modules/postcss": { - "version": "8.4.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.39.tgz", - "integrity": "sha512-0vzE+lAiG7hZl1/9I8yzKLx3aR9Xbof3fBHKunvMfOCYAtMhrsnccJY2iTURb9EZd5+pLuiNV9/c/GZJOHsgIw==", + "version": "8.5.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz", + "integrity": "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==", "dev": true, "funding": [ { @@ -4108,18 +4245,18 @@ } ], "dependencies": { - "nanoid": "^3.3.7", - "picocolors": "^1.0.1", - "source-map-js": "^1.2.0" + "nanoid": "^3.3.11", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" }, "engines": { "node": "^10 || ^12 || >=14" } }, "node_modules/prebuild-install": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.1.tgz", - "integrity": "sha512-jAXscXWMcCK8GgCoHOfIr0ODh5ai8mj63L2nWrjuAgXE6tDyYGnx4/8o/rCgU+B4JSyZBKbeZqzhtwtC3ovxjw==", + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.3.tgz", + "integrity": "sha512-8Mf2cbV7x1cXPUILADGI3wuhfqWvtiLA1iclTDbFRZkgRQS0NqsPZphna9V+HyTEadheuPmjaJMsbzKQFOzLug==", "optional": true, "dependencies": { "detect-libc": "^2.0.0", @@ -4127,7 +4264,7 @@ "github-from-package": "0.0.0", "minimist": "^1.2.3", "mkdirp-classic": "^0.5.3", - "napi-build-utils": "^1.0.1", + "napi-build-utils": "^2.0.0", "node-abi": "^3.3.0", "pump": "^3.0.0", "rc": "^1.2.7", @@ -4157,9 +4294,9 @@ "dev": true }, "node_modules/pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.3.tgz", + "integrity": "sha512-todwxLMY7/heScKmntwQG8CXVkWUOdYxIvY2s0VWAAMh/nd8SoYiRaKjlr7+iCs984f2P8zvrfWcDDYVb73NfA==", "optional": true, "dependencies": { "end-of-stream": "^1.1.0", @@ -4174,12 +4311,21 @@ "node": ">=6" } }, + "node_modules/punycode.js": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode.js/-/punycode.js-2.3.1.tgz", + "integrity": "sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, "node_modules/qs": { - "version": "6.12.3", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.12.3.tgz", - "integrity": "sha512-AWJm14H1vVaO/iNZ4/hO+HyaTehuy9nRqVdkTqlJt0HWvBiBIEXFmb4C0DGeYo3Xes9rrEW+TxHsaigCbN5ICQ==", + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.0.tgz", + "integrity": "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==", "dependencies": { - "side-channel": "^1.0.6" + "side-channel": "^1.1.0" }, "engines": { "node": ">=0.6" @@ -4207,12 +4353,6 @@ } ] }, - "node_modules/queue-tick": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.1.tgz", - "integrity": "sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag==", - "devOptional": true - }, "node_modules/randombytes": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", @@ -4375,18 +4515,21 @@ } }, "node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "version": "1.22.10", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz", + "integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==", "dev": true, "dependencies": { - "is-core-module": "^2.13.0", + "is-core-module": "^2.16.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, "bin": { "resolve": "bin/resolve" }, + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -4425,9 +4568,9 @@ } }, "node_modules/reusify": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz", + "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==", "engines": { "iojs": ">=1.0.0", "node": ">=0.10.0" @@ -4497,9 +4640,9 @@ "optional": true }, "node_modules/safe-stable-stringify": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.4.3.tgz", - "integrity": "sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g==", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.5.0.tgz", + "integrity": "sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==", "dev": true, "engines": { "node": ">=10" @@ -4520,9 +4663,9 @@ } }, "node_modules/sanitize-html": { - "version": "2.13.0", - "resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-2.13.0.tgz", - "integrity": "sha512-Xff91Z+4Mz5QiNSLdLWwjgBDm5b1RU6xBT0+12rapjiaR7SwfRdjw8f+6Rir2MXKLrDicRFHdb51hGOAxmsUIA==", + "version": "2.17.0", + "resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-2.17.0.tgz", + "integrity": "sha512-dLAADUSS8rBwhaevT12yCezvioCA+bmUTPH/u57xKPT8d++voeYE6HeluA/bPbQ15TwDBG2ii+QZIEmYx8VdxA==", "dev": true, "dependencies": { "deepmerge": "^4.2.2", @@ -4575,9 +4718,9 @@ } }, "node_modules/sanitize-html/node_modules/domutils": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.1.0.tgz", - "integrity": "sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.2.2.tgz", + "integrity": "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==", "dev": true, "dependencies": { "dom-serializer": "^2.0.0", @@ -4646,6 +4789,18 @@ "node": ">= 10.13.0" } }, + "node_modules/semver/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "optional": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/serialize-javascript": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz", @@ -4655,22 +4810,6 @@ "randombytes": "^2.1.0" } }, - "node_modules/set-function-length": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", - "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", - "dependencies": { - "define-data-property": "^1.1.4", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - } - }, "node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -4745,14 +4884,65 @@ "dev": true }, "node_modules/side-channel": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", - "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", + "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", "dependencies": { - "call-bind": "^1.0.7", "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.4", - "object-inspect": "^1.13.1" + "object-inspect": "^1.13.3", + "side-channel-list": "^1.0.0", + "side-channel-map": "^1.0.1", + "side-channel-weakmap": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-list": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz", + "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-map": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", + "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-weakmap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", + "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3", + "side-channel-map": "^1.0.1" }, "engines": { "node": ">= 0.4" @@ -4822,9 +5012,9 @@ } }, "node_modules/source-map-js": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", - "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", "dev": true, "engines": { "node": ">=0.10.0" @@ -4878,13 +5068,12 @@ } }, "node_modules/streamx": { - "version": "2.18.0", - "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.18.0.tgz", - "integrity": "sha512-LLUC1TWdjVdn1weXGcSxyTR3T4+acB6tVGXT95y0nGbca4t4o/ng1wKAGTljm9VicuCVLvRlqFYXYy5GwgM7sQ==", + "version": "2.22.1", + "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.22.1.tgz", + "integrity": "sha512-znKXEBxfatz2GBNK02kRnCXjV+AA4kjZIUxeWSr3UGirZMJfTE9uiwKHobnbgxWyL/JWro8tTq+vOqAK1/qbSA==", "devOptional": true, "dependencies": { "fast-fifo": "^1.3.2", - "queue-tick": "^1.0.1", "text-decoder": "^1.1.0" }, "optionalDependencies": { @@ -4903,7 +5092,20 @@ "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -4924,6 +5126,18 @@ "node": ">=8" } }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/strip-final-newline": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", @@ -4977,9 +5191,9 @@ } }, "node_modules/tar-fs": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz", - "integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==", + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.3.tgz", + "integrity": "sha512-090nwYJDmlhwFwEW3QQl+vaNnxsO2yVsd45eTKRBzSzu+hlb1w2K9inVq5b0ngXuLVqQ4ApvsUHHnu/zQNkWAg==", "optional": true, "dependencies": { "chownr": "^1.1.1", @@ -5014,9 +5228,9 @@ } }, "node_modules/text-decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.1.1.tgz", - "integrity": "sha512-8zll7REEv4GDD3x4/0pW+ppIxSNs7H1J10IKFZsuOMscumCdM2a+toDGLPA3T+1+fLBql4zbt5z83GEQGGV5VA==", + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.2.3.tgz", + "integrity": "sha512-3/o9z3X0X0fTupwsYvR03pJ/DjWuqqrfwBgTQzdWDiQSm9KitAyz/9WqsT2JQW7KV2m+bC2ol/zqpW37NHxLaA==", "devOptional": true, "dependencies": { "b4a": "^1.6.4" @@ -5114,9 +5328,9 @@ } }, "node_modules/tslib": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.3.tgz", - "integrity": "sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==", + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", "dev": true }, "node_modules/tunnel-agent": { @@ -5143,9 +5357,9 @@ } }, "node_modules/type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.1.0.tgz", + "integrity": "sha512-Acylog8/luQ8L7il+geoSxhEkazvkslg7PSNKOX59mbB9cOveP5aq9h74Y7YU8yDpJwetzQQrfIwtf4Wp4LKcw==", "engines": { "node": ">=4" } @@ -5167,9 +5381,9 @@ "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==" }, "node_modules/uc.micro": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz", - "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-2.1.0.tgz", + "integrity": "sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==", "dev": true }, "node_modules/unc-path-regex": { @@ -5182,9 +5396,9 @@ } }, "node_modules/underscore": { - "version": "1.13.6", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.6.tgz", - "integrity": "sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A==", + "version": "1.13.7", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.7.tgz", + "integrity": "sha512-GMXzWtsc57XAtguZgaQViUOzs0KTkk8ojr3/xAxXLITqf/3EMwxC0inyETfDFjH/Krbhuep0HNbbjI9i/q3F3g==", "dev": true }, "node_modules/undertaker": { @@ -5252,13 +5466,12 @@ } }, "node_modules/vinyl": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-3.0.0.tgz", - "integrity": "sha512-rC2VRfAVVCGEgjnxHUnpIVh3AGuk62rP3tqVrn+yab0YH7UULisC085+NYH+mnqf3Wx4SpSi1RQMwudL89N03g==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-3.0.1.tgz", + "integrity": "sha512-0QwqXteBNXgnLCdWdvPQBX6FXRHtIH3VhJPTd5Lwn28tJXc34YqSCWUmkOvtJHBmB3gGoPtrOKk3Ts8/kEZ9aA==", "devOptional": true, "dependencies": { "clone": "^2.1.2", - "clone-stats": "^1.0.0", "remove-trailing-separator": "^1.1.0", "replace-ext": "^2.0.0", "teex": "^1.0.1" @@ -5316,13 +5529,13 @@ } }, "node_modules/vinyl-fs": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/vinyl-fs/-/vinyl-fs-4.0.0.tgz", - "integrity": "sha512-7GbgBnYfaquMk3Qu9g22x000vbYkOex32930rBnc3qByw6HfMEAoELjCjoJv4HuEQxHAurT+nvMHm6MnJllFLw==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/vinyl-fs/-/vinyl-fs-4.0.2.tgz", + "integrity": "sha512-XRFwBLLTl8lRAOYiBqxY279wY46tVxLaRhSwo3GzKEuLz1giffsOquWWboD/haGf5lx+JyTigCFfe7DWHoARIA==", "dev": true, "dependencies": { "fs-mkdirp-stream": "^2.0.1", - "glob-stream": "^8.0.0", + "glob-stream": "^8.0.3", "graceful-fs": "^4.2.11", "iconv-lite": "^0.6.3", "is-valid-glob": "^1.0.0", @@ -5333,7 +5546,7 @@ "streamx": "^2.14.0", "to-through": "^3.0.0", "value-or-function": "^4.0.0", - "vinyl": "^3.0.0", + "vinyl": "^3.0.1", "vinyl-sourcemap": "^2.0.0" }, "engines": { @@ -5424,34 +5637,34 @@ } }, "node_modules/winston": { - "version": "3.13.1", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.13.1.tgz", - "integrity": "sha512-SvZit7VFNvXRzbqGHsv5KSmgbEYR5EiQfDAL9gxYkRqa934Hnk++zze0wANKtMHcy/gI4W/3xmSDwlhf865WGw==", + "version": "3.17.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.17.0.tgz", + "integrity": "sha512-DLiFIXYC5fMPxaRg832S6F5mJYvePtmO5G9v9IgUFPhXm9/GkXarH/TUrBAVzhTCzAj9anE/+GjrgXp/54nOgw==", "dev": true, "dependencies": { "@colors/colors": "^1.6.0", "@dabh/diagnostics": "^2.0.2", "async": "^3.2.3", "is-stream": "^2.0.0", - "logform": "^2.6.0", + "logform": "^2.7.0", "one-time": "^1.0.0", "readable-stream": "^3.4.0", "safe-stable-stringify": "^2.3.1", "stack-trace": "0.0.x", "triple-beam": "^1.3.0", - "winston-transport": "^4.7.0" + "winston-transport": "^4.9.0" }, "engines": { "node": ">= 12.0.0" } }, "node_modules/winston-transport": { - "version": "4.7.1", - "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.7.1.tgz", - "integrity": "sha512-wQCXXVgfv/wUPOfb2x0ruxzwkcZfxcktz6JIMUaPLmcNhO4bZTwA/WtDWK74xV3F2dKu8YadrFv0qhwYjVEwhA==", + "version": "4.9.0", + "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.9.0.tgz", + "integrity": "sha512-8drMJ4rkgaPo1Me4zD/3WLfI/zPdA9o2IipKODunnGDcuqbHwjsbB79ylv04LCGGzU0xQ6vTznOMpQGaLhhm6A==", "dev": true, "dependencies": { - "logform": "^2.6.1", + "logform": "^2.7.0", "readable-stream": "^3.6.2", "triple-beam": "^1.3.0" }, @@ -5474,10 +5687,26 @@ "dev": true }, "node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -5490,6 +5719,63 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, + "node_modules/wrap-ansi/node_modules/ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" + }, + "node_modules/wrap-ansi/node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/wrap-ansi/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", @@ -5603,12 +5889,37 @@ } }, "dependencies": { - "@babel/parser": { - "version": "7.24.8", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.8.tgz", - "integrity": "sha512-WzfbgXOkGzZiXXCqk43kKwZjzwx4oulxZi3nq2TYL9mOjQv6kYwul9mz6ID36njuL7Xkp6nJEfok848Zj10j/w==", + "@babel/helper-string-parser": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz", + "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==", + "dev": true + }, + "@babel/helper-validator-identifier": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz", + "integrity": "sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==", "dev": true }, + "@babel/parser": { + "version": "7.28.0", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.0.tgz", + "integrity": "sha512-jVZGvOxOuNSsuQuLRTh13nU0AogFlw32w/MT+LV6D3sP5WdbW61E77RnkbaO2dUvmPAYrBDJXGn5gGS6tH4j8g==", + "dev": true, + "requires": { + "@babel/types": "^7.28.0" + } + }, + "@babel/types": { + "version": "7.28.2", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.2.tgz", + "integrity": "sha512-ruv7Ae4J5dUYULmeXw1gmb7rYRz57OWCPM57pHojnLq/3Z1CK2lNSLTCVjxVk1F/TZHwOZZrOWi0ur95BbLxNQ==", + "dev": true, + "requires": { + "@babel/helper-string-parser": "^7.27.1", + "@babel/helper-validator-identifier": "^7.27.1" + } + }, "@colors/colors": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz", @@ -5627,17 +5938,17 @@ } }, "@eslint-community/eslint-utils": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", - "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz", + "integrity": "sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==", "requires": { - "eslint-visitor-keys": "^3.3.0" + "eslint-visitor-keys": "^3.4.3" } }, "@eslint-community/regexpp": { - "version": "4.11.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.0.tgz", - "integrity": "sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==" + "version": "4.12.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz", + "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==" }, "@eslint/eslintrc": { "version": "2.1.4", @@ -5674,9 +5985,9 @@ } }, "@eslint/js": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", - "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==" + "version": "8.57.1", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.1.tgz", + "integrity": "sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==" }, "@fastify/busboy": { "version": "1.2.1", @@ -5702,11 +6013,11 @@ } }, "@humanwhocodes/config-array": { - "version": "0.11.14", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", - "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz", + "integrity": "sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==", "requires": { - "@humanwhocodes/object-schema": "^2.0.2", + "@humanwhocodes/object-schema": "^2.0.3", "debug": "^4.3.1", "minimatch": "5.1.0" } @@ -5721,6 +6032,49 @@ "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==" }, + "@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "requires": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==" + }, + "emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" + }, + "string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "requires": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + } + }, + "strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "requires": { + "ansi-regex": "^6.0.1" + } + } + } + }, "@jsdoc/salty": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/@jsdoc/salty/-/salty-0.2.3.tgz", @@ -5753,6 +6107,12 @@ "fastq": "^1.6.0" } }, + "@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "optional": true + }, "@sovpro/delimited-stream": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@sovpro/delimited-stream/-/delimited-stream-1.1.0.tgz", @@ -5793,14 +6153,14 @@ "dev": true }, "@ungap/structured-clone": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", - "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==" + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.0.tgz", + "integrity": "sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==" }, "acorn": { - "version": "8.12.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", - "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==" + "version": "8.15.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", + "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==" }, "acorn-jsx": { "version": "5.3.2", @@ -5957,15 +6317,15 @@ } }, "astring": { - "version": "1.8.6", - "resolved": "https://registry.npmjs.org/astring/-/astring-1.8.6.tgz", - "integrity": "sha512-ISvCdHdlTDlH5IpxQJIex7BWBywFWgjJSVdwst+/iQCoEYnyOaQ95+X1JGshuBjGp6nxKUy1jMgE3zPqN7fQdg==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/astring/-/astring-1.9.0.tgz", + "integrity": "sha512-LElXdjswlqjWrPpJFg1Fx4wpkOCxj1TDHlSV4PlaRxHGWko024xICaa97ZkMfs6DRKlCguiAI+rbXv5GWwXIkg==", "dev": true }, "async": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz", - "integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==", + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", + "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", "dev": true }, "async-done": { @@ -5994,9 +6354,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "b4a": { - "version": "1.6.6", - "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.6.tgz", - "integrity": "sha512-5Tk1HLk6b6ctmjIkAcU/Ujv/1WqiDl0F0JdRCR80VsOcUlHcu7pWeWRlOqQLHfDEsVx9YH/aif5AG4ehoCtTmg==", + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.7.tgz", + "integrity": "sha512-OnAYlL5b7LEkALw87fUVafQw5rVR9RjwGd4KUwNQ6DrrNmaVaUCgLipfVlzrPQ4tWOR9P0IXGNOx50jYCCdSJg==", "devOptional": true }, "bach": { @@ -6016,9 +6376,9 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" }, "bare-events": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.4.2.tgz", - "integrity": "sha512-qMKFd2qG/36aA4GwvKq8MxnPgCQAmBWmSyLWsJcbn8v03wvIPQ/hG1Ms8bPzndZxMDoHpxez5VOS+gC9Yi24/Q==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.6.0.tgz", + "integrity": "sha512-EKZ5BTXYExaNqi3I3f9RtEsaI/xBSGjE0XZCZilPzFAV/goswFHuPd9jEZlPIZ/iNZJwDSao9qRiScySz7MbQg==", "optional": true }, "base64-js": { @@ -6047,15 +6407,6 @@ "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", "dev": true }, - "bindings": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", - "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", - "optional": true, - "requires": { - "file-uri-to-path": "1.0.0" - } - }, "bl": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", @@ -6074,9 +6425,9 @@ "dev": true }, "brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", "requires": { "balanced-match": "^1.0.0" } @@ -6123,16 +6474,22 @@ "safe-json-stringify": "~1" } }, - "call-bind": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", - "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", "requires": { - "es-define-property": "^1.0.0", "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "set-function-length": "^1.2.1" + "function-bind": "^1.1.2" + } + }, + "call-bound": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz", + "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==", + "requires": { + "call-bind-apply-helpers": "^1.0.2", + "get-intrinsic": "^1.3.0" } }, "callsites": { @@ -6156,9 +6513,9 @@ } }, "chai": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.4.1.tgz", - "integrity": "sha512-13sOfMv2+DWduEU+/xbun3LScLoqN17nBeTLUsmDfKdoiC1fr0n9PU4guu4AhRcOVFk/sW8LyZWHuhWtQZiF+g==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.5.0.tgz", + "integrity": "sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==", "dev": true, "requires": { "assertion-error": "^1.1.0", @@ -6167,7 +6524,7 @@ "get-func-name": "^2.0.2", "loupe": "^2.3.6", "pathval": "^1.1.1", - "type-detect": "^4.0.8" + "type-detect": "^4.1.0" } }, "chalk": { @@ -6223,7 +6580,7 @@ "dev": true, "requires": { "exit": "0.1.2", - "glob": "^7.1.1" + "glob": "10.3.11" } }, "cliui": { @@ -6235,6 +6592,19 @@ "string-width": "^4.2.0", "strip-ansi": "^6.0.0", "wrap-ansi": "^7.0.0" + }, + "dependencies": { + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + } } }, "clone": { @@ -6243,12 +6613,6 @@ "integrity": "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==", "devOptional": true }, - "clone-stats": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/clone-stats/-/clone-stats-1.0.0.tgz", - "integrity": "sha512-au6ydSpg6nsrigcZ4m8Bc9hxjeW+GJ8xh5G3BJCMt4WXe1H10UNaVOamqQTmrx1kjVuxAHIQSNU6hY4Nsn9/ag==", - "devOptional": true - }, "color": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", @@ -6394,11 +6758,11 @@ "dev": true }, "debug": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz", - "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", + "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==", "requires": { - "ms": "2.1.2" + "ms": "^2.1.3" } }, "decamelize": { @@ -6450,16 +6814,6 @@ "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", "dev": true }, - "define-data-property": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", - "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", - "requires": { - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "gopd": "^1.0.1" - } - }, "delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", @@ -6472,9 +6826,9 @@ "dev": true }, "detect-libc": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.3.tgz", - "integrity": "sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.4.tgz", + "integrity": "sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA==", "optional": true }, "diff": { @@ -6550,6 +6904,16 @@ "nan": "^2.14.0" } }, + "dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "requires": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + } + }, "duplexify": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-4.1.3.tgz", @@ -6571,11 +6935,15 @@ "object.defaults": "^1.1.0" } }, + "eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" + }, "emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" }, "enabled": { "version": "2.0.0", @@ -6584,9 +6952,9 @@ "dev": true }, "end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz", + "integrity": "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==", "requires": { "once": "^1.4.0" } @@ -6598,22 +6966,38 @@ "dev": true }, "es-define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", - "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", - "requires": { - "get-intrinsic": "^1.2.4" - } + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==" }, "es-errors": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==" }, + "es-object-atoms": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", + "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", + "requires": { + "es-errors": "^1.3.0" + } + }, + "es-set-tostringtag": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", + "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", + "requires": { + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + } + }, "escalade": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", - "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", "dev": true }, "escape-string-regexp": { @@ -6622,21 +7006,21 @@ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" }, "eslint": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", - "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", + "version": "8.57.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz", + "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==", "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.57.0", - "@humanwhocodes/config-array": "^0.11.14", + "@eslint/js": "8.57.1", + "@humanwhocodes/config-array": "^0.13.0", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", "@ungap/structured-clone": "^1.2.0", "ajv": "^6.12.4", "chalk": "^4.0.0", - "cross-spawn": "^7.0.2", + "cross-spawn": "7.0.6", "debug": "^4.3.2", "doctrine": "^3.0.0", "escape-string-regexp": "^4.0.0", @@ -6740,7 +7124,7 @@ "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", "dev": true, "requires": { - "cross-spawn": "^7.0.3", + "cross-spawn": "7.0.6", "get-stream": "^6.0.0", "human-signals": "^2.1.0", "is-stream": "^2.0.0", @@ -6821,9 +7205,9 @@ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==" }, "fast-uri": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.1.tgz", - "integrity": "sha512-MWipKbbYiYI0UC7cl8m/i/IWTqfC8YXsqjzybjddLsFjStroQzsHXkc73JutMvBiXmOvapk+axIl79ig5t55Bw==", + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.6.tgz", + "integrity": "sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw==", "dev": true }, "fastest-levenshtein": { @@ -6833,9 +7217,9 @@ "dev": true }, "fastq": { - "version": "1.17.1", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", - "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz", + "integrity": "sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==", "requires": { "reusify": "^1.0.4" } @@ -6854,12 +7238,6 @@ "flat-cache": "^3.0.4" } }, - "file-uri-to-path": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", - "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", - "optional": true - }, "fill-range": { "version": "7.1.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", @@ -6926,9 +7304,9 @@ } }, "flatted": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", - "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==" + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz", + "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==" }, "fn.name": { "version": "1.1.0", @@ -6951,13 +7329,31 @@ "for-in": "^1.0.1" } }, + "foreground-child": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz", + "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==", + "requires": { + "cross-spawn": "7.0.6", + "signal-exit": "^4.0.1" + }, + "dependencies": { + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" + } + } + }, "form-data": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", - "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz", + "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==", "requires": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.2", "mime-types": "^2.1.12" } }, @@ -6977,11 +7373,6 @@ "streamx": "^2.12.0" } }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" - }, "fsevents": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", @@ -7007,15 +7398,29 @@ "dev": true }, "get-intrinsic": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", - "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", "requires": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", "function-bind": "^1.1.2", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3", - "hasown": "^2.0.0" + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + } + }, + "get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "requires": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" } }, "get-stream": { @@ -7031,16 +7436,15 @@ "optional": true }, "glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "version": "10.3.11", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.11.tgz", + "integrity": "sha512-0UAMm+R/z1E2bTR8eFnoIIlnrUK89m36i90Ez36ld9hLulfUPBgRCQtBy/v86ABx18jnGyrTvu4X3LAjIeBogw==", "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.6", "minimatch": "5.1.0", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "minipass": "^7.0.4", + "path-scurry": "^1.10.2" } }, "glob-parent": { @@ -7052,9 +7456,9 @@ } }, "glob-stream": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/glob-stream/-/glob-stream-8.0.2.tgz", - "integrity": "sha512-R8z6eTB55t3QeZMmU1C+Gv+t5UnNRkA55c5yo67fAVfxODxieTwsjNG7utxS/73NdP1NbDgCrhVEg2h00y4fFw==", + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/glob-stream/-/glob-stream-8.0.3.tgz", + "integrity": "sha512-fqZVj22LtFJkHODT+M4N1RJQ3TjnnQhfE9GwZI8qXscYarnhpip70poMldRnP8ipQ/w0B621kOhfc53/J9bd/A==", "dev": true, "requires": { "@gulpjs/to-absolute-glob": "^4.0.0", @@ -7130,12 +7534,9 @@ } }, "gopd": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", - "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "requires": { - "get-intrinsic": "^1.1.3" - } + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==" }, "graceful-fs": { "version": "4.2.11", @@ -7155,21 +7556,21 @@ "dev": true }, "gulp": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/gulp/-/gulp-5.0.0.tgz", - "integrity": "sha512-S8Z8066SSileaYw1S2N1I64IUc/myI2bqe2ihOBzO6+nKpvNSg7ZcWJt/AwF8LC/NVN+/QZ560Cb/5OPsyhkhg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/gulp/-/gulp-5.0.1.tgz", + "integrity": "sha512-PErok3DZSA5WGMd6XXV3IRNO0mlB+wW3OzhFJLEec1jSERg2j1bxJ6e5Fh6N6fn3FH2T9AP4UYNb/pYlADB9sA==", "dev": true, "requires": { "glob-watcher": "^6.0.0", - "gulp-cli": "^3.0.0", + "gulp-cli": "^3.1.0", "undertaker": "^2.0.0", - "vinyl-fs": "^4.0.0" + "vinyl-fs": "^4.0.2" } }, "gulp-cli": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/gulp-cli/-/gulp-cli-3.0.0.tgz", - "integrity": "sha512-RtMIitkT8DEMZZygHK2vEuLPqLPAFB4sntSxg4NoDta7ciwGZ18l7JuhCTiS5deOJi2IoK0btE+hs6R4sfj7AA==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/gulp-cli/-/gulp-cli-3.1.0.tgz", + "integrity": "sha512-zZzwlmEsTfXcxRKiCHsdyjZZnFvXWM4v1NqBJSYbuApkvVKivjcmOS2qruAJ+PkEHLFavcDKH40DPc1+t12a9Q==", "dev": true, "requires": { "@gulpjs/messages": "^1.1.0", @@ -7177,7 +7578,7 @@ "copy-props": "^4.0.0", "gulplog": "^2.2.0", "interpret": "^3.1.1", - "liftoff": "^5.0.0", + "liftoff": "^5.0.1", "mute-stdout": "^2.0.0", "replace-homedir": "^2.0.0", "semver-greatest-satisfied-range": "^2.0.0", @@ -7312,6 +7713,14 @@ "dev": true, "requires": { "ms": "2.1.2" + }, + "dependencies": { + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + } } }, "diff": { @@ -7330,20 +7739,6 @@ "is-extendable": "^1.0.1" } }, - "glob": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", - "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "5.1.0", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, "js-yaml": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.0.0.tgz", @@ -7376,15 +7771,15 @@ "diff": "5.0.0", "escape-string-regexp": "4.0.0", "find-up": "5.0.0", - "glob": "7.1.6", + "glob": "10.3.11", "growl": "1.10.5", "he": "1.2.0", "js-yaml": "4.0.0", "log-symbols": "4.0.0", "minimatch": "5.1.0", "ms": "2.1.3", - "nanoid": "3.1.31", - "serialize-javascript": "5.0.1", + "nanoid": "3.3.8", + "serialize-javascript": "6.0.2", "strip-json-comments": "3.1.1", "supports-color": "8.1.1", "which": "2.0.2", @@ -7393,14 +7788,6 @@ "yargs": "16.2.0", "yargs-parser": "20.2.4", "yargs-unparser": "2.0.0" - }, - "dependencies": { - "ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true - } } }, "plugin-error": { @@ -7435,15 +7822,6 @@ "picomatch": "^2.2.1" } }, - "serialize-javascript": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-5.0.1.tgz", - "integrity": "sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA==", - "dev": true, - "requires": { - "randombytes": "^2.1.0" - } - }, "supports-color": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", @@ -7481,24 +7859,19 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" }, - "has-property-descriptors": { + "has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==" + }, + "has-tostringtag": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", - "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", "requires": { - "es-define-property": "^1.0.0" + "has-symbols": "^1.0.3" } }, - "has-proto": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", - "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==" - }, - "has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==" - }, "hasown": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", @@ -7583,14 +7956,14 @@ "devOptional": true }, "ignore": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", - "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==" + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==" }, "import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", + "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==", "requires": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" @@ -7601,15 +7974,6 @@ "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==" }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, "inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", @@ -7678,9 +8042,9 @@ "dev": true }, "is-core-module": { - "version": "2.14.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.14.0.tgz", - "integrity": "sha512-a5dFJih5ZLYlRtDc0dZWP7RiKr6xIKzmn/oAYCDvdLThadVgyJwlaoQPmRtMSpz+rk0OGAgIu+TcM9HUF0fk1A==", + "version": "2.16.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz", + "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==", "dev": true, "requires": { "hasown": "^2.0.2" @@ -7714,8 +8078,7 @@ "is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" }, "is-glob": { "version": "4.0.3", @@ -7813,6 +8176,15 @@ "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", "dev": true }, + "jackspeak": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz", + "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==", + "requires": { + "@isaacs/cliui": "^8.0.2", + "@pkgjs/parseargs": "^0.11.0" + } + }, "js-yaml": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", @@ -7844,7 +8216,7 @@ "escape-string-regexp": "^2.0.0", "js2xmlparser": "^4.0.2", "klaw": "^3.0.0", - "markdown-it": "^12.3.2", + "markdown-it": "14.1.0", "markdown-it-anchor": "^8.4.1", "marked": "^4.0.10", "mkdirp": "^1.0.4", @@ -7909,14 +8281,13 @@ } }, "kerberos": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/kerberos/-/kerberos-2.1.0.tgz", - "integrity": "sha512-HvOl6O6cyEN/8Z4CAocHe/sekJtvt5UrxUdCuu7bXDZ2Hnsy6OpsQbISW+lpm03vrbO2ir+1QQ5Sx/vMEhHnog==", + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/kerberos/-/kerberos-2.2.2.tgz", + "integrity": "sha512-42O7+/1Zatsc3MkxaMPpXcIl/ukIrbQaGoArZEAr6GcEi2qhfprOBYOPhj+YvSMJkEkdpTjApUx+2DuWaKwRhg==", "optional": true, "requires": { - "bindings": "^1.5.0", "node-addon-api": "^6.1.0", - "prebuild-install": "7.1.1" + "prebuild-install": "^7.1.2" } }, "keyv": { @@ -7970,9 +8341,9 @@ } }, "liftoff": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/liftoff/-/liftoff-5.0.0.tgz", - "integrity": "sha512-a5BQjbCHnB+cy+gsro8lXJ4kZluzOijzJ1UVVfyJYZC+IP2pLv1h4+aysQeKuTmyO8NAqfyQAk4HWaP/HjcKTg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/liftoff/-/liftoff-5.0.1.tgz", + "integrity": "sha512-wwLXMbuxSF8gMvubFcFRp56lkFV69twvbU5vDPbaw+Q+/rF8j0HKjGbIdlSi+LuJm9jf7k9PB+nTxnsLMPcv2Q==", "dev": true, "requires": { "extend": "^3.0.2", @@ -7985,12 +8356,12 @@ } }, "linkify-it": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-3.0.3.tgz", - "integrity": "sha512-ynTsyrFSdE5oZ/O9GEf00kPngmOfVwazR5GKDq6EYfhlpFug3J2zybX56a2PRRpc9P+FuSoGNAwjlbDs9jJBPQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-5.0.0.tgz", + "integrity": "sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==", "dev": true, "requires": { - "uc.micro": "^1.0.1" + "uc.micro": "^2.0.0" } }, "locate-path": { @@ -8093,9 +8464,9 @@ } }, "logform": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/logform/-/logform-2.6.1.tgz", - "integrity": "sha512-CdaO738xRapbKIMVn2m4F6KTj4j7ooJ8POVnebSgKo3KBz5axNXRAL7ZdRjIV6NOr2Uf4vjtRkxrFETOioCqSA==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/logform/-/logform-2.7.0.tgz", + "integrity": "sha512-TFYA4jnP7PVbmlBIfhlSe+WKxs9dklXMTEGcBCIvLhE/Tn3H6Gk1norupVW7m5Cnd4bLcr08AytbyV/xj7f/kQ==", "dev": true, "requires": { "@colors/colors": "1.6.0", @@ -8116,13 +8487,9 @@ } }, "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "optional": true, - "requires": { - "yallist": "^4.0.0" - } + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==" }, "map-cache": { "version": "0.2.2", @@ -8137,22 +8504,23 @@ "dev": true }, "markdown-it": { - "version": "12.3.2", - "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-12.3.2.tgz", - "integrity": "sha512-TchMembfxfNVpHkbtriWltGWc+m3xszaRD0CZup7GFFhzIgQqxIfn3eGj1yZpfuflzPvfkt611B2Q/Bsk1YnGg==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-14.1.0.tgz", + "integrity": "sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==", "dev": true, "requires": { "argparse": "^2.0.1", - "entities": "~2.1.0", - "linkify-it": "^3.0.1", - "mdurl": "^1.0.1", - "uc.micro": "^1.0.5" + "entities": "^4.4.0", + "linkify-it": "^5.0.0", + "mdurl": "^2.0.0", + "punycode.js": "^2.3.1", + "uc.micro": "^2.1.0" }, "dependencies": { "entities": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.1.0.tgz", - "integrity": "sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", "dev": true } } @@ -8170,6 +8538,11 @@ "integrity": "sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==", "dev": true }, + "math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==" + }, "md5": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/md5/-/md5-2.3.0.tgz", @@ -8182,9 +8555,9 @@ } }, "mdurl": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", - "integrity": "sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-2.0.0.tgz", + "integrity": "sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==", "dev": true }, "merge-stream": { @@ -8194,9 +8567,9 @@ "dev": true }, "micromatch": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", - "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "dev": true, "requires": { "braces": "3.0.3", @@ -8233,7 +8606,7 @@ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", "requires": { - "brace-expansion": "^2.0.1" + "brace-expansion": "2.0.2" } }, "minimist": { @@ -8242,6 +8615,11 @@ "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", "optional": true }, + "minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==" + }, "mkdirp": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", @@ -8255,9 +8633,9 @@ "optional": true }, "mocha": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.6.0.tgz", - "integrity": "sha512-hxjt4+EEB0SA0ZDygSS015t65lJw/I2yRCS3Ae+SJ5FrbzrXgfYwJr96f0OvIXdj7h4lv/vLCrH3rkiuizFSvw==", + "version": "10.8.2", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.8.2.tgz", + "integrity": "sha512-VZlYo/WE8t1tstuRmqgeyBgCbJc/lEdopaa+axcKzTBJ+UIdlAB9XnmvTCAH4pwR4ElNInaedhEBmZD8iCSVEg==", "dev": true, "requires": { "ansi-colors": "^4.1.3", @@ -8267,13 +8645,13 @@ "diff": "^5.2.0", "escape-string-regexp": "^4.0.0", "find-up": "^5.0.0", - "glob": "^8.1.0", + "glob": "10.3.11", "he": "^1.2.0", "js-yaml": "^4.1.0", "log-symbols": "^4.1.0", "minimatch": "5.1.0", "ms": "^2.1.3", - "serialize-javascript": "^6.0.2", + "serialize-javascript": "6.0.2", "strip-json-comments": "^3.1.1", "supports-color": "^8.1.1", "workerpool": "^6.5.1", @@ -8282,25 +8660,6 @@ "yargs-unparser": "^2.0.0" }, "dependencies": { - "glob": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", - "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "5.1.0", - "once": "^1.3.0" - } - }, - "ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true - }, "supports-color": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", @@ -8332,9 +8691,9 @@ "dev": true }, "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" }, "multipart-stream": { "version": "2.0.1", @@ -8377,20 +8736,6 @@ "rimraf": "~2.4.0" }, "dependencies": { - "glob": { - "version": "6.0.4", - "resolved": "https://registry.npmjs.org/glob/-/glob-6.0.4.tgz", - "integrity": "sha512-MKZeRNyYZAVVVG1oZeLaWie1uweH40m9AZwIwxyPbTSX4hHrVYSzLg0Ro5Z5R7XKkIX+Cc6oD1rqeDJnwsB8/A==", - "dev": true, - "optional": true, - "requires": { - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "5.1.0", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, "mkdirp": { "version": "0.5.6", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", @@ -8408,28 +8753,28 @@ "dev": true, "optional": true, "requires": { - "glob": "^6.0.1" + "glob": "10.3.11" } } } }, "nan": { - "version": "2.20.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.20.0.tgz", - "integrity": "sha512-bk3gXBZDGILuuo/6sKtr0DQmSThYHLtNCdSdXk9YkxD/jK6X2vmCyyXBBxyqZ4XcnzTyYEAThfX3DCEnLf6igw==", + "version": "2.23.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.23.0.tgz", + "integrity": "sha512-1UxuyYGdoQHcGg87Lkqm3FzefucTa0NAiOcuRsDmysep3c1LVCRK2krrUDafMWtjSG04htvAmvg96+SDknOmgQ==", "dev": true, "optional": true }, "nanoid": { - "version": "3.1.31", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.31.tgz", - "integrity": "sha512-ZivnJm0o9bb13p2Ot5CpgC2rQdzB9Uxm/mFZweqm5eMViqOJe3PV6LU2E30SiLgheesmcPrjquqraoolONSA0A==", + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", "dev": true }, "napi-build-utils": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-1.0.2.tgz", - "integrity": "sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-2.0.0.tgz", + "integrity": "sha512-GEbrYkbfF7MoNaoh2iGG84Mnf/WZfB0GdGEsM8wz7Expx/LlWf5U8t9nvJKXSp3qr5IsEbK04cBGhol/KwOsWA==", "optional": true }, "natural-compare": { @@ -8445,9 +8790,9 @@ "optional": true }, "node-abi": { - "version": "3.65.0", - "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.65.0.tgz", - "integrity": "sha512-ThjYBfoDNr08AWx6hGaRbfPwxKV9kVzAzOzlLKbk2CuqXE2xnCh+cbAGnwM3t8Lq4v9rUB7VfondlkBckcJrVA==", + "version": "3.75.0", + "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.75.0.tgz", + "integrity": "sha512-OhYaY5sDsIka7H7AtijtI9jwGYLyl29eQn/W623DiN/MIv5sUqc4g7BIDThX+gb7di9f6xK02nkp8sdfFWZLTg==", "optional": true, "requires": { "semver": "7.5.3" @@ -8484,9 +8829,9 @@ } }, "object-inspect": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", - "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==" + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", + "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==" }, "object.defaults": { "version": "1.1.0", @@ -8606,11 +8951,6 @@ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==" }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==" - }, "path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", @@ -8637,6 +8977,15 @@ "integrity": "sha512-4GlJ6rZDhQZFE0DPVKh0e9jmZ5egZfxTkp7bcRDuPlJXbAwhxcl2dINPUAsjLdejqaLsCeg8axcLjIbvBjN4pQ==", "dev": true }, + "path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "requires": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + } + }, "pathval": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", @@ -8644,9 +8993,9 @@ "dev": true }, "picocolors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", - "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", "dev": true }, "picomatch": { @@ -8669,20 +9018,20 @@ } }, "postcss": { - "version": "8.4.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.39.tgz", - "integrity": "sha512-0vzE+lAiG7hZl1/9I8yzKLx3aR9Xbof3fBHKunvMfOCYAtMhrsnccJY2iTURb9EZd5+pLuiNV9/c/GZJOHsgIw==", + "version": "8.5.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz", + "integrity": "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==", "dev": true, "requires": { - "nanoid": "3.1.31", - "picocolors": "^1.0.1", - "source-map-js": "^1.2.0" + "nanoid": "3.3.8", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" } }, "prebuild-install": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.1.tgz", - "integrity": "sha512-jAXscXWMcCK8GgCoHOfIr0ODh5ai8mj63L2nWrjuAgXE6tDyYGnx4/8o/rCgU+B4JSyZBKbeZqzhtwtC3ovxjw==", + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.3.tgz", + "integrity": "sha512-8Mf2cbV7x1cXPUILADGI3wuhfqWvtiLA1iclTDbFRZkgRQS0NqsPZphna9V+HyTEadheuPmjaJMsbzKQFOzLug==", "optional": true, "requires": { "detect-libc": "^2.0.0", @@ -8690,12 +9039,12 @@ "github-from-package": "0.0.0", "minimist": "^1.2.3", "mkdirp-classic": "^0.5.3", - "napi-build-utils": "^1.0.1", + "napi-build-utils": "^2.0.0", "node-abi": "^3.3.0", "pump": "^3.0.0", "rc": "^1.2.7", "simple-get": "4.0.1", - "tar-fs": "^2.0.0", + "tar-fs": "2.1.3", "tunnel-agent": "^0.6.0" } }, @@ -8711,9 +9060,9 @@ "dev": true }, "pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.3.tgz", + "integrity": "sha512-todwxLMY7/heScKmntwQG8CXVkWUOdYxIvY2s0VWAAMh/nd8SoYiRaKjlr7+iCs984f2P8zvrfWcDDYVb73NfA==", "optional": true, "requires": { "end-of-stream": "^1.1.0", @@ -8725,12 +9074,18 @@ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==" }, + "punycode.js": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode.js/-/punycode.js-2.3.1.tgz", + "integrity": "sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==", + "dev": true + }, "qs": { - "version": "6.12.3", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.12.3.tgz", - "integrity": "sha512-AWJm14H1vVaO/iNZ4/hO+HyaTehuy9nRqVdkTqlJt0HWvBiBIEXFmb4C0DGeYo3Xes9rrEW+TxHsaigCbN5ICQ==", + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.0.tgz", + "integrity": "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==", "requires": { - "side-channel": "^1.0.6" + "side-channel": "^1.1.0" } }, "queue-microtask": { @@ -8738,12 +9093,6 @@ "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==" }, - "queue-tick": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.1.tgz", - "integrity": "sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag==", - "devOptional": true - }, "randombytes": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", @@ -8871,12 +9220,12 @@ } }, "resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "version": "1.22.10", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz", + "integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==", "dev": true, "requires": { - "is-core-module": "^2.13.0", + "is-core-module": "^2.16.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" } @@ -8906,16 +9255,16 @@ } }, "reusify": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==" + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz", + "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==" }, "rimraf": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "requires": { - "glob": "^7.1.3" + "glob": "10.3.11" } }, "run-parallel": { @@ -8939,9 +9288,9 @@ "optional": true }, "safe-stable-stringify": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.4.3.tgz", - "integrity": "sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g==", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.5.0.tgz", + "integrity": "sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==", "dev": true }, "safer-buffer": { @@ -8956,9 +9305,9 @@ "integrity": "sha512-2dkauRpV97eUtQOf5wCVRQzu95TSCl6cV+LxmZODzj8gmafWjtTXrDZNU8CdnaJM3A4zabtsdg+4Nju36ncbdQ==" }, "sanitize-html": { - "version": "2.13.0", - "resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-2.13.0.tgz", - "integrity": "sha512-Xff91Z+4Mz5QiNSLdLWwjgBDm5b1RU6xBT0+12rapjiaR7SwfRdjw8f+6Rir2MXKLrDicRFHdb51hGOAxmsUIA==", + "version": "2.17.0", + "resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-2.17.0.tgz", + "integrity": "sha512-dLAADUSS8rBwhaevT12yCezvioCA+bmUTPH/u57xKPT8d++voeYE6HeluA/bPbQ15TwDBG2ii+QZIEmYx8VdxA==", "dev": true, "requires": { "deepmerge": "^4.2.2", @@ -8996,9 +9345,9 @@ } }, "domutils": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.1.0.tgz", - "integrity": "sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.2.2.tgz", + "integrity": "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==", "dev": true, "requires": { "dom-serializer": "^2.0.0", @@ -9033,6 +9382,17 @@ "optional": true, "requires": { "lru-cache": "^6.0.0" + }, + "dependencies": { + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "optional": true, + "requires": { + "yallist": "^4.0.0" + } + } } }, "semver-greatest-satisfied-range": { @@ -9053,19 +9413,6 @@ "randombytes": "^2.1.0" } }, - "set-function-length": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", - "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", - "requires": { - "define-data-property": "^1.1.4", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.2" - } - }, "shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -9134,14 +9481,47 @@ "dev": true }, "side-channel": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", - "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", + "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", + "requires": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3", + "side-channel-list": "^1.0.0", + "side-channel-map": "^1.0.1", + "side-channel-weakmap": "^1.0.2" + } + }, + "side-channel-list": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz", + "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==", + "requires": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3" + } + }, + "side-channel-map": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", + "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", "requires": { - "call-bind": "^1.0.7", + "call-bound": "^1.0.2", "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.4", - "object-inspect": "^1.13.1" + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3" + } + }, + "side-channel-weakmap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", + "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", + "requires": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3", + "side-channel-map": "^1.0.1" } }, "signal-exit": { @@ -9177,9 +9557,9 @@ } }, "source-map-js": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", - "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", "dev": true }, "sparkles": { @@ -9224,14 +9604,13 @@ } }, "streamx": { - "version": "2.18.0", - "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.18.0.tgz", - "integrity": "sha512-LLUC1TWdjVdn1weXGcSxyTR3T4+acB6tVGXT95y0nGbca4t4o/ng1wKAGTljm9VicuCVLvRlqFYXYy5GwgM7sQ==", + "version": "2.22.1", + "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.22.1.tgz", + "integrity": "sha512-znKXEBxfatz2GBNK02kRnCXjV+AA4kjZIUxeWSr3UGirZMJfTE9uiwKHobnbgxWyL/JWro8tTq+vOqAK1/qbSA==", "devOptional": true, "requires": { "bare-events": "^2.2.0", "fast-fifo": "^1.3.2", - "queue-tick": "^1.0.1", "text-decoder": "^1.1.0" } }, @@ -9247,7 +9626,16 @@ "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "string-width-cjs": { + "version": "npm:string-width@4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "requires": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -9262,6 +9650,14 @@ "ansi-regex": "^5.0.1" } }, + "strip-ansi-cjs": { + "version": "npm:strip-ansi@6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + }, "strip-final-newline": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", @@ -9297,9 +9693,9 @@ } }, "tar-fs": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz", - "integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==", + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.3.tgz", + "integrity": "sha512-090nwYJDmlhwFwEW3QQl+vaNnxsO2yVsd45eTKRBzSzu+hlb1w2K9inVq5b0ngXuLVqQ4ApvsUHHnu/zQNkWAg==", "optional": true, "requires": { "chownr": "^1.1.1", @@ -9331,9 +9727,9 @@ } }, "text-decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.1.1.tgz", - "integrity": "sha512-8zll7REEv4GDD3x4/0pW+ppIxSNs7H1J10IKFZsuOMscumCdM2a+toDGLPA3T+1+fLBql4zbt5z83GEQGGV5VA==", + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.2.3.tgz", + "integrity": "sha512-3/o9z3X0X0fTupwsYvR03pJ/DjWuqqrfwBgTQzdWDiQSm9KitAyz/9WqsT2JQW7KV2m+bC2ol/zqpW37NHxLaA==", "devOptional": true, "requires": { "b4a": "^1.6.4" @@ -9384,7 +9780,7 @@ "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", "dev": true, "requires": { - "glob": "^7.1.3" + "glob": "10.3.11" } } } @@ -9414,9 +9810,9 @@ "dev": true }, "tslib": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.3.tgz", - "integrity": "sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==", + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", "dev": true }, "tunnel-agent": { @@ -9437,9 +9833,9 @@ } }, "type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==" + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.1.0.tgz", + "integrity": "sha512-Acylog8/luQ8L7il+geoSxhEkazvkslg7PSNKOX59mbB9cOveP5aq9h74Y7YU8yDpJwetzQQrfIwtf4Wp4LKcw==" }, "type-fest": { "version": "0.20.2", @@ -9452,9 +9848,9 @@ "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==" }, "uc.micro": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz", - "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-2.1.0.tgz", + "integrity": "sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==", "dev": true }, "unc-path-regex": { @@ -9464,9 +9860,9 @@ "dev": true }, "underscore": { - "version": "1.13.6", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.6.tgz", - "integrity": "sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A==", + "version": "1.13.7", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.7.tgz", + "integrity": "sha512-GMXzWtsc57XAtguZgaQViUOzs0KTkk8ojr3/xAxXLITqf/3EMwxC0inyETfDFjH/Krbhuep0HNbbjI9i/q3F3g==", "dev": true }, "undertaker": { @@ -9524,13 +9920,12 @@ "dev": true }, "vinyl": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-3.0.0.tgz", - "integrity": "sha512-rC2VRfAVVCGEgjnxHUnpIVh3AGuk62rP3tqVrn+yab0YH7UULisC085+NYH+mnqf3Wx4SpSi1RQMwudL89N03g==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-3.0.1.tgz", + "integrity": "sha512-0QwqXteBNXgnLCdWdvPQBX6FXRHtIH3VhJPTd5Lwn28tJXc34YqSCWUmkOvtJHBmB3gGoPtrOKk3Ts8/kEZ9aA==", "devOptional": true, "requires": { "clone": "^2.1.2", - "clone-stats": "^1.0.0", "remove-trailing-separator": "^1.1.0", "replace-ext": "^2.0.0", "teex": "^1.0.1" @@ -9570,13 +9965,13 @@ } }, "vinyl-fs": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/vinyl-fs/-/vinyl-fs-4.0.0.tgz", - "integrity": "sha512-7GbgBnYfaquMk3Qu9g22x000vbYkOex32930rBnc3qByw6HfMEAoELjCjoJv4HuEQxHAurT+nvMHm6MnJllFLw==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/vinyl-fs/-/vinyl-fs-4.0.2.tgz", + "integrity": "sha512-XRFwBLLTl8lRAOYiBqxY279wY46tVxLaRhSwo3GzKEuLz1giffsOquWWboD/haGf5lx+JyTigCFfe7DWHoARIA==", "dev": true, "requires": { "fs-mkdirp-stream": "^2.0.1", - "glob-stream": "^8.0.0", + "glob-stream": "^8.0.3", "graceful-fs": "^4.2.11", "iconv-lite": "^0.6.3", "is-valid-glob": "^1.0.0", @@ -9587,7 +9982,7 @@ "streamx": "^2.14.0", "to-through": "^3.0.0", "value-or-function": "^4.0.0", - "vinyl": "^3.0.0", + "vinyl": "^3.0.1", "vinyl-sourcemap": "^2.0.0" } }, @@ -9656,31 +10051,31 @@ } }, "winston": { - "version": "3.13.1", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.13.1.tgz", - "integrity": "sha512-SvZit7VFNvXRzbqGHsv5KSmgbEYR5EiQfDAL9gxYkRqa934Hnk++zze0wANKtMHcy/gI4W/3xmSDwlhf865WGw==", + "version": "3.17.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.17.0.tgz", + "integrity": "sha512-DLiFIXYC5fMPxaRg832S6F5mJYvePtmO5G9v9IgUFPhXm9/GkXarH/TUrBAVzhTCzAj9anE/+GjrgXp/54nOgw==", "dev": true, "requires": { "@colors/colors": "^1.6.0", "@dabh/diagnostics": "^2.0.2", "async": "^3.2.3", "is-stream": "^2.0.0", - "logform": "^2.6.0", + "logform": "^2.7.0", "one-time": "^1.0.0", "readable-stream": "^3.4.0", "safe-stable-stringify": "^2.3.1", "stack-trace": "0.0.x", "triple-beam": "^1.3.0", - "winston-transport": "^4.7.0" + "winston-transport": "^4.9.0" } }, "winston-transport": { - "version": "4.7.1", - "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.7.1.tgz", - "integrity": "sha512-wQCXXVgfv/wUPOfb2x0ruxzwkcZfxcktz6JIMUaPLmcNhO4bZTwA/WtDWK74xV3F2dKu8YadrFv0qhwYjVEwhA==", + "version": "4.9.0", + "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.9.0.tgz", + "integrity": "sha512-8drMJ4rkgaPo1Me4zD/3WLfI/zPdA9o2IipKODunnGDcuqbHwjsbB79ylv04LCGGzU0xQ6vTznOMpQGaLhhm6A==", "dev": true, "requires": { - "logform": "^2.6.1", + "logform": "^2.7.0", "readable-stream": "^3.6.2", "triple-beam": "^1.3.0" } @@ -9697,10 +10092,54 @@ "dev": true }, "wrap-ansi": { - "version": "7.0.0", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "requires": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "dependencies": { + "ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==" + }, + "ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==" + }, + "emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" + }, + "string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "requires": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + } + }, + "strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "requires": { + "ansi-regex": "^6.0.1" + } + } + } + }, + "wrap-ansi-cjs": { + "version": "npm:wrap-ansi@7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, "requires": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", diff --git a/package.json b/package.json index 9de6e106..497ab934 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "name": "marklogic", "description": "The official MarkLogic Node.js client API.", "homepage": "https://github.com/marklogic/node-client-api", - "version": "3.5.0", + "version": "3.7.0", "license": "Apache-2.0", "main": "./lib/marklogic.js", "scripts": { @@ -34,7 +34,7 @@ "deepcopy": "^2.1.0", "duplexify": "^4.1.2", "eslint": "^8.57.0", - "form-data": "^4.0.0", + "form-data": "^4.0.4", "json-text-sequence": "^1.0.1", "multipart-stream": "^2.0.1", "qs": "^6.11.0", @@ -77,12 +77,18 @@ }, "overrides": { "braces": "3.0.3", + "brace-expansion": "2.0.2", + "cross-spawn":"7.0.6", "jsdoc": "4.0.0", "sanitize-html": "^2.13.0", + "markdown-it": "14.1.0", "minimatch": "5.1.0", - "nanoid": "3.1.31", + "nanoid": "3.3.8", + "glob": "10.3.11", "glob-parent": "6.0.2", "simple-get": "4.0.1", - "semver": "7.5.3" + "semver": "7.5.3", + "serialize-javascript": "6.0.2", + "tar-fs": "2.1.3" } } diff --git a/test-app/build.gradle b/test-app/build.gradle index b8dea2a2..7f09cda1 100644 --- a/test-app/build.gradle +++ b/test-app/build.gradle @@ -1,5 +1,29 @@ // Only used for setting up the test AppServer in MarkLogic plugins { id 'net.saliman.properties' version '1.5.2' - id "com.marklogic.ml-gradle" version "4.6.0" + id "com.marklogic.ml-gradle" version "5.0.0" +} + +tasks.register("addMarkLogic12SchemasIfNecessary", com.marklogic.gradle.task.MarkLogicTask) { + description = "If testing against MarkLogic 12, include schemas that will not work on MarkLogic 11 or earlier." + doLast { + def version = new com.marklogic.mgmt.resource.clusters.ClusterManager(getManageClient()).getVersion() + if (version.startsWith("12.")) { + mlAppConfig.getSchemaPaths().add(new File(getProjectDir(), "src/main/ml-schemas-12").getAbsolutePath()) + } + } +} +mlDeploy.dependsOn addMarkLogic12SchemasIfNecessary +mlLoadSchemas.dependsOn addMarkLogic12SchemasIfNecessary + +/* + * Required for forcing MarkLogic to generate a temporary certificate for the app server + * that requires SSL. + */ +ext { + def command = new com.marklogic.appdeployer.command.security.GenerateTemporaryCertificateCommand() + command.setTemplateIdOrName("node-client-ssl-template") + command.setCommonName("localhost") + command.setValidFor(365) + mlAppDeployer.commands.add(command) } diff --git a/test-app/docker-compose.yaml b/test-app/docker-compose.yaml index 2ca2b473..af43e8c7 100644 --- a/test-app/docker-compose.yaml +++ b/test-app/docker-compose.yaml @@ -1,10 +1,10 @@ -version: '1.0' name: node-client services: marklogic: - image: "marklogicdb/marklogic-db:11.1.0-centos-1.1.0" + image: "progressofficial/marklogic-db:latest" + # image: "ml-docker-db-dev-tierpoint.bed-artifactory.bedford.progress.com/marklogic/marklogic-server-ubi:latest-12" platform: linux/amd64 environment: - INSTALL_CONVERTERS=true @@ -15,4 +15,4 @@ services: - ./docker/marklogic/logs:/var/opt/MarkLogic/Logs ports: - 8000-8002:8000-8002 - - 8015:8015 + - 8015-8016:8015-8016 diff --git a/test-app/src/main/ml-config/security/certificate-templates/template.xml b/test-app/src/main/ml-config/security/certificate-templates/template.xml new file mode 100644 index 00000000..9aeb2602 --- /dev/null +++ b/test-app/src/main/ml-config/security/certificate-templates/template.xml @@ -0,0 +1,17 @@ + + node-client-ssl-template + This template is for testing SSL with the Node Client. + rsa + + + 0 + + US + VA + McLean + MarkLogic + Sales + nobody@marklogic.com + + + \ No newline at end of file diff --git a/test-app/src/main/ml-config/servers/ssl-server.json b/test-app/src/main/ml-config/servers/ssl-server.json new file mode 100644 index 00000000..c24b9e68 --- /dev/null +++ b/test-app/src/main/ml-config/servers/ssl-server.json @@ -0,0 +1,15 @@ +{ + "server-name": "unittest-nodeapi-ssl", + "server-type": "http", + "root": "/", + "group-name": "Default", + "port": 8017, + "modules-database": "%%MODULES_DATABASE%%", + "content-database": "%%DATABASE%%", + "ssl-certificate-template": "node-client-ssl-template", + "url-rewriter": "/MarkLogic/rest-api/rewriter.xml", + "rewrite-resolves-globally": true, + "error-handler": "/MarkLogic/rest-api/error-handler.xqy", + "default-error-format": "json" + } + \ No newline at end of file diff --git a/test-app/src/main/ml-data/optic/vectors/alice.json b/test-app/src/main/ml-data/optic/vectors/alice.json new file mode 100644 index 00000000..8dc6f233 --- /dev/null +++ b/test-app/src/main/ml-data/optic/vectors/alice.json @@ -0,0 +1,11 @@ +{ + "person": { + "name": "Alice", + "summary": "About Alice", + "embedding": [ + 1.1, + 2.2, + 3.3 + ] + } +} diff --git a/test-app/src/main/ml-data/optic/vectors/bob.json b/test-app/src/main/ml-data/optic/vectors/bob.json new file mode 100644 index 00000000..15aed943 --- /dev/null +++ b/test-app/src/main/ml-data/optic/vectors/bob.json @@ -0,0 +1,11 @@ +{ + "person": { + "name": "Bob", + "summary": "Below Bob", + "embedding": [ + 9.9, + 8.8, + 7.7 + ] + } +} diff --git a/test-app/src/main/ml-data/optic/vectors/permissions.properties b/test-app/src/main/ml-data/optic/vectors/permissions.properties new file mode 100644 index 00000000..c9778549 --- /dev/null +++ b/test-app/src/main/ml-data/optic/vectors/permissions.properties @@ -0,0 +1 @@ +*=rest-reader,read,rest-writer,update diff --git a/test-app/src/main/ml-modules/root/optic/test/transformDoc-test-forServerVersion12.mjs b/test-app/src/main/ml-modules/root/optic/test/transformDoc-test-forServerVersion12.mjs new file mode 100644 index 00000000..743a2025 --- /dev/null +++ b/test-app/src/main/ml-modules/root/optic/test/transformDoc-test-forServerVersion12.mjs @@ -0,0 +1,6 @@ +const result = { + "hello": "world", + "yourParam": external.myParam, + "theDoc": external.doc +} +export default result diff --git a/test-app/src/main/ml-modules/root/optic/test/transformDoc-test-two-params-forServerVersion12.mjs b/test-app/src/main/ml-modules/root/optic/test/transformDoc-test-two-params-forServerVersion12.mjs new file mode 100644 index 00000000..799b22c5 --- /dev/null +++ b/test-app/src/main/ml-modules/root/optic/test/transformDoc-test-two-params-forServerVersion12.mjs @@ -0,0 +1,5 @@ +const result = {"hello": "world", + "Patch1": external.patch1, + "Patch2": external.patch2, + "theDoc": external.doc} +export default result diff --git a/test-app/src/main/ml-schemas-12/tde/vector.xml b/test-app/src/main/ml-schemas-12/tde/vector.xml new file mode 100644 index 00000000..3c6de4ec --- /dev/null +++ b/test-app/src/main/ml-schemas-12/tde/vector.xml @@ -0,0 +1,31 @@ + diff --git a/test-basic-proxy/lib/negative/badAtomicParameterTest.js b/test-basic-proxy/lib/negative/badAtomicParameterTest.js index 17ed01df..9887f053 100644 --- a/test-basic-proxy/lib/negative/badAtomicParameterTest.js +++ b/test-basic-proxy/lib/negative/badAtomicParameterTest.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const expect = require('chai').expect; diff --git a/test-basic-proxy/lib/negative/badExecutionTest.js b/test-basic-proxy/lib/negative/badExecutionTest.js index 06193124..64658602 100644 --- a/test-basic-proxy/lib/negative/badExecutionTest.js +++ b/test-basic-proxy/lib/negative/badExecutionTest.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const expect = require('chai').expect; diff --git a/test-basic-proxy/lib/negative/badGenerationTest.js b/test-basic-proxy/lib/negative/badGenerationTest.js index f68a6bf8..2145595b 100644 --- a/test-basic-proxy/lib/negative/badGenerationTest.js +++ b/test-basic-proxy/lib/negative/badGenerationTest.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const expect = require('chai').expect; diff --git a/test-basic-proxy/lib/negative/badIOTest.js b/test-basic-proxy/lib/negative/badIOTest.js index ba75b895..a2e71706 100644 --- a/test-basic-proxy/lib/negative/badIOTest.js +++ b/test-basic-proxy/lib/negative/badIOTest.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const fs = require('fs'); diff --git a/test-basic-proxy/lib/negative/badNodeParameterTest.js b/test-basic-proxy/lib/negative/badNodeParameterTest.js index a723f01d..81839296 100644 --- a/test-basic-proxy/lib/negative/badNodeParameterTest.js +++ b/test-basic-proxy/lib/negative/badNodeParameterTest.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const expect = require('chai').expect; diff --git a/test-basic-proxy/lib/positive/atomicReturnMappingTest.js b/test-basic-proxy/lib/positive/atomicReturnMappingTest.js index 701b771c..4753dd68 100644 --- a/test-basic-proxy/lib/positive/atomicReturnMappingTest.js +++ b/test-basic-proxy/lib/positive/atomicReturnMappingTest.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const fs = require('fs'); diff --git a/test-basic-proxy/lib/positive/decoratorBaseTest.js b/test-basic-proxy/lib/positive/decoratorBaseTest.js index 41d56c7d..271fab23 100644 --- a/test-basic-proxy/lib/positive/decoratorBaseTest.js +++ b/test-basic-proxy/lib/positive/decoratorBaseTest.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const expect = require('chai').expect; diff --git a/test-basic-proxy/lib/positive/decoratorCustomTest.js b/test-basic-proxy/lib/positive/decoratorCustomTest.js index 2cc710e8..50bc31d6 100644 --- a/test-basic-proxy/lib/positive/decoratorCustomTest.js +++ b/test-basic-proxy/lib/positive/decoratorCustomTest.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const expect = require('chai').expect; diff --git a/test-basic-proxy/lib/positive/mimetypeTest.js b/test-basic-proxy/lib/positive/mimetypeTest.js index a019acfa..ddffa443 100644 --- a/test-basic-proxy/lib/positive/mimetypeTest.js +++ b/test-basic-proxy/lib/positive/mimetypeTest.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const fs = require('fs'); diff --git a/test-basic-proxy/lib/positive/sessionsTest.js b/test-basic-proxy/lib/positive/sessionsTest.js index 1e4e6e02..60d661fe 100644 --- a/test-basic-proxy/lib/positive/sessionsTest.js +++ b/test-basic-proxy/lib/positive/sessionsTest.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const expect = require('chai').expect; diff --git a/test-basic-proxy/lib/positive/streamerTest.js b/test-basic-proxy/lib/positive/streamerTest.js index feff5c02..57be0926 100644 --- a/test-basic-proxy/lib/positive/streamerTest.js +++ b/test-basic-proxy/lib/positive/streamerTest.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const fs = require('fs'); diff --git a/test-basic-proxy/lib/positive/supplementalAtomicParameterTest.js b/test-basic-proxy/lib/positive/supplementalAtomicParameterTest.js index a1405b15..0dcc6af7 100644 --- a/test-basic-proxy/lib/positive/supplementalAtomicParameterTest.js +++ b/test-basic-proxy/lib/positive/supplementalAtomicParameterTest.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const expect = require('chai').expect; diff --git a/test-basic-proxy/lib/positive/supplementalNodeParameterTest.js b/test-basic-proxy/lib/positive/supplementalNodeParameterTest.js index a802b43b..5a3851ff 100644 --- a/test-basic-proxy/lib/positive/supplementalNodeParameterTest.js +++ b/test-basic-proxy/lib/positive/supplementalNodeParameterTest.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const expect = require('chai').expect; diff --git a/test-basic-proxy/lib/testutil.js b/test-basic-proxy/lib/testutil.js index 0126063e..c68f77bc 100644 --- a/test-basic-proxy/lib/testutil.js +++ b/test-basic-proxy/lib/testutil.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const marklogic = require('../../'); diff --git a/test-basic-proxy/testGenerator.js b/test-basic-proxy/testGenerator.js index e1088f76..aa73f839 100644 --- a/test-basic-proxy/testGenerator.js +++ b/test-basic-proxy/testGenerator.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const fs = require('fs'); diff --git a/test-basic/annTopK.js b/test-basic/annTopK.js new file mode 100644 index 00000000..5ea4d8d8 --- /dev/null +++ b/test-basic/annTopK.js @@ -0,0 +1,110 @@ +/* +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ +'use strict'; + +const marklogic = require('../'); +const p = marklogic.planBuilder; + +const pbb = require('./plan-builder-base'); +const assert = require('assert'); +const testlib = require('../etc/test-lib'); +let serverConfiguration = {}; +const execPlan = pbb.execPlan; + +describe('tests for annTopK', function () { + this.timeout(5000) + before(function (done) { + try { + testlib.findServerConfiguration(serverConfiguration); + setTimeout(() => { + if (serverConfiguration.serverVersion < 12) { + this.skip(); + } + done(); + }, 3000); + } catch (error) { + done(error); + } + }); + + it('annTopK without PlanAnnTopKOptions', function (done) { + execPlan(p + .fromView('vectors', 'persons', '') + .annTopK(10, p.col('embedding'), p.vec.vector([1.1, 2.2, 3.3]), p.col('distance')) + .orderBy(p.col('name')) + ) + .then(function (response) { + verifyResults(response.rows, done); + }) + .catch(error => done(error)); + }); + + it('annTopK with PlanAnnTopKOptions as a single string', function (done) { + execPlan(p + .fromView('vectors', 'persons', '') + .annTopK(10, p.col('embedding'), p.vec.vector([1.1, 2.2, 3.3]), p.col('distance'), 'onlyIndex') + .orderBy(p.col('name')) + ) + .then(function (response) { + verifyResults(response.rows, done); + }) + .catch(error => done(error)); + }); + + it('annTopK with PlanAnnTopKOptions as an array of string', function (done) { + execPlan(p + .fromView('vectors', 'persons', '') + .annTopK(10, p.col('embedding'), p.vec.vector([1.1, 2.2, 3.3]), p.col('distance'), + ['onlyIndex', "maxDistance=0.15", "searchFactor=1.0"]) + .orderBy(p.col('name')) + ).then(function (response) { + verifyResults(response.rows, done); + }).catch(error => done(error)); + }); + + it('annTopK with PlanAnnTopKOptions as a map', function (done) { + const planAnnTopKOptionsMap = new Map(); + planAnnTopKOptionsMap.set("maxDistance", 0.158454656600952); + planAnnTopKOptionsMap.set("searchFactor", 10.0); + execPlan(p + .fromView('vectors', 'persons', '') + .annTopK(10, p.col('embedding'), p.vec.vector([1.1, 2.2, 3.3]), p.col('distance'), + planAnnTopKOptionsMap) + .orderBy(p.col('name')) + ) + .then(function (response) { + verifyResults(response.rows, done); + }) + .catch(error => done(error)); + }); + + it('annTopK with invalid PlanAnnTopKOptions', function (done) { + const planAnnTopKOptionsMap = new Map(); + planAnnTopKOptionsMap.set('invalid', 10.0); + try{ + execPlan(p + .fromView('vectors', 'persons', '') + .annTopK(10, p.col('embedding'), p.vec.vector([1.1, 2.2, 3.3]), p.col('distance'), + planAnnTopKOptionsMap) + .orderBy(p.col('name')) + ); + } catch(error){ + assert(error.message.toString().includes('options argument at 4 of PlanModifyPlan.annTopK() has invalid key- invalid')) + done(); + } + }); + + function verifyResults(rows, done){ + try { + assert(rows.length === 2, 'Expecting both rows in the view to be returned.'); + assert(rows[0].name.value === 'Alice'); + assert(rows[0].distance.type === 'xs:float', 'Verifying that the distance column was populated.'); + assert(rows[1].name.value === 'Bob'); + assert(rows[1].distance.type === 'xs:float', 'Verifying that the distance column was populated.'); + done(); + } catch (error){ + done(error) + } + } +}); \ No newline at end of file diff --git a/test-basic/basePath-test.js b/test-basic/basePath-test.js index 1082de64..082acc23 100644 --- a/test-basic/basePath-test.js +++ b/test-basic/basePath-test.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2023 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const testconfig = require('../etc/test-config.js'); const marklogic = require('../'); diff --git a/test-basic/bindingFromParam.js b/test-basic/bindingFromParam.js index d6da57ae..1dd6b558 100644 --- a/test-basic/bindingFromParam.js +++ b/test-basic/bindingFromParam.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2023 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const testconfig = require('../etc/test-config.js'); const marklogic = require('../'); diff --git a/test-basic/client.js b/test-basic/client.js index b6710777..24236061 100644 --- a/test-basic/client.js +++ b/test-basic/client.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var assert = require('assert'); var should = require('should'); diff --git a/test-basic/cloud_authentication-test.js b/test-basic/cloud_authentication-test.js index 787be9ac..0846fa99 100644 --- a/test-basic/cloud_authentication-test.js +++ b/test-basic/cloud_authentication-test.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2023 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const marklogic = require('../'); let assert = require('assert'); diff --git a/test-basic/data/echoModule.js b/test-basic/data/echoModule.js index dd3a423e..27425c1f 100644 --- a/test-basic/data/echoModule.js +++ b/test-basic/data/echoModule.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var test; var extra; @@ -48,6 +36,5 @@ case 10: xdmp.arrayValues([1, 'two', {i:3}, [4,'four'], xdmp.unquote('5')]); break; default: - extra; break; } diff --git a/test-basic/data/timestampTransform.js b/test-basic/data/timestampTransform.js index 67eb6e78..fd672aa6 100644 --- a/test-basic/data/timestampTransform.js +++ b/test-basic/data/timestampTransform.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ function timestampTransform(context, params, document) { var newDoc = document.toObject(); diff --git a/test-basic/data/transformAll_transform.js b/test-basic/data/transformAll_transform.js index 3abad725..877a2b93 100644 --- a/test-basic/data/transformAll_transform.js +++ b/test-basic/data/transformAll_transform.js @@ -1,18 +1,6 @@ -/* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +/* +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ function transform_function(context, params, content) { let document = content.toObject(); document.key = params.newValue; diff --git a/test-basic/data/versionService.js b/test-basic/data/versionService.js index 71335cc0..6f157351 100644 --- a/test-basic/data/versionService.js +++ b/test-basic/data/versionService.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ function getVersionService(context, params) { return { architecture: xdmp.architecture(), diff --git a/test-basic/docColTypes-test.js b/test-basic/docColTypes-test.js index 442d0666..9303793c 100644 --- a/test-basic/docColTypes-test.js +++ b/test-basic/docColTypes-test.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2023 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const should = require('should'); const testconfig = require('../etc/test-config.js'); diff --git a/test-basic/documents-core.js b/test-basic/documents-core.js index b20308b2..186426d9 100644 --- a/test-basic/documents-core.js +++ b/test-basic/documents-core.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-basic/documents-data-movement-ingest.js b/test-basic/documents-data-movement-ingest.js index 50036401..4368232c 100644 --- a/test-basic/documents-data-movement-ingest.js +++ b/test-basic/documents-data-movement-ingest.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const testconfig = require('../etc/test-config.js'); const marklogic = require('../'); diff --git a/test-basic/documents-data-movement-queryAll.js b/test-basic/documents-data-movement-queryAll.js index de8ebce4..b0c21c55 100644 --- a/test-basic/documents-data-movement-queryAll.js +++ b/test-basic/documents-data-movement-queryAll.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const should = require('should'); const testconfig = require('../etc/test-config.js'); diff --git a/test-basic/documents-data-movement-readAll.js b/test-basic/documents-data-movement-readAll.js index a365a71d..1b3bdb2a 100644 --- a/test-basic/documents-data-movement-readAll.js +++ b/test-basic/documents-data-movement-readAll.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const should = require('should'); const testconfig = require('../etc/test-config.js'); diff --git a/test-basic/documents-data-movement-removeAllUris.js b/test-basic/documents-data-movement-removeAllUris.js index c85a089c..199dc53c 100644 --- a/test-basic/documents-data-movement-removeAllUris.js +++ b/test-basic/documents-data-movement-removeAllUris.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const should = require('should'); const testconfig = require('../etc/test-config.js'); diff --git a/test-basic/documents-data-movement-rows-queryAll.js b/test-basic/documents-data-movement-rows-queryAll.js index bc97ce3e..8533dd6f 100644 --- a/test-basic/documents-data-movement-rows-queryAll.js +++ b/test-basic/documents-data-movement-rows-queryAll.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const should = require('should'); const testconfig = require('../etc/test-config.js'); diff --git a/test-basic/documents-data-movement-transformAll.js b/test-basic/documents-data-movement-transformAll.js index 3bd0c19c..6c1d394c 100644 --- a/test-basic/documents-data-movement-transformAll.js +++ b/test-basic/documents-data-movement-transformAll.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const should = require('should'); const testconfig = require('../etc/test-config.js'); diff --git a/test-basic/documents-negative.js b/test-basic/documents-negative.js index b1d81b5b..51107c49 100644 --- a/test-basic/documents-negative.js +++ b/test-basic/documents-negative.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var valcheck = require('core-util-is'); diff --git a/test-basic/documents-patch.js b/test-basic/documents-patch.js index dc77d399..cbea9dcc 100644 --- a/test-basic/documents-patch.js +++ b/test-basic/documents-patch.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config.js'); diff --git a/test-basic/documents-query.js b/test-basic/documents-query.js index f4faa031..9dbc8082 100644 --- a/test-basic/documents-query.js +++ b/test-basic/documents-query.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-basic/documents-quick.js b/test-basic/documents-quick.js index 22469ecb..97b4b7b6 100644 --- a/test-basic/documents-quick.js +++ b/test-basic/documents-quick.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-basic/documents-read-xqy-docs.js b/test-basic/documents-read-xqy-docs.js new file mode 100644 index 00000000..1a2e7e1d --- /dev/null +++ b/test-basic/documents-read-xqy-docs.js @@ -0,0 +1,85 @@ +/* +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ + +let testconfig = require('../etc/test-config.js'); +let should = require('should'); +let marklogic = require('../'); +let db = marklogic.createDatabaseClient(testconfig.restWriterConnection); +let uris = ['/hello.xqy', '/hello-2.xqy', '/test-doc.txt', '/test-doc.json']; + +describe('document-read-xqy-documents', function() { + this.timeout(5000); + before(function(done){ + db.documents.write({ + uri: uris[0], + contentType: 'application/vnd.marklogic-xdmp', + content: 'Hello, world! in hello.xqy' + }) + .result(()=>{ + db.documents.write({ + uri: uris[1], + contentType: 'application/vnd.marklogic-xdmp', + content: 'Hello, world! in hello-2.xqy' + }).result(()=>{ + db.documents.write({ + uri: uris[2], + contentType: 'text/plain', + content: 'Hello, world! in test-doc.txt' + }).result(()=> { + db.documents.write({ + uri: uris[3], + contentType: 'application/json', + content: '{"key":"value"}' + }).result(()=> done()) + }) + }) + }) + .catch(error=> done(error)); + }); + + after(function(done){ + db.documents.remove(uris) + .result(function(response){ + done(); + }) + .catch(err=> done(err)); + }); + + it('should read single xqy document and return content in string', done => { + + db.eval(`cts.doc('/hello.xqy')`).result(res=>{ + res[0].value.should.equal('Hello, world! in hello.xqy') + }).then(()=> done()) + .catch(error=> done(error)) + }); + + it('should read multiple xqy documents and return content in string', done => { + + db.eval(`Sequence.from([cts.doc('/hello.xqy'), cts.doc('/hello-2.xqy')])`).result(res=>{ + res[0].value.should.equal('Hello, world! in hello.xqy'); + res[1].value.should.equal('Hello, world! in hello-2.xqy'); + }).then(()=> done()) + .catch(error=> done(error)) + }); + + it('should read xqy document along with text document and return content in string', done => { + + db.eval(`Sequence.from([cts.doc('/hello.xqy'), cts.doc('/test-doc.txt')])`).result(res=>{ + res[0].value.should.equal('Hello, world! in hello.xqy'); + res[1].value.should.equal('Hello, world! in test-doc.txt'); + }).then(()=> done()) + .catch(error=> done(error)) + }); + + it('should read multiple xqy documents along with json document and return content in string', done => { + + db.eval(`Sequence.from([cts.doc('/hello.xqy'), cts.doc('/hello-2.xqy'), cts.doc('/test-doc.json')])`).result(res=>{ + res[0].value.should.equal('Hello, world! in hello.xqy'); + res[1].value.should.equal('Hello, world! in hello-2.xqy'); + res[2].value.should.have.property('key'); + res[2].value.key.should.equal('value'); + }).then(()=> done()) + .catch(error=> done(error)) + }); +}); \ No newline at end of file diff --git a/test-basic/documents-temporal-document.js b/test-basic/documents-temporal-document.js index 495ef9af..a9559342 100644 --- a/test-basic/documents-temporal-document.js +++ b/test-basic/documents-temporal-document.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config.js'); var marklogic = require('../'); diff --git a/test-basic/documents-temporal-patch.js b/test-basic/documents-temporal-patch.js index e5e7a336..1edeb5d4 100644 --- a/test-basic/documents-temporal-patch.js +++ b/test-basic/documents-temporal-patch.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config.js'); var marklogic = require('../'); diff --git a/test-basic/documents-temporal-protect.js b/test-basic/documents-temporal-protect.js index 2d07a8d9..ac00663e 100644 --- a/test-basic/documents-temporal-protect.js +++ b/test-basic/documents-temporal-protect.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); var testconfig = require('../etc/test-config.js'); diff --git a/test-basic/documents-temporal-wipe.js b/test-basic/documents-temporal-wipe.js index ad0f14b0..a90b229c 100644 --- a/test-basic/documents-temporal-wipe.js +++ b/test-basic/documents-temporal-wipe.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config.js'); var marklogic = require('../'); diff --git a/test-basic/documents-temporal.js b/test-basic/documents-temporal.js index 23d13142..13ec64b6 100644 --- a/test-basic/documents-temporal.js +++ b/test-basic/documents-temporal.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var util = require('util'); diff --git a/test-basic/documents-transform.js b/test-basic/documents-transform.js index aa977631..4d52a8aa 100644 --- a/test-basic/documents-transform.js +++ b/test-basic/documents-transform.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-basic/documents-version.js b/test-basic/documents-version.js index 6bf5293a..6b9f2cba 100644 --- a/test-basic/documents-version.js +++ b/test-basic/documents-version.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-basic/endpoint-caller.js b/test-basic/endpoint-caller.js index aeaa6a9a..e396fb56 100644 --- a/test-basic/endpoint-caller.js +++ b/test-basic/endpoint-caller.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var marklogic = require('../'); var fs = require('fs'); diff --git a/test-basic/endpoint-proxy.js b/test-basic/endpoint-proxy.js index 69099d1e..87c6cb91 100644 --- a/test-basic/endpoint-proxy.js +++ b/test-basic/endpoint-proxy.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const should = require('should'); @@ -236,7 +224,9 @@ void 0;`; .execute(multiNodeInputMultiOutputDecl.functionName, {input:input}) .then(function(output) { (output === void 0).should.equal(false); - input.length.should.equal(output.length); + if(output){ + input.length.should.equal(output.length); + } for (let i=0; i < input.length; i++) { const expected = input[i]; const actual = output[i]; diff --git a/test-basic/errors.js b/test-basic/errors.js index b056c69b..fd1e957f 100644 --- a/test-basic/errors.js +++ b/test-basic/errors.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config.js'); diff --git a/test-basic/extlibs.js b/test-basic/extlibs.js index 8f63473f..f5363552 100644 --- a/test-basic/extlibs.js +++ b/test-basic/extlibs.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-basic/fromDocDescriptors-test.js b/test-basic/fromDocDescriptors-test.js index a3d9acbd..422296be 100644 --- a/test-basic/fromDocDescriptors-test.js +++ b/test-basic/fromDocDescriptors-test.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2023 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const should = require('should'); const testconfig = require('../etc/test-config.js'); @@ -21,6 +9,7 @@ const testlib = require("../etc/test-lib"); const db = marklogic.createDatabaseClient(testconfig.restAdminConnection); const op = marklogic.planBuilder; let serverConfiguration = {}; +const assert = require('assert'); describe('optic-update fromDocDescriptors tests', function() { this.timeout(10000); before(function (done) { @@ -140,12 +129,16 @@ describe('optic-update fromDocDescriptors tests', function() { }); it('test with wrong type of argument', function (done) { - try { - db.rows.query(op.fromDocDescriptors('asd')) - } catch (e) { - e.toString().includes('Error: doc-descriptor argument at 0 of PlanBuilder.fromDocDescriptors() must be a PlanDocDescriptor value'); - done(); - } + db.rows.query(op.fromDocDescriptors('asd')) + .catch(error => { + try{ + assert(error.body.errorResponse.message.toString() + .includes('Invalid arguments: fromDocDescriptors - expects an array/sequence or object as input.')) + done(); + } catch(error){ + done(error); + } + }) }); it('test with one doc descriptor', function (done) { diff --git a/test-basic/graphs.js b/test-basic/graphs.js index 8aea1c9b..5c1df243 100644 --- a/test-basic/graphs.js +++ b/test-basic/graphs.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-basic/joinDocCols-test.js b/test-basic/joinDocCols-test.js index af049bcf..989b4834 100644 --- a/test-basic/joinDocCols-test.js +++ b/test-basic/joinDocCols-test.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2023 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const should = require('should'); const testconfig = require('../etc/test-config.js'); diff --git a/test-basic/lockForUpdate-test.js b/test-basic/lockForUpdate-test.js index 42427417..8605ec32 100644 --- a/test-basic/lockForUpdate-test.js +++ b/test-basic/lockForUpdate-test.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2023 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const marklogic = require('../'); const testconfig = require('../etc/test-config.js'); const db = marklogic.createDatabaseClient(testconfig.restWriterConnection); diff --git a/test-basic/logging.js b/test-basic/logging.js index 49464e3e..db544e56 100644 --- a/test-basic/logging.js +++ b/test-basic/logging.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'), testconfig = require('../etc/test-config.js'), marklogic = require('../'), diff --git a/test-basic/optic-fromDocUris.js b/test-basic/optic-fromDocUris.js index 38cd189e..d3588e50 100644 --- a/test-basic/optic-fromDocUris.js +++ b/test-basic/optic-fromDocUris.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2024 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const should = require('should'); diff --git a/test-basic/optic-patchBuilder.js b/test-basic/optic-patchBuilder.js index 2be58e2d..8015c46e 100644 --- a/test-basic/optic-patchBuilder.js +++ b/test-basic/optic-patchBuilder.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2024 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const marklogic = require('../'); let p = marklogic.planBuilder; diff --git a/test-basic/optic-remove.js b/test-basic/optic-remove.js index 5dcd01fb..32e15082 100644 --- a/test-basic/optic-remove.js +++ b/test-basic/optic-remove.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2023 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const should = require('should'); const testconfig = require('../etc/test-config.js'); diff --git a/test-basic/optic-update-execute.js b/test-basic/optic-update-execute.js index bbf2e291..cba39248 100644 --- a/test-basic/optic-update-execute.js +++ b/test-basic/optic-update-execute.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2023 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const should = require('should'); const testconfig = require('../etc/test-config.js'); diff --git a/test-basic/optic-vector.js b/test-basic/optic-vector.js index e1c4d158..ed429132 100644 --- a/test-basic/optic-vector.js +++ b/test-basic/optic-vector.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2024 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const should = require('should'); @@ -28,7 +16,7 @@ const testlib = require("../etc/test-lib"); let serverConfiguration = {}; const testPlan = pbb.testPlan; -describe('tests for new vector fucntions.', function() { +describe('tests for new vector functions.', function() { before(function (done) { this.timeout(6000); try { @@ -81,16 +69,16 @@ describe('tests for new vector fucntions.', function() { const vec1 = p.vec.vector([0.002]); testPlan([""],p.vec.base64Encode(p.vec.subvector(vec1,0))) .then(function(response) { - assert(response.rows[0].t.value =='FYT6NiFJhGw=AQAAAA==AAAAAA==bxIDOw==') + assert(response.rows[0].t.value =='AAAAAAEAAABvEgM7') done(); }).catch(error => done(error)); }); - it('vec.cosineSimilarity', function(done) { + it('vec.cosine', function(done) { const vec1 = p.vec.vector([1, 2, 3]) const vec2 = p.vec.vector([4, 5, 6,7]) - testPlan([""],p.vec.cosineSimilarity(p.vec.subvector(vec1,0),p.vec.subvector(vec2,1))) + testPlan([""],p.vec.cosine(p.vec.subvector(vec1,0),p.vec.subvector(vec2,1))) .then(function(response) { assert(response.rows[0].t.value != null); done(); @@ -110,7 +98,7 @@ describe('tests for new vector fucntions.', function() { const vec1 = p.vec.vector([1, 2, 3]) const vec2 = p.vec.vector([4, 5, 6,7]) - testPlan([""],p.vec.cosineSimilarity(p.vec.subvector(vec1,0),p.vec.subvector(vec2,1))) + testPlan([""],p.vec.cosine(p.vec.subvector(vec1,0),p.vec.subvector(vec2,1))) .then(function(response) { assert(response.rows[0].t.value == '0.968329608440399'); done(); @@ -159,7 +147,16 @@ describe('tests for new vector fucntions.', function() { const vec1 = p.vec.vector([1, 2, 3]) testPlan([""],(p.vec.vectorScore(24684,0.1,0.1))) .then(function(response) { - assert(response.rows[0].t.value == 24687); + assert(response.rows[0].t.value == 113124); + done(); + }).catch(error => done(error)); + }); + + it('vec.cosineDistance', function(done) { + testPlan([""],(p.vec.cosineDistance(p.vec.subvector(p.vec.vector([1, 2, 3]),0), + p.vec.subvector(p.vec.vector([4, 5, 6,7]),1)))) + .then(function(response) { + assert(response.rows[0].t.value == 0.0316703915596008); done(); }).catch(error => done(error)); }); diff --git a/test-basic/patch-builder.js b/test-basic/patch-builder.js index 8c01a42d..ae90f384 100644 --- a/test-basic/patch-builder.js +++ b/test-basic/patch-builder.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var assert = require('assert'); var should = require('should'); var p = require('../lib/patch-builder.js'); diff --git a/test-basic/plan-aggregates.js b/test-basic/plan-aggregates.js index e79ffe6f..69ac201a 100644 --- a/test-basic/plan-aggregates.js +++ b/test-basic/plan-aggregates.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const should = require('should'); diff --git a/test-basic/plan-builder-base.js b/test-basic/plan-builder-base.js index b6c854f8..252e1fa8 100644 --- a/test-basic/plan-builder-base.js +++ b/test-basic/plan-builder-base.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const marklogic = require('../'); diff --git a/test-basic/plan-builder-cts-tests-with-string-input.js b/test-basic/plan-builder-cts-tests-with-string-input.js index 77987c2f..a81fde56 100644 --- a/test-basic/plan-builder-cts-tests-with-string-input.js +++ b/test-basic/plan-builder-cts-tests-with-string-input.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2023 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const should = require('should'); diff --git a/test-basic/plan-builder-generated.js b/test-basic/plan-builder-generated.js index bfb2d8b5..c86d94da 100755 --- a/test-basic/plan-builder-generated.js +++ b/test-basic/plan-builder-generated.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2024 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; /* IMPORTANT: Do not edit. This file is generated. */ @@ -1741,7 +1729,7 @@ describe('plan builder', function() { } testPlan([p.xs.string("abc")], p.vec.base64Decode(p.col("1"))) .then(function(response) { - should(String(getResult(response).value).replace(/^ /, '')).equal("abc"); + should(String(getResult(response).value).replace(/^ /, '')).equal('abc'); done(); }).catch(done); }); @@ -1749,11 +1737,9 @@ describe('plan builder', function() { if(serverConfiguration.serverVersion < 12) { this.skip(); } - // Updating below test since server throws Error : VEC-VECTORSCORE: vec:vector-score(1, 2) -- - // Invalid argument passed to vector scoring function: arg2 invalid: Similarity must be between -1.0 and 1.0 - testPlan([p.xs.unsignedInt(1), p.xs.double(1.2)], p.vec.vectorScore(p.col("1"), 0.75)) + testPlan([p.xs.unsignedInt(1), p.xs.double(1.2)], p.vec.vectorScore(p.col("1"), p.col("2"))) .then(function(response) { - should(String(getResult(response).value).replace(/^ /, '')).equal('1'); + should(String(getResult(response).value).replace(/^ /, '')).equal('227273'); done(); }).catch(done); }); @@ -1761,11 +1747,19 @@ describe('plan builder', function() { if(serverConfiguration.serverVersion < 12) { this.skip(); } - // Updating below test since server throws Error :arg2 invalid:Similarity must be between -1.0 and 1.0 - //arg3 invalid: Similarity weight must be between 0.0 and 1.0 - testPlan([p.xs.unsignedInt(1), p.xs.double(1.2), p.xs.double(1.2)], p.vec.vectorScore(p.col("1"), 0.75, 0.75)) + testPlan([p.xs.unsignedInt(1), p.xs.double(1.2), p.xs.double(1.2)], p.vec.vectorScore(p.col("1"), p.col("2"), 0.75)) .then(function(response) { - should(String(getResult(response).value).replace(/^ /, '')).equal('2'); + should(String(getResult(response).value).replace(/^ /, '')).equal('340909'); + done(); + }).catch(done); + }); + it('vec.vectorScore#4', function(done) { + if(serverConfiguration.serverVersion < 12) { + this.skip(); + } + testPlan([p.xs.unsignedInt(1), p.xs.double(1.2), p.xs.double(1.2), p.xs.double(1.2)], p.vec.vectorScore(p.col("1"), p.col("2"), 0.75, p.col("4"))) + .then(function(response) { + should(String(getResult(response).value).replace(/^ /, '')).equal('307377'); done(); }).catch(done); }); diff --git a/test-basic/plan-composers.js b/test-basic/plan-composers.js index 7eabcbab..7c364edc 100644 --- a/test-basic/plan-composers.js +++ b/test-basic/plan-composers.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const should = require('should'); diff --git a/test-basic/plan-documents.js b/test-basic/plan-documents.js index c2cace91..d383f8cf 100644 --- a/test-basic/plan-documents.js +++ b/test-basic/plan-documents.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const should = require('should'); diff --git a/test-basic/plan-expressions.js b/test-basic/plan-expressions.js index ce348455..e7b59cd9 100644 --- a/test-basic/plan-expressions.js +++ b/test-basic/plan-expressions.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const should = require('should'); diff --git a/test-basic/plan-lexicons.js b/test-basic/plan-lexicons.js index 421151be..1b51edc8 100644 --- a/test-basic/plan-lexicons.js +++ b/test-basic/plan-lexicons.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const should = require('should'); diff --git a/test-basic/plan-literals.js b/test-basic/plan-literals.js index b0a31262..590052e7 100644 --- a/test-basic/plan-literals.js +++ b/test-basic/plan-literals.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const should = require('should'); diff --git a/test-basic/plan-modifiers.js b/test-basic/plan-modifiers.js index ebee0f28..0d1b2755 100644 --- a/test-basic/plan-modifiers.js +++ b/test-basic/plan-modifiers.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const should = require('should'); diff --git a/test-basic/plan-nodes.js b/test-basic/plan-nodes.js index f86ab269..3ba57213 100644 --- a/test-basic/plan-nodes.js +++ b/test-basic/plan-nodes.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const should = require('should'); diff --git a/test-basic/plan-processors.js b/test-basic/plan-processors.js index d2de6f48..edb0144b 100644 --- a/test-basic/plan-processors.js +++ b/test-basic/plan-processors.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const should = require('should'); diff --git a/test-basic/plan-search.js b/test-basic/plan-search.js index a6d3e56b..5524603e 100644 --- a/test-basic/plan-search.js +++ b/test-basic/plan-search.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const should = require('should'); @@ -184,7 +172,7 @@ describe('search', function() { // console.log(JSON.stringify(output, null, 2)); }); - describe('tests for new scoring method - bm25', function() { + describe('tests for new scoring methods - bm25, random and zero using fromSearch.', function() { before(function (done) { if(serverConfiguration.serverVersion < 12) { this.skip(); @@ -197,8 +185,8 @@ describe('search', function() { p.fromSearch(p.cts.jsonPropertyValueQuery('instrument', 'trumpet'), ['score', 'quality'], null, { scoreMethod: 'bm25', bm25LengthWeight: 0.25 }) ).then(function(response) { - assert(response.columns != null) - assert(response.rows != null) + assert(response.columns != null); + assert(response.rows != null); done(); }).catch(error => done(error)); }); @@ -229,9 +217,33 @@ describe('search', function() { } }); + it('should search documents with zero scoring method', function(done) { + execPlan( + p.fromSearch(p.cts.jsonPropertyValueQuery('instrument', 'trumpet'), + ['score', 'quality'], null, { scoreMethod: 'zero'}) + ).then(function(response) { + assert(response.columns != null); + assert(response.rows != null); + for(let i=0; i done(error)); + }); + + it('should search documents with random scoring method', function(done) { + execPlan( + p.fromSearch(p.cts.jsonPropertyValueQuery('instrument', 'trumpet'), + ['score', 'quality'], null, { scoreMethod: 'random'}) + ).then(function(response) { + assert(response.columns != null); + assert(response.rows != null); + done(); + }).catch(error => done(error)); + }); }); - describe('tests for new scoring method - bm25', function() { + describe('tests for new scoring methods - bm25, random and zero using fromSearchDocs', function() { before(function (done) { if(serverConfiguration.serverVersion < 12) { this.skip(); @@ -243,8 +255,8 @@ describe('search', function() { execPlan( p.fromSearchDocs('Armstrong', null, {scoreMethod:'bm25', bm25LengthWeight:0.75}) ).then(function(response) { - assert(response.columns != null) - assert(response.rows != null) + assert(response.columns != null); + assert(response.rows != null); done(); }).catch(error => done(error)); }); @@ -272,5 +284,28 @@ describe('search', function() { done(); } }); + + it('should search documents with zero scoring method', function(done) { + execPlan( + p.fromSearchDocs('Armstrong', null, { scoreMethod: 'zero'}) + ).then(function(response) { + assert(response.columns != null); + assert(response.rows != null); + for(let i=0; i done(error)); + }); + + it('should search documents with random scoring method', function(done) { + execPlan( + p.fromSearchDocs('Armstrong', null, { scoreMethod: 'random'}) + ).then(function(response) { + assert(response.columns != null); + assert(response.rows != null); + done(); + }).catch(error => done(error)); + }); }); }); diff --git a/test-basic/plan-triples.js b/test-basic/plan-triples.js index 3b527512..f012ef4c 100644 --- a/test-basic/plan-triples.js +++ b/test-basic/plan-triples.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const should = require('should'); diff --git a/test-basic/plan-views.js b/test-basic/plan-views.js index 653dbebc..5ded4c3b 100644 --- a/test-basic/plan-views.js +++ b/test-basic/plan-views.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const should = require('should'); diff --git a/test-basic/probe.js b/test-basic/probe.js index 2b43d723..145ed2f1 100644 --- a/test-basic/probe.js +++ b/test-basic/probe.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'), testconfig = require('../etc/test-config.js'), marklogic = require('../'); diff --git a/test-basic/query-builder.js b/test-basic/query-builder.js index a0d32581..90ef395a 100644 --- a/test-basic/query-builder.js +++ b/test-basic/query-builder.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var assert = require('assert'); var should = require('should'); diff --git a/test-basic/redactionTest.js b/test-basic/redactionTest.js index 718db2b5..ad54e8cb 100644 --- a/test-basic/redactionTest.js +++ b/test-basic/redactionTest.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const marklogic = require('../'); diff --git a/test-basic/removeAll.js b/test-basic/removeAll.js index 2f508378..89015ab6 100644 --- a/test-basic/removeAll.js +++ b/test-basic/removeAll.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config.js'); diff --git a/test-basic/resources-config.js b/test-basic/resources-config.js index 994bd91e..dc65dd7a 100644 --- a/test-basic/resources-config.js +++ b/test-basic/resources-config.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-basic/resources-exec.js b/test-basic/resources-exec.js index 62bc8159..37d043ab 100644 --- a/test-basic/resources-exec.js +++ b/test-basic/resources-exec.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-basic/rest-server-properties.js b/test-basic/rest-server-properties.js index 4ed2b5f2..ed09f5f9 100644 --- a/test-basic/rest-server-properties.js +++ b/test-basic/rest-server-properties.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config.js'); diff --git a/test-basic/rows-graphQl.js b/test-basic/rows-graphQl.js index 42db7796..e4f363ba 100644 --- a/test-basic/rows-graphQl.js +++ b/test-basic/rows-graphQl.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2023 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const testconfig = require('../etc/test-config.js'); const marklogic = require('../'); diff --git a/test-basic/rows.js b/test-basic/rows.js index 504ee59a..13afee8b 100644 --- a/test-basic/rows.js +++ b/test-basic/rows.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const should = require('should'), fs = require('fs'), valcheck = require('core-util-is'), diff --git a/test-basic/server-exec.js b/test-basic/server-exec.js index 947debf5..668c178e 100644 --- a/test-basic/server-exec.js +++ b/test-basic/server-exec.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-basic/service-caller.js b/test-basic/service-caller.js index df657043..cc63feee 100644 --- a/test-basic/service-caller.js +++ b/test-basic/service-caller.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var marklogic = require('../'); var fs = require('fs'); diff --git a/test-basic/shortest-path.js b/test-basic/shortest-path.js new file mode 100644 index 00000000..fb5ebde6 --- /dev/null +++ b/test-basic/shortest-path.js @@ -0,0 +1,83 @@ +/* +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ +'use strict'; + +const should = require('should'); + +const marklogic = require('../'); +const p = marklogic.planBuilder; + +const pbb = require('./plan-builder-base'); +const assert = require('assert'); +const testlib = require('../etc/test-lib'); +let serverConfiguration = {}; +const datastore = p.col('datastore'); +const titleCol = p.col('title'); +const datastoreType = p.sem.iri('http://purl.org/dc/dcmitype/Dataset'); +const dc = p.prefixer('http://purl.org/dc/terms/'); +const typeProp = dc('type'); +const titleProp = dc('title'); +const execPlan = pbb.execPlan; + +describe('tests for server-side shortest-path method.', function () { + before(function (done) { + this.timeout(6000); + try { + testlib.findServerConfiguration(serverConfiguration); + setTimeout(() => { + if (serverConfiguration.serverVersion < 12) { + this.skip(); + } + done(); + }, 3000); + } catch (error) { + done(error); + } + }); + + it('with bare patterns', function (done) { + execPlan( + p.fromTriples([ + p.pattern(datastore, typeProp, datastoreType), + p.pattern(datastore, titleProp, titleCol) + ], + 'tripview').shortestPath(p.col('datastore'), p.col('title'), p.col('path'), p.col('length')) + ) + .then(function (response) { + const rows = response.rows; + assert(rows[0].datastore.value === '/datastore/id#A', 'datastore value for A not as expected'); + assert(rows[0].title.value === 'The A datastore', 'title for A not as expected'); + should.exist(rows[0].length); + should.exist(rows[0].path); + assert(rows[1].datastore.value === '/datastore/id#B', 'datastore value for B not as expected'); + assert(rows[1].title.value === 'The B datastore', 'title for B not as expected'); + should.exist(rows[1].length); + should.exist(rows[1].path); + done(); + }) + .catch(done); + }); + + it('with multiple literals', function (done) { + execPlan( + p.fromTriples( + p.pattern( + p.col('identified'), + p.col('title'), + [1, 2] + )).shortestPath(p.col('identified'), p.col('title'), p.col('path'), p.col('length')) + ) + .then(function (response) { + const rows = response.rows; + for (let i = 0; i < rows.length; i++) { + should.exist(rows[i].identified); + should.exist(rows[i].title); + should.exist(rows[i].length); + should.exist(rows[i].path); + } + done(); + }) + .catch(done); + }); +}); \ No newline at end of file diff --git a/test-basic/ssl-min-allow-tls-test.js b/test-basic/ssl-min-allow-tls-test.js new file mode 100644 index 00000000..08c775d1 --- /dev/null +++ b/test-basic/ssl-min-allow-tls-test.js @@ -0,0 +1,157 @@ +/* +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ + +let testconfig = require('../etc/test-config.js'); +let should = require('should'); +let marklogic = require('../'); +const { exec } = require('child_process'); +const testlib = require("../etc/test-lib"); +let db = marklogic.createDatabaseClient(testconfig.restConnectionForTls); +let serverConfiguration = {}; +let host = testconfig.testHost; + +describe('document write and read using min tls', function () { + this.timeout(10000); + before(function (done) { + testlib.findServerConfiguration(serverConfiguration); + setTimeout(() => { + if (serverConfiguration.serverVersion < 12) { + this.skip(); + } + done(); + }, 3000); + }); + + it('should write document with minimum TLS versions 1.3', function (done) { + updateTlsVersion('TLSv1.3').then((result) => { + db.documents.write({ + uri: '/test/write_tlsV1.3.json', + contentType: 'application/json', + content: '{"key1":"With TLS 1.3"}' + }).result(function (response) { + db.documents.read('/test/write_tlsV1.3.json') + .result(function (documents) { + documents[0].content.should.have.property('key1'); + documents[0].content.key1.should.equal('With TLS 1.3'); + + }).then(() => done()) + .catch(error => done(error)); + }).catch(error=> done(error)); + }).catch(error=> done(error)); + }); + + it('should write document with minimum TLS versions 1.2', function (done) { + updateTlsVersion('TLSv1.2').then((result) => { + db.documents.write({ + uri: '/test/write_tlsV1.2.json', + contentType: 'application/json', + content: '{"key1":"With TLS 1.2"}' + }).result(function (response) { + db.documents.read('/test/write_tlsV1.2.json') + .result(function (documents) { + documents[0].content.should.have.property('key1'); + documents[0].content.key1.should.equal('With TLS 1.2'); + + }).then(() => done()) + .catch(error => done(error)); + }).catch(error=> done(error)); + }).catch(error=> done(error)); + }); + + it('should throw error when user strictly sets 1.2 and server needs min TLS version as 1.3', function (done) { + testconfig.restConnectionForTls.minVersion = 'TLSv1.2'; + testconfig.restConnectionForTls.maxVersion = 'TLSv1.2'; + db = marklogic.createDatabaseClient(testconfig.restConnectionForTls); + updateTlsVersion('TLSv1.3').then(() => { + db.documents.write({ + uri: '/test/write_tlsV1.2.json', + contentType: 'application/json', + content: '{"key1":"Test"}' + }).result(()=> done(new Error('Document write should fail when user uses 1.2 and server needs min TLS version as 1.3')) + ).catch(error=> { + // TLS handshake error. + error.message.should.containEql("SSL routines") + done(); + }) + }).catch(error=> done(error)); + }); + + it('should write document with minVersion and maxVersion', function (done) { + testconfig.restConnectionForTls.minVersion = 'TLSv1.2'; + testconfig.restConnectionForTls.maxVersion = 'TLSv1.3'; + db = marklogic.createDatabaseClient(testconfig.restConnectionForTls); + updateTlsVersion('TLSv1.3').then(() => { + db.documents.write({ + uri: '/test/write_with_min_and_max_versions.json', + contentType: 'application/json', + content: '{"key1":"With min and max TLS versions."}' + }).result(() => done()).catch(error => { + db.documents.read('/test/write_with_min_and_max_versions.json') + .result(function (documents) { + documents[0].content.should.have.property('key1'); + documents[0].content.key1.should.equal('With min and max TLS versions.'); + + }).then(() => done()) + .catch(error => done(error)); + }).catch(error=> done(error)); + }).catch(error=> done(error)); + }); + + it('should write document with only minVersion', function (done) { + testconfig.restConnectionForTls.minVersion = 'TLSv1.2'; + db = marklogic.createDatabaseClient(testconfig.restConnectionForTls); + updateTlsVersion('TLSv1.3').then(() => { + db.documents.write({ + uri: '/test/write_with_only_min_version.json', + contentType: 'application/json', + content: '{"key1":"With only min TLS version."}' + }).result(() => done()).catch(error => { + db.documents.read('/test/write_with_only_min_version.json') + .result(function (documents) { + documents[0].content.should.have.property('key1'); + documents[0].content.key1.should.equal('With only min TLS version.'); + + }).then(() => done()) + .catch(error => done(error)); + }).catch(error=> done(error)); + }).catch(error=> done(error)); + }); + + it('should write document with only maxVersion', function (done) { + testconfig.restConnectionForTls.maxVersion = 'TLSv1.3'; + db = marklogic.createDatabaseClient(testconfig.restConnectionForTls); + updateTlsVersion('TLSv1.3').then(() => { + db.documents.write({ + uri: '/test/write_with_only_max_version.json', + contentType: 'application/json', + content: '{"key1":"With only max TLS version."}' + }).result(() => done()).catch(error => { + db.documents.read('/test/write_with_only_max_version.json') + .result(function (documents) { + documents[0].content.should.have.property('key1'); + documents[0].content.key1.should.equal('With only max TLS version.'); + + }).then(() => done()) + .catch(error => done(error)); + }).catch(error=> done(error)); + }).catch(error=> done(error)); + }); +}) + +function updateTlsVersion(tlsVersion) { + return new Promise((resolve, reject) => { + const curlCommand = ` + curl --anyauth --user admin:admin -X PUT -H "Content-Type: application/json" \ +-d '{"ssl-min-allow-tls": "${tlsVersion}"}' \ +'http://${host}:8002/manage/v2/servers/unittest-nodeapi-ssl/properties?group-id=Default' + `; + exec(curlCommand, (error, stdout, stderr) => { + if (error) { + throw new Error(`Error executing curl: ${stderr}`); + } + resolve(); + }); + }); +} + diff --git a/test-basic/suggest.js b/test-basic/suggest.js index 90e1b0a1..c543058e 100644 --- a/test-basic/suggest.js +++ b/test-basic/suggest.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var assert = require('assert'); var should = require('should'); diff --git a/test-basic/test-internal.js b/test-basic/test-internal.js index 3d2b6b29..4d33cfb3 100644 --- a/test-basic/test-internal.js +++ b/test-basic/test-internal.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2023 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const testconfig = require("../etc/test-config"); const marklogic = require("../lib/marklogic"); diff --git a/test-basic/test-util.js b/test-basic/test-util.js index bd7c29c3..470cabe0 100644 --- a/test-basic/test-util.js +++ b/test-basic/test-util.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var stream = require('stream'); var util = require('util'); diff --git a/test-basic/timestamp.js b/test-basic/timestamp.js index 1a066f03..448ef4de 100644 --- a/test-basic/timestamp.js +++ b/test-basic/timestamp.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var valcheck = require('core-util-is'); var fs = require('fs'); diff --git a/test-basic/transactions.js b/test-basic/transactions.js index 90c471c1..f0df83a7 100644 --- a/test-basic/transactions.js +++ b/test-basic/transactions.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config.js'); diff --git a/test-basic/transformDoc-test.js b/test-basic/transformDoc-test.js index 1484c357..eb715628 100644 --- a/test-basic/transformDoc-test.js +++ b/test-basic/transformDoc-test.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2023 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const should = require('should'); const testconfig = require('../etc/test-config.js'); @@ -23,6 +11,8 @@ const testlib = require("../etc/test-lib"); const op = marklogic.planBuilder; let removeStream = new Stream.PassThrough({objectMode: true}); let serverConfiguration = {}; +let transformDoc; +let transformDocWithTwoParams; describe('optic-update transformDoc tests', function() { this.timeout(6000); @@ -40,6 +30,10 @@ describe('optic-update transformDoc tests', function() { if(serverConfiguration.serverVersion < 11){ this.skip(); } + transformDoc = serverConfiguration.serverVersion < 12?'/optic/test/transformDoc-test.mjs': + '/optic/test/transformDoc-test-forServerVersion12.mjs'; + transformDocWithTwoParams = serverConfiguration.serverVersion < 12?'/optic/test/transformDoc-test-two-params.mjs': + '/optic/test/transformDoc-test-two-params-forServerVersion12.mjs'; let readable = new Stream.Readable({objectMode: true}); removeStream = new Stream.PassThrough({objectMode: true}); const musician = { @@ -78,7 +72,7 @@ describe('optic-update transformDoc tests', function() { try { const plan = op.fromDocUris('/test/optic/transformDoc/data1.json') .joinDoc(op.col("doc"), op.col("uri")) - .transformDoc('doc', {"path": "/optic/test/transformDoc-test.mjs"}) + .transformDoc('doc', {"path": transformDoc}) .orderBy(op.col('uri')); db.rows.query(plan).then(res => { @@ -96,7 +90,7 @@ describe('optic-update transformDoc tests', function() { try { const plan = op.fromDocUris('/test/optic/transformDoc/data1.json') .joinDoc(op.col("doc"), op.col("uri")) - .transformDoc('doc', {"path": "/optic/test/transformDoc-test.mjs", kind: "mjs"}) + .transformDoc('doc', {"path": transformDoc, kind: "mjs"}) .orderBy(op.col('uri')); db.rows.query(plan).then(res => { @@ -115,7 +109,7 @@ describe('optic-update transformDoc tests', function() { const plan = op.fromDocUris('/test/optic/transformDoc/data1.json') .joinDoc(op.col("doc"), op.col("uri")) .transformDoc('doc', { - "path": "/optic/test/transformDoc-test.mjs", + "path": transformDoc, kind: "mjs", params: {myParam: 'my new content'} }) @@ -141,7 +135,7 @@ describe('optic-update transformDoc tests', function() { const plan = op.fromDocUris('/test/optic/transformDoc/data1.json') .joinDoc(op.col("doc"), op.col("uri")) .transformDoc('doc', { - "path": "/optic/test/transformDoc-test.mjs", + "path": transformDoc, kind: "mjs", params: {wrongParamName: 'my new content'} }) @@ -188,7 +182,7 @@ describe('optic-update transformDoc tests', function() { ]; const plan = op.fromDocDescriptors(docsDescriptor) .transformDoc('doc', { - "path": "/optic/test/transformDoc-test.mjs", + "path": transformDoc, kind: "mjs", params: {myParam: 'my new content'} }) @@ -296,7 +290,7 @@ describe('optic-update transformDoc tests', function() { .joinInner(fromLiteral) .orderBy('id') .transformDoc('doc', { - "path": "/optic/test/transformDoc-test-two-params.mjs", kind: "mjs", + "path": transformDocWithTwoParams, kind: "mjs", params: {patch1: op.col('id'), patch2: op.col('val')} }) .write({uri: 'uri', doc: 'doc'}); diff --git a/test-basic/unnestTest.js b/test-basic/unnestTest.js index 5d900d64..cae9480b 100644 --- a/test-basic/unnestTest.js +++ b/test-basic/unnestTest.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2023 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const assert = require('assert'); const marklogic = require('../'); const testconfig = require('../etc/test-config.js'); diff --git a/test-basic/validateDoc-test.js b/test-basic/validateDoc-test.js index 89da4398..ba534be0 100644 --- a/test-basic/validateDoc-test.js +++ b/test-basic/validateDoc-test.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2023 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const should = require('should'); const testconfig = require('../etc/test-config.js'); diff --git a/test-basic/values-builder.js b/test-basic/values-builder.js index 8fea3926..18bb32c7 100644 --- a/test-basic/values-builder.js +++ b/test-basic/values-builder.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var assert = require('assert'); var should = require('should'); diff --git a/test-basic/values.js b/test-basic/values.js index c49a37a1..c8bd0419 100644 --- a/test-basic/values.js +++ b/test-basic/values.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-basic/vector-util-test.js b/test-basic/vector-util-test.js new file mode 100644 index 00000000..a918628e --- /dev/null +++ b/test-basic/vector-util-test.js @@ -0,0 +1,86 @@ +/* +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ + +'use strict'; + +const assert = require('assert'); +const testlib = require('../etc/test-lib'); +let serverConfiguration = {}; +const vectorUtil = require('../lib/vector-util'); +const pbb = require("./plan-builder-base"); +const marklogic = require("../lib/marklogic"); +const testconfig = require("../etc/test-config"); +const vector = [3.14, 1.59, 2.65]; +const delta = 0.0001; +const p = marklogic.planBuilder; +const testPlan = pbb.testPlan; +const dbWriter = marklogic.createDatabaseClient(testconfig.restWriterConnection); + +describe('tests for vector-util', function () { + this.timeout(5000); + before(function (done) { + try { + testlib.findServerConfiguration(serverConfiguration); + setTimeout(() => { + if (serverConfiguration.serverVersion < 12) { + this.skip(); + } + done(); + }, 3000); + } catch (error) { + done(error); + } + }); + + it('should encode the vector correctly using client side', function (done) { + const encoded = vectorUtil.base64Encode(vector); + try{ + assert.strictEqual(encoded, 'AAAAAAMAAADD9UhAH4XLP5qZKUA='); + done(); + } catch(error){ + done(error); + } + }); + + it('should decode the vector correctly using client side without delta', function (done) { + const input = 'AAAAAAMAAADD9UhAH4XLP5qZKUA='; + const decoded = vectorUtil.base64Decode(input); + try { + assert(Array.isArray(decoded)); + assert.strictEqual(decoded[0], 3.140000104904175); + assert.strictEqual(decoded[1], 1.590000033378601); + assert.strictEqual(decoded[2], 2.6500000953674316); + for (let i = 0; i < vector.length; i++) { + assert(Math.abs(decoded[i] - vector[i]) < delta, `Value mismatch at index ${i}`); + } + done(); + } catch(error){ + done(error); + } + }); + + it('should encode using server-side vector function and decode using client side', function (done) { + const vec1 = [0.002]; + testPlan([""],p.vec.base64Encode(p.vec.subvector(p.vec.vector(vec1),0))) + .then(function(response) { + const input = response.rows[0].t.value; + const decoded = vectorUtil.base64Decode(input); + assert.strictEqual(input, 'AAAAAAEAAABvEgM7'); + assert(Array.isArray(decoded)); + assert.strictEqual(decoded[0], 0.0020000000949949026); + assert(Math.abs(decoded[0] - vec1[0]) < delta, `Value mismatch`); + done(); + }).catch(error => done(error)); + }); + + it('should encode using client-side vector function and decode using server side', done => { + + const input = vectorUtil.base64Encode(vector); + const vectorString = '[ '+vector[0].toString()+', '+vector[1].toString()+', '+vector[2].toString()+' ]'; + dbWriter.eval(`vec.base64Decode('${input}')`).result(res=>{ + assert.strictEqual(res[0].value, vectorString); + done(); + }).catch(error=> done(error)) + }); +}); \ No newline at end of file diff --git a/test-basic/write-test.js b/test-basic/write-test.js index fee97d25..ac85a8c0 100644 --- a/test-basic/write-test.js +++ b/test-basic/write-test.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2023 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const should = require('should'); const testconfig = require('../etc/test-config.js'); diff --git a/test-complete-proxy/gulpfile.js b/test-complete-proxy/gulpfile.js index 75b6a606..98ef270e 100755 --- a/test-complete-proxy/gulpfile.js +++ b/test-complete-proxy/gulpfile.js @@ -1,18 +1,6 @@ -/* - * Copyright 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +/* +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const path = require('path'); const gulp = require('gulp'); const jshint = require('gulp-jshint'); diff --git a/test-complete-proxy/insertFromMultipleStreams.js b/test-complete-proxy/insertFromMultipleStreams.js index 540dce57..3655b1ec 100755 --- a/test-complete-proxy/insertFromMultipleStreams.js +++ b/test-complete-proxy/insertFromMultipleStreams.js @@ -1,18 +1,6 @@ -/* - * Copyright 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +/* +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const {Worker, isMainThread, parentPort, workerData} = require('worker_threads'); diff --git a/test-complete-proxy/nodejs-ds-dynamic.js b/test-complete-proxy/nodejs-ds-dynamic.js index 76102e1e..f08e7763 100755 --- a/test-complete-proxy/nodejs-ds-dynamic.js +++ b/test-complete-proxy/nodejs-ds-dynamic.js @@ -1,18 +1,6 @@ -/* - * Copyright 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +/* +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const fs = require('fs'); const util = require('util') diff --git a/test-complete-proxy/nodejs-ds-error-map.js b/test-complete-proxy/nodejs-ds-error-map.js index cdb94593..5fad6e7c 100755 --- a/test-complete-proxy/nodejs-ds-error-map.js +++ b/test-complete-proxy/nodejs-ds-error-map.js @@ -1,18 +1,6 @@ -/* - * Copyright 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +/* +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const fs = require('fs'); const util = require('util') diff --git a/test-complete-proxy/nodejs-ds-multipleWorker.js b/test-complete-proxy/nodejs-ds-multipleWorker.js index 1752c1b1..e1c00484 100755 --- a/test-complete-proxy/nodejs-ds-multipleWorker.js +++ b/test-complete-proxy/nodejs-ds-multipleWorker.js @@ -1,18 +1,6 @@ -/* - * Copyright 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +/* +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const fs = require('fs'); diff --git a/test-complete-proxy/nodejs-ds-required-params.js b/test-complete-proxy/nodejs-ds-required-params.js index c1652923..bc9e9583 100755 --- a/test-complete-proxy/nodejs-ds-required-params.js +++ b/test-complete-proxy/nodejs-ds-required-params.js @@ -1,18 +1,6 @@ -/* - * Copyright 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +/* +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const fs = require('fs'); const util = require('util') diff --git a/test-complete-proxy/nodejs-ds-setup-docs.js b/test-complete-proxy/nodejs-ds-setup-docs.js index aa08d029..ec596f91 100755 --- a/test-complete-proxy/nodejs-ds-setup-docs.js +++ b/test-complete-proxy/nodejs-ds-setup-docs.js @@ -1,18 +1,6 @@ -/* - * Copyright 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +/* +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const fs = require('fs'); const util = require('util') diff --git a/test-complete-proxy/nodejs-ds-transactions.js b/test-complete-proxy/nodejs-ds-transactions.js index 4ccea1ad..79cc67ba 100755 --- a/test-complete-proxy/nodejs-ds-transactions.js +++ b/test-complete-proxy/nodejs-ds-transactions.js @@ -1,18 +1,6 @@ -/* - * Copyright 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +/* +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const fs = require('fs'); const util = require('util') diff --git a/test-complete-proxy/searchMultiple.js b/test-complete-proxy/searchMultiple.js index 67fac43e..2bb27f5d 100755 --- a/test-complete-proxy/searchMultiple.js +++ b/test-complete-proxy/searchMultiple.js @@ -1,18 +1,6 @@ -/* - * Copyright 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +/* +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const {Worker, isMainThread, parentPort, workerData} = require('worker_threads'); const TestE2EMultiStringsInStringsOut = require("./TestE2EMultiStringsInStringsOut.js"); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete-proxy/setup/ds-qa-test-setup-users.js b/test-complete-proxy/setup/ds-qa-test-setup-users.js index fbcd5b54..ead07336 100755 --- a/test-complete-proxy/setup/ds-qa-test-setup-users.js +++ b/test-complete-proxy/setup/ds-qa-test-setup-users.js @@ -1,18 +1,6 @@ /* - * Copyright 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var valcheck = require('core-util-is'); var testlib = require('./test-lib.js'); diff --git a/test-complete-proxy/setup/ds-qa-test-setup.js b/test-complete-proxy/setup/ds-qa-test-setup.js index 01f96a0c..b8b08db2 100755 --- a/test-complete-proxy/setup/ds-qa-test-setup.js +++ b/test-complete-proxy/setup/ds-qa-test-setup.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var valcheck = require('core-util-is'); var marklogic = require('../lib/marklogic.js'); diff --git a/test-complete/data/emptyTransform.js b/test-complete/data/emptyTransform.js index d9a4e866..fc1c59fa 100644 --- a/test-complete/data/emptyTransform.js +++ b/test-complete/data/emptyTransform.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ function emptyTransform(context, params, document) { return null; diff --git a/test-complete/data/paramTransform.js b/test-complete/data/paramTransform.js index 1465cdc4..55f4f7a9 100644 --- a/test-complete/data/paramTransform.js +++ b/test-complete/data/paramTransform.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ function paramTransform(context, params, document) { var newDoc = document.toObject(); diff --git a/test-complete/data/sourceParams.js b/test-complete/data/sourceParams.js index 85d44090..d28a108a 100644 --- a/test-complete/data/sourceParams.js +++ b/test-complete/data/sourceParams.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var num1; var num2; diff --git a/test-complete/data/sourceParamsNegative.js b/test-complete/data/sourceParamsNegative.js index 2225eb90..88980f1f 100644 --- a/test-complete/data/sourceParamsNegative.js +++ b/test-complete/data/sourceParamsNegative.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ avar num1; var num2; diff --git a/test-complete/data/sourceSimple.js b/test-complete/data/sourceSimple.js index 74e555d9..60252f38 100644 --- a/test-complete/data/sourceSimple.js +++ b/test-complete/data/sourceSimple.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var a = "hello"; var b = "world"; diff --git a/test-complete/data/sourceSimpleNegative.js b/test-complete/data/sourceSimpleNegative.js index 912a0e46..c6e60bc5 100644 --- a/test-complete/data/sourceSimpleNegative.js +++ b/test-complete/data/sourceSimpleNegative.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var a = "hello"; avar b = "world"; diff --git a/test-complete/data/timestampTransform.js b/test-complete/data/timestampTransform.js index 71e050a6..3ac0df47 100644 --- a/test-complete/data/timestampTransform.js +++ b/test-complete/data/timestampTransform.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ function timestampTransform(context, params, document) { var newDoc = document.toObject(); diff --git a/test-complete/nodejs-config-patch-negative.js b/test-complete/nodejs-config-patch-negative.js index b790c45f..3fce257a 100644 --- a/test-complete/nodejs-config-patch-negative.js +++ b/test-complete/nodejs-config-patch-negative.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); var concatStream = require('concat-stream'); diff --git a/test-complete/nodejs-config-patch.js b/test-complete/nodejs-config-patch.js index 9b3f3d8b..0531f6fc 100644 --- a/test-complete/nodejs-config-patch.js +++ b/test-complete/nodejs-config-patch.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); var concatStream = require('concat-stream'); diff --git a/test-complete/nodejs-config-query-negative.js b/test-complete/nodejs-config-query-negative.js index a452b3e4..8527cfbb 100644 --- a/test-complete/nodejs-config-query-negative.js +++ b/test-complete/nodejs-config-query-negative.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); var concatStream = require('concat-stream'); diff --git a/test-complete/nodejs-config-query.js b/test-complete/nodejs-config-query.js index 6d080075..c8d005b6 100644 --- a/test-complete/nodejs-config-query.js +++ b/test-complete/nodejs-config-query.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); var concatStream = require('concat-stream'); diff --git a/test-complete/nodejs-database-concurrency.js b/test-complete/nodejs-database-concurrency.js index ebbc89f4..2e8c36b3 100644 --- a/test-complete/nodejs-database-concurrency.js +++ b/test-complete/nodejs-database-concurrency.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-database-connection-negative.js b/test-complete/nodejs-database-connection-negative.js index 8c26336a..68993b8d 100644 --- a/test-complete/nodejs-database-connection-negative.js +++ b/test-complete/nodejs-database-connection-negative.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-database-connection-ssl.js b/test-complete/nodejs-database-connection-ssl.js index 6af1acd4..3a707ed9 100644 --- a/test-complete/nodejs-database-connection-ssl.js +++ b/test-complete/nodejs-database-connection-ssl.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa-ssl.js'); diff --git a/test-complete/nodejs-dmsdk-QueryToRdAll.js b/test-complete/nodejs-dmsdk-QueryToRdAll.js index bdc2c932..ed9781c8 100644 --- a/test-complete/nodejs-dmsdk-QueryToRdAll.js +++ b/test-complete/nodejs-dmsdk-QueryToRdAll.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var marklogic = require('../'); var testconfig = require('../etc/test-config-qa.js'); const q = marklogic.queryBuilder; diff --git a/test-complete/nodejs-dmsdk-UpdAndRdAll.js b/test-complete/nodejs-dmsdk-UpdAndRdAll.js index 581a94d3..61a46722 100644 --- a/test-complete/nodejs-dmsdk-UpdAndRdAll.js +++ b/test-complete/nodejs-dmsdk-UpdAndRdAll.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var marklogic = require('../'); diff --git a/test-complete/nodejs-dmsdk-queryToTransformAll.js b/test-complete/nodejs-dmsdk-queryToTransformAll.js index 84239482..ed0d901b 100644 --- a/test-complete/nodejs-dmsdk-queryToTransformAll.js +++ b/test-complete/nodejs-dmsdk-queryToTransformAll.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const should = require('should'); const testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-dmsdk-queryall.js b/test-complete/nodejs-dmsdk-queryall.js index ac6d17fc..b2b71c9b 100644 --- a/test-complete/nodejs-dmsdk-queryall.js +++ b/test-complete/nodejs-dmsdk-queryall.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-dmsdk-readall-1.js b/test-complete/nodejs-dmsdk-readall-1.js index 4f69b9ca..62f108e2 100644 --- a/test-complete/nodejs-dmsdk-readall-1.js +++ b/test-complete/nodejs-dmsdk-readall-1.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var fs = require('fs'); const path = require('path'); diff --git a/test-complete/nodejs-dmsdk-removeAllUris.js b/test-complete/nodejs-dmsdk-removeAllUris.js index 203e4ed8..65107e23 100644 --- a/test-complete/nodejs-dmsdk-removeAllUris.js +++ b/test-complete/nodejs-dmsdk-removeAllUris.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ // deleteEmptyIterator // diff --git a/test-complete/nodejs-dmsdk-rows-queryAll.js b/test-complete/nodejs-dmsdk-rows-queryAll.js index a7f8ad62..4a6f7342 100644 --- a/test-complete/nodejs-dmsdk-rows-queryAll.js +++ b/test-complete/nodejs-dmsdk-rows-queryAll.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const should = require('should'); const testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-dmsdk-transformAll.js b/test-complete/nodejs-dmsdk-transformAll.js index dc229c6f..31c9eb06 100644 --- a/test-complete/nodejs-dmsdk-transformAll.js +++ b/test-complete/nodejs-dmsdk-transformAll.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const should = require('should'); const testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-dmsdk-txtFiles-transformAll.js b/test-complete/nodejs-dmsdk-txtFiles-transformAll.js index 0f87ec08..a64119a2 100644 --- a/test-complete/nodejs-dmsdk-txtFiles-transformAll.js +++ b/test-complete/nodejs-dmsdk-txtFiles-transformAll.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const should = require('should'); const testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-dmsdk-writeall.js b/test-complete/nodejs-dmsdk-writeall.js index 181ef47f..1bb41f08 100644 --- a/test-complete/nodejs-dmsdk-writeall.js +++ b/test-complete/nodejs-dmsdk-writeall.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-dmsdk-xmlFiles-transformAll.js b/test-complete/nodejs-dmsdk-xmlFiles-transformAll.js index 79fa1f26..b448404c 100644 --- a/test-complete/nodejs-dmsdk-xmlFiles-transformAll.js +++ b/test-complete/nodejs-dmsdk-xmlFiles-transformAll.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ const should = require('should'); const testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-binary-gif.js b/test-complete/nodejs-documents-binary-gif.js index 2589dea4..44cccfb9 100644 --- a/test-complete/nodejs-documents-binary-gif.js +++ b/test-complete/nodejs-documents-binary-gif.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-documents-binary-mp3.js b/test-complete/nodejs-documents-binary-mp3.js index a3077735..e1310680 100644 --- a/test-complete/nodejs-documents-binary-mp3.js +++ b/test-complete/nodejs-documents-binary-mp3.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-documents-binary-pdf.js b/test-complete/nodejs-documents-binary-pdf.js index 231ec9f3..b6955697 100644 --- a/test-complete/nodejs-documents-binary-pdf.js +++ b/test-complete/nodejs-documents-binary-pdf.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-documents-binary-range.js b/test-complete/nodejs-documents-binary-range.js index 70c884c9..13b9892c 100644 --- a/test-complete/nodejs-documents-binary-range.js +++ b/test-complete/nodejs-documents-binary-range.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-documents-crud-negative.js b/test-complete/nodejs-documents-crud-negative.js index 87a9ae90..277e0502 100644 --- a/test-complete/nodejs-documents-crud-negative.js +++ b/test-complete/nodejs-documents-crud-negative.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-crud.js b/test-complete/nodejs-documents-crud.js index 8df147f7..d21bfe0e 100644 --- a/test-complete/nodejs-documents-crud.js +++ b/test-complete/nodejs-documents-crud.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-extract-negative.js b/test-complete/nodejs-documents-extract-negative.js index 086246b6..5d8a664f 100644 --- a/test-complete/nodejs-documents-extract-negative.js +++ b/test-complete/nodejs-documents-extract-negative.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-extract.js b/test-complete/nodejs-documents-extract.js index acfb27a9..8a771f95 100644 --- a/test-complete/nodejs-documents-extract.js +++ b/test-complete/nodejs-documents-extract.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-metadata-values.js b/test-complete/nodejs-documents-metadata-values.js index f0c8962b..97fd4281 100644 --- a/test-complete/nodejs-documents-metadata-values.js +++ b/test-complete/nodejs-documents-metadata-values.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-parse-2.js b/test-complete/nodejs-documents-parse-2.js index 71855b33..bf73b668 100644 --- a/test-complete/nodejs-documents-parse-2.js +++ b/test-complete/nodejs-documents-parse-2.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-parse.js b/test-complete/nodejs-documents-parse.js index 14080a02..9ea7bbc8 100644 --- a/test-complete/nodejs-documents-parse.js +++ b/test-complete/nodejs-documents-parse.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-patch-2.js b/test-complete/nodejs-documents-patch-2.js index 46904917..60767f47 100755 --- a/test-complete/nodejs-documents-patch-2.js +++ b/test-complete/nodejs-documents-patch-2.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-patch-datatypes.js b/test-complete/nodejs-documents-patch-datatypes.js index f7b906cc..24f97991 100644 --- a/test-complete/nodejs-documents-patch-datatypes.js +++ b/test-complete/nodejs-documents-patch-datatypes.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); var concatStream = require('concat-stream'); diff --git a/test-complete/nodejs-documents-patch-metadata.js b/test-complete/nodejs-documents-patch-metadata.js index 9003871b..b8c98311 100644 --- a/test-complete/nodejs-documents-patch-metadata.js +++ b/test-complete/nodejs-documents-patch-metadata.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-patch-negative.js b/test-complete/nodejs-documents-patch-negative.js index d14979f7..e47606cb 100644 --- a/test-complete/nodejs-documents-patch-negative.js +++ b/test-complete/nodejs-documents-patch-negative.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-patch-null.js b/test-complete/nodejs-documents-patch-null.js index 52b9819c..26de8350 100644 --- a/test-complete/nodejs-documents-patch-null.js +++ b/test-complete/nodejs-documents-patch-null.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-patch-stream.js b/test-complete/nodejs-documents-patch-stream.js index b0f01fc2..efe6d43d 100644 --- a/test-complete/nodejs-documents-patch-stream.js +++ b/test-complete/nodejs-documents-patch-stream.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); diff --git a/test-complete/nodejs-documents-patch.js b/test-complete/nodejs-documents-patch.js index c7fd4eae..3199c029 100644 --- a/test-complete/nodejs-documents-patch.js +++ b/test-complete/nodejs-documents-patch.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-qbe.js b/test-complete/nodejs-documents-qbe.js index a0c67dcc..1c2640f8 100644 --- a/test-complete/nodejs-documents-qbe.js +++ b/test-complete/nodejs-documents-qbe.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-query-2.js b/test-complete/nodejs-documents-query-2.js index 4e4596bf..dd108b90 100644 --- a/test-complete/nodejs-documents-query-2.js +++ b/test-complete/nodejs-documents-query-2.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-query-3.js b/test-complete/nodejs-documents-query-3.js index 5ff1ba6d..6eb54206 100644 --- a/test-complete/nodejs-documents-query-3.js +++ b/test-complete/nodejs-documents-query-3.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-query-facet.js b/test-complete/nodejs-documents-query-facet.js index c994c59b..a0e6348e 100644 --- a/test-complete/nodejs-documents-query-facet.js +++ b/test-complete/nodejs-documents-query-facet.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-query-geo-double.js b/test-complete/nodejs-documents-query-geo-double.js index 9561d681..1476a405 100644 --- a/test-complete/nodejs-documents-query-geo-double.js +++ b/test-complete/nodejs-documents-query-geo-double.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-query-geo-region.js b/test-complete/nodejs-documents-query-geo-region.js index c74908b1..af33a502 100644 --- a/test-complete/nodejs-documents-query-geo-region.js +++ b/test-complete/nodejs-documents-query-geo-region.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-documents-query-geo.js b/test-complete/nodejs-documents-query-geo.js index 97ccb503..bd6211df 100644 --- a/test-complete/nodejs-documents-query-geo.js +++ b/test-complete/nodejs-documents-query-geo.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-query-negative.js b/test-complete/nodejs-documents-query-negative.js index cb27c8f4..676cc21a 100644 --- a/test-complete/nodejs-documents-query-negative.js +++ b/test-complete/nodejs-documents-query-negative.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-query-options.js b/test-complete/nodejs-documents-query-options.js index 7c1e95cd..169566ca 100644 --- a/test-complete/nodejs-documents-query-options.js +++ b/test-complete/nodejs-documents-query-options.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-query-slice.js b/test-complete/nodejs-documents-query-slice.js index 23b19f36..ec8c84ce 100644 --- a/test-complete/nodejs-documents-query-slice.js +++ b/test-complete/nodejs-documents-query-slice.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-query-sort.js b/test-complete/nodejs-documents-query-sort.js index 1ffe3182..6e451fc8 100644 --- a/test-complete/nodejs-documents-query-sort.js +++ b/test-complete/nodejs-documents-query-sort.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-query-stream.js b/test-complete/nodejs-documents-query-stream.js index 038e05b5..983fccef 100644 --- a/test-complete/nodejs-documents-query-stream.js +++ b/test-complete/nodejs-documents-query-stream.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); //var should = require('chai').should(); diff --git a/test-complete/nodejs-documents-query.js b/test-complete/nodejs-documents-query.js index da4e8ecc..a589b0f6 100644 --- a/test-complete/nodejs-documents-query.js +++ b/test-complete/nodejs-documents-query.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-quick.js b/test-complete/nodejs-documents-quick.js index 4c883515..194d13b9 100644 --- a/test-complete/nodejs-documents-quick.js +++ b/test-complete/nodejs-documents-quick.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-documents-read-chunk.js b/test-complete/nodejs-documents-read-chunk.js index 57515905..3865965e 100644 --- a/test-complete/nodejs-documents-read-chunk.js +++ b/test-complete/nodejs-documents-read-chunk.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-documents-remove-multiple.js b/test-complete/nodejs-documents-remove-multiple.js index 31bb5175..598efcc2 100644 --- a/test-complete/nodejs-documents-remove-multiple.js +++ b/test-complete/nodejs-documents-remove-multiple.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-removeAll-all.js b/test-complete/nodejs-documents-removeAll-all.js index f9abddef..11f64bfb 100644 --- a/test-complete/nodejs-documents-removeAll-all.js +++ b/test-complete/nodejs-documents-removeAll-all.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-removeAll-negative.js b/test-complete/nodejs-documents-removeAll-negative.js index 0062981e..1c8a6b5d 100644 --- a/test-complete/nodejs-documents-removeAll-negative.js +++ b/test-complete/nodejs-documents-removeAll-negative.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-removeAll.js b/test-complete/nodejs-documents-removeAll.js index d48d4933..fb63f651 100644 --- a/test-complete/nodejs-documents-removeAll.js +++ b/test-complete/nodejs-documents-removeAll.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-resources-config.js b/test-complete/nodejs-documents-resources-config.js index 42cf984e..923765ef 100644 --- a/test-complete/nodejs-documents-resources-config.js +++ b/test-complete/nodejs-documents-resources-config.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-documents-resources.js b/test-complete/nodejs-documents-resources.js index 864eb282..534e8c93 100644 --- a/test-complete/nodejs-documents-resources.js +++ b/test-complete/nodejs-documents-resources.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-documents-suggest.js b/test-complete/nodejs-documents-suggest.js index 9b3a12fe..2e1a2a5a 100644 --- a/test-complete/nodejs-documents-suggest.js +++ b/test-complete/nodejs-documents-suggest.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-transaction-combo.js b/test-complete/nodejs-documents-transaction-combo.js index 7ee34815..66b03610 100644 --- a/test-complete/nodejs-documents-transaction-combo.js +++ b/test-complete/nodejs-documents-transaction-combo.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-transaction-remove.js b/test-complete/nodejs-documents-transaction-remove.js index 0b371226..8045158d 100644 --- a/test-complete/nodejs-documents-transaction-remove.js +++ b/test-complete/nodejs-documents-transaction-remove.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-transaction-timelimit.js b/test-complete/nodejs-documents-transaction-timelimit.js index 45d5d84c..087884d6 100644 --- a/test-complete/nodejs-documents-transaction-timelimit.js +++ b/test-complete/nodejs-documents-transaction-timelimit.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-transaction-withstate.js b/test-complete/nodejs-documents-transaction-withstate.js index 947ed095..c02f2071 100644 --- a/test-complete/nodejs-documents-transaction-withstate.js +++ b/test-complete/nodejs-documents-transaction-withstate.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-transaction.js b/test-complete/nodejs-documents-transaction.js index a63dbebe..3f722e0e 100644 --- a/test-complete/nodejs-documents-transaction.js +++ b/test-complete/nodejs-documents-transaction.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-values-negative.js b/test-complete/nodejs-documents-values-negative.js index 37dc4c52..f1c0de2c 100644 --- a/test-complete/nodejs-documents-values-negative.js +++ b/test-complete/nodejs-documents-values-negative.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-documents-values.js b/test-complete/nodejs-documents-values.js index eed20362..59f28120 100644 --- a/test-complete/nodejs-documents-values.js +++ b/test-complete/nodejs-documents-values.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); @@ -288,9 +276,9 @@ describe('Document tuples test', function () { var strData = JSON.stringify(response); //console.log(strData); strData.should.containEql('"name":"correlation","_value":"0.263822426505543"'); - strData.should.containEql[('"name":"covariance","_value":"0.35"') || ('"name":"covariance","_value":"0.349999999999998"')]; + strData.should.containEql(('"name":"covariance","_value":"0.35"') || ('"name":"covariance","_value":"0.349999999999998"')); done(); - }, done); + }).catch(error=> done(error)); }); it('should do max, min, sum, average aggregates', function (done) { diff --git a/test-complete/nodejs-documents-write-large.js b/test-complete/nodejs-documents-write-large.js index 636b24f4..471841bf 100644 --- a/test-complete/nodejs-documents-write-large.js +++ b/test-complete/nodejs-documents-write-large.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-documents-write-stream.js b/test-complete/nodejs-documents-write-stream.js index 8c463e73..baae9b65 100644 --- a/test-complete/nodejs-documents-write-stream.js +++ b/test-complete/nodejs-documents-write-stream.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-extlibs-negative.js b/test-complete/nodejs-extlibs-negative.js index c52b26a7..3cd35bf2 100644 --- a/test-complete/nodejs-extlibs-negative.js +++ b/test-complete/nodejs-extlibs-negative.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-extlibs.js b/test-complete/nodejs-extlibs.js index 6d282c9a..c0279a87 100644 --- a/test-complete/nodejs-extlibs.js +++ b/test-complete/nodejs-extlibs.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); var concatStream = require('concat-stream'); diff --git a/test-complete/nodejs-graphs-content-type.js b/test-complete/nodejs-graphs-content-type.js index b8d8558a..7eb9e0d7 100644 --- a/test-complete/nodejs-graphs-content-type.js +++ b/test-complete/nodejs-graphs-content-type.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); @@ -155,9 +143,9 @@ describe('content type graph test', function () { result(function (response) { //console.log(JSON.stringify(response, null, 2)); response.should.containEql('SPARQL results'); - response.should.containEql('http://marklogicsparql.com/id#1111'); + response.toString().includes('http://marklogicsparql.com/id#1111'); done(); - }, done); + }).catch(error => done(error)); }); it('should run SPARQL query with n-triples content type', function (done) { diff --git a/test-complete/nodejs-graphs-default.js b/test-complete/nodejs-graphs-default.js index 26c3148f..766f23a6 100644 --- a/test-complete/nodejs-graphs-default.js +++ b/test-complete/nodejs-graphs-default.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-graphs-merge-stream.js b/test-complete/nodejs-graphs-merge-stream.js index 6ea1d6ff..cdea139f 100644 --- a/test-complete/nodejs-graphs-merge-stream.js +++ b/test-complete/nodejs-graphs-merge-stream.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-graphs-merge.js b/test-complete/nodejs-graphs-merge.js index ccb63807..afab9e6c 100644 --- a/test-complete/nodejs-graphs-merge.js +++ b/test-complete/nodejs-graphs-merge.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-graphs-negative.js b/test-complete/nodejs-graphs-negative.js index 8208723b..a2b94eb3 100644 --- a/test-complete/nodejs-graphs-negative.js +++ b/test-complete/nodejs-graphs-negative.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-graphs-overwrite-stream.js b/test-complete/nodejs-graphs-overwrite-stream.js index 45d36457..5dcf469c 100644 --- a/test-complete/nodejs-graphs-overwrite-stream.js +++ b/test-complete/nodejs-graphs-overwrite-stream.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-graphs-overwrite.js b/test-complete/nodejs-graphs-overwrite.js index d59b6586..94dfa081 100644 --- a/test-complete/nodejs-graphs-overwrite.js +++ b/test-complete/nodejs-graphs-overwrite.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-graphs-read-write-stream.js b/test-complete/nodejs-graphs-read-write-stream.js index 642c75e1..a21c0742 100644 --- a/test-complete/nodejs-graphs-read-write-stream.js +++ b/test-complete/nodejs-graphs-read-write-stream.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); @@ -47,11 +35,10 @@ describe('stream graph test', function () { this.timeout(10000); db.graphs.read(graphUri, 'text/n3').stream('chunked'). on('data', function (data) { - //console.log(data.toString()); + (!valcheck.isNullOrUndefined(data)).should.equal(true); var strData = data.toString(); strData.should.containEql('p0:person1 a p0:Person ;'); strData.should.containEql(' foaf:knows p0:person2 ;'); - (!valcheck.isNullOrUndefined(data)).should.equal(true); }). on('end', function () { done(); diff --git a/test-complete/nodejs-graphs-repair.js b/test-complete/nodejs-graphs-repair.js index 8b5560dd..c75ba23b 100644 --- a/test-complete/nodejs-graphs-repair.js +++ b/test-complete/nodejs-graphs-repair.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-graphs-transaction-remove.js b/test-complete/nodejs-graphs-transaction-remove.js index 7978f2e6..1f314b31 100644 --- a/test-complete/nodejs-graphs-transaction-remove.js +++ b/test-complete/nodejs-graphs-transaction-remove.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-graphs-transaction.js b/test-complete/nodejs-graphs-transaction.js index e559cbb6..517d55eb 100644 --- a/test-complete/nodejs-graphs-transaction.js +++ b/test-complete/nodejs-graphs-transaction.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-issue-104.js b/test-complete/nodejs-issue-104.js index 557cede8..a79c5efe 100644 --- a/test-complete/nodejs-issue-104.js +++ b/test-complete/nodejs-issue-104.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-issue-108-109.js b/test-complete/nodejs-issue-108-109.js index e54fd87e..061234e8 100644 --- a/test-complete/nodejs-issue-108-109.js +++ b/test-complete/nodejs-issue-108-109.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-issue-110.js b/test-complete/nodejs-issue-110.js index 364dc3e3..38b8172b 100644 --- a/test-complete/nodejs-issue-110.js +++ b/test-complete/nodejs-issue-110.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-issue-115.js b/test-complete/nodejs-issue-115.js index 0237f0fa..c3da66ca 100644 --- a/test-complete/nodejs-issue-115.js +++ b/test-complete/nodejs-issue-115.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-issue-257.js b/test-complete/nodejs-issue-257.js index 622e42c1..df5060cb 100644 --- a/test-complete/nodejs-issue-257.js +++ b/test-complete/nodejs-issue-257.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-issue-99.js b/test-complete/nodejs-issue-99.js index 88bb9e85..8e5c14e0 100644 --- a/test-complete/nodejs-issue-99.js +++ b/test-complete/nodejs-issue-99.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-javascript-eval-negative.js b/test-complete/nodejs-javascript-eval-negative.js index f6d41649..4e62e661 100644 --- a/test-complete/nodejs-javascript-eval-negative.js +++ b/test-complete/nodejs-javascript-eval-negative.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-javascript-eval-params.js b/test-complete/nodejs-javascript-eval-params.js index 4f08ff16..e71750c4 100644 --- a/test-complete/nodejs-javascript-eval-params.js +++ b/test-complete/nodejs-javascript-eval-params.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-javascript-eval.js b/test-complete/nodejs-javascript-eval.js index 5dcf77a0..705f9c69 100644 --- a/test-complete/nodejs-javascript-eval.js +++ b/test-complete/nodejs-javascript-eval.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-javascript-invoke-params-negative.js b/test-complete/nodejs-javascript-invoke-params-negative.js index 599f7404..56bfbf56 100644 --- a/test-complete/nodejs-javascript-invoke-params-negative.js +++ b/test-complete/nodejs-javascript-invoke-params-negative.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-javascript-invoke-params.js b/test-complete/nodejs-javascript-invoke-params.js index a57eab22..733ab8ca 100644 --- a/test-complete/nodejs-javascript-invoke-params.js +++ b/test-complete/nodejs-javascript-invoke-params.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-javascript-invoke-simple-negative.js b/test-complete/nodejs-javascript-invoke-simple-negative.js index 8dacadca..6c358f8a 100644 --- a/test-complete/nodejs-javascript-invoke-simple-negative.js +++ b/test-complete/nodejs-javascript-invoke-simple-negative.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-javascript-invoke-simple.js b/test-complete/nodejs-javascript-invoke-simple.js index b7b16740..b5b53067 100644 --- a/test-complete/nodejs-javascript-invoke-simple.js +++ b/test-complete/nodejs-javascript-invoke-simple.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-logger-bunyan.js b/test-complete/nodejs-logger-bunyan.js index ead581a1..9a809f6e 100644 --- a/test-complete/nodejs-logger-bunyan.js +++ b/test-complete/nodejs-logger-bunyan.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var testconfig = require('../etc/test-config-qa.js'); var marklogic = require('../'); var dbAdmin = marklogic.createDatabaseClient(testconfig.restAdminConnection); diff --git a/test-complete/nodejs-logger-winston.js b/test-complete/nodejs-logger-winston.js index 9cd2dab8..f45cb9f6 100644 --- a/test-complete/nodejs-logger-winston.js +++ b/test-complete/nodejs-logger-winston.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var winston = require('winston'); diff --git a/test-complete/nodejs-optic-cts-queries.js b/test-complete/nodejs-optic-cts-queries.js index d535aadd..a006e53a 100644 --- a/test-complete/nodejs-optic-cts-queries.js +++ b/test-complete/nodejs-optic-cts-queries.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const expect = require('chai').expect; diff --git a/test-complete/nodejs-optic-from-lexicons.js b/test-complete/nodejs-optic-from-lexicons.js index 5cf867d6..b77aff48 100644 --- a/test-complete/nodejs-optic-from-lexicons.js +++ b/test-complete/nodejs-optic-from-lexicons.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the License); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an AS IS BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const expect = require('chai').expect; diff --git a/test-complete/nodejs-optic-from-literals.js b/test-complete/nodejs-optic-from-literals.js index 2ba084ed..cece36d7 100644 --- a/test-complete/nodejs-optic-from-literals.js +++ b/test-complete/nodejs-optic-from-literals.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the License); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an AS IS BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const expect = require('chai').expect; diff --git a/test-complete/nodejs-optic-from-sparql.js b/test-complete/nodejs-optic-from-sparql.js index b673a934..5b8a184b 100644 --- a/test-complete/nodejs-optic-from-sparql.js +++ b/test-complete/nodejs-optic-from-sparql.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2022 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the License); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an AS IS BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const expect = require('chai').expect; diff --git a/test-complete/nodejs-optic-from-sql.js b/test-complete/nodejs-optic-from-sql.js index e9a87a39..da1b4ec8 100644 --- a/test-complete/nodejs-optic-from-sql.js +++ b/test-complete/nodejs-optic-from-sql.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the License); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an AS IS BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const expect = require('chai').expect; diff --git a/test-complete/nodejs-optic-from-triples.js b/test-complete/nodejs-optic-from-triples.js index eb14bcdb..b6d1ac55 100644 --- a/test-complete/nodejs-optic-from-triples.js +++ b/test-complete/nodejs-optic-from-triples.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the License); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an AS IS BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const expect = require('chai').expect; diff --git a/test-complete/nodejs-optic-from-views.js b/test-complete/nodejs-optic-from-views.js index 66a44b2c..a79dd3f8 100644 --- a/test-complete/nodejs-optic-from-views.js +++ b/test-complete/nodejs-optic-from-views.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the License); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an AS IS BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const expect = require('chai').expect; diff --git a/test-complete/nodejs-optic-generate-views.js b/test-complete/nodejs-optic-generate-views.js index f6b013c2..d4ad3e5a 100644 --- a/test-complete/nodejs-optic-generate-views.js +++ b/test-complete/nodejs-optic-generate-views.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the License); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an AS IS BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const expect = require('chai').expect; @@ -62,14 +50,9 @@ const dbClient = marklogic.createDatabaseClient( const pb = marklogic.planBuilder; -function waitForViewCreate(wTime) { - return it('View creation delay', done => { - setTimeout(() => done(), wTime); - - }).timeout(wTime + 120); -} describe('Nodejs Optic generate views test', function () { + this.timeout(20000); it('TEST 1 - join left outer with array of on', function (done) { const plan1 = @@ -100,13 +83,11 @@ describe('Nodejs Optic generate views test', function () { content: res }). result(function (response) { - // console.log(JSON.stringify(response, null, 4)); + setTimeout(()=> done(), 10120); }); - done(); - }, done); + }).catch(error=>done(error)); }); - waitForViewCreate(10000); it('TEST 1a - Verify InnerJoin keymatch view', function (done) { const qv = pb.fromView('InnerJoin', 'keymatch'); @@ -126,8 +107,7 @@ describe('Nodejs Optic generate views test', function () { expect(row5['InnerJoin.keymatch.amount'].value).to.equal(10.01); done(); }, function (error) { - console.log(JSON.stringify(error, null, 2)); - done(); + done(error); }); }); @@ -157,13 +137,11 @@ describe('Nodejs Optic generate views test', function () { content: res }). result(function (response) { - // console.log(JSON.stringify(response, null, 4)); + setTimeout(()=> done(), 10120); }); - done(); - }, done); + }).catch(error=>done(error)); }); - waitForViewCreate(10000); it('TEST 2a - Verify sparql groupmin view', function (done) { const qv = pb.fromView('sparql', 'groupmin'); @@ -181,8 +159,7 @@ describe('Nodejs Optic generate views test', function () { expect(row7['sparql.groupmin.min_sales'].value).to.equal(10000000); done(); }, function (error) { - console.log(JSON.stringify(error, null, 2)); - done(); + done(error); }); }); @@ -217,14 +194,11 @@ describe('Nodejs Optic generate views test', function () { content: res }). result(function (response) { - // console.log(JSON.stringify(response, null, 4)); + setTimeout(()=> done(), 10120); }); - done(); - }, done); + }).catch(error=>done(error)); }); - waitForViewCreate(10000); - it('TEST 3a - Verify sparql groupmin view', function (done) { const qv = pb.fromView('lexicons', 'orderbyselect'); @@ -241,8 +215,7 @@ describe('Nodejs Optic generate views test', function () { expect(row3['lexicons.orderbyselect.date'].value).to.equal('2007-01-01'); done(); }, function (error) { - console.log(JSON.stringify(error, null, 2)); - done(); + done(error); }); }); }); diff --git a/test-complete/nodejs-optic-nodes.js b/test-complete/nodejs-optic-nodes.js index 84f0dd25..69803105 100644 --- a/test-complete/nodejs-optic-nodes.js +++ b/test-complete/nodejs-optic-nodes.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const expect = require('chai').expect; @@ -102,7 +90,7 @@ describe('Nodejs Optic nodes json constructor test', function () { expect(output.rows[3]['myItem.rowId']).to.equal(4); expect(output.rows[3].xml).to.equal('redhoop'); done(); - }, done); + }).catch(error => done(error)); }); it('TEST 2 - construct json from views', function (done) { diff --git a/test-complete/nodejs-optic-read-file.js b/test-complete/nodejs-optic-read-file.js index 4f99ebb9..cc1dea39 100644 --- a/test-complete/nodejs-optic-read-file.js +++ b/test-complete/nodejs-optic-read-file.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the License); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an AS IS BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const expect = require('chai').expect; diff --git a/test-complete/nodejs-optic-redaction.js b/test-complete/nodejs-optic-redaction.js index e42aca4d..817dfed8 100644 --- a/test-complete/nodejs-optic-redaction.js +++ b/test-complete/nodejs-optic-redaction.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2021 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the License); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an AS IS BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ 'use strict'; const expect = require('chai').expect; diff --git a/test-complete/nodejs-optimistic-locking-stream.js b/test-complete/nodejs-optimistic-locking-stream.js index 41b7a90b..3cd58be7 100644 --- a/test-complete/nodejs-optimistic-locking-stream.js +++ b/test-complete/nodejs-optimistic-locking-stream.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-optimistic-locking.js b/test-complete/nodejs-optimistic-locking.js index 89957129..5543c949 100644 --- a/test-complete/nodejs-optimistic-locking.js +++ b/test-complete/nodejs-optimistic-locking.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-pitq-documents.js b/test-complete/nodejs-pitq-documents.js index a4624ee5..8157106f 100644 --- a/test-complete/nodejs-pitq-documents.js +++ b/test-complete/nodejs-pitq-documents.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-pitq-graphs.js b/test-complete/nodejs-pitq-graphs.js index 3a2a6076..5f9096a1 100644 --- a/test-complete/nodejs-pitq-graphs.js +++ b/test-complete/nodejs-pitq-graphs.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-pitq-values.js b/test-complete/nodejs-pitq-values.js index d9b8bd11..4a357cfc 100644 --- a/test-complete/nodejs-pitq-values.js +++ b/test-complete/nodejs-pitq-values.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-process-env.js b/test-complete/nodejs-process-env.js index 7a125c54..1ad0a7aa 100644 --- a/test-complete/nodejs-process-env.js +++ b/test-complete/nodejs-process-env.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ process.env.NODE_ENV = 'development'; diff --git a/test-complete/nodejs-serverprops.js b/test-complete/nodejs-serverprops.js index 365cb266..035054a4 100644 --- a/test-complete/nodejs-serverprops.js +++ b/test-complete/nodejs-serverprops.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-sparql-update.js b/test-complete/nodejs-sparql-update.js index f1e2c641..feec8e52 100644 --- a/test-complete/nodejs-sparql-update.js +++ b/test-complete/nodejs-sparql-update.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-sparql.js b/test-complete/nodejs-sparql.js index 337d1b54..42b6a257 100644 --- a/test-complete/nodejs-sparql.js +++ b/test-complete/nodejs-sparql.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); diff --git a/test-complete/nodejs-temporal-advance-lsqt.js b/test-complete/nodejs-temporal-advance-lsqt.js index 18046b9d..a13b7df7 100644 --- a/test-complete/nodejs-temporal-advance-lsqt.js +++ b/test-complete/nodejs-temporal-advance-lsqt.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testlib = require('../etc/test-lib.js'); diff --git a/test-complete/nodejs-temporal-insert-bulk.js b/test-complete/nodejs-temporal-insert-bulk.js index 75403995..a6aedd6f 100644 --- a/test-complete/nodejs-temporal-insert-bulk.js +++ b/test-complete/nodejs-temporal-insert-bulk.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testlib = require('../etc/test-lib.js'); diff --git a/test-complete/nodejs-temporal-insert-lsqt.js b/test-complete/nodejs-temporal-insert-lsqt.js index d309bc91..e990bfdc 100644 --- a/test-complete/nodejs-temporal-insert-lsqt.js +++ b/test-complete/nodejs-temporal-insert-lsqt.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testlib = require('../etc/test-lib.js'); diff --git a/test-complete/nodejs-temporal-insert-transform.js b/test-complete/nodejs-temporal-insert-transform.js index 975b950a..5060f6a7 100644 --- a/test-complete/nodejs-temporal-insert-transform.js +++ b/test-complete/nodejs-temporal-insert-transform.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testlib = require('../etc/test-lib.js'); diff --git a/test-complete/nodejs-temporal-insert.js b/test-complete/nodejs-temporal-insert.js index cd75511c..a32be511 100644 --- a/test-complete/nodejs-temporal-insert.js +++ b/test-complete/nodejs-temporal-insert.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testlib = require('../etc/test-lib.js'); diff --git a/test-complete/nodejs-temporal-lsqt-query.js b/test-complete/nodejs-temporal-lsqt-query.js index e0014918..4fb81584 100644 --- a/test-complete/nodejs-temporal-lsqt-query.js +++ b/test-complete/nodejs-temporal-lsqt-query.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testlib = require('../etc/test-lib.js'); diff --git a/test-complete/nodejs-temporal-patch.js b/test-complete/nodejs-temporal-patch.js index 9ae4d5fe..5a989a47 100644 --- a/test-complete/nodejs-temporal-patch.js +++ b/test-complete/nodejs-temporal-patch.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-temporal-period-compare-query.js b/test-complete/nodejs-temporal-period-compare-query.js index d66246c0..897a21c8 100644 --- a/test-complete/nodejs-temporal-period-compare-query.js +++ b/test-complete/nodejs-temporal-period-compare-query.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testlib = require('../etc/test-lib.js'); diff --git a/test-complete/nodejs-temporal-period-range-query-multiple-axis.js b/test-complete/nodejs-temporal-period-range-query-multiple-axis.js index f5eac197..3a6fd6c5 100644 --- a/test-complete/nodejs-temporal-period-range-query-multiple-axis.js +++ b/test-complete/nodejs-temporal-period-range-query-multiple-axis.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testlib = require('../etc/test-lib.js'); diff --git a/test-complete/nodejs-temporal-period-range-query.js b/test-complete/nodejs-temporal-period-range-query.js index 760b61b6..302c94ae 100644 --- a/test-complete/nodejs-temporal-period-range-query.js +++ b/test-complete/nodejs-temporal-period-range-query.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testlib = require('../etc/test-lib.js'); diff --git a/test-complete/nodejs-temporal-protect-delete.js b/test-complete/nodejs-temporal-protect-delete.js index 70984171..3baba023 100644 --- a/test-complete/nodejs-temporal-protect-delete.js +++ b/test-complete/nodejs-temporal-protect-delete.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testlib = require('../etc/test-lib.js'); diff --git a/test-complete/nodejs-temporal-protect-update.js b/test-complete/nodejs-temporal-protect-update.js index 783a2099..bb67045a 100644 --- a/test-complete/nodejs-temporal-protect-update.js +++ b/test-complete/nodejs-temporal-protect-update.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testlib = require('../etc/test-lib.js'); diff --git a/test-complete/nodejs-temporal-protect-wipe.js b/test-complete/nodejs-temporal-protect-wipe.js index cc174453..f2407d15 100644 --- a/test-complete/nodejs-temporal-protect-wipe.js +++ b/test-complete/nodejs-temporal-protect-wipe.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testlib = require('../etc/test-lib.js'); diff --git a/test-complete/nodejs-temporal-transaction-commit.js b/test-complete/nodejs-temporal-transaction-commit.js index 70438a7f..f3123da8 100644 --- a/test-complete/nodejs-temporal-transaction-commit.js +++ b/test-complete/nodejs-temporal-transaction-commit.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testlib = require('../etc/test-lib.js'); diff --git a/test-complete/nodejs-temporal-transaction-rollback.js b/test-complete/nodejs-temporal-transaction-rollback.js index 8adaedfc..c0ede209 100644 --- a/test-complete/nodejs-temporal-transaction-rollback.js +++ b/test-complete/nodejs-temporal-transaction-rollback.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testlib = require('../etc/test-lib.js'); diff --git a/test-complete/nodejs-temporal-update-lsqt.js b/test-complete/nodejs-temporal-update-lsqt.js index 12db4e72..813abe71 100644 --- a/test-complete/nodejs-temporal-update-lsqt.js +++ b/test-complete/nodejs-temporal-update-lsqt.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testlib = require('../etc/test-lib.js'); diff --git a/test-complete/nodejs-temporal-update.js b/test-complete/nodejs-temporal-update.js index a41d8d1e..6d9b9195 100644 --- a/test-complete/nodejs-temporal-update.js +++ b/test-complete/nodejs-temporal-update.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testlib = require('../etc/test-lib.js'); diff --git a/test-complete/nodejs-transform-combine.js b/test-complete/nodejs-transform-combine.js index 91421c55..665f13ce 100644 --- a/test-complete/nodejs-transform-combine.js +++ b/test-complete/nodejs-transform-combine.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); var concatStream = require('concat-stream'); diff --git a/test-complete/nodejs-transform-empty.js b/test-complete/nodejs-transform-empty.js index f22438e2..f9390792 100644 --- a/test-complete/nodejs-transform-empty.js +++ b/test-complete/nodejs-transform-empty.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); var concatStream = require('concat-stream'); diff --git a/test-complete/nodejs-transform-javascript.js b/test-complete/nodejs-transform-javascript.js index 70b8f8b7..a63603b4 100644 --- a/test-complete/nodejs-transform-javascript.js +++ b/test-complete/nodejs-transform-javascript.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); var concatStream = require('concat-stream'); diff --git a/test-complete/nodejs-transform-negative.js b/test-complete/nodejs-transform-negative.js index 996e5db0..cc348acb 100644 --- a/test-complete/nodejs-transform-negative.js +++ b/test-complete/nodejs-transform-negative.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); var concatStream = require('concat-stream'); diff --git a/test-complete/nodejs-transform-params.js b/test-complete/nodejs-transform-params.js index 17a6943b..90d624d7 100644 --- a/test-complete/nodejs-transform-params.js +++ b/test-complete/nodejs-transform-params.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); var concatStream = require('concat-stream'); diff --git a/test-complete/nodejs-transform-save-json-as-xml.js b/test-complete/nodejs-transform-save-json-as-xml.js index cef09a8f..74b9be0a 100644 --- a/test-complete/nodejs-transform-save-json-as-xml.js +++ b/test-complete/nodejs-transform-save-json-as-xml.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); var concatStream = require('concat-stream'); diff --git a/test-complete/nodejs-transform-xquery.js b/test-complete/nodejs-transform-xquery.js index 23af9d39..cee4fc69 100644 --- a/test-complete/nodejs-transform-xquery.js +++ b/test-complete/nodejs-transform-xquery.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); var concatStream = require('concat-stream'); diff --git a/test-complete/nodejs-transform-xslt.js b/test-complete/nodejs-transform-xslt.js index d4fa472a..7c4a2059 100644 --- a/test-complete/nodejs-transform-xslt.js +++ b/test-complete/nodejs-transform-xslt.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var fs = require('fs'); var concatStream = require('concat-stream'); diff --git a/test-complete/nodejs-xquery-eval-negative.js b/test-complete/nodejs-xquery-eval-negative.js index 103828ea..f2372ac0 100644 --- a/test-complete/nodejs-xquery-eval-negative.js +++ b/test-complete/nodejs-xquery-eval-negative.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-xquery-eval.js b/test-complete/nodejs-xquery-eval.js index a7dbbd20..a4780110 100644 --- a/test-complete/nodejs-xquery-eval.js +++ b/test-complete/nodejs-xquery-eval.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-xquery-invoke-params-negative.js b/test-complete/nodejs-xquery-invoke-params-negative.js index c135bcb0..0da32d37 100644 --- a/test-complete/nodejs-xquery-invoke-params-negative.js +++ b/test-complete/nodejs-xquery-invoke-params-negative.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-xquery-invoke-params.js b/test-complete/nodejs-xquery-invoke-params.js index e8799c65..47485ca8 100644 --- a/test-complete/nodejs-xquery-invoke-params.js +++ b/test-complete/nodejs-xquery-invoke-params.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-xquery-invoke-simple-negative.js b/test-complete/nodejs-xquery-invoke-simple-negative.js index 20ba1df6..a1aaaa20 100644 --- a/test-complete/nodejs-xquery-invoke-simple-negative.js +++ b/test-complete/nodejs-xquery-invoke-simple-negative.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js'); diff --git a/test-complete/nodejs-xquery-invoke-simple.js b/test-complete/nodejs-xquery-invoke-simple.js index f61911d3..95ddb1d7 100644 --- a/test-complete/nodejs-xquery-invoke-simple.js +++ b/test-complete/nodejs-xquery-invoke-simple.js @@ -1,18 +1,6 @@ /* - * Copyright (c) 2020 MarkLogic Corporation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright © 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +*/ var should = require('should'); var testconfig = require('../etc/test-config-qa.js');