We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
currently only the main context is directly exported. This means, that a Model for example needs to be required like
const { Models: { Component } } = require('@cyclonedx/cyclonedx-library');
of as
const Component = require('@cyclonedx/cyclonedx-library').Models.Component;
-> this requires a wider import than needed.
allow imports ala
const { Component } = require('@cyclonedx/cyclonedx-library/models');
utilize package.json's "exports" key. attention! have typing, web and node confugured properly for each sub path export.
package.json
have a functional test that reads this data and tests that the mentioned files actually exist.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
currently only the main context is directly exported.
This means, that a Model for example needs to be required like
of as
-> this requires a wider import than needed.
Feature request:
allow imports ala
implementation:
utilize
package.json
's "exports" key. attention! have typing, web and node confugured properly for each sub path export.additionally:
have a functional test that reads this data and tests that the mentioned files actually exist.
The text was updated successfully, but these errors were encountered: