Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar authored May 3, 2023
1 parent 72291f7 commit 70e65b1
Show file tree
Hide file tree
Showing 18 changed files with 21 additions and 3,134 deletions.
3 changes: 0 additions & 3 deletions node_modules/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@
/@tufjs/*
!/@tufjs/canonical-json
!/@tufjs/models
!/@tufjs/models/node_modules/
/@tufjs/models/node_modules/*
!/@tufjs/models/node_modules/minimatch
!/abbrev
!/abort-controller
!/agent-base
Expand Down
4 changes: 2 additions & 2 deletions node_modules/@tufjs/models/dist/role.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
Object.defineProperty(exports, "__esModule", { value: true });
exports.SuccinctRoles = exports.DelegatedRole = exports.Role = exports.TOP_LEVEL_ROLE_NAMES = void 0;
const crypto_1 = __importDefault(require("crypto"));
const minimatch_1 = __importDefault(require("minimatch"));
const minimatch_1 = require("minimatch");
const util_1 = __importDefault(require("util"));
const error_1 = require("./error");
const utils_1 = require("./utils");
Expand Down Expand Up @@ -167,7 +167,7 @@ function isTargetInPathPattern(target, pattern) {
if (patternParts.length != targetParts.length) {
return false;
}
return zip(targetParts, patternParts).every(([targetPart, patternPart]) => (0, minimatch_1.default)(targetPart, patternPart));
return zip(targetParts, patternParts).every(([targetPart, patternPart]) => (0, minimatch_1.minimatch)(targetPart, patternPart));
}
/**
* Succinctly defines a hash bin delegation graph.
Expand Down
15 changes: 0 additions & 15 deletions node_modules/@tufjs/models/node_modules/minimatch/LICENSE

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 70e65b1

Please sign in to comment.