@atlaspack/packager-js 2.14.5-canary.36 → 2.14.5-canary.361

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,551 @@
1
1
  # @atlaspack/packager-js
2
2
 
3
+ ## 2.24.10
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`fc3adc0`](https://github.com/atlassian-labs/atlaspack/commit/fc3adc098f583e40d6d7687412cac6dde7cbb3f3), [`f33f9c4`](https://github.com/atlassian-labs/atlaspack/commit/f33f9c48dd24b319df352d197e4a83cbb1b053bc), [`e15fb6c`](https://github.com/atlassian-labs/atlaspack/commit/e15fb6c885c6354c6c02283de35ce18abc8c9e18), [`53da216`](https://github.com/atlassian-labs/atlaspack/commit/53da216320e19c9b71b001386eb420d05f111db8)]:
8
+ - @atlaspack/rust@3.19.0
9
+ - @atlaspack/feature-flags@2.27.7
10
+ - @atlaspack/source-map@3.2.4
11
+ - @atlaspack/utils@3.3.1
12
+ - @atlaspack/plugin@2.14.49
13
+ - @atlaspack/types@2.15.39
14
+
15
+ ## 2.24.9
16
+
17
+ ### Patch Changes
18
+
19
+ - [#953](https://github.com/atlassian-labs/atlaspack/pull/953) [`c31090c`](https://github.com/atlassian-labs/atlaspack/commit/c31090c9025f35d3fa8561b42dca170853a32e6f) Thanks [@marcins](https://github.com/marcins)! - Cleanup feature flag precomputeReferencedAssets
20
+
21
+ - [#950](https://github.com/atlassian-labs/atlaspack/pull/950) [`cd7e2c2`](https://github.com/atlassian-labs/atlaspack/commit/cd7e2c2bbaad08f3f045a86691bfd4f9879b0b44) Thanks [@marcins](https://github.com/marcins)! - Improve error message when asset is not found in packaging.
22
+
23
+ - Updated dependencies [[`47aa84e`](https://github.com/atlassian-labs/atlaspack/commit/47aa84e44c61066072a5bf3d57678565b9d2c5a3), [`564fb4f`](https://github.com/atlassian-labs/atlaspack/commit/564fb4fecc2a20bdeb951863a8fac29b618d91b7), [`9df722c`](https://github.com/atlassian-labs/atlaspack/commit/9df722c38b225054883693ba9731344f701767a7), [`c31090c`](https://github.com/atlassian-labs/atlaspack/commit/c31090c9025f35d3fa8561b42dca170853a32e6f), [`565bab3`](https://github.com/atlassian-labs/atlaspack/commit/565bab3771cc334659d873cabff4cdfac0860cc7), [`34b01ec`](https://github.com/atlassian-labs/atlaspack/commit/34b01ec03e2264bd617be000465821e1ed11eae5), [`6e5fec1`](https://github.com/atlassian-labs/atlaspack/commit/6e5fec1406c53257be7e7fbe06c028beda70fcf1), [`e4e5522`](https://github.com/atlassian-labs/atlaspack/commit/e4e55222422d8c73653d3ea09f1a0d13946345b9)]:
24
+ - @atlaspack/utils@3.3.0
25
+ - @atlaspack/rust@3.18.0
26
+ - @atlaspack/feature-flags@2.27.6
27
+ - @atlaspack/source-map@3.2.3
28
+ - @atlaspack/types@2.15.38
29
+ - @atlaspack/plugin@2.14.48
30
+
31
+ ## 2.24.8
32
+
33
+ ### Patch Changes
34
+
35
+ - Updated dependencies [[`7cb8569`](https://github.com/atlassian-labs/atlaspack/commit/7cb85698143e381fcb887173b2bfd15f0aea7918), [`695339e`](https://github.com/atlassian-labs/atlaspack/commit/695339e4fd46df9590013c2ef4de74cb22225927)]:
36
+ - @atlaspack/rust@3.17.0
37
+ - @atlaspack/source-map@3.2.2
38
+ - @atlaspack/utils@3.2.8
39
+ - @atlaspack/types@2.15.37
40
+ - @atlaspack/plugin@2.14.47
41
+
42
+ ## 2.24.7
43
+
44
+ ### Patch Changes
45
+
46
+ - Updated dependencies [[`515149d`](https://github.com/atlassian-labs/atlaspack/commit/515149d0a0767d844af803efdc611646780ad0fe), [`02cc8b3`](https://github.com/atlassian-labs/atlaspack/commit/02cc8b32c06ca6b51806b33f6f707ca06e55e957), [`02cc8b3`](https://github.com/atlassian-labs/atlaspack/commit/02cc8b32c06ca6b51806b33f6f707ca06e55e957)]:
47
+ - @atlaspack/rust@3.16.0
48
+ - @atlaspack/feature-flags@2.27.5
49
+ - @atlaspack/source-map@3.2.1
50
+ - @atlaspack/utils@3.2.7
51
+ - @atlaspack/plugin@2.14.46
52
+ - @atlaspack/types@2.15.36
53
+
54
+ ## 2.24.6
55
+
56
+ ### Patch Changes
57
+
58
+ - Updated dependencies [[`793e78c`](https://github.com/atlassian-labs/atlaspack/commit/793e78c68eed25032e686f70cd77ea3601409b35)]:
59
+ - @atlaspack/feature-flags@2.27.4
60
+ - @atlaspack/utils@3.2.6
61
+ - @atlaspack/plugin@2.14.45
62
+ - @atlaspack/types@2.15.35
63
+
64
+ ## 2.24.5
65
+
66
+ ### Patch Changes
67
+
68
+ - Updated dependencies [[`362a85d`](https://github.com/atlassian-labs/atlaspack/commit/362a85deb9722f769eeb5099bae915f8b858a126), [`c81b368`](https://github.com/atlassian-labs/atlaspack/commit/c81b368db20af701d9e019a11272b138f9cfe080)]:
69
+ - @atlaspack/rust@3.15.0
70
+ - @atlaspack/source-map@3.2.0
71
+ - @atlaspack/utils@3.2.5
72
+ - @atlaspack/plugin@2.14.44
73
+ - @atlaspack/types@2.15.34
74
+
75
+ ## 2.24.4
76
+
77
+ ### Patch Changes
78
+
79
+ - Updated dependencies []:
80
+ - @atlaspack/plugin@2.14.43
81
+ - @atlaspack/types@2.15.33
82
+ - @atlaspack/utils@3.2.4
83
+
84
+ ## 2.24.3
85
+
86
+ ### Patch Changes
87
+
88
+ - Updated dependencies [[`787290a`](https://github.com/atlassian-labs/atlaspack/commit/787290a63b3f781e7af86097201dfdb5a36c8551), [`cbb66a5`](https://github.com/atlassian-labs/atlaspack/commit/cbb66a554f7ad679fd4dfc9e2bf2d5abb859f846), [`7815a93`](https://github.com/atlassian-labs/atlaspack/commit/7815a931b18983c3f34a39990b2f4b8b86855cc6), [`25aa273`](https://github.com/atlassian-labs/atlaspack/commit/25aa2735f4db920960de3d65d3a427775086b7d5), [`9468e16`](https://github.com/atlassian-labs/atlaspack/commit/9468e164e8ca20a5e8f552f5dc203aa3716cb154), [`e55c80c`](https://github.com/atlassian-labs/atlaspack/commit/e55c80cd0ae3cc40356fe063cb7d45fbb9095356)]:
89
+ - @atlaspack/rust@3.14.0
90
+ - @atlaspack/feature-flags@2.27.3
91
+ - @atlaspack/source-map@3.1.3
92
+ - @atlaspack/utils@3.2.3
93
+ - @atlaspack/plugin@2.14.42
94
+ - @atlaspack/types@2.15.32
95
+
96
+ ## 2.24.2
97
+
98
+ ### Patch Changes
99
+
100
+ - Updated dependencies [[`96f1d7f`](https://github.com/atlassian-labs/atlaspack/commit/96f1d7f3efef12ce4f5966e34d00b299fcefb4dd), [`f6fc5e2`](https://github.com/atlassian-labs/atlaspack/commit/f6fc5e2acc30720f9a9676dfbc02bf780066653b), [`91738fd`](https://github.com/atlassian-labs/atlaspack/commit/91738fd77cb6b3b7acc93e799327ec283d27f7c0), [`38f3569`](https://github.com/atlassian-labs/atlaspack/commit/38f3569a7024357c43274666312bc6d024bfe5f9), [`3f6a3b8`](https://github.com/atlassian-labs/atlaspack/commit/3f6a3b8df4589fd4d65c072281c7f33bd37341d6), [`96f1d7f`](https://github.com/atlassian-labs/atlaspack/commit/96f1d7f3efef12ce4f5966e34d00b299fcefb4dd), [`d8024ce`](https://github.com/atlassian-labs/atlaspack/commit/d8024ce5c9ced1a9bc39144c979138be3a12b2fb), [`308e7ff`](https://github.com/atlassian-labs/atlaspack/commit/308e7ff979c05c1ae97fe6b08a65666b53d86cc7), [`d98c992`](https://github.com/atlassian-labs/atlaspack/commit/d98c992a56121a4f9f6a011ced5e103f96fe3999)]:
101
+ - @atlaspack/rust@3.13.0
102
+ - @atlaspack/source-map@3.1.2
103
+ - @atlaspack/feature-flags@2.27.2
104
+ - @atlaspack/utils@3.2.2
105
+ - @atlaspack/plugin@2.14.41
106
+ - @atlaspack/types@2.15.31
107
+
108
+ ## 2.24.1
109
+
110
+ ### Patch Changes
111
+
112
+ - [#881](https://github.com/atlassian-labs/atlaspack/pull/881) [`2f3af93`](https://github.com/atlassian-labs/atlaspack/commit/2f3af9374bcc082e6f4835f6f5a2b98e32ea45b4) Thanks [@marcins](https://github.com/marcins)! - Cleanup feature flag schemaValidationDeferSourceLoading
113
+
114
+ - Updated dependencies [[`a884bd2`](https://github.com/atlassian-labs/atlaspack/commit/a884bd2a6bd6f37d088fb886dd9b88e85328501b), [`25fee72`](https://github.com/atlassian-labs/atlaspack/commit/25fee723d2228d0482ec8a8f1b8379ccd2977ce7), [`6fac01d`](https://github.com/atlassian-labs/atlaspack/commit/6fac01dbb1bfc5b971176c1a1c008297bf4b8f91), [`2f3af93`](https://github.com/atlassian-labs/atlaspack/commit/2f3af9374bcc082e6f4835f6f5a2b98e32ea45b4), [`432d571`](https://github.com/atlassian-labs/atlaspack/commit/432d571ea4e9fc67be12304fcafe8c445e844174), [`042cd95`](https://github.com/atlassian-labs/atlaspack/commit/042cd95a32ad38cd02d57aa3344c36d4e7ab8f9c), [`28f5424`](https://github.com/atlassian-labs/atlaspack/commit/28f5424f7e2080dd4fbbeb1bc5314a530197a23e), [`a884bd2`](https://github.com/atlassian-labs/atlaspack/commit/a884bd2a6bd6f37d088fb886dd9b88e85328501b), [`5710532`](https://github.com/atlassian-labs/atlaspack/commit/57105322b26ce42af2cbfcc0506cff929e50b630), [`44eb8c3`](https://github.com/atlassian-labs/atlaspack/commit/44eb8c388d3e63f1ef5d835aee7aee5d1bb0620f)]:
115
+ - @atlaspack/rust@3.12.0
116
+ - @atlaspack/feature-flags@2.27.1
117
+ - @atlaspack/source-map@3.1.1
118
+ - @atlaspack/utils@3.2.1
119
+ - @atlaspack/plugin@2.14.40
120
+ - @atlaspack/types@2.15.30
121
+
122
+ ## 2.24.0
123
+
124
+ ### Minor Changes
125
+
126
+ - [#858](https://github.com/atlassian-labs/atlaspack/pull/858) [`8eb84ee`](https://github.com/atlassian-labs/atlaspack/commit/8eb84ee61a42bfe87c58079b610802b07a6a13e4) Thanks [@marcins](https://github.com/marcins)! - Introduce a new `getReferencedAssets(bundle)` method to the BundleGraph to pre-compute referenced assets, this is used by the scope hoisting packager behind a new `precomputeReferencedAssets` feature flag.
127
+
128
+ - [#789](https://github.com/atlassian-labs/atlaspack/pull/789) [`73168c2`](https://github.com/atlassian-labs/atlaspack/commit/73168c275a5d9abff9907bcf536b340bca1ed5f0) Thanks [@marcins](https://github.com/marcins)! - Use an in-sourced version of @parcel/source-map, as @atlaspack/source-map
129
+
130
+ ### Patch Changes
131
+
132
+ - Updated dependencies [[`7dd5bd8`](https://github.com/atlassian-labs/atlaspack/commit/7dd5bd89ff60c7b324347d772729eb4c3314f01e), [`c8a0e51`](https://github.com/atlassian-labs/atlaspack/commit/c8a0e51b1096d038a64644ad02fe68383f58682a), [`8eb84ee`](https://github.com/atlassian-labs/atlaspack/commit/8eb84ee61a42bfe87c58079b610802b07a6a13e4), [`71900f3`](https://github.com/atlassian-labs/atlaspack/commit/71900f3508d53c3882ca8ea71501ba3069687d4e), [`73168c2`](https://github.com/atlassian-labs/atlaspack/commit/73168c275a5d9abff9907bcf536b340bca1ed5f0), [`617a318`](https://github.com/atlassian-labs/atlaspack/commit/617a318ddc9419b38360257353fec50b9051ee13), [`2c4953e`](https://github.com/atlassian-labs/atlaspack/commit/2c4953e20dc1a6b012792081667aefeb9340505e), [`3fe7d4e`](https://github.com/atlassian-labs/atlaspack/commit/3fe7d4e821bee162fcbbaf9278b107a5eead944f)]:
133
+ - @atlaspack/rust@3.11.0
134
+ - @atlaspack/feature-flags@2.27.0
135
+ - @atlaspack/source-map@3.1.0
136
+ - @atlaspack/utils@3.2.0
137
+ - @atlaspack/plugin@2.14.39
138
+ - @atlaspack/types@2.15.29
139
+
140
+ ## 2.23.8
141
+
142
+ ### Patch Changes
143
+
144
+ - [#882](https://github.com/atlassian-labs/atlaspack/pull/882) [`13d23e8`](https://github.com/atlassian-labs/atlaspack/commit/13d23e8a23091f92eb1b8dd7c9a452fe33cf1aac) Thanks [@mattcompiles](https://github.com/mattcompiles)! - Fix an issue where in rare cases, scope hoisting could cause 'Cannot find module'
145
+
146
+ - Updated dependencies [[`ec3abe4`](https://github.com/atlassian-labs/atlaspack/commit/ec3abe4dffc98560a850fd2f71fb566577e6c99c), [`c7fe3f7`](https://github.com/atlassian-labs/atlaspack/commit/c7fe3f76f247e9e20299e205e2df0a16c418eaf2), [`cfb4707`](https://github.com/atlassian-labs/atlaspack/commit/cfb4707087498e4fa4dcf10753fe984a248d196b), [`1468695`](https://github.com/atlassian-labs/atlaspack/commit/1468695fc0c9d06f060a6da9e9b0e154f11dff34), [`f31b041`](https://github.com/atlassian-labs/atlaspack/commit/f31b04107e9077c9946aadb99f6f91bb69703bb7), [`8180981`](https://github.com/atlassian-labs/atlaspack/commit/8180981be14c00f9570adb70d3f350bd91d6ec0a), [`ae77e74`](https://github.com/atlassian-labs/atlaspack/commit/ae77e7452a466b43b3fa5bed24d4ba26345ed765), [`f0a496f`](https://github.com/atlassian-labs/atlaspack/commit/f0a496f70fc8652e090cf1b3f6260e8cfbb796e2), [`7d7a55d`](https://github.com/atlassian-labs/atlaspack/commit/7d7a55dd6395ec391a2e4c33b3dec0d1ea477d4c), [`540f253`](https://github.com/atlassian-labs/atlaspack/commit/540f253dfdcd1a5caebbdc0b197319d439404aae)]:
147
+ - @atlaspack/feature-flags@2.26.2
148
+ - @atlaspack/rust@3.10.0
149
+ - @atlaspack/utils@3.1.2
150
+ - @atlaspack/plugin@2.14.38
151
+ - @atlaspack/types@2.15.28
152
+
153
+ ## 2.23.7
154
+
155
+ ### Patch Changes
156
+
157
+ - Updated dependencies [[`339b600`](https://github.com/atlassian-labs/atlaspack/commit/339b60095d755742cea50f811d08ccc44a4ae521), [`373ee2d`](https://github.com/atlassian-labs/atlaspack/commit/373ee2d3b5cc315df1e90e647619f915892e2b87)]:
158
+ - @atlaspack/rust@3.9.1
159
+ - @atlaspack/feature-flags@2.26.1
160
+ - @atlaspack/utils@3.1.1
161
+ - @atlaspack/plugin@2.14.37
162
+ - @atlaspack/types@2.15.27
163
+
164
+ ## 2.23.6
165
+
166
+ ### Patch Changes
167
+
168
+ - [#852](https://github.com/atlassian-labs/atlaspack/pull/852) [`5776be2`](https://github.com/atlassian-labs/atlaspack/commit/5776be21f70a3f2b9471ba33da3ba1a883f21f1a) Thanks [@marcins](https://github.com/marcins)! - Support passing a function for source property in schema validation to allow for deferred reads of files
169
+
170
+ - Updated dependencies [[`02f6aa1`](https://github.com/atlassian-labs/atlaspack/commit/02f6aa1906953fc184d2b49c905c2ef815cb878d), [`58527ee`](https://github.com/atlassian-labs/atlaspack/commit/58527eec15c1aebaaadbeb63586f3082c16beae3), [`525898e`](https://github.com/atlassian-labs/atlaspack/commit/525898e33cc229a4bc938ae853732be36d20c01a), [`cfb39a0`](https://github.com/atlassian-labs/atlaspack/commit/cfb39a0d729eb620cf2ca1611750a2bf7a080d08), [`d0c7bea`](https://github.com/atlassian-labs/atlaspack/commit/d0c7bea04458255b4c5d4299600e734b5f919fe1), [`1086c6a`](https://github.com/atlassian-labs/atlaspack/commit/1086c6a2c59271b63b3fb78e6acdb9d3a0dbf354), [`9cd9521`](https://github.com/atlassian-labs/atlaspack/commit/9cd9521978f783046e2ae4ce78f2de7aeb07d073), [`5776be2`](https://github.com/atlassian-labs/atlaspack/commit/5776be21f70a3f2b9471ba33da3ba1a883f21f1a)]:
171
+ - @atlaspack/rust@3.9.0
172
+ - @atlaspack/feature-flags@2.26.0
173
+ - @atlaspack/utils@3.1.0
174
+ - @atlaspack/plugin@2.14.36
175
+ - @atlaspack/types@2.15.26
176
+
177
+ ## 2.23.5
178
+
179
+ ### Patch Changes
180
+
181
+ - [#810](https://github.com/atlassian-labs/atlaspack/pull/810) [`c372f3f`](https://github.com/atlassian-labs/atlaspack/commit/c372f3fd6fce8200d5cf47f41bc7895c6cbb5558) Thanks [@benjervis](https://github.com/benjervis)! - Add the `scope-hosting-stats` debug tool to report on the percentage of assets that were able to be scope hoisted during the build.
182
+
183
+ - Updated dependencies [[`79a7e22`](https://github.com/atlassian-labs/atlaspack/commit/79a7e22ef119891a2f4180a9d3cc66b38dd52092), [`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), [`f1070ec`](https://github.com/atlassian-labs/atlaspack/commit/f1070ec48e99b4ec111a03179c5ab5b74163fab1), [`27fd73f`](https://github.com/atlassian-labs/atlaspack/commit/27fd73fa07d358653f1be6f2d15d72dc5d8fc2fd), [`3091fa3`](https://github.com/atlassian-labs/atlaspack/commit/3091fa36425ecffe3938e55247a035b08cda37a2)]:
184
+ - @atlaspack/feature-flags@2.25.5
185
+ - @atlaspack/rust@3.8.3
186
+ - @atlaspack/utils@3.0.3
187
+ - @atlaspack/plugin@2.14.35
188
+ - @atlaspack/types@2.15.25
189
+
190
+ ## 2.23.4
191
+
192
+ ### Patch Changes
193
+
194
+ - [#814](https://github.com/atlassian-labs/atlaspack/pull/814) [`4fe7211`](https://github.com/atlassian-labs/atlaspack/commit/4fe7211301085c3e118d69a192e190e5ac343b42) Thanks [@JakeLane](https://github.com/JakeLane)! - Experimental config option to manually specify static export bindings as a performance optimisation. Requires the "exportsRebindingOptimisation" flag to be enabled.
195
+
196
+ - Updated dependencies [[`662d3c6`](https://github.com/atlassian-labs/atlaspack/commit/662d3c627888b16bf27df15cfac5a9094509e93d)]:
197
+ - @atlaspack/feature-flags@2.25.4
198
+ - @atlaspack/types@2.15.24
199
+ - @atlaspack/utils@3.0.2
200
+ - @atlaspack/plugin@2.14.34
201
+
202
+ ## 2.23.3
203
+
204
+ ### Patch Changes
205
+
206
+ - Updated dependencies [[`236e546`](https://github.com/atlassian-labs/atlaspack/commit/236e5465863dca6044a7191e05260a5b924c342e), [`f07351a`](https://github.com/atlassian-labs/atlaspack/commit/f07351a2398b6a8e5155a2daad77e69b7dcb2b4b)]:
207
+ - @atlaspack/utils@3.0.1
208
+ - @atlaspack/feature-flags@2.25.3
209
+ - @atlaspack/types@2.15.23
210
+ - @atlaspack/plugin@2.14.33
211
+
212
+ ## 2.23.2
213
+
214
+ ### Patch Changes
215
+
216
+ - [#796](https://github.com/atlassian-labs/atlaspack/pull/796) [`0e967b0`](https://github.com/atlassian-labs/atlaspack/commit/0e967b0cf0fbd885588b81476ec1f25a507ffa94) Thanks [@benjervis](https://github.com/benjervis)! - Minor refactor of the internals of the scope hoisting packager. Some of the internal objects are now keyed on Assets rather than string asset IDs.
217
+
218
+ - [#801](https://github.com/atlassian-labs/atlaspack/pull/801) [`b104fd8`](https://github.com/atlassian-labs/atlaspack/commit/b104fd846ea17c583e68ddc6b309c5e1edee6938) Thanks [@mattcompiles](https://github.com/mattcompiles)! - Fix incorrect output with skipped assets with scope hoisting improvements
219
+
220
+ - Updated dependencies [[`0207171`](https://github.com/atlassian-labs/atlaspack/commit/0207171e59e985c51e105aec2e0a99de174374bd), [`10ee3fa`](https://github.com/atlassian-labs/atlaspack/commit/10ee3fa5b75a92acde8973673d9b3c5b6f3958e5), [`bbe4e28`](https://github.com/atlassian-labs/atlaspack/commit/bbe4e28c89e5e9284bd730075d4d6f2a3cb37b21), [`1180103`](https://github.com/atlassian-labs/atlaspack/commit/118010351ed444f8178988afb3f77807154dd933), [`2bc93b1`](https://github.com/atlassian-labs/atlaspack/commit/2bc93b17cea07fd7cbb68acec84d8471345a22b4)]:
221
+ - @atlaspack/feature-flags@2.25.2
222
+ - @atlaspack/rust@3.8.2
223
+ - @atlaspack/utils@3.0.0
224
+ - @atlaspack/plugin@2.14.32
225
+ - @atlaspack/types@2.15.22
226
+
227
+ ## 2.23.1
228
+
229
+ ### Patch Changes
230
+
231
+ - [#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.
232
+
233
+ - Updated dependencies [[`0e7dd5e`](https://github.com/atlassian-labs/atlaspack/commit/0e7dd5ec6fbe05aa9e0bb5775a9d0975f206a922), [`686a398`](https://github.com/atlassian-labs/atlaspack/commit/686a398faa1f9e19cbf9274add2c46e246bafba8)]:
234
+ - @atlaspack/diagnostic@2.14.4
235
+ - @atlaspack/feature-flags@2.25.1
236
+ - @atlaspack/plugin@2.14.31
237
+ - @atlaspack/rust@3.8.1
238
+ - @atlaspack/types@2.15.21
239
+ - @atlaspack/utils@2.19.3
240
+
241
+ ## 2.23.0
242
+
243
+ ### Minor Changes
244
+
245
+ - [#774](https://github.com/atlassian-labs/atlaspack/pull/774) [`602f8ed`](https://github.com/atlassian-labs/atlaspack/commit/602f8ed9d8381301df8b2cc82c1d5cf6f2f94fec) Thanks [@JakeLane](https://github.com/JakeLane)! - Add feature flag exportsRebindingOptimisation which detects cases where we don't need the rebinding helper for esm exports
246
+
247
+ ### Patch Changes
248
+
249
+ - [#780](https://github.com/atlassian-labs/atlaspack/pull/780) [`eedcbc4`](https://github.com/atlassian-labs/atlaspack/commit/eedcbc408fc1e86a2a8e25f1a41c57146d8529e1) Thanks [@JakeLane](https://github.com/JakeLane)! - Fix isStaticBindingSafe in v3
250
+
251
+ - Updated dependencies [[`7a52bab`](https://github.com/atlassian-labs/atlaspack/commit/7a52bab6281e8edbfa66af248eb6f872c6b4b7bd), [`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), [`0684997`](https://github.com/atlassian-labs/atlaspack/commit/0684997c127a6204af1376b36e556fddd1ba5557), [`602f8ed`](https://github.com/atlassian-labs/atlaspack/commit/602f8ed9d8381301df8b2cc82c1d5cf6f2f94fec)]:
252
+ - @atlaspack/feature-flags@2.25.0
253
+ - @atlaspack/rust@3.8.0
254
+ - @atlaspack/utils@2.19.2
255
+ - @atlaspack/plugin@2.14.30
256
+ - @atlaspack/types@2.15.20
257
+
258
+ ## 2.22.2
259
+
260
+ ### Patch Changes
261
+
262
+ - [#768](https://github.com/atlassian-labs/atlaspack/pull/768) [`58b9fb0`](https://github.com/atlassian-labs/atlaspack/commit/58b9fb037680a36a0b4af7890f2a03532095b88f) Thanks [@benjervis](https://github.com/benjervis)! - Fixes a small error in the scope hoisting V2 fixes that caused assets to be wrapped unnecessarily
263
+
264
+ ## 2.22.1
265
+
266
+ ### Patch Changes
267
+
268
+ - [#763](https://github.com/atlassian-labs/atlaspack/pull/763) [`830261d`](https://github.com/atlassian-labs/atlaspack/commit/830261dcf4a40293090b61cab52fd75d5683c73f) Thanks [@benjervis](https://github.com/benjervis)! - Fixes scope hoisting by iterating from the main entry asset of a bundle when packaging. Behind the feature flag `applyScopeHoistingImprovementsV2`.
269
+
270
+ - Updated dependencies [[`830261d`](https://github.com/atlassian-labs/atlaspack/commit/830261dcf4a40293090b61cab52fd75d5683c73f), [`53dd47b`](https://github.com/atlassian-labs/atlaspack/commit/53dd47bd6d23cd47f87297347f03a609ab38a03d)]:
271
+ - @atlaspack/feature-flags@2.24.1
272
+ - @atlaspack/rust@3.7.0
273
+ - @atlaspack/utils@2.19.1
274
+ - @atlaspack/plugin@2.14.29
275
+ - @atlaspack/types@2.15.19
276
+
277
+ ## 2.22.0
278
+
279
+ ### Minor Changes
280
+
281
+ - [#762](https://github.com/atlassian-labs/atlaspack/pull/762) [`a5081c3`](https://github.com/atlassian-labs/atlaspack/commit/a5081c3f9207d28716ee4edd3841de1830ea4b80) Thanks [@JakeLane](https://github.com/JakeLane)! - Add feature flag 'useNewPrelude' which enables a micro-optimisation removing a 'for in' call and replacing with undefined check
282
+
283
+ ### Patch Changes
284
+
285
+ - Updated dependencies [[`f0349a6`](https://github.com/atlassian-labs/atlaspack/commit/f0349a6b9b04755088f121095ca6301a2ada3767), [`a5081c3`](https://github.com/atlassian-labs/atlaspack/commit/a5081c3f9207d28716ee4edd3841de1830ea4b80), [`f930003`](https://github.com/atlassian-labs/atlaspack/commit/f930003364fdc31e5487520ebe256f1a9389f579), [`f930003`](https://github.com/atlassian-labs/atlaspack/commit/f930003364fdc31e5487520ebe256f1a9389f579), [`8843980`](https://github.com/atlassian-labs/atlaspack/commit/88439807be20025fd3433380204ff1205079729e)]:
286
+ - @atlaspack/feature-flags@2.24.0
287
+ - @atlaspack/utils@2.19.0
288
+ - @atlaspack/plugin@2.14.28
289
+ - @atlaspack/types@2.15.18
290
+
291
+ ## 2.21.3
292
+
293
+ ### Patch Changes
294
+
295
+ - Updated dependencies [[`3cfb7cf`](https://github.com/atlassian-labs/atlaspack/commit/3cfb7cfd90b78a5c48ce717e779ff789769825a3)]:
296
+ - @atlaspack/feature-flags@2.23.2
297
+ - @atlaspack/rust@3.6.2
298
+ - @atlaspack/utils@2.18.4
299
+ - @atlaspack/plugin@2.14.27
300
+ - @atlaspack/types@2.15.17
301
+
302
+ ## 2.21.2
303
+
304
+ ### Patch Changes
305
+
306
+ - [#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
307
+
308
+ - [#755](https://github.com/atlassian-labs/atlaspack/pull/755) [`b6e72b6`](https://github.com/atlassian-labs/atlaspack/commit/b6e72b6dd2b517cbb0e700fa69e63332d3eacb1e) Thanks [@benjervis](https://github.com/benjervis)! - Allow runtime assets to be marked as requiring execution on load
309
+
310
+ - Updated dependencies [[`ee040bb`](https://github.com/atlassian-labs/atlaspack/commit/ee040bb6428f29b57d892ddd8107e29077d08ffd), [`889c65c`](https://github.com/atlassian-labs/atlaspack/commit/889c65cd25b811045e26a117e7404f694dde77a2)]:
311
+ - @atlaspack/feature-flags@2.23.1
312
+ - @atlaspack/diagnostic@2.14.3
313
+ - @atlaspack/plugin@2.14.26
314
+ - @atlaspack/types@2.15.16
315
+ - @atlaspack/utils@2.18.3
316
+ - @atlaspack/rust@3.6.1
317
+
318
+ ## 2.21.1
319
+
320
+ ### Patch Changes
321
+
322
+ - Updated dependencies [[`f6b3f22`](https://github.com/atlassian-labs/atlaspack/commit/f6b3f2276c7e417580b49c4879563aab51f156b1)]:
323
+ - @atlaspack/feature-flags@2.23.0
324
+ - @atlaspack/utils@2.18.2
325
+ - @atlaspack/plugin@2.14.25
326
+ - @atlaspack/types@2.15.15
327
+
328
+ ## 2.21.0
329
+
330
+ ### Minor Changes
331
+
332
+ - [#732](https://github.com/atlassian-labs/atlaspack/pull/732) [`7f5841c`](https://github.com/atlassian-labs/atlaspack/commit/7f5841c39df049f9546cccbeea2a7337e0337b45) Thanks [@vykimnguyen](https://github.com/vykimnguyen)! - add tesseract context
333
+
334
+ ### Patch Changes
335
+
336
+ - [#744](https://github.com/atlassian-labs/atlaspack/pull/744) [`3718bff`](https://github.com/atlassian-labs/atlaspack/commit/3718bff20484138e405e321472336ac058432e10) Thanks [@benjervis](https://github.com/benjervis)! - Fix the scope hoisting improvements feature by making all entry assets of a bundle
337
+ wrapped, which means there is no top level scope.
338
+ - Updated dependencies [[`ad26146`](https://github.com/atlassian-labs/atlaspack/commit/ad26146f13b4c1cc65d4a0f9c67060b90ef14ff3), [`f1b48e7`](https://github.com/atlassian-labs/atlaspack/commit/f1b48e7a04e005cef0f36a3e692087a9ecdb6f7a), [`7f5841c`](https://github.com/atlassian-labs/atlaspack/commit/7f5841c39df049f9546cccbeea2a7337e0337b45), [`73dd7ba`](https://github.com/atlassian-labs/atlaspack/commit/73dd7baab69456ef2f6e4a0cc7dbb04f407eb148)]:
339
+ - @atlaspack/rust@3.6.0
340
+ - @atlaspack/feature-flags@2.22.0
341
+ - @atlaspack/utils@2.18.1
342
+ - @atlaspack/plugin@2.14.24
343
+ - @atlaspack/types@2.15.14
344
+
345
+ ## 2.20.0
346
+
347
+ ### Minor Changes
348
+
349
+ - [#731](https://github.com/atlassian-labs/atlaspack/pull/731) [`23d561e`](https://github.com/atlassian-labs/atlaspack/commit/23d561e51e68b0c38fd1ff4e4fb173e5e7b01cf2) Thanks [@marcins](https://github.com/marcins)! - Implement "inline isolated" scripts
350
+
351
+ ### Patch Changes
352
+
353
+ - Updated dependencies [[`23d561e`](https://github.com/atlassian-labs/atlaspack/commit/23d561e51e68b0c38fd1ff4e4fb173e5e7b01cf2)]:
354
+ - @atlaspack/feature-flags@2.21.0
355
+ - @atlaspack/utils@2.18.0
356
+ - @atlaspack/rust@3.5.0
357
+ - @atlaspack/types@2.15.13
358
+ - @atlaspack/plugin@2.14.23
359
+
360
+ ## 2.19.1
361
+
362
+ ### Patch Changes
363
+
364
+ - [#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
365
+
366
+ - Updated dependencies [[`d2fd849`](https://github.com/atlassian-labs/atlaspack/commit/d2fd849770fe6305e9c694bd97b1bd905abd9d94), [`12bee0e`](https://github.com/atlassian-labs/atlaspack/commit/12bee0e23f0464d7f6bd3e24fbe0d19c126d587d)]:
367
+ - @atlaspack/feature-flags@2.20.1
368
+ - @atlaspack/diagnostic@2.14.2
369
+ - @atlaspack/plugin@2.14.22
370
+ - @atlaspack/types@2.15.12
371
+ - @atlaspack/utils@2.17.4
372
+ - @atlaspack/rust@3.4.2
373
+
374
+ ## 2.19.0
375
+
376
+ ### Minor Changes
377
+
378
+ - [#721](https://github.com/atlassian-labs/atlaspack/pull/721) [`069de47`](https://github.com/atlassian-labs/atlaspack/commit/069de478e64fb5889f6f2ce023eb510782767fbd) Thanks [@benjervis](https://github.com/benjervis)! - Add support for bundle merging based on `webpackChunkName` comments.
379
+
380
+ Adding a `webpackChunkName` comment to an import will allow the bundler to merge multiple imports into a single bundle.
381
+
382
+ e.g.:
383
+
384
+ ```ts
385
+ import(/* webpackChunkName: "my-chunk" */ './my-module');
386
+ import(/* webpackChunkName: "my-chunk" */ './another-module');
387
+ ```
388
+
389
+ This can be enabled with the feature flag `supportWebpackChunkName`.
390
+
391
+ ### Patch Changes
392
+
393
+ - Updated dependencies [[`069de47`](https://github.com/atlassian-labs/atlaspack/commit/069de478e64fb5889f6f2ce023eb510782767fbd)]:
394
+ - @atlaspack/feature-flags@2.20.0
395
+ - @atlaspack/types@2.15.11
396
+ - @atlaspack/utils@2.17.3
397
+ - @atlaspack/plugin@2.14.21
398
+
399
+ ## 2.18.2
400
+
401
+ ### Patch Changes
402
+
403
+ - [#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
404
+
405
+ - Updated dependencies [[`daaa768`](https://github.com/atlassian-labs/atlaspack/commit/daaa7688786772d7e3713b71c5bba6b89ec704aa), [`1c7865a`](https://github.com/atlassian-labs/atlaspack/commit/1c7865a64451116d94015e248302435839d347c0), [`a0b959f`](https://github.com/atlassian-labs/atlaspack/commit/a0b959fbf61fc3f820ff03c7e8988945fe40a91a)]:
406
+ - @atlaspack/plugin@2.14.20
407
+ - @atlaspack/feature-flags@2.19.2
408
+ - @atlaspack/utils@2.17.2
409
+ - @atlaspack/types@2.15.10
410
+
411
+ ## 2.18.1
412
+
413
+ ### Patch Changes
414
+
415
+ - Updated dependencies [[`13aef17`](https://github.com/atlassian-labs/atlaspack/commit/13aef177eea289a6e40d2113b5ec1ac9be18a33d)]:
416
+ - @atlaspack/feature-flags@2.19.1
417
+ - @atlaspack/utils@2.17.1
418
+ - @atlaspack/types@2.15.9
419
+ - @atlaspack/plugin@2.14.19
420
+
421
+ ## 2.18.0
422
+
423
+ ### Minor Changes
424
+
425
+ - [#640](https://github.com/atlassian-labs/atlaspack/pull/640) [`dbb4072`](https://github.com/atlassian-labs/atlaspack/commit/dbb40721ebeb45990a14ba04e6b44e7f836fb32d) Thanks [@JakeLane](https://github.com/JakeLane)! - Clean up conditional bundling feature flags
426
+
427
+ ### Patch Changes
428
+
429
+ - Updated dependencies [[`dbb4072`](https://github.com/atlassian-labs/atlaspack/commit/dbb40721ebeb45990a14ba04e6b44e7f836fb32d), [`becf977`](https://github.com/atlassian-labs/atlaspack/commit/becf977f625d5ee46dae3d4c679f173bf5f40cc0), [`becf977`](https://github.com/atlassian-labs/atlaspack/commit/becf977f625d5ee46dae3d4c679f173bf5f40cc0), [`c4415a4`](https://github.com/atlassian-labs/atlaspack/commit/c4415a455543d984ca28452c2cb87a794d22497c), [`f0f7c71`](https://github.com/atlassian-labs/atlaspack/commit/f0f7c7168a1d3d18c6f30d2daed611275692b7c5), [`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)]:
430
+ - @atlaspack/feature-flags@2.19.0
431
+ - @atlaspack/utils@2.17.0
432
+ - @atlaspack/rust@3.4.1
433
+ - @atlaspack/types@2.15.8
434
+ - @atlaspack/plugin@2.14.18
435
+
436
+ ## 2.17.1
437
+
438
+ ### Patch Changes
439
+
440
+ - Updated dependencies [[`c75bf55`](https://github.com/atlassian-labs/atlaspack/commit/c75bf553fff4decc285b5fd499a275853b18f8f2)]:
441
+ - @atlaspack/rust@3.4.0
442
+ - @atlaspack/utils@2.16.1
443
+ - @atlaspack/types@2.15.7
444
+ - @atlaspack/plugin@2.14.17
445
+
446
+ ## 2.17.0
447
+
448
+ ### Minor Changes
449
+
450
+ - [#659](https://github.com/atlassian-labs/atlaspack/pull/659) [`30ee2cf`](https://github.com/atlassian-labs/atlaspack/commit/30ee2cfcd34cf2646ded0eda13fdb80a2a5de529) Thanks [@benjervis](https://github.com/benjervis)! - Add the `asset-file-names-in-output` debug tool, which adds a comment to each asset inserted into a bundle that help identify it
451
+
452
+ ### Patch Changes
453
+
454
+ - Updated dependencies [[`e8a60ff`](https://github.com/atlassian-labs/atlaspack/commit/e8a60ffbea41caef265786bbf73349771760081c), [`30ee2cf`](https://github.com/atlassian-labs/atlaspack/commit/30ee2cfcd34cf2646ded0eda13fdb80a2a5de529)]:
455
+ - @atlaspack/feature-flags@2.18.4
456
+ - @atlaspack/utils@2.16.0
457
+ - @atlaspack/types@2.15.6
458
+ - @atlaspack/plugin@2.14.16
459
+
460
+ ## 2.16.2
461
+
462
+ ### Patch Changes
463
+
464
+ - [#654](https://github.com/atlassian-labs/atlaspack/pull/654) [`4d7abde`](https://github.com/atlassian-labs/atlaspack/commit/4d7abde0a6faa148bcf330b08d820f171f853b76) Thanks [@marcins](https://github.com/marcins)! - Fixes constant inlining to work correctly with scope hoisting optimisations
465
+
466
+ - Updated dependencies [[`5ded263`](https://github.com/atlassian-labs/atlaspack/commit/5ded263c7f11b866e8885b81c73e20dd060b25be)]:
467
+ - @atlaspack/feature-flags@2.18.3
468
+ - @atlaspack/utils@2.15.3
469
+ - @atlaspack/types@2.15.5
470
+ - @atlaspack/plugin@2.14.15
471
+
472
+ ## 2.16.1
473
+
474
+ ### Patch Changes
475
+
476
+ - Updated dependencies [[`644b157`](https://github.com/atlassian-labs/atlaspack/commit/644b157dee72a871acc2d0facf0b87b8eea51956)]:
477
+ - @atlaspack/feature-flags@2.18.2
478
+ - @atlaspack/utils@2.15.2
479
+ - @atlaspack/types@2.15.4
480
+ - @atlaspack/plugin@2.14.14
481
+
482
+ ## 2.16.0
483
+
484
+ ### Minor Changes
485
+
486
+ - [#644](https://github.com/atlassian-labs/atlaspack/pull/644) [`fc59be7`](https://github.com/atlassian-labs/atlaspack/commit/fc59be71f43dd87d3e6fb7f3f50c424d2b664858) Thanks [@marcins](https://github.com/marcins)! - Removes the unused unstable `forceSkipWrapAssets` feature
487
+
488
+ ### Patch Changes
489
+
490
+ - [#633](https://github.com/atlassian-labs/atlaspack/pull/633) [`26aa9c5`](https://github.com/atlassian-labs/atlaspack/commit/26aa9c599d2be45ce1438a74c5fa22f39b9b554b) Thanks [@sbhuiyan-atlassian](https://github.com/sbhuiyan-atlassian)! - Ported various HMR changes from Parcel
491
+
492
+ - Updated dependencies [[`26aa9c5`](https://github.com/atlassian-labs/atlaspack/commit/26aa9c599d2be45ce1438a74c5fa22f39b9b554b), [`0501255`](https://github.com/atlassian-labs/atlaspack/commit/05012550da35b05ce7d356a8cc29311e7f9afdca)]:
493
+ - @atlaspack/feature-flags@2.18.1
494
+ - @atlaspack/types@2.15.3
495
+ - @atlaspack/utils@2.15.1
496
+ - @atlaspack/plugin@2.14.13
497
+
498
+ ## 2.15.0
499
+
500
+ ### Minor Changes
501
+
502
+ - [#627](https://github.com/atlassian-labs/atlaspack/pull/627) [`85c52d3`](https://github.com/atlassian-labs/atlaspack/commit/85c52d3f7717b3c84a118d18ab98cfbfd71dcbd2) Thanks [@benjervis](https://github.com/benjervis)! - Expands the situations where scope hoisting may be applied to include assets with no dependencies, regardless of whether if they have a wrapped ancestor.
503
+
504
+ Can be enabled with the `applyScopeHoistingImprovement` feature flag.
505
+
506
+ ### Patch Changes
507
+
508
+ - [#632](https://github.com/atlassian-labs/atlaspack/pull/632) [`10fbcfb`](https://github.com/atlassian-labs/atlaspack/commit/10fbcfbfa49c7a83da5d7c40983e36e87f524a75) Thanks [@marcins](https://github.com/marcins)! - Added a new feature flag `inlineConstOptimisationFix` which when enabled changes the behaviour for output of constant modules. This fixes two issues with constant modules:
509
+ - Previously constant modules, if they needed a namespace anywhere, would have a namespace everywhere, with this change they only have a namespace in the bundles where needed.
510
+ - Previously in the case of wrapped assets, a constant module dependnecy of that wrapped asset would be rendered after the module - which meant the minifier would not be able to inline the constants safely. With this flag all constant modules are rendered at the top of the bundle.
511
+
512
+ - Updated dependencies [[`10fbcfb`](https://github.com/atlassian-labs/atlaspack/commit/10fbcfbfa49c7a83da5d7c40983e36e87f524a75), [`85c52d3`](https://github.com/atlassian-labs/atlaspack/commit/85c52d3f7717b3c84a118d18ab98cfbfd71dcbd2), [`e39c6cf`](https://github.com/atlassian-labs/atlaspack/commit/e39c6cf05f7e95ce5420dbcea66f401b1cbd397c)]:
513
+ - @atlaspack/feature-flags@2.18.0
514
+ - @atlaspack/utils@2.15.0
515
+ - @atlaspack/types@2.15.2
516
+ - @atlaspack/plugin@2.14.12
517
+
518
+ ## 2.14.11
519
+
520
+ ### Patch Changes
521
+
522
+ - Updated dependencies [[`73ea3c4`](https://github.com/atlassian-labs/atlaspack/commit/73ea3c4d85d4401fdd15abcbf988237e890e7ad3), [`b1b3693`](https://github.com/atlassian-labs/atlaspack/commit/b1b369317c66f8a431c170df2ebba4fa5b2e38ef)]:
523
+ - @atlaspack/feature-flags@2.17.0
524
+ - @atlaspack/utils@2.14.11
525
+ - @atlaspack/types@2.15.1
526
+ - @atlaspack/plugin@2.14.11
527
+
528
+ ## 2.14.10
529
+
530
+ ### Patch Changes
531
+
532
+ - Updated dependencies [[`51aba5f`](https://github.com/atlassian-labs/atlaspack/commit/51aba5fc0e49235ee06bbc3c376f48c3e7da5c4b), [`1e32d4e`](https://github.com/atlassian-labs/atlaspack/commit/1e32d4eae6b3af3968e8a0ef97d35b4347fd4196), [`35fdd4b`](https://github.com/atlassian-labs/atlaspack/commit/35fdd4b52da0af20f74667f7b8adfb2f90279b7c), [`6dd4ccb`](https://github.com/atlassian-labs/atlaspack/commit/6dd4ccb753541de32322d881f973d571dd57e4ca)]:
533
+ - @atlaspack/types@2.15.0
534
+ - @atlaspack/rust@3.3.5
535
+ - @atlaspack/plugin@2.14.10
536
+ - @atlaspack/utils@2.14.10
537
+
538
+ ## 2.14.9
539
+
540
+ ### Patch Changes
541
+
542
+ - Updated dependencies [[`124b7ff`](https://github.com/atlassian-labs/atlaspack/commit/124b7fff44f71aac9fbad289a9a9509b3dfc9aaa), [`e052521`](https://github.com/atlassian-labs/atlaspack/commit/e0525210850ed1606146eb86991049cf567c5dec), [`15c6d70`](https://github.com/atlassian-labs/atlaspack/commit/15c6d7000bd89da876bc590aa75b17a619a41896), [`e4d966c`](https://github.com/atlassian-labs/atlaspack/commit/e4d966c3c9c4292c5013372ae65b10d19d4bacc6), [`209692f`](https://github.com/atlassian-labs/atlaspack/commit/209692ffb11eae103a0d65c5e1118a5aa1625818), [`42a775d`](https://github.com/atlassian-labs/atlaspack/commit/42a775de8eec638ad188f3271964170d8c04d84b), [`29c2f10`](https://github.com/atlassian-labs/atlaspack/commit/29c2f106de9679adfb5afa04e1910471dc65a427), [`f4da1e1`](https://github.com/atlassian-labs/atlaspack/commit/f4da1e120e73eeb5e8b8927f05e88f04d6148c7b), [`1ef91fc`](https://github.com/atlassian-labs/atlaspack/commit/1ef91fcc863fdd2831511937083dbbc1263b3d9d)]:
543
+ - @atlaspack/rust@3.3.4
544
+ - @atlaspack/feature-flags@2.16.0
545
+ - @atlaspack/utils@2.14.9
546
+ - @atlaspack/types@2.14.9
547
+ - @atlaspack/plugin@2.14.9
548
+
3
549
  ## 2.14.8
4
550
 
5
551
  ### Patch Changes
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CJSOutputFormat = void 0;
4
+ class CJSOutputFormat {
5
+ constructor(packager) {
6
+ this.packager = packager;
7
+ }
8
+ buildBundlePrelude() {
9
+ let res = '';
10
+ let lines = 0;
11
+ for (let [source, specifiers] of this.packager.externals) {
12
+ // CJS only supports the namespace symbol. This ensures that all accesses
13
+ // are live and the `this` binding is correct.
14
+ let namespace = specifiers.get('*');
15
+ if (namespace) {
16
+ res += `var ${namespace} = require(${JSON.stringify(source)});\n`;
17
+ lines++;
18
+ }
19
+ else {
20
+ res += `require(${JSON.stringify(source)});\n`;
21
+ lines++;
22
+ }
23
+ }
24
+ if (res.length > 0) {
25
+ res += '\n';
26
+ lines++;
27
+ }
28
+ return [res, lines];
29
+ }
30
+ buildBundlePostlude() {
31
+ return ['', 0];
32
+ }
33
+ }
34
+ exports.CJSOutputFormat = CJSOutputFormat;