aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node_modules/@actions/core/lib/command.js
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2025-12-16 16:49:47 +0100
committerEgor Tensin <egor@tensin.name>2025-12-16 16:49:47 +0100
commit1d134f39e7ded438b1de12160f6ec7f99eafb8f7 (patch)
treed277bd11747332b962c109b419f95ede150fb6a9 /node_modules/@actions/core/lib/command.js
parentworkflows/test: upgrade actions (diff)
downloadcleanup-path-1d134f39e7ded438b1de12160f6ec7f99eafb8f7.tar.gz
cleanup-path-1d134f39e7ded438b1de12160f6ec7f99eafb8f7.zip
bump dependencies
Diffstat (limited to 'node_modules/@actions/core/lib/command.js')
-rw-r--r--node_modules/@actions/core/lib/command.js12
1 files changed, 8 insertions, 4 deletions
diff --git a/node_modules/@actions/core/lib/command.js b/node_modules/@actions/core/lib/command.js
index 0b28c66..728a014 100644
--- a/node_modules/@actions/core/lib/command.js
+++ b/node_modules/@actions/core/lib/command.js
@@ -1,7 +1,11 @@
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+ var desc = Object.getOwnPropertyDescriptor(m, k);
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+ desc = { enumerable: true, get: function() { return m[k]; } };
+ }
+ Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
@@ -14,7 +18,7 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
- if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
@@ -76,13 +80,13 @@ class Command {
}
}
function escapeData(s) {
- return utils_1.toCommandValue(s)
+ return (0, utils_1.toCommandValue)(s)
.replace(/%/g, '%25')
.replace(/\r/g, '%0D')
.replace(/\n/g, '%0A');
}
function escapeProperty(s) {
- return utils_1.toCommandValue(s)
+ return (0, utils_1.toCommandValue)(s)
.replace(/%/g, '%25')
.replace(/\r/g, '%0D')
.replace(/\n/g, '%0A')