Skip to content

Commit 4a6bf55

Browse files
committed
build: update all non-major dependencies
1 parent 40b2cbd commit 4a6bf55

File tree

6 files changed

+258
-40
lines changed

6 files changed

+258
-40
lines changed

.github/local-actions/branch-manager/main.js

Lines changed: 59 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59747,7 +59747,25 @@ var PromisePolyfill = class extends Promise {
5974759747
};
5974859748

5974959749
//
59750+
function getCallSites() {
59751+
const _prepareStackTrace = Error.prepareStackTrace;
59752+
try {
59753+
let result = [];
59754+
Error.prepareStackTrace = (_, callSites) => {
59755+
const callSitesWithoutCurrent = callSites.slice(1);
59756+
result = callSitesWithoutCurrent;
59757+
return callSitesWithoutCurrent;
59758+
};
59759+
new Error().stack;
59760+
return result;
59761+
} finally {
59762+
Error.prepareStackTrace = _prepareStackTrace;
59763+
}
59764+
}
5975059765
function createPrompt(view) {
59766+
var _a, _b;
59767+
const callSites = getCallSites();
59768+
const callerFilename = (_b = (_a = callSites[1]) == null ? void 0 : _a.getFileName) == null ? void 0 : _b.call(_a);
5975159769
const prompt = (config, context2 = {}) => {
5975259770
const { input = process.stdin, signal } = context2;
5975359771
const cleanups = /* @__PURE__ */ new Set();
@@ -59785,6 +59803,10 @@ function createPrompt(view) {
5978559803
const nextView = view(config, (value) => {
5978659804
setImmediate(() => resolve(value));
5978759805
});
59806+
if (nextView === void 0) {
59807+
throw new Error(`Prompt functions must return a string.
59808+
at ${callerFilename}`);
59809+
}
5978859810
const [content, bottomContent] = typeof nextView === "string" ? [nextView] : nextView;
5978959811
screen.render(content, bottomContent);
5979059812
effectScheduler.run();
@@ -59997,11 +60019,14 @@ ${page}${helpTipBottom}${choiceDescription}${error2}${import_ansi_escapes2.defau
5999760019
//
5999860020
var import_external_editor = __toESM(require_main2(), 1);
5999960021
import { AsyncResource as AsyncResource4 } from "node:async_hooks";
60022+
var editorTheme = {
60023+
validationFailureMode: "keep"
60024+
};
6000060025
var esm_default3 = createPrompt((config, done) => {
6000160026
const { waitForUseInput = true, file: { postfix = config.postfix ?? ".txt", ...fileProps } = {}, validate = () => true } = config;
60002-
const theme = makeTheme(config.theme);
60027+
const theme = makeTheme(editorTheme, config.theme);
6000360028
const [status, setStatus] = useState("idle");
60004-
const [value, setValue] = useState(config.default || "");
60029+
const [value = "", setValue] = useState(config.default);
6000560030
const [errorMsg, setError] = useState();
6000660031
const prefix = usePrefix({ status, theme });
6000760032
function startEditor(rl) {
@@ -60018,7 +60043,11 @@ var esm_default3 = createPrompt((config, done) => {
6001860043
setStatus("done");
6001960044
done(answer);
6002060045
} else {
60021-
setValue(answer);
60046+
if (theme.validationFailureMode === "clear") {
60047+
setValue(config.default);
60048+
} else {
60049+
setValue(answer);
60050+
}
6002260051
setError(isValid || "You must provide a valid value");
6002360052
setStatus("idle");
6002460053
}
@@ -60058,22 +60087,34 @@ var esm_default3 = createPrompt((config, done) => {
6005860087
});
6005960088

6006060089
//
60090+
function getBooleanValue(value, defaultValue) {
60091+
let answer = defaultValue !== false;
60092+
if (/^(y|yes)/i.test(value))
60093+
answer = true;
60094+
else if (/^(n|no)/i.test(value))
60095+
answer = false;
60096+
return answer;
60097+
}
60098+
function boolToString(value) {
60099+
return value ? "Yes" : "No";
60100+
}
6006160101
var esm_default4 = createPrompt((config, done) => {
60062-
const { transformer = (answer) => answer ? "yes" : "no" } = config;
60102+
const { transformer = boolToString } = config;
6006360103
const [status, setStatus] = useState("idle");
6006460104
const [value, setValue] = useState("");
6006560105
const theme = makeTheme(config.theme);
6006660106
const prefix = usePrefix({ status, theme });
6006760107
useKeypress((key, rl) => {
6006860108
if (isEnterKey(key)) {
60069-
let answer = config.default !== false;
60070-
if (/^(y|yes)/i.test(value))
60071-
answer = true;
60072-
else if (/^(n|no)/i.test(value))
60073-
answer = false;
60109+
const answer = getBooleanValue(value, config.default);
6007460110
setValue(transformer(answer));
6007560111
setStatus("done");
6007660112
done(answer);
60113+
} else if (key.name === "tab") {
60114+
const answer = boolToString(!getBooleanValue(value, config.default));
60115+
rl.clearLine(0);
60116+
rl.write(answer);
60117+
setValue(answer);
6007760118
} else {
6007860119
setValue(rl.line);
6007960120
}
@@ -60090,9 +60131,12 @@ var esm_default4 = createPrompt((config, done) => {
6009060131
});
6009160132

6009260133
//
60134+
var inputTheme = {
60135+
validationFailureMode: "keep"
60136+
};
6009360137
var esm_default5 = createPrompt((config, done) => {
6009460138
const { required, validate = () => true } = config;
60095-
const theme = makeTheme(config.theme);
60139+
const theme = makeTheme(inputTheme, config.theme);
6009660140
const [status, setStatus] = useState("idle");
6009760141
const [defaultValue = "", setDefaultValue] = useState(config.default);
6009860142
const [errorMsg, setError] = useState();
@@ -60111,7 +60155,11 @@ var esm_default5 = createPrompt((config, done) => {
6011160155
setStatus("done");
6011260156
done(answer);
6011360157
} else {
60114-
rl.write(value);
60158+
if (theme.validationFailureMode === "clear") {
60159+
setValue("");
60160+
} else {
60161+
rl.write(value);
60162+
}
6011560163
setError(isValid || "You must provide a valid value");
6011660164
setStatus("idle");
6011760165
}

.github/ng-renovate/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"packageManager": "[email protected]",
44
"type": "commonjs",
55
"dependencies": {
6-
"renovate": "39.49.1"
6+
"renovate": "39.58.1"
77
}
88
}

.github/ng-renovate/yarn.lock

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4906,10 +4906,10 @@ __metadata:
49064906
languageName: node
49074907
linkType: hard
49084908

4909-
"jsonata@npm:2.0.5":
4910-
version: 2.0.5
4911-
resolution: "jsonata@npm:2.0.5"
4912-
checksum: 10c0/ecf3f0a0ec6af59b7ebab303f417f00ca06309e7fe0aaad25b103447e53edfe3e6e2cb228195cbceafcf0d3a77b7944c3b8bda44e0b4cb4faa2fb140e22e2513
4909+
"jsonata@npm:2.0.6":
4910+
version: 2.0.6
4911+
resolution: "jsonata@npm:2.0.6"
4912+
checksum: 10c0/6bc5ae471352e305b45c39933ccb6ade8d0770483d2eb7862fc1d213832ea0db2697041c2316ec973f8ddc830939cc5d0e34296ba1584f33b0685de24110b6f9
49134913
languageName: node
49144914
linkType: hard
49154915

@@ -5618,7 +5618,7 @@ __metadata:
56185618
version: 0.0.0-use.local
56195619
resolution: "ng-renovate@workspace:."
56205620
dependencies:
5621-
renovate: "npm:39.49.1"
5621+
renovate: "npm:39.58.1"
56225622
languageName: unknown
56235623
linkType: soft
56245624

@@ -6332,9 +6332,9 @@ __metadata:
63326332
languageName: node
63336333
linkType: hard
63346334

6335-
"renovate@npm:39.49.1":
6336-
version: 39.49.1
6337-
resolution: "renovate@npm:39.49.1"
6335+
"renovate@npm:39.58.1":
6336+
version: 39.58.1
6337+
resolution: "renovate@npm:39.58.1"
63386338
dependencies:
63396339
"@aws-sdk/client-codecommit": "npm:3.699.0"
63406340
"@aws-sdk/client-ec2": "npm:3.701.0"
@@ -6406,7 +6406,7 @@ __metadata:
64066406
json-dup-key-validator: "npm:1.0.3"
64076407
json-stringify-pretty-compact: "npm:3.0.0"
64086408
json5: "npm:2.2.3"
6409-
jsonata: "npm:2.0.5"
6409+
jsonata: "npm:2.0.6"
64106410
jsonc-parser: "npm:3.3.1"
64116411
klona: "npm:2.0.6"
64126412
luxon: "npm:3.5.0"
@@ -6458,7 +6458,7 @@ __metadata:
64586458
bin:
64596459
renovate: dist/renovate.js
64606460
renovate-config-validator: dist/config-validator.js
6461-
checksum: 10c0/72fa8163b74b7730f8bfaf8bcf8a610d18a9e03e678bce80f75ad0d70047ebad9cd5f93975b6716b2c727ae2efeb225a44b5b732cefddc86d701d11d5b589a47
6461+
checksum: 10c0/31359ab318eadd3feb8d79754191f346cb54a26a7e48f634ae6637fa56a38a15d79d00b687ec3fd8661d5adee597a491e81979d785e2faf082ae8593843dad24
64626462
languageName: node
64636463
linkType: hard
64646464

github-actions/bazel/setup/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ runs:
1313
using: composite
1414
steps:
1515
- name: Configure action caching for bazel version downloaded by bazelisk
16-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
16+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
1717
with:
1818
path: |
1919
~/.cache/bazelisk
@@ -27,7 +27,7 @@ runs:
2727
shell: bash
2828

2929
- name: Configure action caching for bazel repository cache
30-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
30+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
3131
with:
3232
# Note: Bazel repository cache is located in system locations and cannot use
3333
# a shared cache between different runner operating systems.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
"spdx-satisfies": "^5.0.1",
150150
"stylelint": "^16.0.0",
151151
"supports-color": "9.4.0",
152-
"terser": "5.36.0",
152+
"terser": "5.37.0",
153153
"ts-node": "^10.9.2",
154154
"tslint": "^6.1.3",
155155
"tsx": "^4.15.7",

0 commit comments

Comments
 (0)