Skip to content

Commit 4ef6798

Browse files
authored
Merge pull request #126 from arduino/dependabot/npm_and_yarn/actions/core-1.9.0
Bump @actions/core from 1.8.2 to 1.9.0
2 parents 6f74eb4 + 9bd4fde commit 4ef6798

File tree

3 files changed

+80
-8
lines changed

3 files changed

+80
-8
lines changed

dist/index.js

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -755,6 +755,13 @@ Object.defineProperty(exports, "summary", ({ enumerable: true, get: function ()
755755
*/
756756
var summary_2 = __nccwpck_require__(1327);
757757
Object.defineProperty(exports, "markdownSummary", ({ enumerable: true, get: function () { return summary_2.markdownSummary; } }));
758+
/**
759+
* Path exports
760+
*/
761+
var path_utils_1 = __nccwpck_require__(2981);
762+
Object.defineProperty(exports, "toPosixPath", ({ enumerable: true, get: function () { return path_utils_1.toPosixPath; } }));
763+
Object.defineProperty(exports, "toWin32Path", ({ enumerable: true, get: function () { return path_utils_1.toWin32Path; } }));
764+
Object.defineProperty(exports, "toPlatformPath", ({ enumerable: true, get: function () { return path_utils_1.toPlatformPath; } }));
758765
//# sourceMappingURL=core.js.map
759766

760767
/***/ }),
@@ -892,6 +899,71 @@ exports.OidcClient = OidcClient;
892899

893900
/***/ }),
894901

902+
/***/ 2981:
903+
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
904+
905+
"use strict";
906+
907+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
908+
if (k2 === undefined) k2 = k;
909+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
910+
}) : (function(o, m, k, k2) {
911+
if (k2 === undefined) k2 = k;
912+
o[k2] = m[k];
913+
}));
914+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
915+
Object.defineProperty(o, "default", { enumerable: true, value: v });
916+
}) : function(o, v) {
917+
o["default"] = v;
918+
});
919+
var __importStar = (this && this.__importStar) || function (mod) {
920+
if (mod && mod.__esModule) return mod;
921+
var result = {};
922+
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
923+
__setModuleDefault(result, mod);
924+
return result;
925+
};
926+
Object.defineProperty(exports, "__esModule", ({ value: true }));
927+
exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = void 0;
928+
const path = __importStar(__nccwpck_require__(1017));
929+
/**
930+
* toPosixPath converts the given path to the posix form. On Windows, \\ will be
931+
* replaced with /.
932+
*
933+
* @param pth. Path to transform.
934+
* @return string Posix path.
935+
*/
936+
function toPosixPath(pth) {
937+
return pth.replace(/[\\]/g, '/');
938+
}
939+
exports.toPosixPath = toPosixPath;
940+
/**
941+
* toWin32Path converts the given path to the win32 form. On Linux, / will be
942+
* replaced with \\.
943+
*
944+
* @param pth. Path to transform.
945+
* @return string Win32 path.
946+
*/
947+
function toWin32Path(pth) {
948+
return pth.replace(/[/]/g, '\\');
949+
}
950+
exports.toWin32Path = toWin32Path;
951+
/**
952+
* toPlatformPath converts the given path to a platform-specific path. It does
953+
* this by replacing instances of / and \ with the platform-specific path
954+
* separator.
955+
*
956+
* @param pth The path to platformize.
957+
* @return string The platform-specific path.
958+
*/
959+
function toPlatformPath(pth) {
960+
return pth.replace(/[/\\]/g, path.sep);
961+
}
962+
exports.toPlatformPath = toPlatformPath;
963+
//# sourceMappingURL=path-utils.js.map
964+
965+
/***/ }),
966+
895967
/***/ 1327:
896968
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
897969

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"author": "Arduino",
2323
"license": "MIT",
2424
"dependencies": {
25-
"@actions/core": "^1.8.2",
25+
"@actions/core": "^1.9.0",
2626
"@actions/http-client": "^2.0.1",
2727
"@actions/tool-cache": "^2.0.1",
2828
"semver": "^7.3.7"

0 commit comments

Comments
 (0)