/usr/local/lib/node_modules/npm/node_modules/@tufjs/models/dist
NameSizeModeActions
utils/-0755rm
base.js35590644editdlrm
delegations.js40310644editdlrm
error.js12170644editdlrm
file.js67320644editdlrm
index.js19090644editdlrm
key.js32250644editdlrm
metadata.js65090644editdlrm
role.js114390644editdlrm
root.js42390644editdlrm
signature.js10380644editdlrm
snapshot.js23960644editdlrm
targets.js30810644editdlrm
timestamp.js20120644editdlrm
Edit: /usr/local/lib/node_modules/npm/node_modules/@tufjs/models/dist/error.js (1217B)
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UnsupportedAlgorithmError = exports.CryptoError = exports.LengthOrHashMismatchError = exports.UnsignedMetadataError = exports.RepositoryError = exports.ValueError = void 0; // An error about insufficient values class ValueError extends Error { } exports.ValueError = ValueError; // An error with a repository's state, such as a missing file. // It covers all exceptions that come from the repository side when // looking from the perspective of users of metadata API or ngclient. class RepositoryError extends Error { } exports.RepositoryError = RepositoryError; // An error about metadata object with insufficient threshold of signatures. class UnsignedMetadataError extends RepositoryError { } exports.UnsignedMetadataError = UnsignedMetadataError; // An error while checking the length and hash values of an object. class LengthOrHashMismatchError extends RepositoryError { } exports.LengthOrHashMismatchError = LengthOrHashMismatchError; class CryptoError extends Error { } exports.CryptoError = CryptoError; class UnsupportedAlgorithmError extends CryptoError { } exports.UnsupportedAlgorithmError = UnsupportedAlgorithmError;