Skip to content

Commit

Permalink
Merge pull request #288 from oaknational/chore/bump-next
Browse files Browse the repository at this point in the history
Chore/bump next
  • Loading branch information
kimon-satan authored Sep 18, 2024
2 parents 206960a + db0eaad commit 061d81d
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 61 deletions.
129 changes: 77 additions & 52 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"author": "",
"peerDependencies": {
"next": "13.4.4 - 14",
"next": "^14.2.12",
"next-cloudinary": "^5.20.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe(OakCloudinaryImage, () => {
);

expect(getByRole("img").getAttribute("src")).toMatch(
"https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_3840/fl_keep_attribution/f_auto/q_auto/v1608635688/image.jpg?_a=BAVAfVAO0",
"https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_3840/fl_keep_attribution/f_auto/q_auto/v1608635688/image.jpg?_a=BAVAfVDW0",
);
});

Expand All @@ -47,7 +47,7 @@ describe(OakCloudinaryImage, () => {
);

expect(getByRole("img").getAttribute("src")).toMatch(
"https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_3840/fl_keep_attribution/f_auto/q_auto/v1608635688/image.jpg?_a=BAVAfVAO0",
"https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_3840/fl_keep_attribution/f_auto/q_auto/v1608635688/image.jpg?_a=BAVAfVDW0",
);
});

Expand All @@ -60,7 +60,7 @@ describe(OakCloudinaryImage, () => {
);

expect(getByRole("img").getAttribute("src")).toMatch(
"https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_3840/fl_keep_attribution/f_auto/q_auto/v1608635688/image?_a=BAVAfVAO0",
"https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_3840/fl_keep_attribution/f_auto/q_auto/v1608635688/image?_a=BAVAfVDW0",
);
});

Expand All @@ -73,7 +73,7 @@ describe(OakCloudinaryImage, () => {
);

expect(getByRole("img").getAttribute("src")).toMatch(
"https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1608635688/image?_a=BAVAfVAO0",
"https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/v1608635688/image?_a=BAVAfVDW0",
);
});

Expand All @@ -98,7 +98,7 @@ describe(OakCloudinaryImage, () => {
);

expect(getByRole("img").getAttribute("src")).toMatch(
"https://private-cloudinary-cloud-res.cloudinary.com/image/upload/c_limit,w_3840/fl_keep_attribution/f_auto/q_auto/v1608635688/image.jpg?_a=BAVAfVAO0",
"https://private-cloudinary-cloud-res.cloudinary.com/image/upload/c_limit,w_3840/fl_keep_attribution/f_auto/q_auto/v1608635688/image.jpg?_a=BAVAfVDW0",
);
});

Expand All @@ -122,7 +122,7 @@ describe(OakCloudinaryImage, () => {
);

expect(getByRole("img").getAttribute("src")).toMatch(
"https://private-cloudinary-cloud-res.cloudinary.com/image/upload/c_limit,w_3840/fl_keep_attribution/f_auto/q_auto/v1608635688/image.jpg?_a=BAVAfVAO0",
"https://private-cloudinary-cloud-res.cloudinary.com/image/upload/c_limit,w_3840/fl_keep_attribution/f_auto/q_auto/v1608635688/image.jpg?_a=BAVAfVDW0",
);
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ exports[`OakCloudinaryImage matches snapshot 1`] = `
onError={[Function]}
onLoad={[Function]}
sizes="100vw"
src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_3840/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVAO0"
srcSet="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_640/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVAO0 640w, https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_750/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVAO0 750w, https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_828/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVAO0 828w, https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_1080/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVAO0 1080w, https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_1200/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVAO0 1200w, https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_1920/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVAO0 1920w, https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_2048/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVAO0 2048w, https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_3840/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVAO0 3840w"
src="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_3840/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVDW0"
srcSet="https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_640/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVDW0 640w, https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_750/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVDW0 750w, https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_828/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVDW0 828w, https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_1080/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVDW0 1080w, https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_1200/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVDW0 1200w, https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_1920/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVDW0 1920w, https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_2048/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVDW0 2048w, https://res.cloudinary.com/mock-cloudinary-cloud/image/upload/c_limit,w_3840/fl_keep_attribution/f_auto/q_auto/v1688316547/xqvnpdqx9u2awiykyb8s.jpg?_a=BAVAfVDW0 3840w"
style={
{
"bottom": 0,
Expand Down

0 comments on commit 061d81d

Please sign in to comment.