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

REgression in version 2.0.2 #117

Closed
F242MX opened this issue Apr 2, 2021 · 1 comment · Fixed by #321
Closed

REgression in version 2.0.2 #117

F242MX opened this issue Apr 2, 2021 · 1 comment · Fixed by #321

Comments

@F242MX
Copy link

F242MX commented Apr 2, 2021

I observe a regression in the version 2.0.2, this happens:

cyclonedx-bom -h
/usr/lib/node_modules/@cyclonedx/bom/node_modules/ssri/index.js:25
const ssriOpts = (opts = {}) => ({ ...defaultOpts, ...opts })
^^^

SyntaxError: Unexpected token ...
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object. (/usr/lib/node_modules/@cyclonedx/bom/model/HashList.js:19:14)

Note : the program behaves normally in version 2.0.1

@jkowalleck
Copy link
Member

@F242MX is this still an issue in current v3 ?

@jkowalleck jkowalleck mentioned this issue Oct 16, 2022
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 a pull request may close this issue.

2 participants