Unverified Commit 50f436c4 authored by Daz DeBoer's avatar Daz DeBoer
Browse files

Bump @actions/glob from 0.3.0 to 0.4.0

parent 32863c1a
Loading
Loading
Loading
Loading
+8 −4
Changes for dist/main/index.js: 8 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -4968,16 +4968,18 @@ exports.create = create;
 * Computes the sha256 hash of a glob
 *
 * @param patterns  Patterns separated by newlines
 * @param currentWorkspace  Workspace used when matching files
 * @param options   Glob options
 * @param verbose   Enables verbose logging
 */
function hashFiles(patterns, options, verbose = false) {
function hashFiles(patterns, currentWorkspace = '', options, verbose = false) {
    return __awaiter(this, void 0, void 0, function* () {
        let followSymbolicLinks = true;
        if (options && typeof options.followSymbolicLinks === 'boolean') {
            followSymbolicLinks = options.followSymbolicLinks;
        }
        const globber = yield create(patterns, { followSymbolicLinks });
        return internal_hash_files_1.hashFiles(globber, verbose);
        return internal_hash_files_1.hashFiles(globber, currentWorkspace, verbose);
    });
}
exports.hashFiles = hashFiles;
@@ -5337,13 +5339,15 @@ const fs = __importStar(__nccwpck_require__(7147));
const stream = __importStar(__nccwpck_require__(2781));
const util = __importStar(__nccwpck_require__(3837));
const path = __importStar(__nccwpck_require__(1017));
function hashFiles(globber, verbose = false) {
function hashFiles(globber, currentWorkspace, verbose = false) {
    var e_1, _a;
    var _b;
    return __awaiter(this, void 0, void 0, function* () {
        const writeDelegate = verbose ? core.info : core.debug;
        let hasMatch = false;
        const githubWorkspace = (_b = process.env['GITHUB_WORKSPACE']) !== null && _b !== void 0 ? _b : process.cwd();
        const githubWorkspace = currentWorkspace
            ? currentWorkspace
            : (_b = process.env['GITHUB_WORKSPACE']) !== null && _b !== void 0 ? _b : process.cwd();
        const result = crypto.createHash('sha256');
        let count = 0;
        try {
+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+8 −4
Changes for dist/post/index.js: 8 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -4968,16 +4968,18 @@ exports.create = create;
 * Computes the sha256 hash of a glob
 *
 * @param patterns  Patterns separated by newlines
 * @param currentWorkspace  Workspace used when matching files
 * @param options   Glob options
 * @param verbose   Enables verbose logging
 */
function hashFiles(patterns, options, verbose = false) {
function hashFiles(patterns, currentWorkspace = '', options, verbose = false) {
    return __awaiter(this, void 0, void 0, function* () {
        let followSymbolicLinks = true;
        if (options && typeof options.followSymbolicLinks === 'boolean') {
            followSymbolicLinks = options.followSymbolicLinks;
        }
        const globber = yield create(patterns, { followSymbolicLinks });
        return internal_hash_files_1.hashFiles(globber, verbose);
        return internal_hash_files_1.hashFiles(globber, currentWorkspace, verbose);
    });
}
exports.hashFiles = hashFiles;
@@ -5337,13 +5339,15 @@ const fs = __importStar(__nccwpck_require__(7147));
const stream = __importStar(__nccwpck_require__(2781));
const util = __importStar(__nccwpck_require__(3837));
const path = __importStar(__nccwpck_require__(1017));
function hashFiles(globber, verbose = false) {
function hashFiles(globber, currentWorkspace, verbose = false) {
    var e_1, _a;
    var _b;
    return __awaiter(this, void 0, void 0, function* () {
        const writeDelegate = verbose ? core.info : core.debug;
        let hasMatch = false;
        const githubWorkspace = (_b = process.env['GITHUB_WORKSPACE']) !== null && _b !== void 0 ? _b : process.cwd();
        const githubWorkspace = currentWorkspace
            ? currentWorkspace
            : (_b = process.env['GITHUB_WORKSPACE']) !== null && _b !== void 0 ? _b : process.cwd();
        const result = crypto.createHash('sha256');
        let count = 0;
        try {
+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+9 −9
Changes for package-lock.json: 9 added lines, 9 removed lines.
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
        "@actions/core": "1.10.0",
        "@actions/exec": "1.1.1",
        "@actions/github": "5.1.1",
        "@actions/glob": "0.3.0",
        "@actions/glob": "0.4.0",
        "@actions/http-client": "2.0.1",
        "@actions/tool-cache": "2.0.1",
        "string-argv": "0.3.1"
@@ -99,11 +99,11 @@
      }
    },
    "node_modules/@actions/glob": {
      "version": "0.3.0",
      "resolved": "https://registry.npmjs.org/@actions/glob/-/glob-0.3.0.tgz",
      "integrity": "sha512-tJP1ZhF87fd6LBnaXWlahkyvdgvsLl7WnreW1EZaC8JWjpMXmzqWzQVe/IEYslrkT9ymibVrKyJN4UMD7uQM2w==",
      "version": "0.4.0",
      "resolved": "https://registry.npmjs.org/@actions/glob/-/glob-0.4.0.tgz",
      "integrity": "sha512-+eKIGFhsFa4EBwaf/GMyzCdWrXWymGXfFmZU3FHQvYS8mPcHtTtZONbkcqqUMzw9mJ/pImEBFET1JNifhqGsAQ==",
      "dependencies": {
        "@actions/core": "^1.2.6",
        "@actions/core": "^1.9.1",
        "minimatch": "^3.0.4"
      }
    },
@@ -7390,11 +7390,11 @@
      }
    },
    "@actions/glob": {
      "version": "0.3.0",
      "resolved": "https://registry.npmjs.org/@actions/glob/-/glob-0.3.0.tgz",
      "integrity": "sha512-tJP1ZhF87fd6LBnaXWlahkyvdgvsLl7WnreW1EZaC8JWjpMXmzqWzQVe/IEYslrkT9ymibVrKyJN4UMD7uQM2w==",
      "version": "0.4.0",
      "resolved": "https://registry.npmjs.org/@actions/glob/-/glob-0.4.0.tgz",
      "integrity": "sha512-+eKIGFhsFa4EBwaf/GMyzCdWrXWymGXfFmZU3FHQvYS8mPcHtTtZONbkcqqUMzw9mJ/pImEBFET1JNifhqGsAQ==",
      "requires": {
        "@actions/core": "^1.2.6",
        "@actions/core": "^1.9.1",
        "minimatch": "^3.0.4"
      }
    },
Loading