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

[WIP] fix: update dependencies to fix tests failing #44

Closed
wants to merge 1 commit into from

Conversation

stevenlumos-qz
Copy link
Contributor

Build is failing due to trying to use OpenSSL algorithms that are banned in "recent"1 versions of NodeJS. This is a start at updating direct and transitive dependencies and code changes needed to work with those. Tests are still failing locally, but I don't understand how this test could ever work since it hardcodes API TOKENS as 500 and foo..., so we'll see if running tests in GitHub overrides those some way I don't see.

> ncc build

ncc: Version 0.20.5
ncc: Compiling file index.js
Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:69:19)
    at Object.createHash (node:crypto:133:10)
    at hashOf (evalmachine.<anonymous>:1:1478571)
    at module.exports (evalmachine.<anonymous>:1:1480625)
    at runCmd (evalmachine.<anonymous>:1:46[94](https://github.com/quizlet/argocd-diff-action/actions/runs/7576321718/job/20634862776#step:3:95)0)
    at 819 (evalmachine.<anonymous>:1:43967)
    at __webpack_require__ (evalmachine.<anonymous>:1:216)
    at startup (evalmachine.<anonymous>:1:353)
    at module.exports.8 (evalmachine.<anonymous>:1:385)
    at evalmachine.<anonymous>:1:3[95](https://github.com/quizlet/argocd-diff-action/actions/runs/7576321718/job/20634862776#step:3:96) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'

Footnotes

  1. Meaning 17+, EoL 2 years ago 😂

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.

1 participant