Skip to content
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

Merging upstream changes #5

Open
wants to merge 80 commits into
base: master
Choose a base branch
from

Commits on Jan 3, 2022

  1. Configuration menu
    Copy the full SHA
    46ff077 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2022

  1. add optional targetNamespace to output message name (#1176)

    * add optional targetNamespace to output message name
    
    * add test cases
    
    * add optional output for non stylised wsdl
    Benomi authored Jan 5, 2022
    Configuration menu
    Copy the full SHA
    fd3bdb5 View commit details
    Browse the repository at this point in the history
  2. Continuation PR #1169: change content-type-parser to whatwg-mimetype (#…

    …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]>
    tommyhtran and lagden authored Jan 5, 2022
    Configuration menu
    Copy the full SHA
    66ba6c6 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2022

  1. Change axios to be a peer dependency (#1179)

    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.
    ssiltanen authored Jan 14, 2022
    Configuration menu
    Copy the full SHA
    c54e125 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2022

  1. Fix of client events behavior (#1181)

    * 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
    rlavshchenko authored Mar 18, 2022
    Configuration menu
    Copy the full SHA
    52a280e View commit details
    Browse the repository at this point in the history
  2. Fix missing parameter in example (#1172)

    Co-authored-by: Joe Spencer <[email protected]>
    dj95 and jsdevel authored Mar 18, 2022
    Configuration menu
    Copy the full SHA
    99832a1 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2022

  1. Removed double await in async and fixed response (#1185)

    * 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.
    anasik authored May 18, 2022
    Configuration menu
    Copy the full SHA
    56c7942 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2022

  1. Added override constructor to ClientSSLSecurityPFX class (#1184)

    * 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
    willemruys authored Jun 6, 2022
    Configuration menu
    Copy the full SHA
    e4f7106 View commit details
    Browse the repository at this point in the history
  2. Release v0.44.0

    jsdevel committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    85e6aba View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2022

  1. Upgrade formidable to v2 (#1183)

    v1 is deprecated.
    orgads authored Jun 15, 2022
    Configuration menu
    Copy the full SHA
    0089ce3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    424bd37 View commit details
    Browse the repository at this point in the history
  3. Release v0.45.0

    jsdevel committed Jun 15, 2022
    Configuration menu
    Copy the full SHA
    59116ba View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2022

  1. Configuration menu
    Copy the full SHA
    aac37bd View commit details
    Browse the repository at this point in the history
  2. Allow WSSecurity and WSSecurityCert to be used together (#1195)

    * feat(WSSecurity): allow using WSSecurity and WSSecurityCert together
    
    * docs: add idMode option for WSSecurityCert to Readme
    
    Co-authored-by: Florian Schmid <[email protected]>
    flowpl and Florian Schmid authored Aug 17, 2022
    Configuration menu
    Copy the full SHA
    ceb2599 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2022

  1. Configuration menu
    Copy the full SHA
    cded0c3 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2022

  1. Bump xml-crypto (#1200)

    benasher44 authored Dec 9, 2022
    Configuration menu
    Copy the full SHA
    0c54399 View commit details
    Browse the repository at this point in the history
  2. Release v1.0.0

    jsdevel committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    4660fa2 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2022

  1. Fix build in Node.js 18 by re-encrypting test key

    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.
    e6c31d committed Dec 11, 2022
    Configuration menu
    Copy the full SHA
    6f6ac58 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2022

  1. Configuration menu
    Copy the full SHA
    b93ea37 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2023

  1. Configuration menu
    Copy the full SHA
    88c21d4 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2023

  1. Add missing closing bracket

    2Fake authored Mar 20, 2023
    Configuration menu
    Copy the full SHA
    bb8d9ae View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2023

  1. Add tests surrounding trim function used in wsdl parsing.

    Use native string.trim instead of regex replace for performance.
    
    remove log line.
    fix quotes in tests.
    shellicar committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    499395a View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2023

  1. Configuration menu
    Copy the full SHA
    95c464c View commit details
    Browse the repository at this point in the history

Commits on May 23, 2023

  1. fix: update proxy docs in readme

    Allard van der Ouw authored May 23, 2023
    Configuration menu
    Copy the full SHA
    a5f047a View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2023

  1. update axios to 1.4.0

    vision10 committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    904453a View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2023

  1. axios updates

    vision10 committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    a02704b View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. Configuration menu
    Copy the full SHA
    d1c96a6 View commit details
    Browse the repository at this point in the history
  2. test fix

    vision10 committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    5686bbc View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2024

  1. Merge pull request #1206 from e6c31d/fix_encrypted_key_node18

    Fix build in Node.js 18 by re-encrypting test key
    vpulim authored Apr 5, 2024
    Configuration menu
    Copy the full SHA
    26771c5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    09cbb55 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1212 from vision10/master

    updated axios and axios-ntlm to latest
    vpulim authored Apr 5, 2024
    Configuration menu
    Copy the full SHA
    509b915 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2024

  1. Release v1.0.1

    w666 committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    de9dd25 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1216 from shellicar/fix/trim-speed

    Improve trim speed during XML parsing
    w666 authored Apr 18, 2024
    Configuration menu
    Copy the full SHA
    690ae8c View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

  1. Change axios back as dependency

     Bump Axios to 1.6.8
    w666 committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    770674a View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2024

  1. Merge pull request #1237 from vpulim/move-axios-back-to-dependencies

    Change axios back as dependency, bump axios to 1.6.8
    w666 authored Apr 26, 2024
    Configuration menu
    Copy the full SHA
    3773687 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1220 from allardvanderouw/fix/update-proxy-docs-i…

    …n-readme
    
    update proxy docs in readme
    w666 authored Apr 26, 2024
    Configuration menu
    Copy the full SHA
    6dbc81b View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1214 from 2Fake/patch-1

    Add missing closing bracket in docs example
    w666 authored Apr 26, 2024
    Configuration menu
    Copy the full SHA
    8652457 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2024

  1. Preserves leading and trailing whitespace when preserveWhitespace opt…

    …ion is true
    
     add test response-preserve-whitespace-test.js
    yffrankwang authored Apr 27, 2024
    Configuration menu
    Copy the full SHA
    6f22534 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2024

  1. Release v1.0.2

    w666 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    733d2f2 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2024

  1. Fix invalid multipart/related Content-Type (#1198)

    * Fix invalid multipart/related header
    
    * Add test to ensure there is exactly 1 type parameter in MTOM requests
    
    ---------
    
    Co-authored-by: tommyhtran <[email protected]>
    Co-authored-by: TheDadi <[email protected]>
    3 people authored May 1, 2024
    Configuration menu
    Copy the full SHA
    c08ae8e View commit details
    Browse the repository at this point in the history
  2. Prevent mutating $type in the schema while processing requests (#1238)

    * Add test to check for unchanging schema
    
    * Do not mutate $type during request processing
    simhnna authored May 1, 2024
    Configuration menu
    Copy the full SHA
    aef5e92 View commit details
    Browse the repository at this point in the history
  3. Add space after xmlns:wsu to prevent xmldom warning (#1215)

    Co-authored-by: Sebastian Good <[email protected]>
    scagood and Sebastian Good authored May 1, 2024
    Configuration menu
    Copy the full SHA
    4972946 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

  1. WSSecurity Protocol with user/pass token element. (#1187)

    * update readme
    
    ---------
    
    Co-authored-by: Vasily Martynov <[email protected]>
    OlafurTorfi and w666 authored May 14, 2024
    Configuration menu
    Copy the full SHA
    2fd8b3f View commit details
    Browse the repository at this point in the history
  2. Release v1.0.3

    w666 committed May 14, 2024
    Configuration menu
    Copy the full SHA
    c40e5ea View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2024

  1. Configuration menu
    Copy the full SHA
    4f0c065 View commit details
    Browse the repository at this point in the history
  2. Add envelopeSoapUrl option to change the URL in xmlns:soap attribute (#…

    …1239)
    
    * add envelopeSoapUrl option
    
    * tests for envelopeSoapUrl parameter
    mkwiecinski authored Jun 14, 2024
    Configuration menu
    Copy the full SHA
    170cc14 View commit details
    Browse the repository at this point in the history
  3. Speed up WSDL parsing (#1218)

    - When visiting an unexpected node an error got constructed that was discarded later on in non-strict mode. 
      Constructing an error is pretty expensive because Node needs to capture the stack.
    - splitQName splits the entire nsName string even though it's only interested in the first element
    tomquist authored Jun 14, 2024
    Configuration menu
    Copy the full SHA
    58e266a View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. Release v1.0.4

    w666 committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    2dcfeae View commit details
    Browse the repository at this point in the history
  2. Update Readme.md

    Remove link to travis-ci as project does not exist there anymore
    w666 authored Jun 18, 2024
    Configuration menu
    Copy the full SHA
    1584636 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Upgrade dependencies and refactor code to work with the latest xml-cr…

    …ypto (#1242)
    
    * Upgrade dependencies and refactor code to work with the latest xml-crypto
    
     Refactor WSSecurityCert and WSSecurityCertWithToken to make it
     work with the latest xml-crypto.
    
     Fix invalid test xml strings in WSSecurityCert and
     WSSecurityCertWithToken tests.
    
    Remove @types/request, use randomUUID() and cleanup unused imports
    
     Update dependencies:
     - axios to 1.7.2
     - debug to 4.3.5
     - formidable to 3.5.1
     - sax to 1.4.1
     - uuid to 10.0.0
     - whatwg-mimetype to 4.0.0
     - xml-crypto to 6.0.0
    
     Update dev dependencies:
     - @types/debug to 4.1.12
     - @types/express to 4.17.21
     - @types/lodash to 4.17.5
     - @types/node to 14.0.0
     - @types/request to 2.48.12
     - @types/sax to 1.2.7
     - @types/uuid to 9.0.8
     - @types/whatwg-mimetype to 3.0.2
     - body-parser to 1.20.2
     - colors to 1.4.0
     - diff to 5.2.0
     - doctoc to 2.2.1
     - duplexer to 0.1.2
     - express to 4.19.2
     - finalhandler to 1.2.0
     - glob to 10.4.1
     - jshint to 2.13.6
     - mocha to 10.4.0
     - nyc to 17.0.0
     - semver to 7.6.2
     - serve-static to 1.15.0
     - sinon to 18.0.0
     - source-map-support to 0.5.21
    w666 authored Jul 16, 2024
    Configuration menu
    Copy the full SHA
    3c20595 View commit details
    Browse the repository at this point in the history
  2. Add express request object as parameter to the log method. (#1210)

    Co-authored-by: John Plusjé <[email protected]>
    Co-authored-by: Vasily Martynov <[email protected]>
    3 people authored Jul 16, 2024
    Configuration menu
    Copy the full SHA
    a00fa81 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    683daee View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    145a012 View commit details
    Browse the repository at this point in the history
  5. Release v1.1.0

    w666 committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    8d2519e View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. Configuration menu
    Copy the full SHA
    579ffc0 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2024

  1. Configuration menu
    Copy the full SHA
    8e0853a View commit details
    Browse the repository at this point in the history
  2. Support binary data in MTOM (#1245)

    * Support binary data in MTOM
    
     Uncomment test code that was disabled when migrated
     from Request to Axios.
    
    ---------
    
    Co-authored-by: Vasily Martynov <[email protected]>
    CyBot and w666 authored Aug 4, 2024
    Configuration menu
    Copy the full SHA
    d491572 View commit details
    Browse the repository at this point in the history
  3. Release v1.1.1

    w666 committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    b122a88 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. Bump Axios to 1.7.4 (#1248)

    * Bump Axios to 1.7.4 to resolve the CVE-2024-39338
    
    ---------
    
    Co-authored-by: Vasily Martynov <[email protected]>
    iliegurzun and w666 authored Aug 16, 2024
    Configuration menu
    Copy the full SHA
    74c80a8 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Speed up tests execution (#1249)

    - Override endpoints in some tests where it tried to send
       requests to the endpoints in the internet
     - Now tests work in offline
    w666 authored Aug 19, 2024
    Configuration menu
    Copy the full SHA
    f5b909c View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

  1. Configuration menu
    Copy the full SHA
    08cecb5 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. Add missing attributes (#1251)

    Co-authored-by: simakov <[email protected]>
    simakvladimir and simakov authored Aug 21, 2024
    Configuration menu
    Copy the full SHA
    3f9f805 View commit details
    Browse the repository at this point in the history
  2. Release v1.1.2

    w666 committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    d23bdfa View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. Allow ComplexContentElement to have a restriction (#1252)

    as child element and implement attributes parsing for RestrictionElement
    TheDadi authored Sep 3, 2024
    Configuration menu
    Copy the full SHA
    b67a6fc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    25fbfe3 View commit details
    Browse the repository at this point in the history
  3. Release v1.1.3

    w666 committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    17fb0e2 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. Add feature to set signatureAlgorithm to use(#1254)

     add tests to prove than rsa-sha1 and rsa-sha512 signature algorithms can be set
    JoseTM authored Sep 11, 2024
    Configuration menu
    Copy the full SHA
    c9b2815 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. Configuration menu
    Copy the full SHA
    0db8138 View commit details
    Browse the repository at this point in the history
  2. Release v1.1.4

    w666 committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    c34f224 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Add missing KeyInfo tag around SecurityTokenReference (#1255)

    use getKeyInfoContent from xml-crypto
    somdeepjana authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    9c3822b View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2024

  1. Configuration menu
    Copy the full SHA
    96455b7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fea0ae6 View commit details
    Browse the repository at this point in the history
  3. Release v1.1.5

    w666 committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    c79e20a View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. Improve regex to handle nested comments more efficiently (#1164)

    ensure that the regex does not backtrack excessively
    ready-research authored Oct 8, 2024
    Configuration menu
    Copy the full SHA
    c53d0c8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3132006 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2024

  1. Configuration menu
    Copy the full SHA
    84d85bb View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. Configuration menu
    Copy the full SHA
    9598d8e View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2024

  1. Configuration menu
    Copy the full SHA
    b14d40c View commit details
    Browse the repository at this point in the history
  2. Implement custom cache option (#1261)

    * Add IWSDLCache interface which can be extended with custom caching
      implementations
    * Add DefaultWSDLCache implementation which matches current caching
      handling, ie global singleton which indefinitely caches WSDLs.
    * Add options.wsdlCache to allow users to override the default cache.
    * Add test cases for default cache and overriding option.
    * Add new option to Readme
    
    Co-authored-by: millerdk12 <[email protected]>
    millerdk12 and millerdk12 authored Nov 3, 2024
    Configuration menu
    Copy the full SHA
    2122afd View commit details
    Browse the repository at this point in the history
  3. Release v1.1.6

    w666 committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    8837d8d View commit details
    Browse the repository at this point in the history