CycloneDX JavaScript Library - Node - v10.5.1
    Preparing search index...

    Function parsePackageIntegrities

    • Parse an integrity string that may hold several space-separated Subresource Integrity hash expressions, like sha512-... sha1-.... Option expressions (?...) are ignored, and unparsable or unknown hash expressions are skipped.

      Parameters

      • integrity: string

      Returns [HashAlgorithm, string][]

      all parsable hashes, in their order of appearance