@atlaspack/transformer-image 3.1.5-canary.49 → 3.1.5-canary.491

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,567 @@
1
1
  # @atlaspack/transformer-image
2
2
 
3
+ ## 20.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @atlaspack/core@2.39.1
9
+ - @atlaspack/utils@3.4.6
10
+ - @atlaspack/workers@2.14.64
11
+ - @atlaspack/plugin@2.14.64
12
+
13
+ ## 20.0.0
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies [[`0c5200a`](https://github.com/atlassian-labs/atlaspack/commit/0c5200aa749cf8ffe14b9a0b1445c38550c20e7a)]:
18
+ - @atlaspack/core@2.39.0
19
+
20
+ ## 19.0.5
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies [[`c4a3b39`](https://github.com/atlassian-labs/atlaspack/commit/c4a3b399c70a434625626af3f7e9b666045cdf39)]:
25
+ - @atlaspack/core@2.38.5
26
+ - @atlaspack/utils@3.4.5
27
+ - @atlaspack/workers@2.14.63
28
+ - @atlaspack/plugin@2.14.63
29
+
30
+ ## 19.0.4
31
+
32
+ ### Patch Changes
33
+
34
+ - Updated dependencies [[`39b1fdf`](https://github.com/atlassian-labs/atlaspack/commit/39b1fdf59d317a9e862dceba0495dda9f1fda77c)]:
35
+ - @atlaspack/core@2.38.4
36
+ - @atlaspack/utils@3.4.4
37
+ - @atlaspack/workers@2.14.62
38
+ - @atlaspack/plugin@2.14.62
39
+
40
+ ## 19.0.3
41
+
42
+ ### Patch Changes
43
+
44
+ - [#1065](https://github.com/atlassian-labs/atlaspack/pull/1065) [`e898fda`](https://github.com/atlassian-labs/atlaspack/commit/e898fda7511d98e5597d847c4a32c028a8a24d6c) Thanks [@at-nathan](https://github.com/at-nathan)! - Update third-party dependencies to align with AFM
45
+
46
+ - Updated dependencies [[`e898fda`](https://github.com/atlassian-labs/atlaspack/commit/e898fda7511d98e5597d847c4a32c028a8a24d6c), [`3ff901a`](https://github.com/atlassian-labs/atlaspack/commit/3ff901a222d5e077a3bb96031a89c3b5173ece69)]:
47
+ - @atlaspack/utils@3.4.3
48
+ - @atlaspack/core@2.38.3
49
+ - @atlaspack/workers@2.14.61
50
+ - @atlaspack/plugin@2.14.61
51
+
52
+ ## 19.0.2
53
+
54
+ ### Patch Changes
55
+
56
+ - Updated dependencies []:
57
+ - @atlaspack/core@2.38.2
58
+ - @atlaspack/utils@3.4.2
59
+ - @atlaspack/workers@2.14.60
60
+ - @atlaspack/plugin@2.14.60
61
+
62
+ ## 19.0.1
63
+
64
+ ### Patch Changes
65
+
66
+ - Updated dependencies [[`1c767e4`](https://github.com/atlassian-labs/atlaspack/commit/1c767e4907664dd490a56276d6562f79dbeea3fb)]:
67
+ - @atlaspack/core@2.38.1
68
+ - @atlaspack/utils@3.4.1
69
+ - @atlaspack/workers@2.14.59
70
+ - @atlaspack/plugin@2.14.59
71
+
72
+ ## 19.0.0
73
+
74
+ ### Patch Changes
75
+
76
+ - Updated dependencies [[`ffa1e42`](https://github.com/atlassian-labs/atlaspack/commit/ffa1e4276c22cc48b6be45ac81df8adde85f2237), [`939d5bd`](https://github.com/atlassian-labs/atlaspack/commit/939d5bd41b3bcb5508f58ca41165d48122762e26), [`71981ea`](https://github.com/atlassian-labs/atlaspack/commit/71981eac258f7e6dfb40ec4b202d194f71c64ff1), [`0bb5830`](https://github.com/atlassian-labs/atlaspack/commit/0bb5830d1a7800e673f21ab020cd86bef873df9c)]:
77
+ - @atlaspack/core@2.38.0
78
+ - @atlaspack/utils@3.4.0
79
+ - @atlaspack/plugin@2.14.58
80
+ - @atlaspack/workers@2.14.58
81
+
82
+ ## 18.0.0
83
+
84
+ ### Patch Changes
85
+
86
+ - Updated dependencies [[`c80be61`](https://github.com/atlassian-labs/atlaspack/commit/c80be618e42014208fed60b7a2dccc2e47d53aed), [`2d3c616`](https://github.com/atlassian-labs/atlaspack/commit/2d3c616bb2ebef55d6850e8ca9eedf13c72f5386)]:
87
+ - @atlaspack/core@2.37.0
88
+ - @atlaspack/utils@3.3.9
89
+ - @atlaspack/workers@2.14.57
90
+ - @atlaspack/plugin@2.14.57
91
+
92
+ ## 17.0.0
93
+
94
+ ### Patch Changes
95
+
96
+ - Updated dependencies [[`f7878b2`](https://github.com/atlassian-labs/atlaspack/commit/f7878b2f19a0a3bbd0e79d0b4a4e1479646043b7), [`de388ff`](https://github.com/atlassian-labs/atlaspack/commit/de388ff76d39dece97ad475fcccdb6efb6283bfc)]:
97
+ - @atlaspack/core@2.36.0
98
+ - @atlaspack/utils@3.3.8
99
+ - @atlaspack/workers@2.14.56
100
+ - @atlaspack/plugin@2.14.56
101
+
102
+ ## 16.0.0
103
+
104
+ ### Patch Changes
105
+
106
+ - Updated dependencies [[`f9aec27`](https://github.com/atlassian-labs/atlaspack/commit/f9aec2736d27afa7a1f2a9701d46e29e566ab352), [`93ec107`](https://github.com/atlassian-labs/atlaspack/commit/93ec10729ad5a328b4320955357339746cd472f3), [`e88b258`](https://github.com/atlassian-labs/atlaspack/commit/e88b25808a181fafbe98e5ca278b35bfc0197caf), [`cbc815a`](https://github.com/atlassian-labs/atlaspack/commit/cbc815a23907e081b7203bdea37bd57befdd4b9e), [`ad3c822`](https://github.com/atlassian-labs/atlaspack/commit/ad3c8223ab1abce9e8da81239cc56f27d37c7cad), [`936209f`](https://github.com/atlassian-labs/atlaspack/commit/936209f3c6c201288720dd62b61e1f538368268c), [`857962a`](https://github.com/atlassian-labs/atlaspack/commit/857962a352bb0aebaf74a8765e8c44d7e875a4e9)]:
107
+ - @atlaspack/core@2.35.0
108
+ - @atlaspack/utils@3.3.7
109
+ - @atlaspack/plugin@2.14.55
110
+ - @atlaspack/workers@2.14.55
111
+
112
+ ## 15.0.0
113
+
114
+ ### Patch Changes
115
+
116
+ - Updated dependencies [[`d8e984b`](https://github.com/atlassian-labs/atlaspack/commit/d8e984b7f6d04fa03707fa299bfd8b8bf9f58280), [`45a0dc5`](https://github.com/atlassian-labs/atlaspack/commit/45a0dc530fd9472dbfdebcbb05f1aad812ab3b23)]:
117
+ - @atlaspack/utils@3.3.6
118
+ - @atlaspack/core@2.34.0
119
+ - @atlaspack/workers@2.14.54
120
+ - @atlaspack/plugin@2.14.54
121
+
122
+ ## 14.0.1
123
+
124
+ ### Patch Changes
125
+
126
+ - Updated dependencies []:
127
+ - @atlaspack/core@2.33.1
128
+ - @atlaspack/utils@3.3.5
129
+ - @atlaspack/workers@2.14.53
130
+ - @atlaspack/plugin@2.14.53
131
+
132
+ ## 14.0.0
133
+
134
+ ### Patch Changes
135
+
136
+ - Updated dependencies [[`e058f0e`](https://github.com/atlassian-labs/atlaspack/commit/e058f0e7a0423ba9373e85a7dbd5c1dd43b47916), [`349b19c`](https://github.com/atlassian-labs/atlaspack/commit/349b19c3aca2ccb1ffb5cdcdc74890f4b62228be)]:
137
+ - @atlaspack/core@2.33.0
138
+ - @atlaspack/plugin@2.14.52
139
+ - @atlaspack/utils@3.3.4
140
+ - @atlaspack/workers@2.14.52
141
+
142
+ ## 13.0.1
143
+
144
+ ### Patch Changes
145
+
146
+ - Updated dependencies [[`a631dcd`](https://github.com/atlassian-labs/atlaspack/commit/a631dcd961112db072b0f8de0831efd178f355a7), [`5755a11`](https://github.com/atlassian-labs/atlaspack/commit/5755a114903bbf660e2ada3ae2e7ff6ceac7565b), [`fcaf517`](https://github.com/atlassian-labs/atlaspack/commit/fcaf517010d15c9300393bcad3f9b465689d9d16)]:
147
+ - @atlaspack/core@2.32.1
148
+ - @atlaspack/utils@3.3.3
149
+ - @atlaspack/workers@2.14.51
150
+ - @atlaspack/plugin@2.14.51
151
+
152
+ ## 13.0.0
153
+
154
+ ### Patch Changes
155
+
156
+ - Updated dependencies [[`e8ea59b`](https://github.com/atlassian-labs/atlaspack/commit/e8ea59beabb4b4fef647dc9ebea3519b6d56d7b5), [`8826fd0`](https://github.com/atlassian-labs/atlaspack/commit/8826fd02c29c9c67cf0c80da41f424257fbdef93), [`dbcaabb`](https://github.com/atlassian-labs/atlaspack/commit/dbcaabbf15d4fbc8ecd9c0be58cf7b2317eebfc4)]:
157
+ - @atlaspack/core@2.32.0
158
+ - @atlaspack/utils@3.3.2
159
+ - @atlaspack/workers@2.14.50
160
+ - @atlaspack/plugin@2.14.50
161
+
162
+ ## 12.0.3
163
+
164
+ ### Patch Changes
165
+
166
+ - Updated dependencies []:
167
+ - @atlaspack/core@2.31.3
168
+ - @atlaspack/utils@3.3.1
169
+ - @atlaspack/workers@2.14.49
170
+ - @atlaspack/plugin@2.14.49
171
+
172
+ ## 12.0.2
173
+
174
+ ### Patch Changes
175
+
176
+ - Updated dependencies [[`47aa84e`](https://github.com/atlassian-labs/atlaspack/commit/47aa84e44c61066072a5bf3d57678565b9d2c5a3)]:
177
+ - @atlaspack/utils@3.3.0
178
+ - @atlaspack/core@2.31.2
179
+ - @atlaspack/workers@2.14.48
180
+ - @atlaspack/plugin@2.14.48
181
+
182
+ ## 12.0.1
183
+
184
+ ### Patch Changes
185
+
186
+ - Updated dependencies [[`695339e`](https://github.com/atlassian-labs/atlaspack/commit/695339e4fd46df9590013c2ef4de74cb22225927)]:
187
+ - @atlaspack/core@2.31.1
188
+ - @atlaspack/utils@3.2.8
189
+ - @atlaspack/workers@2.14.47
190
+ - @atlaspack/plugin@2.14.47
191
+
192
+ ## 12.0.0
193
+
194
+ ### Patch Changes
195
+
196
+ - Updated dependencies [[`02cc8b3`](https://github.com/atlassian-labs/atlaspack/commit/02cc8b32c06ca6b51806b33f6f707ca06e55e957), [`02cc8b3`](https://github.com/atlassian-labs/atlaspack/commit/02cc8b32c06ca6b51806b33f6f707ca06e55e957)]:
197
+ - @atlaspack/core@2.31.0
198
+ - @atlaspack/utils@3.2.7
199
+ - @atlaspack/plugin@2.14.46
200
+ - @atlaspack/workers@2.14.46
201
+
202
+ ## 11.0.2
203
+
204
+ ### Patch Changes
205
+
206
+ - Updated dependencies []:
207
+ - @atlaspack/core@2.30.2
208
+ - @atlaspack/utils@3.2.6
209
+ - @atlaspack/plugin@2.14.45
210
+ - @atlaspack/workers@2.14.45
211
+
212
+ ## 11.0.1
213
+
214
+ ### Patch Changes
215
+
216
+ - Updated dependencies []:
217
+ - @atlaspack/core@2.30.1
218
+ - @atlaspack/utils@3.2.5
219
+ - @atlaspack/workers@2.14.44
220
+ - @atlaspack/plugin@2.14.44
221
+
222
+ ## 11.0.0
223
+
224
+ ### Patch Changes
225
+
226
+ - Updated dependencies [[`00fa643`](https://github.com/atlassian-labs/atlaspack/commit/00fa6433202bfd3311479f6314c9ec878a789f2c)]:
227
+ - @atlaspack/core@2.30.0
228
+ - @atlaspack/plugin@2.14.43
229
+ - @atlaspack/utils@3.2.4
230
+ - @atlaspack/workers@2.14.43
231
+
232
+ ## 10.0.2
233
+
234
+ ### Patch Changes
235
+
236
+ - Updated dependencies []:
237
+ - @atlaspack/core@2.29.2
238
+ - @atlaspack/utils@3.2.3
239
+ - @atlaspack/workers@2.14.42
240
+ - @atlaspack/plugin@2.14.42
241
+
242
+ ## 10.0.1
243
+
244
+ ### Patch Changes
245
+
246
+ - Updated dependencies [[`d98c992`](https://github.com/atlassian-labs/atlaspack/commit/d98c992a56121a4f9f6a011ced5e103f96fe3999)]:
247
+ - @atlaspack/core@2.29.1
248
+ - @atlaspack/utils@3.2.2
249
+ - @atlaspack/workers@2.14.41
250
+ - @atlaspack/plugin@2.14.41
251
+
252
+ ## 10.0.0
253
+
254
+ ### Patch Changes
255
+
256
+ - Updated dependencies [[`a884bd2`](https://github.com/atlassian-labs/atlaspack/commit/a884bd2a6bd6f37d088fb886dd9b88e85328501b), [`5710532`](https://github.com/atlassian-labs/atlaspack/commit/57105322b26ce42af2cbfcc0506cff929e50b630), [`6fac01d`](https://github.com/atlassian-labs/atlaspack/commit/6fac01dbb1bfc5b971176c1a1c008297bf4b8f91), [`432d571`](https://github.com/atlassian-labs/atlaspack/commit/432d571ea4e9fc67be12304fcafe8c445e844174), [`5710532`](https://github.com/atlassian-labs/atlaspack/commit/57105322b26ce42af2cbfcc0506cff929e50b630)]:
257
+ - @atlaspack/core@2.29.0
258
+ - @atlaspack/utils@3.2.1
259
+ - @atlaspack/workers@2.14.40
260
+ - @atlaspack/plugin@2.14.40
261
+
262
+ ## 9.0.0
263
+
264
+ ### Patch Changes
265
+
266
+ - Updated dependencies [[`7dd5bd8`](https://github.com/atlassian-labs/atlaspack/commit/7dd5bd89ff60c7b324347d772729eb4c3314f01e), [`8eb84ee`](https://github.com/atlassian-labs/atlaspack/commit/8eb84ee61a42bfe87c58079b610802b07a6a13e4), [`73168c2`](https://github.com/atlassian-labs/atlaspack/commit/73168c275a5d9abff9907bcf536b340bca1ed5f0), [`617a318`](https://github.com/atlassian-labs/atlaspack/commit/617a318ddc9419b38360257353fec50b9051ee13)]:
267
+ - @atlaspack/core@2.28.0
268
+ - @atlaspack/utils@3.2.0
269
+ - @atlaspack/plugin@2.14.39
270
+ - @atlaspack/workers@2.14.39
271
+
272
+ ## 8.0.0
273
+
274
+ ### Patch Changes
275
+
276
+ - Updated dependencies [[`ec3abe4`](https://github.com/atlassian-labs/atlaspack/commit/ec3abe4dffc98560a850fd2f71fb566577e6c99c), [`cfb4707`](https://github.com/atlassian-labs/atlaspack/commit/cfb4707087498e4fa4dcf10753fe984a248d196b), [`33d4c26`](https://github.com/atlassian-labs/atlaspack/commit/33d4c261ceb8d585d56b0a446ed6e28cf7f1126d), [`f31b041`](https://github.com/atlassian-labs/atlaspack/commit/f31b04107e9077c9946aadb99f6f91bb69703bb7), [`8180981`](https://github.com/atlassian-labs/atlaspack/commit/8180981be14c00f9570adb70d3f350bd91d6ec0a), [`119210b`](https://github.com/atlassian-labs/atlaspack/commit/119210b597eb993c50445df87a36b70bd49cd414), [`7d7a55d`](https://github.com/atlassian-labs/atlaspack/commit/7d7a55dd6395ec391a2e4c33b3dec0d1ea477d4c)]:
277
+ - @atlaspack/core@2.27.0
278
+ - @atlaspack/utils@3.1.2
279
+ - @atlaspack/workers@2.14.38
280
+ - @atlaspack/plugin@2.14.38
281
+
282
+ ## 7.0.2
283
+
284
+ ### Patch Changes
285
+
286
+ - Updated dependencies []:
287
+ - @atlaspack/core@2.26.2
288
+ - @atlaspack/utils@3.1.1
289
+ - @atlaspack/workers@2.14.37
290
+ - @atlaspack/plugin@2.14.37
291
+
292
+ ## 7.0.1
293
+
294
+ ### Patch Changes
295
+
296
+ - Updated dependencies [[`9cd9521`](https://github.com/atlassian-labs/atlaspack/commit/9cd9521978f783046e2ae4ce78f2de7aeb07d073), [`d0c7bea`](https://github.com/atlassian-labs/atlaspack/commit/d0c7bea04458255b4c5d4299600e734b5f919fe1), [`1086c6a`](https://github.com/atlassian-labs/atlaspack/commit/1086c6a2c59271b63b3fb78e6acdb9d3a0dbf354), [`5776be2`](https://github.com/atlassian-labs/atlaspack/commit/5776be21f70a3f2b9471ba33da3ba1a883f21f1a)]:
297
+ - @atlaspack/core@2.26.1
298
+ - @atlaspack/utils@3.1.0
299
+ - @atlaspack/workers@2.14.36
300
+ - @atlaspack/plugin@2.14.36
301
+
302
+ ## 7.0.0
303
+
304
+ ### Patch Changes
305
+
306
+ - Updated dependencies [[`ff8ac84`](https://github.com/atlassian-labs/atlaspack/commit/ff8ac84bd0be15caa7c7af21bf5b6e47b6d36438), [`3da8e69`](https://github.com/atlassian-labs/atlaspack/commit/3da8e690605472d81c531366b65fa9844f8ca337), [`c372f3f`](https://github.com/atlassian-labs/atlaspack/commit/c372f3fd6fce8200d5cf47f41bc7895c6cbb5558), [`17dfea9`](https://github.com/atlassian-labs/atlaspack/commit/17dfea9e9f3169807808520df9c09ebf70dc8b10), [`27fd73f`](https://github.com/atlassian-labs/atlaspack/commit/27fd73fa07d358653f1be6f2d15d72dc5d8fc2fd), [`3091fa3`](https://github.com/atlassian-labs/atlaspack/commit/3091fa36425ecffe3938e55247a035b08cda37a2)]:
307
+ - @atlaspack/core@2.26.0
308
+ - @atlaspack/utils@3.0.3
309
+ - @atlaspack/plugin@2.14.35
310
+ - @atlaspack/workers@2.14.35
311
+
312
+ ## 6.0.1
313
+
314
+ ### Patch Changes
315
+
316
+ - Updated dependencies [[`25cbee6`](https://github.com/atlassian-labs/atlaspack/commit/25cbee625fb47ac20423fe34ff37bc818a807245)]:
317
+ - @atlaspack/workers@2.14.34
318
+ - @atlaspack/core@2.25.1
319
+ - @atlaspack/utils@3.0.2
320
+ - @atlaspack/plugin@2.14.34
321
+
322
+ ## 6.0.0
323
+
324
+ ### Patch Changes
325
+
326
+ - Updated dependencies [[`236e546`](https://github.com/atlassian-labs/atlaspack/commit/236e5465863dca6044a7191e05260a5b924c342e), [`f07351a`](https://github.com/atlassian-labs/atlaspack/commit/f07351a2398b6a8e5155a2daad77e69b7dcb2b4b)]:
327
+ - @atlaspack/utils@3.0.1
328
+ - @atlaspack/core@2.25.0
329
+ - @atlaspack/workers@2.14.33
330
+ - @atlaspack/plugin@2.14.33
331
+
332
+ ## 5.0.2
333
+
334
+ ### Patch Changes
335
+
336
+ - Updated dependencies [[`10ee3fa`](https://github.com/atlassian-labs/atlaspack/commit/10ee3fa5b75a92acde8973673d9b3c5b6f3958e5), [`1180103`](https://github.com/atlassian-labs/atlaspack/commit/118010351ed444f8178988afb3f77807154dd933)]:
337
+ - @atlaspack/core@2.24.2
338
+ - @atlaspack/utils@3.0.0
339
+ - @atlaspack/workers@2.14.32
340
+ - @atlaspack/plugin@2.14.32
341
+
342
+ ## 5.0.1
343
+
344
+ ### Patch Changes
345
+
346
+ - [#785](https://github.com/atlassian-labs/atlaspack/pull/785) [`0e7dd5e`](https://github.com/atlassian-labs/atlaspack/commit/0e7dd5ec6fbe05aa9e0bb5775a9d0975f206a922) Thanks [@matt-koko](https://github.com/matt-koko)! - We need to re-publish every package in Atlaspack with the corrected types field.
347
+
348
+ - Updated dependencies [[`0e7dd5e`](https://github.com/atlassian-labs/atlaspack/commit/0e7dd5ec6fbe05aa9e0bb5775a9d0975f206a922), [`686a398`](https://github.com/atlassian-labs/atlaspack/commit/686a398faa1f9e19cbf9274add2c46e246bafba8)]:
349
+ - @atlaspack/core@2.24.1
350
+ - @atlaspack/plugin@2.14.31
351
+ - @atlaspack/utils@2.19.3
352
+ - @atlaspack/workers@2.14.31
353
+
354
+ ## 5.0.0
355
+
356
+ ### Patch Changes
357
+
358
+ - Updated dependencies [[`eedcbc4`](https://github.com/atlassian-labs/atlaspack/commit/eedcbc408fc1e86a2a8e25f1a41c57146d8529e1), [`5a0363f`](https://github.com/atlassian-labs/atlaspack/commit/5a0363f1086e81068959b87e92064bed5a11a9b4), [`038e87a`](https://github.com/atlassian-labs/atlaspack/commit/038e87a7858d39556d59d3a2d17db534d45f62c6), [`f6532d7`](https://github.com/atlassian-labs/atlaspack/commit/f6532d7a4f7f007bd4e5e36af04dd466f0b9f572), [`8604d2a`](https://github.com/atlassian-labs/atlaspack/commit/8604d2a49ace5e9194ec4f76e71f06b93610f6b4)]:
359
+ - @atlaspack/core@2.24.0
360
+ - @atlaspack/utils@2.19.2
361
+ - @atlaspack/plugin@2.14.30
362
+ - @atlaspack/workers@2.14.30
363
+
364
+ ## 4.0.5
365
+
366
+ ### Patch Changes
367
+
368
+ - Updated dependencies []:
369
+ - @atlaspack/core@2.23.5
370
+ - @atlaspack/utils@2.19.1
371
+ - @atlaspack/plugin@2.14.29
372
+ - @atlaspack/workers@2.14.29
373
+
374
+ ## 4.0.4
375
+
376
+ ### Patch Changes
377
+
378
+ - Updated dependencies [[`f0349a6`](https://github.com/atlassian-labs/atlaspack/commit/f0349a6b9b04755088f121095ca6301a2ada3767)]:
379
+ - @atlaspack/utils@2.19.0
380
+ - @atlaspack/core@2.23.4
381
+ - @atlaspack/workers@2.14.28
382
+ - @atlaspack/plugin@2.14.28
383
+
384
+ ## 4.0.3
385
+
386
+ ### Patch Changes
387
+
388
+ - Updated dependencies []:
389
+ - @atlaspack/core@2.23.3
390
+ - @atlaspack/utils@2.18.4
391
+ - @atlaspack/plugin@2.14.27
392
+ - @atlaspack/workers@2.14.27
393
+
394
+ ## 4.0.2
395
+
396
+ ### Patch Changes
397
+
398
+ - [#742](https://github.com/atlassian-labs/atlaspack/pull/742) [`ee040bb`](https://github.com/atlassian-labs/atlaspack/commit/ee040bb6428f29b57d892ddd8107e29077d08ffd) Thanks [@yamadapc](https://github.com/yamadapc)! - Internal changes and bug fixes to environmentDeduplication flag
399
+
400
+ - Updated dependencies [[`ee040bb`](https://github.com/atlassian-labs/atlaspack/commit/ee040bb6428f29b57d892ddd8107e29077d08ffd), [`889c65c`](https://github.com/atlassian-labs/atlaspack/commit/889c65cd25b811045e26a117e7404f694dde77a2), [`b6e72b6`](https://github.com/atlassian-labs/atlaspack/commit/b6e72b6dd2b517cbb0e700fa69e63332d3eacb1e)]:
401
+ - @atlaspack/workers@2.14.26
402
+ - @atlaspack/plugin@2.14.26
403
+ - @atlaspack/utils@2.18.3
404
+ - @atlaspack/core@2.23.2
405
+
406
+ ## 4.0.1
407
+
408
+ ### Patch Changes
409
+
410
+ - Updated dependencies []:
411
+ - @atlaspack/core@2.23.1
412
+ - @atlaspack/utils@2.18.2
413
+ - @atlaspack/plugin@2.14.25
414
+ - @atlaspack/workers@2.14.25
415
+
416
+ ## 4.0.0
417
+
418
+ ### Patch Changes
419
+
420
+ - Updated dependencies [[`7f5841c`](https://github.com/atlassian-labs/atlaspack/commit/7f5841c39df049f9546cccbeea2a7337e0337b45)]:
421
+ - @atlaspack/core@2.23.0
422
+ - @atlaspack/utils@2.18.1
423
+ - @atlaspack/plugin@2.14.24
424
+ - @atlaspack/workers@2.14.24
425
+
426
+ ## 3.1.23
427
+
428
+ ### Patch Changes
429
+
430
+ - Updated dependencies [[`23d561e`](https://github.com/atlassian-labs/atlaspack/commit/23d561e51e68b0c38fd1ff4e4fb173e5e7b01cf2)]:
431
+ - @atlaspack/utils@2.18.0
432
+ - @atlaspack/workers@2.14.23
433
+ - @atlaspack/plugin@2.14.23
434
+
435
+ ## 3.1.22
436
+
437
+ ### Patch Changes
438
+
439
+ - [#720](https://github.com/atlassian-labs/atlaspack/pull/720) [`d2fd849`](https://github.com/atlassian-labs/atlaspack/commit/d2fd849770fe6305e9c694bd97b1bd905abd9d94) Thanks [@alshdavid](https://github.com/alshdavid)! - Migrate to TypeScript
440
+
441
+ - Updated dependencies [[`d2fd849`](https://github.com/atlassian-labs/atlaspack/commit/d2fd849770fe6305e9c694bd97b1bd905abd9d94)]:
442
+ - @atlaspack/workers@2.14.22
443
+ - @atlaspack/plugin@2.14.22
444
+ - @atlaspack/utils@2.17.4
445
+
446
+ ## 3.1.21
447
+
448
+ ### Patch Changes
449
+
450
+ - Updated dependencies []:
451
+ - @atlaspack/workers@2.14.21
452
+ - @atlaspack/utils@2.17.3
453
+ - @atlaspack/plugin@2.14.21
454
+
455
+ ## 3.1.20
456
+
457
+ ### Patch Changes
458
+
459
+ - [#702](https://github.com/atlassian-labs/atlaspack/pull/702) [`daaa768`](https://github.com/atlassian-labs/atlaspack/commit/daaa7688786772d7e3713b71c5bba6b89ec704aa) Thanks [@alshdavid](https://github.com/alshdavid)! - Fixes to Flow types
460
+
461
+ - Updated dependencies [[`daaa768`](https://github.com/atlassian-labs/atlaspack/commit/daaa7688786772d7e3713b71c5bba6b89ec704aa)]:
462
+ - @atlaspack/plugin@2.14.20
463
+ - @atlaspack/utils@2.17.2
464
+ - @atlaspack/workers@2.14.20
465
+
466
+ ## 3.1.19
467
+
468
+ ### Patch Changes
469
+
470
+ - Updated dependencies []:
471
+ - @atlaspack/utils@2.17.1
472
+ - @atlaspack/workers@2.14.19
473
+ - @atlaspack/plugin@2.14.19
474
+
475
+ ## 3.1.18
476
+
477
+ ### Patch Changes
478
+
479
+ - Updated dependencies [[`dbb4072`](https://github.com/atlassian-labs/atlaspack/commit/dbb40721ebeb45990a14ba04e6b44e7f836fb32d), [`de23e0c`](https://github.com/atlassian-labs/atlaspack/commit/de23e0ce49d5504fe3947ac26640a3d951087da3), [`18a57cf`](https://github.com/atlassian-labs/atlaspack/commit/18a57cf8a4789b2de5ad8e2676f317a26cc91417), [`a5ed1b4`](https://github.com/atlassian-labs/atlaspack/commit/a5ed1b414498560f393ff491af4da25b6e8dde56)]:
480
+ - @atlaspack/utils@2.17.0
481
+ - @atlaspack/workers@2.14.18
482
+ - @atlaspack/plugin@2.14.18
483
+
484
+ ## 3.1.17
485
+
486
+ ### Patch Changes
487
+
488
+ - Updated dependencies []:
489
+ - @atlaspack/utils@2.16.1
490
+ - @atlaspack/workers@2.14.17
491
+ - @atlaspack/plugin@2.14.17
492
+
493
+ ## 3.1.16
494
+
495
+ ### Patch Changes
496
+
497
+ - Updated dependencies [[`30ee2cf`](https://github.com/atlassian-labs/atlaspack/commit/30ee2cfcd34cf2646ded0eda13fdb80a2a5de529)]:
498
+ - @atlaspack/utils@2.16.0
499
+ - @atlaspack/workers@2.14.16
500
+ - @atlaspack/plugin@2.14.16
501
+
502
+ ## 3.1.15
503
+
504
+ ### Patch Changes
505
+
506
+ - Updated dependencies []:
507
+ - @atlaspack/utils@2.15.3
508
+ - @atlaspack/workers@2.14.15
509
+ - @atlaspack/plugin@2.14.15
510
+
511
+ ## 3.1.14
512
+
513
+ ### Patch Changes
514
+
515
+ - Updated dependencies []:
516
+ - @atlaspack/utils@2.15.2
517
+ - @atlaspack/workers@2.14.14
518
+ - @atlaspack/plugin@2.14.14
519
+
520
+ ## 3.1.13
521
+
522
+ ### Patch Changes
523
+
524
+ - Updated dependencies [[`ef3d622`](https://github.com/atlassian-labs/atlaspack/commit/ef3d6228f4e006702198a19c61e051d194d325cb)]:
525
+ - @atlaspack/workers@2.14.13
526
+ - @atlaspack/utils@2.15.1
527
+ - @atlaspack/plugin@2.14.13
528
+
529
+ ## 3.1.12
530
+
531
+ ### Patch Changes
532
+
533
+ - Updated dependencies [[`e39c6cf`](https://github.com/atlassian-labs/atlaspack/commit/e39c6cf05f7e95ce5420dbcea66f401b1cbd397c)]:
534
+ - @atlaspack/utils@2.15.0
535
+ - @atlaspack/workers@2.14.12
536
+ - @atlaspack/plugin@2.14.12
537
+
538
+ ## 3.1.11
539
+
540
+ ### Patch Changes
541
+
542
+ - Updated dependencies []:
543
+ - @atlaspack/utils@2.14.11
544
+ - @atlaspack/workers@2.14.11
545
+ - @atlaspack/plugin@2.14.11
546
+
547
+ ## 3.1.10
548
+
549
+ ### Patch Changes
550
+
551
+ - Updated dependencies []:
552
+ - @atlaspack/workers@2.14.10
553
+ - @atlaspack/plugin@2.14.10
554
+ - @atlaspack/utils@2.14.10
555
+
556
+ ## 3.1.9
557
+
558
+ ### Patch Changes
559
+
560
+ - Updated dependencies []:
561
+ - @atlaspack/utils@2.14.9
562
+ - @atlaspack/workers@2.14.9
563
+ - @atlaspack/plugin@2.14.9
564
+
3
565
  ## 3.1.8
4
566
 
5
567
  ### Patch Changes
@@ -0,0 +1,99 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const validateConfig_1 = require("./validateConfig");
7
+ const plugin_1 = require("@atlaspack/plugin");
8
+ const nullthrows_1 = __importDefault(require("nullthrows"));
9
+ const workers_1 = __importDefault(require("@atlaspack/workers"));
10
+ // @ts-expect-error TS1192
11
+ const loadSharp_1 = __importDefault(require("./loadSharp"));
12
+ // from https://github.com/lovell/sharp/blob/df7b8ba73808fc494be413e88cfb621b6279218c/lib/output.js#L6-L17
13
+ const FORMATS = new Map([
14
+ ['jpeg', 'jpeg'],
15
+ ['jpg', 'jpeg'],
16
+ ['png', 'png'],
17
+ ['webp', 'webp'],
18
+ ['gif', 'gif'],
19
+ ['tiff', 'tiff'],
20
+ ['avif', 'avif'],
21
+ ['heic', 'heif'],
22
+ ['heif', 'heif'],
23
+ ]);
24
+ let isSharpLoadedOnMainThread = false;
25
+ exports.default = new plugin_1.Transformer({
26
+ async loadConfig({ config }) {
27
+ let configFile = await config.getConfig(['sharp.config.json'], // '.sharprc', '.sharprc.json'
28
+ { packageKey: 'sharp' });
29
+ if (configFile?.contents) {
30
+ (0, validateConfig_1.validateConfig)(configFile.contents, configFile.filePath);
31
+ return configFile.contents;
32
+ }
33
+ else {
34
+ return {};
35
+ }
36
+ },
37
+ async transform({ config, asset, options }) {
38
+ asset.bundleBehavior = 'isolated';
39
+ const originalFormat = FORMATS.get(asset.type);
40
+ if (!originalFormat) {
41
+ throw new Error(`The image transformer does not support ${asset.type} images.`);
42
+ }
43
+ const width = asset.query.has('width')
44
+ ? // @ts-expect-error TS2345
45
+ parseInt(asset.query.get('width'), 10)
46
+ : null;
47
+ const height = asset.query.has('height')
48
+ ? // @ts-expect-error TS2345
49
+ parseInt(asset.query.get('height'), 10)
50
+ : null;
51
+ const quality = asset.query.has('quality')
52
+ ? // @ts-expect-error TS2345
53
+ parseInt(asset.query.get('quality'), 10)
54
+ : config.quality;
55
+ let targetFormat = asset.query.get('as')?.toLowerCase().trim();
56
+ if (targetFormat && !FORMATS.has(targetFormat)) {
57
+ throw new Error(`The image transformer does not support ${targetFormat} images.`);
58
+ }
59
+ const format = (0, nullthrows_1.default)(FORMATS.get(targetFormat || originalFormat));
60
+ const outputOptions = config[format];
61
+ if (width || height || quality || targetFormat || outputOptions) {
62
+ // Sharp must be required from the main thread as well to prevent errors when workers exit
63
+ // See https://sharp.pixelplumbing.com/install#worker-threads and https://github.com/lovell/sharp/issues/2263
64
+ if (workers_1.default.isWorker() && !isSharpLoadedOnMainThread) {
65
+ let api = workers_1.default.getWorkerApi();
66
+ await api.callMaster({
67
+ location: __dirname + '/loadSharp.js',
68
+ args: [
69
+ options.packageManager,
70
+ asset.filePath,
71
+ options.shouldAutoInstall,
72
+ ],
73
+ });
74
+ isSharpLoadedOnMainThread = true;
75
+ }
76
+ let inputBuffer = await asset.getBuffer();
77
+ let sharp = await (0, loadSharp_1.default)(options.packageManager, asset.filePath, options.shouldAutoInstall, true);
78
+ let imagePipeline = sharp(inputBuffer, { animated: true });
79
+ imagePipeline.withMetadata();
80
+ if (width || height) {
81
+ imagePipeline.resize(width, height);
82
+ }
83
+ imagePipeline.rotate();
84
+ const normalizedOutputOptions = outputOptions || {};
85
+ if (format === 'jpeg') {
86
+ normalizedOutputOptions.mozjpeg =
87
+ normalizedOutputOptions.mozjpeg ?? true;
88
+ }
89
+ imagePipeline[format]({
90
+ quality,
91
+ ...normalizedOutputOptions,
92
+ });
93
+ asset.type = format;
94
+ let buffer = await imagePipeline.toBuffer();
95
+ asset.setBuffer(buffer);
96
+ }
97
+ return [asset];
98
+ },
99
+ });
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const SHARP_RANGE = '^0.33.5';
4
+ // This is used to load sharp on the main thread, which prevents errors when worker threads exit
5
+ // See https://sharp.pixelplumbing.com/install#worker-threads and https://github.com/lovell/sharp/issues/2263
6
+ module.exports = async (packageManager, filePath, shouldAutoInstall, shouldReturn) => {
7
+ let sharp = await packageManager.require('sharp', filePath, {
8
+ range: SHARP_RANGE,
9
+ shouldAutoInstall: shouldAutoInstall,
10
+ });
11
+ if (shouldReturn) {
12
+ return sharp;
13
+ }
14
+ };