forked from vpulim/node-soap
-
Notifications
You must be signed in to change notification settings - Fork 0
Merging upstream changes #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
applyinnovations
wants to merge
129
commits into
applyinnovations:master
Choose a base branch
from
vpulim:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* add optional targetNamespace to output message name * add test cases * add optional output for non stylised wsdl
…1177) * change content-type-parser to whatwg-mimetype * Readme.md: Rewrite how to get support for conciseness, update mentions of the old request module to Axios, improve documentation of several functions' arguments. * Reorder the import from 'whatwg-mimetype' to be alphabetized. The upstream pull request 1169 failed linting with the following error: ERROR: /home/runner/work/node-soap/node-soap/src/http.ts:9:1 - Import sources within a group must be alphabetized. * Add @types/whatwg-mimetype as a developer dependency. * HttpClient.request(): Change the call to MIMEType's constructor method to MIMEType.parse(). The MIMEType constructor method throws an Error object on failure, unlike the call to contentTypeParser() from the 'content-type-parser' package, which returned null on failure. To maintain backwards compatibility, use MIMEType.parse(), which returns null on failure. * http.ts: Change the import syntax for MIMEType to be compatible with TypeScript. * HttpClient.request(): Fix the code that gets the boundary parameter from the parsed HTTP Content-Type header. Co-authored-by: Thiago Lagden <[email protected]>
The usage of axios in this repository is very basic, but its versioning is defined very tightly. This causes problems, because the interface IOptions uses AxiosInstance as its property, preventing the clients of this library from updating their axios version beyond the limits set in this library. Typescript compiler gives type error when giving higher version AxiosInstance for IOptions. By setting axios as a peer dependency, we would allow the clients of this library to install other versions of axios if they so choose.
* added ability to add to request http header within "request", "message" events; added accompanying test which test ability to add http header within "request" event; * fixed lint error
Co-authored-by: Joe Spencer <[email protected]>
* Removed double await in async There's no need to call await again on the result object since result is already resolved. * Returning just the JSON response in await example In the example for async, logging result returns an array containing not just the JSON response but also the rawResponse, rawRequest e.t.c. This can be confusing for users who try the async example after trying the non-async examples which only return the JSON response. I added a subscript to the 0th index so that that's what's logged.
* Added override constructor to ClientSSLSecurityPFX class Added test for additional ClientSSLSecurityPFX constructor Fixed failing test of ClientSSLSecurityPFX * Disabling test using and removing files PurchasingRequestService due to 404 links
v1 is deprecated.
* feat(WSSecurity): allow using WSSecurity and WSSecurityCert together * docs: add idMode option for WSSecurityCert to Readme Co-authored-by: Florian Schmid <[email protected]>
The encrypted private key test/certs/agent2-key-with-password.pem was encrypted with DES, which is unsupported in Node.js 18. I re-encrypted it with AES, and now the build works in Node.js 18.
Use native string.trim instead of regex replace for performance. remove log line. fix quotes in tests.
Add test case to verify that unique IDs are generated for references
…ace (#1296) - Allows SchemaElement instance to use import namespace as targetNamespace when the attribute is not set - Prevent to log error message when schema elements do not include targetNamespace attribute: `Target-Namespace "undefined" already in use by another Schema!` - Added test for undefined targetNamespaces Co-authored-by: Niche <[email protected]> Co-authored-by: Rubén Alberto Reyes <[email protected]>
--- updated-dependencies: - dependency-name: actions/setup-node dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
--- updated-dependencies: - dependency-name: actions/checkout dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [serve-static](https://github.com/expressjs/serve-static) from 1.16.2 to 2.2.0. Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [semver](https://github.com/npm/node-semver) from 7.7.1 to 7.7.2. Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add tests * Update readme --------- Co-authored-by: Luis Roberto <--edit> Co-authored-by: Vasily Martynov <[email protected]>
Changes to support the redefining of a namespace alias from #1151 This is within different elements. The provided WSDL was not serializing the response correctly when returning the XML. Add test for the previously made changes, make sure code coverage remained the same. Co-authored-by: lah8789 <[email protected]>
Bumps [body-parser](https://github.com/expressjs/body-parser) from 1.20.3 to 2.2.0. - [Release notes](https://github.com/expressjs/body-parser/releases) - [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md) - [Commits](expressjs/body-parser@1.20.3...v2.2.0) --- updated-dependencies: - dependency-name: body-parser dependency-version: 2.2.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump mocha from 11.1.0 to 11.7.1 Bumps [mocha](https://github.com/mochajs/mocha) from 11.1.0 to 11.7.1. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md) - [Commits](mochajs/mocha@v11.1.0...v11.7.1) --- updated-dependencies: - dependency-name: mocha dependency-version: 11.7.1 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update dev dep mocha in package.json, not only in lock file --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vasily Martynov <[email protected]>
* Bump @types/lodash from 4.17.16 to 4.17.20 Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.17.16 to 4.17.20. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash) --- updated-dependencies: - dependency-name: "@types/lodash" dependency-version: 4.17.20 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Update dev dep lodash in package.json, not only in lock file --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vasily Martynov <[email protected]>
Bumps [sinon](https://github.com/sinonjs/sinon) from 20.0.0 to 21.0.0. - [Release notes](https://github.com/sinonjs/sinon/releases) - [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md) - [Commits](https://github.com/sinonjs/sinon/commits) --- updated-dependencies: - dependency-name: sinon dependency-version: 21.0.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Improve header - Add link to donate to maintainer
* Fix error `Exception has occurred: TypeError: Cannot read properties of undefined (reading 'description')` * [tests] Add test in `test/request-response-samples-test` as in 'should work with deeply nested XML messages' * [tests] fix typo: Preserse => Preserve * [package][mocha] test timeout to 20000 * [github] add caching * [github] update github action to have timeout-minutes: 5 * [test] comment out extra verbosity in the output * [package] update npm script `cover` for sha1 sigs, timeout, and no-parallel * Add OPENSSL_ENABLE_SHA1_SIGNATURES=1 is necessary where OpenSSL disables checks for older ciphers that one of the tests uses and fails the test, e.g. on EL9. * Fix timeouts in test/request-response-samples-test.js when call back assertion fails, now it throws an error. --------- Co-authored-by: alex-eri <[email protected]> Co-authored-by: Vasily Martynov <[email protected]>
…#1315) * Method is "applied" instead of being called directly, which enables access to "this". The owning object for the method is the port, therefore, that's what is being passed as "this". * [server] remove unused 'port' variable --------- Co-authored-by: Bruno Brant <[email protected]>
The XML schema instance handling of the parsing code behaves linearly with regards to the number of namespaces. If there are many namespaces in the response (in our case it was over 200, almost all of them unused) this causes large slowdowns, which are especially problematic when parsing large amounts of XML in resource constrained environments. The changes sped up parsing up by more than 5x in our case.
Bumps [diff](https://github.com/kpdecker/jsdiff) from 7.0.0 to 8.0.2. - [Changelog](https://github.com/kpdecker/jsdiff/blob/master/release-notes.md) - [Commits](kpdecker/jsdiff@7.0.0...v8.0.2) --- updated-dependencies: - dependency-name: diff dependency-version: 8.0.2 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [express](https://github.com/expressjs/express) from 4.21.2 to 5.1.0. - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/master/History.md) - [Commits](expressjs/express@4.21.2...v5.1.0) --- updated-dependencies: - dependency-name: express dependency-version: 5.1.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vasily Martynov <[email protected]>
* Update readme --------- Co-authored-by: Lucas Fellipe Mondini Pereira <[email protected]>
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Add tests - Update readme Co-authored-by: kpetrovic <[email protected]> Co-authored-by: aussieboi <[email protected]> Co-authored-by: Marko Boskovic <[email protected]> Co-authored-by: Vasily Martynov <[email protected]>
ignore deps that are not compatible with the project yet `@types/node` and `typedoc`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.