BiancoRoyal / node-red-contrib-iiot-opcua

deprecated - very new developed by PLUS for Node-RED - https://plus4nodered.com
https://www.npmjs.com/package/node-red-contrib-iiot-opcua
BSD 3-Clause "New" or "Revised" License
34 stars 8 forks source link

[Snyk] Upgrade node-opcua from 2.81.0 to 2.104.0 #241

Closed biancode closed 1 year ago

biancode commented 1 year ago

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade node-opcua from 2.81.0 to 2.104.0.

:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
- The recommended version is **28 versions** ahead of your current version. - The recommended version was released **23 days ago**, on 2023-06-05. The recommended version fixes: Severity | Issue | PriorityScore (*) | Exploit Maturity | :-------------------------:|:-------------------------|-------------------------|:------------------------- | Regular Expression Denial of Service (ReDoS)
[SNYK-JS-SEMVER-3247795](https://snyk.io/vuln/SNYK-JS-SEMVER-3247795) | **444/1000**
**Why?** Proof of Concept exploit, Recently disclosed, CVSS 5.3 | Proof of Concept (*) Note that the real score may have changed since the PR was raised.
Release notes
Package name: node-opcua
  • 2.104.0 - 2023-06-05

    v2.104.0, a significant milestone packed with crucial enhancements, most notably the elimination of openSSL command usage for creating private keys and self-signed certificates.

    In this release, we have successfully upgraded node-opcua-crypto to v3.0.0. As a result, crypto key pairs are now generated via the node crypto module, a substantial shift from the previous openSSL dependency.

    This enhancement not only simplifies the client integration within your environment by eradicating the need for openssl installation but also ensures a smoother user experience during node-opcua installation in restricted networks. You will no longer experience attempts to fetch and install openssl during the first run, leading to a streamlined installation process.

    However, please note that due to this change, node.js version 16.0 or greater is now required, as earlier versions do not support the necessary crypto API.

    πŸ’” Breaking Changes

    • Node-opcua now requires esModuleInterop=true for the build, a change made to accommodate new modules we rely on.
    • OpenSSL does not need to be preinstalled anymore
    • NodeJS >= 16 is required

    πŸš€ Enhancements

    A series of commits have led to updates to the new node-opcua-crypto & pki, and better warning messages for 'BadCertificateChainIncomplete'.

    • 35f7969 chore: createPrivateKey fix issue with node<=16
    • 4c64a14 update to new node-opcua-crypto & pki
    • 0335415 switch to esModuleInterop=true
    • e350b93 support BadCertificateChainIncomplete and improve warning message

    πŸ› Bug Fixes

    Several bugs were squashed in this release, including TypeScript issues that surfaces with the switch to thenew typescript 5.x version, as well as fixes for EnumValueType value initialization.

    • 186bbd1 fix typescript issues raised with new ts version
    • 408db1d fix EnumValueType value initialisation

    πŸ‘ Code Coverage Improvement

    Our commitment to high-quality code has seen an upgrade in code coverage, with several commits dedicated to this, and the integration of a new coverall.

    πŸ§‘β€πŸ­ Maintenance and Code Improvement

    Routine maintenance and code cleanup were undertaken, which included verification of certain fixes, package.json cleanup, removal of obsolete WriteMask, and TypeScript fixes in test.

    • fa05883 chore: verify that #937 is fixed (Loading enums from nodeset.xml files does not work for enums with negative values )
    • fdcdb03 7cad04a clean-up package.json
    • 8ffcb1c remove obsolete WriteMask
    • 511af5f chore: fix typescript in test
    • a484a02 add test script
    • 9d5cdb1 chore: fix export
    • 90a6690 relax event loop in test (2)

    πŸ“– Documentation

    The README.md file was updated, and an example was added to illustrate a particular issue, thereby enhancing the overall documentation.

    πŸ‘¬πŸ½ community support

    As we continue to refine and expand node-opcua, we warmly welcome sponsorships and contributions via our membership program at Sterfive or through OpenCollective. Your generous support empowers us to innovate and foster a community built on shared knowledge and creativity. Together, we are shaping the future of node-opcua!

      </li>
      <li>
        <b>2.103.0</b> - <a href="https://snyk.io/redirect/github/node-opcua/node-opcua/releases/tag/v2.103.0">2023-05-05</a></br><p>πŸ›  Bug fixes</p>
    • 7d809e1 fix issue #1071 related to monitored item not respecting accessRestriction
    • d547293 improve UAVariable/UAAnalogDataItem write OutOfBound value #1119
    • d547293 fix UAVariable setter(value) so that returned StatusCode is applied to the dataValue.statusCode #119
    • 17f5518 fix constructBrowsePathFromQualifiedName #1201

    πŸš€ enhancement

    • 1b97628 add ability to overide default transport timeout when creating client #1002

    πŸ“– documentation and example

    πŸͺ³ minor adjustment & refactoing

    • 5686a2c relax event loop in test
    • 2a26a65 adjust interactive client
    • b0dbc62 refactor: clean up nodeset definition/generation code further
    • a8ed0cc refactor: clean up nodeset definition/generation code
    • ab9ed0e refactor: rename to correct spelling correponding -> corresponding

    πŸ‘¬πŸ½ contributors

    improve UAVariable/UAAnalogDataItem write OutOfBound value ( #1119)

    • add an optional acceptValueOutOfRange flag to addAnalogItem.
      The acceptValueOutOfRange property indicates whether the write operation will accept or reject
      value which is out of range of the instrumentRange.

    • if true: during am writeOperation by a client if the dataValue that is outside of the
      instrumentRange. it will be recorded database and the statusCode will be set to BadOutOfRange, and
      the write operation will return Good. The value will be ecorded in the history database if the variable supports historizing.

    • if false: during a writeOperation by a client, if the dataValue that is outside of the
      instrumentRangeit will be denied and the write operation will return BadOutOfRange.

      </li>
      <li>
        <b>2.102.0</b> - <a href="https://snyk.io/redirect/github/node-opcua/node-opcua/releases/tag/v2.102.0">2023-05-02</a></br><a href="https://snyk.io/redirect/github/node-opcua/node-opcua/releases/tag/v2.102.0"> Read more </a>
      </li>
      <li>
        <b>2.101.0</b> - <a href="https://snyk.io/redirect/github/node-opcua/node-opcua/releases/tag/v2.101.0">2023-05-01</a></br><a href="https://snyk.io/redirect/github/node-opcua/node-opcua/releases/tag/v2.101.0"> Read more </a>
      </li>
      <li>
        <b>2.100.0</b> - <a href="https://snyk.io/redirect/github/node-opcua/node-opcua/releases/tag/v2.100.0">2023-04-14</a></br><p>πŸš€ enhancements</p>
    • be05072 server: use preciseClock in asyncRefresh
    • d7dd873 addressSpace: expose mininodeset.xml
    • 0ecf572 addressSpace: improve BaseNode#clone
      </li>
      <li>
        <b>2.99.0</b> - <a href="https://snyk.io/redirect/github/node-opcua/node-opcua/releases/tag/v2.99.0">2023-04-11</a></br><a href="https://snyk.io/redirect/github/node-opcua/node-opcua/releases/tag/v2.99.0"> Read more </a>
      </li>
      <li>
        <b>2.98.2</b> - <a href="https://snyk.io/redirect/github/node-opcua/node-opcua/releases/tag/v2.98.2">2023-04-10</a></br><p>v2.98.2</p>
      </li>
      <li>
        <b>2.98.1</b> - <a href="https://snyk.io/redirect/github/node-opcua/node-opcua/releases/tag/v2.98.1">2023-04-10</a></br><p>πŸ› bug fix</p>
    • add files section in packages.json (now required)
      </li>
      <li>
        <b>2.98.0</b> - <a href="https://snyk.io/redirect/github/node-opcua/node-opcua/releases/tag/v2.98.0">2023-04-09</a></br><p><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">πŸ›</g-emoji>  bug fix</p>
    • fdf17e0 fix field formating in dumpEvent
    • 2c1f388 fix ObjectType and VariableType instantiation by following "Organizes" references

    πŸš€ enhancement

    • update nodesets file ( uses now uses UA 1.05.2)
      </li>
      <li>
        <b>2.97.0</b> - 2023-04-05
      </li>
      <li>
        <b>2.96.0</b> - 2023-03-24
      </li>
      <li>
        <b>2.95.0</b> - 2023-03-18
      </li>
      <li>
        <b>2.94.0</b> - 2023-03-14
      </li>
      <li>
        <b>2.93.0</b> - 2023-03-13
      </li>
      <li>
        <b>2.92.0</b> - 2023-03-12
      </li>
      <li>
        <b>2.91.1</b> - 2023-02-24
      </li>
      <li>
        <b>2.91.0</b> - 2023-02-17
      </li>
      <li>
        <b>2.90.1</b> - 2023-02-15
      </li>
      <li>
        <b>2.90.0</b> - 2023-01-29
      </li>
      <li>
        <b>2.89.0</b> - 2023-01-22
      </li>
      <li>
        <b>2.88.0</b> - 2023-01-03
      </li>
      <li>
        <b>2.87.0</b> - 2022-12-18
      </li>
      <li>
        <b>2.86.1</b> - 2022-12-16
      </li>
      <li>
        <b>2.86.0</b> - 2022-12-15
      </li>
      <li>
        <b>2.85.0</b> - 2022-11-25
      </li>
      <li>
        <b>2.84.0</b> - 2022-11-18
      </li>
      <li>
        <b>2.83.0</b> - 2022-11-14
      </li>
      <li>
        <b>2.82.0</b> - 2022-10-27
      </li>
      <li>
        <b>2.81.0</b> - 2022-10-11
      </li>
    </ul>
    from <a href="https://snyk.io/redirect/github/node-opcua/node-opcua/releases">node-opcua GitHub release notes</a>

Commit messages
Package name: node-opcua Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

πŸ›  Adjust upgrade PR settings

πŸ”• Ignore this dependency or unsubscribe from future upgrade PRs

github-actions[bot] commented 1 year ago

Greet Contributors Bot
Thank you for taking your time and effort for your contribution, we truly value it. :tada:

The amazing contributor in this pull request is @snyk-bot