Skip to content

Commit c4b69fc

Browse files
committed
fix ci
1 parent 895d74a commit c4b69fc

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v4
1818
- uses: actions/setup-node@v4
1919
with:
20-
node-version: 20
20+
node-version: 24
2121
- run: yarn --frozen-lockfile
2222
- run: yarn ci
2323
- run: yarn build

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"jest-transform-css": "^6.0.1",
7979
"npm-run-all": "^4.1.5",
8080
"postcss": "^8.3.6",
81-
"prettier": "^2.3.2",
81+
"prettier": "^3.6.2",
8282
"prop-types": "^15.8.1",
8383
"react": "^18.0.0",
8484
"react-dom": "^18.0.0",

src/auto-fill/auto-fill-range.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export function autoFillRange<T>(
6767
const series = Array.from(range, (point) => matrix.get(point, data));
6868
const autoFiller = autoFillers.find((it) => it.match(series));
6969
if (!autoFiller) return data;
70-
const matchDetails = autoFiller?.match(series);
70+
const matchDetails = autoFiller.match(series);
7171

7272
// Find the first non-empty cell in the series (for formulas, we start from the first)
7373
let firstFilledIndex = -1;

src/auto-fill/formula.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* ["=SUM(A1:A3)"] → "=SUM(A2:A4)", "=SUM(A3:A5)"...
2727
*/
2828

29-
import { AutoFiller, Series } from "./types";
29+
import { AutoFiller } from "./types";
3030
import { isFormulaValue, extractFormula } from "../engine/formula";
3131

3232
/**

src/auto-fill/general.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* ["Hello", "Hello"] → "Hello", "Hello", "Hello"...
1515
*/
1616

17-
import { AutoFiller, Series } from "./types";
17+
import { AutoFiller } from "./types";
1818

1919
/**
2020
* Repeating/copying auto-filler - matches when all values are the same

src/auto-fill/text-with-number.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* ["Item 001"] → "Item 002", "Item 003", "Item 004"...
1818
*/
1919

20-
import { AutoFiller, Series } from "./types";
20+
import { AutoFiller } from "./types";
2121

2222
export type TextWithNumberFactor = {
2323
prefix: string;

src/reducer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ export function autoFill<T extends Types.CellBase>(
704704
if (!activeCell) {
705705
return data;
706706
}
707-
const range = selected?.toRange(data);
707+
const range = selected.toRange(data);
708708
if (!range) return data;
709709
return autoFillRange(data, range) as Matrix.Matrix<T>;
710710
}

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7873,10 +7873,10 @@ prepend-http@^1.0.0:
78737873
resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc"
78747874
integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=
78757875

7876-
prettier@^2.3.2:
7877-
version "2.4.1"
7878-
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.4.1.tgz#671e11c89c14a4cfc876ce564106c4a6726c9f5c"
7879-
integrity sha512-9fbDAXSBcc6Bs1mZrDYb3XKzDLm4EXXL9sC1LqKP5rZkT6KRr/rf9amVUcODVXgguK/isJz0d0hP72WeaKWsvA==
7876+
prettier@^3.6.2:
7877+
version "3.6.2"
7878+
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.6.2.tgz#ccda02a1003ebbb2bfda6f83a074978f608b9393"
7879+
integrity sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==
78807880

78817881
pretty-error@^4.0.0:
78827882
version "4.0.0"

0 commit comments

Comments
 (0)