Skip to content

Conversation

applyinnovations
Copy link
Collaborator

No description provided.

tommyhtran and others added 17 commits January 3, 2022 10:23
* 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
* 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
* feat(WSSecurity): allow using WSSecurity and WSSecurityCert together

* docs: add idMode option for WSSecurityCert to Readme

Co-authored-by: Florian Schmid <[email protected]>
e6c31d and others added 11 commits December 11, 2022 09:46
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.
rohangupta6807 and others added 30 commits June 5, 2025 21:05
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]>
Most files in this project are now TypeScript, so the indentation
configuration in the `.editorconfig` is important for that too.

My editor (WebStorm) wasn't correctly picking it up before and
defaulting to 4 spaces, which made editing annoying.
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>
* 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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.