ESM Conversion (#347)

* initial esm conversion

Signed-off-by: Brian DeHamer <[email protected]>

* esm'ify jest tests

Signed-off-by: Brian DeHamer <[email protected]>

* lint issues

Signed-off-by: Brian DeHamer <[email protected]>

* debug mock

Signed-off-by: Brian DeHamer <[email protected]>

* glob updated

Signed-off-by: Brian DeHamer <[email protected]>

* async all file functions

Signed-off-by: Brian DeHamer <[email protected]>

* update @actions/github

Signed-off-by: Brian DeHamer <[email protected]>

* update @actions/attest

Signed-off-by: Brian DeHamer <[email protected]>

* rebuild package-lock.json

Signed-off-by: Brian DeHamer <[email protected]>

* use experimental flag for jest in ci

Signed-off-by: Brian DeHamer <[email protected]>

* remove stray istanbul ignore

Signed-off-by: Brian DeHamer <[email protected]>

* Optimize getSubjectFromPath to avoid concurrent stat calls

Co-authored-by: bdehamer <[email protected]>

* Fix boundary condition for MAX_SUBJECT_COUNT check

Co-authored-by: bdehamer <[email protected]>

* Improve error message clarity for subject count limit

Co-authored-by: bdehamer <[email protected]>

* Update test to match new error message format

Co-authored-by: bdehamer <[email protected]>

* rebuild dist

Signed-off-by: Brian DeHamer <[email protected]>

* Fix parseSBOMFromPath to check file size before reading

Co-authored-by: bdehamer <[email protected]>

* Build package with updated changes

Co-authored-by: bdehamer <[email protected]>

---------

Signed-off-by: Brian DeHamer <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: bdehamer <[email protected]>
This commit is contained in:
Brian DeHamer
2026-02-18 08:52:30 -08:00
committed by GitHub
co-authored by bdehamer copilot-swe-agent[bot] <198982749+[email protected]>
parent dc4ad3cc6c
commit 7d7ff4475a
17 changed files with 39433 additions and 48804 deletions
+398 -329
View File
File diff suppressed because it is too large Load Diff