chore: linting

This commit is contained in:
zhom committed 2026-10-03 03:01:39 +04:00
1 parent 03def1b82a
commit 5f1530f8f8
4 files changed
+24 -24

No files matched your search

+4 -4
View File
@@ -185,9 +185,9 @@ jobs:
fi
if command -v sha256sum >/dev/null; then
digest="$(sha256sum "$dest" | cut -d' ' -f1)"
digest="$(sha256sum --binary < "$dest" | cut -d' ' -f1)"
else
digest="$(shasum -a 256 "$dest" | cut -d' ' -f1)"
digest="$(shasum -a 256 -b < "$dest" | cut -d' ' -f1)"
fi
echo "digest=$digest" >> "$GITHUB_OUTPUT"
@@ -286,9 +286,9 @@ jobs:
aws s3 cp "s3://${bucket}/${ARTIFACT}" "$verify" \
--endpoint-url "$endpoint" --only-show-errors
if command -v sha256sum >/dev/null; then
got="$(sha256sum "$verify" | cut -d' ' -f1)"
got="$(sha256sum --binary < "$verify" | cut -d' ' -f1)"
else
got="$(shasum -a 256 "$verify" | cut -d' ' -f1)"
got="$(shasum -a 256 -b < "$verify" | cut -d' ' -f1)"
fi
if [ "$got" != "$DIGEST" ]; then
echo "::error::Round-trip mismatch for $ARTIFACT: uploaded $DIGEST, bucket returned $got"
@@ -1,19 +1,19 @@
diff --git a/dist/commonjs/index.d.ts b/dist/commonjs/index.d.ts
index f3e2de9d87e1ce462517e49f35733bed8bdf85af..7a19917a209b84b30938957ea67d4ad60dd748c5 100644
index 1d86e5ec52083b00be390eefad66a03f54c1bffa..8d4bc13621590d805a7dfa978e8cf008a00e7330 100644
--- a/dist/commonjs/index.d.ts
+++ b/dist/commonjs/index.d.ts
@@ -5,4 +5,5 @@ export type BraceExpansionOptions = {
maxLength?: number;
@@ -9,4 +9,5 @@ export type BraceExpansionOptions = {
maxRewrites?: number;
};
export declare function expand(str: string, options?: BraceExpansionOptions): string[];
+export default expand;
//# sourceMappingURL=index.d.ts.map
\ No newline at end of file
diff --git a/dist/commonjs/index.js b/dist/commonjs/index.js
index 869a6bee23807b9f01c18c99ab8e952b4b242f97..cd8fa65b1a1521aa0b27b3e661797763b8365138 100644
index 48cf0d3dabc885249c65909c4912712c834786f5..351788b212bc24a559ea16c6e57e11121fd31693 100644
--- a/dist/commonjs/index.js
+++ b/dist/commonjs/index.js
@@ -286,4 +286,5 @@ function expand_(str, max, maxLength, isTop) {
@@ -330,4 +330,5 @@ function expand_(str, max, maxLength, maxDepth, depth, maxRewrites, isTop) {
}
return acc;
}
@@ -21,21 +21,21 @@ index 869a6bee23807b9f01c18c99ab8e952b4b242f97..cd8fa65b1a1521aa0b27b3e661797763
//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/dist/esm/index.d.ts b/dist/esm/index.d.ts
index f3e2de9d87e1ce462517e49f35733bed8bdf85af..7a19917a209b84b30938957ea67d4ad60dd748c5 100644
index 1d86e5ec52083b00be390eefad66a03f54c1bffa..8d4bc13621590d805a7dfa978e8cf008a00e7330 100644
--- a/dist/esm/index.d.ts
+++ b/dist/esm/index.d.ts
@@ -5,4 +5,5 @@ export type BraceExpansionOptions = {
maxLength?: number;
@@ -9,4 +9,5 @@ export type BraceExpansionOptions = {
maxRewrites?: number;
};
export declare function expand(str: string, options?: BraceExpansionOptions): string[];
+export default expand;
//# sourceMappingURL=index.d.ts.map
\ No newline at end of file
diff --git a/dist/esm/index.js b/dist/esm/index.js
index fd68f57029207ac1bcafe7fb1c14ad5305b3ffa4..f3ef09ac8ad02d3fde8150e7f64f40ac874a47e3 100644
index 0e0cc962307eb697dc8139ef4c1f86b82380e5cc..dbce6953f0abf8266d3380ca5382abed2531f9fb 100644
--- a/dist/esm/index.js
+++ b/dist/esm/index.js
@@ -282,4 +282,5 @@ function expand_(str, max, maxLength, isTop) {
@@ -326,4 +326,5 @@ function expand_(str, max, maxLength, maxDepth, depth, maxRewrites, isTop) {
}
return acc;
}
+8 -8
View File
@@ -179,11 +179,11 @@ overrides:
js-yaml@>=4.0.0 <4.3.2: '>=4.3.2 <5'
browserslist@<4.28.7: '>=4.28.7'
'@babel/core@<7.29.6': '>=7.29.6 <8'
brace-expansion@<5.0.9: 5.0.9
brace-expansion@<5.0.12: 5.0.12
sharp@<0.35.0: '>=0.35.0 <0.36'
patchedDependencies:
brace-expansion@5.0.9: bb2702fb4e1ea6a45630f2a0384edbcbb57800ec9bfc3845e096d85c88aa8208
brace-expansion@5.0.12: 1879756c1a76d4da4ca83c9b052e789e955e6b3a04262a14059998ccc87f0aee
importers:
@@ -3151,8 +3151,8 @@ packages:
bowser@2.14.1:
resolution: {integrity: sha512-tzPjzCxygAKWFOJP011oxFHs57HzIhOEracIgAePE4pqB3LikALKnSzUyU4MGs9/iCEUuHlAJTjTc5M+u7YEGg==}
brace-expansion@5.0.9:
resolution: {integrity: sha512-ScQ4IuvIEF1TMlP7Zt+vjJ//9zlPb2SDcxWxM3bk8s6t6GGdJ7KO1dCcTidOPJKePW30LE/2cT7wCyPho9/Wxg==}
brace-expansion@5.0.12:
resolution: {integrity: sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==}
engines: {node: 20 || >=22}
browserslist@4.28.9:
@@ -8127,7 +8127,7 @@ snapshots:
bowser@2.14.1: {}
brace-expansion@5.0.9(patch_hash=bb2702fb4e1ea6a45630f2a0384edbcbb57800ec9bfc3845e096d85c88aa8208):
brace-expansion@5.0.12(patch_hash=1879756c1a76d4da4ca83c9b052e789e955e6b3a04262a14059998ccc87f0aee):
dependencies:
balanced-match: 4.0.4
@@ -9380,16 +9380,16 @@ snapshots:
minimatch@10.2.6:
dependencies:
brace-expansion: 5.0.9(patch_hash=bb2702fb4e1ea6a45630f2a0384edbcbb57800ec9bfc3845e096d85c88aa8208)
brace-expansion: 5.0.12(patch_hash=1879756c1a76d4da4ca83c9b052e789e955e6b3a04262a14059998ccc87f0aee)
minimatch@3.1.5:
dependencies:
brace-expansion: 5.0.9(patch_hash=bb2702fb4e1ea6a45630f2a0384edbcbb57800ec9bfc3845e096d85c88aa8208)
brace-expansion: 5.0.12(patch_hash=1879756c1a76d4da4ca83c9b052e789e955e6b3a04262a14059998ccc87f0aee)
optional: true
minimatch@9.0.9:
dependencies:
brace-expansion: 5.0.9(patch_hash=bb2702fb4e1ea6a45630f2a0384edbcbb57800ec9bfc3845e096d85c88aa8208)
brace-expansion: 5.0.12(patch_hash=1879756c1a76d4da4ca83c9b052e789e955e6b3a04262a14059998ccc87f0aee)
minimist@1.2.8: {}
+2 -2
View File
@@ -30,7 +30,7 @@ overrides:
js-yaml@>=4.0.0 <4.3.2: '>=4.3.2 <5'
browserslist@<4.28.7: '>=4.28.7'
'@babel/core@<7.29.6': '>=7.29.6 <8'
brace-expansion@<5.0.9: 5.0.9
brace-expansion@<5.0.12: 5.0.12
sharp@<0.35.0: '>=0.35.0 <0.36'
allowBuilds:
@@ -40,4 +40,4 @@ allowBuilds:
unrs-resolver: true
patchedDependencies:
brace-expansion@5.0.9: patches/brace-expansion@5.0.9.patch
brace-expansion@5.0.12: patches/brace-expansion@5.0.12.patch