Skip to content

Commit eefd617

Browse files
ci: release (#182)
* ci: release * chore: format --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: mixie-bot[bot] <127146692+mixie-bot[bot]@users.noreply.github.com>
1 parent ceba8e6 commit eefd617

File tree

6 files changed

+80
-123
lines changed

6 files changed

+80
-123
lines changed

.changeset/rude-ads-notice.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 65 additions & 104 deletions
Large diffs are not rendered by default.

deno.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@unpic/lib",
3-
"version": "4.2.1",
3+
"version": "4.2.2",
44
"exports": {
55
".": "./mod.ts",
66
"./async": "./src/async.ts",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "unpic",
3-
"version": "4.2.1",
3+
"version": "4.2.2",
44
"private": true,
55
"description": "Universal image CDN translator",
66
"repository": {

src/providers/storyblok.test.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ const OLD_BASE_URL =
88

99
Deno.test("Storyblok Image CDN - extract", async (t) => {
1010
await t.step("should extract operations from new URL format", () => {
11-
const url = `${NEW_BASE_URL}/m/400x300/filters:format(webp):focal(150x100:250x200)`;
11+
const url =
12+
`${NEW_BASE_URL}/m/400x300/filters:format(webp):focal(150x100:250x200)`;
1213
const result = extract(url);
1314
assertEquals(result, {
1415
src: NEW_BASE_URL,
@@ -49,8 +50,6 @@ Deno.test("Storyblok Image CDN - extract", async (t) => {
4950
},
5051
});
5152
});
52-
53-
5453
});
5554

5655
Deno.test("Storyblok Image CDN - generate", async (t) => {
@@ -97,11 +96,14 @@ Deno.test("Storyblok Image CDN - generate", async (t) => {
9796
const result = generate(NEW_BASE_URL, {
9897
width: 400,
9998
height: 300,
100-
filters:{
101-
focal: "150x150:250x250"
102-
}
99+
filters: {
100+
focal: "150x150:250x250",
101+
},
103102
});
104-
assertEquals(result, `${NEW_BASE_URL}/m/400x300/filters:focal(150x150:250x250)`);
103+
assertEquals(
104+
result,
105+
`${NEW_BASE_URL}/m/400x300/filters:focal(150x150:250x250)`,
106+
);
105107
});
106108
});
107109

@@ -111,9 +113,9 @@ Deno.test("Storyblok Image CDN - transform", async (t) => {
111113
width: 500,
112114
height: 400,
113115
format: "webp",
114-
filters:{
115-
focal: "150x150:250x250"
116-
}
116+
filters: {
117+
focal: "150x150:250x250",
118+
},
117119
});
118120
assertEquals(
119121
result,
@@ -142,5 +144,3 @@ Deno.test("Storyblok Image CDN - transform", async (t) => {
142144
);
143145
});
144146
});
145-
146-

version.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4.2.2

0 commit comments

Comments
 (0)