Skip to content

Commit c5ed93d

Browse files
chore(deps): bump ufo from 1.5.4 to 1.6.1 (#90)
* chore(deps): bump ufo from 1.5.4 to 1.6.1 Bumps [ufo](https://github.com/unjs/ufo) from 1.5.4 to 1.6.1. - [Release notes](https://github.com/unjs/ufo/releases) - [Changelog](https://github.com/unjs/ufo/blob/main/CHANGELOG.md) - [Commits](unjs/ufo@v1.5.4...v1.6.1) --- updated-dependencies: - dependency-name: ufo dependency-version: 1.6.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * remove object prototype assertion --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: sushichan044 <[email protected]>
1 parent e6a8b0a commit c5ed93d

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

app/feature/search/pagination.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ describe("buildPaginationMeta", () => {
2828
? getQuery(paginationMeta.next)
2929
: null;
3030

31-
expect(prevQuery).toStrictEqual({
31+
expect(prevQuery).toEqual({
3232
limit: "10",
3333
offset: "0",
3434
post_includes_text: "地震",
3535
});
36-
expect(nextQuery).toStrictEqual({
36+
expect(nextQuery).toEqual({
3737
limit: "10",
3838
offset: "20",
3939
post_includes_text: "地震",
@@ -56,7 +56,7 @@ describe("buildPaginationMeta", () => {
5656
const fixedMeta = buildPaginationMeta(currentBrokenMeta, currentQuery);
5757
const prevQuery = fixedMeta.prev ? getQuery(fixedMeta.prev) : null;
5858

59-
expect(prevQuery).toStrictEqual({
59+
expect(prevQuery).toEqual({
6060
limit: "15",
6161
offset: "0",
6262
post_includes_text: "地震",
@@ -119,12 +119,12 @@ describe("buildPaginationMeta", () => {
119119
const prevQuery = fixedMeta.prev ? getQuery(fixedMeta.prev) : null;
120120
const nextQuery = fixedMeta.next ? getQuery(fixedMeta.next) : null;
121121

122-
expect(prevQuery).toStrictEqual({
122+
expect(prevQuery).toEqual({
123123
note_status: ["CURRENTLY_RATED_HELPFUL", "NEEDS_MORE_RATINGS"],
124124
limit: "10",
125125
offset: "0",
126126
});
127-
expect(nextQuery).toStrictEqual({
127+
expect(nextQuery).toEqual({
128128
note_status: ["CURRENTLY_RATED_HELPFUL", "NEEDS_MORE_RATINGS"],
129129
limit: "10",
130130
offset: "20",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"react-router": "7.6.0",
4242
"react-router-dom": "7.6.0",
4343
"recharts": "2.15.3",
44-
"ufo": "1.5.4",
44+
"ufo": "1.6.1",
4545
"zod": "3.24.4"
4646
},
4747
"devDependencies": {

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)