@atlaspack/packager-js 2.14.5-canary.2 → 2.14.5-canary.200

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,371 @@
1
1
  # @atlaspack/packager-js
2
2
 
3
+ ## 2.23.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#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.
8
+
9
+ - Updated dependencies [[`0e7dd5e`](https://github.com/atlassian-labs/atlaspack/commit/0e7dd5ec6fbe05aa9e0bb5775a9d0975f206a922), [`686a398`](https://github.com/atlassian-labs/atlaspack/commit/686a398faa1f9e19cbf9274add2c46e246bafba8)]:
10
+ - @atlaspack/diagnostic@2.14.4
11
+ - @atlaspack/feature-flags@2.25.1
12
+ - @atlaspack/plugin@2.14.31
13
+ - @atlaspack/rust@3.8.1
14
+ - @atlaspack/types@2.15.21
15
+ - @atlaspack/utils@2.19.3
16
+
17
+ ## 2.23.0
18
+
19
+ ### Minor Changes
20
+
21
+ - [#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
22
+
23
+ ### Patch Changes
24
+
25
+ - [#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
26
+
27
+ - 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)]:
28
+ - @atlaspack/feature-flags@2.25.0
29
+ - @atlaspack/rust@3.8.0
30
+ - @atlaspack/utils@2.19.2
31
+ - @atlaspack/plugin@2.14.30
32
+ - @atlaspack/types@2.15.20
33
+
34
+ ## 2.22.2
35
+
36
+ ### Patch Changes
37
+
38
+ - [#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
39
+
40
+ ## 2.22.1
41
+
42
+ ### Patch Changes
43
+
44
+ - [#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`.
45
+
46
+ - Updated dependencies [[`830261d`](https://github.com/atlassian-labs/atlaspack/commit/830261dcf4a40293090b61cab52fd75d5683c73f), [`53dd47b`](https://github.com/atlassian-labs/atlaspack/commit/53dd47bd6d23cd47f87297347f03a609ab38a03d)]:
47
+ - @atlaspack/feature-flags@2.24.1
48
+ - @atlaspack/rust@3.7.0
49
+ - @atlaspack/utils@2.19.1
50
+ - @atlaspack/plugin@2.14.29
51
+ - @atlaspack/types@2.15.19
52
+
53
+ ## 2.22.0
54
+
55
+ ### Minor Changes
56
+
57
+ - [#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
58
+
59
+ ### Patch Changes
60
+
61
+ - 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)]:
62
+ - @atlaspack/feature-flags@2.24.0
63
+ - @atlaspack/utils@2.19.0
64
+ - @atlaspack/plugin@2.14.28
65
+ - @atlaspack/types@2.15.18
66
+
67
+ ## 2.21.3
68
+
69
+ ### Patch Changes
70
+
71
+ - Updated dependencies [[`3cfb7cf`](https://github.com/atlassian-labs/atlaspack/commit/3cfb7cfd90b78a5c48ce717e779ff789769825a3)]:
72
+ - @atlaspack/feature-flags@2.23.2
73
+ - @atlaspack/rust@3.6.2
74
+ - @atlaspack/utils@2.18.4
75
+ - @atlaspack/plugin@2.14.27
76
+ - @atlaspack/types@2.15.17
77
+
78
+ ## 2.21.2
79
+
80
+ ### Patch Changes
81
+
82
+ - [#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
83
+
84
+ - [#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
85
+
86
+ - Updated dependencies [[`ee040bb`](https://github.com/atlassian-labs/atlaspack/commit/ee040bb6428f29b57d892ddd8107e29077d08ffd), [`889c65c`](https://github.com/atlassian-labs/atlaspack/commit/889c65cd25b811045e26a117e7404f694dde77a2)]:
87
+ - @atlaspack/feature-flags@2.23.1
88
+ - @atlaspack/diagnostic@2.14.3
89
+ - @atlaspack/plugin@2.14.26
90
+ - @atlaspack/types@2.15.16
91
+ - @atlaspack/utils@2.18.3
92
+ - @atlaspack/rust@3.6.1
93
+
94
+ ## 2.21.1
95
+
96
+ ### Patch Changes
97
+
98
+ - Updated dependencies [[`f6b3f22`](https://github.com/atlassian-labs/atlaspack/commit/f6b3f2276c7e417580b49c4879563aab51f156b1)]:
99
+ - @atlaspack/feature-flags@2.23.0
100
+ - @atlaspack/utils@2.18.2
101
+ - @atlaspack/plugin@2.14.25
102
+ - @atlaspack/types@2.15.15
103
+
104
+ ## 2.21.0
105
+
106
+ ### Minor Changes
107
+
108
+ - [#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
109
+
110
+ ### Patch Changes
111
+
112
+ - [#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
113
+ wrapped, which means there is no top level scope.
114
+ - 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)]:
115
+ - @atlaspack/rust@3.6.0
116
+ - @atlaspack/feature-flags@2.22.0
117
+ - @atlaspack/utils@2.18.1
118
+ - @atlaspack/plugin@2.14.24
119
+ - @atlaspack/types@2.15.14
120
+
121
+ ## 2.20.0
122
+
123
+ ### Minor Changes
124
+
125
+ - [#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
126
+
127
+ ### Patch Changes
128
+
129
+ - Updated dependencies [[`23d561e`](https://github.com/atlassian-labs/atlaspack/commit/23d561e51e68b0c38fd1ff4e4fb173e5e7b01cf2)]:
130
+ - @atlaspack/feature-flags@2.21.0
131
+ - @atlaspack/utils@2.18.0
132
+ - @atlaspack/rust@3.5.0
133
+ - @atlaspack/types@2.15.13
134
+ - @atlaspack/plugin@2.14.23
135
+
136
+ ## 2.19.1
137
+
138
+ ### Patch Changes
139
+
140
+ - [#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
141
+
142
+ - Updated dependencies [[`d2fd849`](https://github.com/atlassian-labs/atlaspack/commit/d2fd849770fe6305e9c694bd97b1bd905abd9d94), [`12bee0e`](https://github.com/atlassian-labs/atlaspack/commit/12bee0e23f0464d7f6bd3e24fbe0d19c126d587d)]:
143
+ - @atlaspack/feature-flags@2.20.1
144
+ - @atlaspack/diagnostic@2.14.2
145
+ - @atlaspack/plugin@2.14.22
146
+ - @atlaspack/types@2.15.12
147
+ - @atlaspack/utils@2.17.4
148
+ - @atlaspack/rust@3.4.2
149
+
150
+ ## 2.19.0
151
+
152
+ ### Minor Changes
153
+
154
+ - [#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.
155
+
156
+ Adding a `webpackChunkName` comment to an import will allow the bundler to merge multiple imports into a single bundle.
157
+
158
+ e.g.:
159
+
160
+ ```ts
161
+ import(/* webpackChunkName: "my-chunk" */ './my-module');
162
+ import(/* webpackChunkName: "my-chunk" */ './another-module');
163
+ ```
164
+
165
+ This can be enabled with the feature flag `supportWebpackChunkName`.
166
+
167
+ ### Patch Changes
168
+
169
+ - Updated dependencies [[`069de47`](https://github.com/atlassian-labs/atlaspack/commit/069de478e64fb5889f6f2ce023eb510782767fbd)]:
170
+ - @atlaspack/feature-flags@2.20.0
171
+ - @atlaspack/types@2.15.11
172
+ - @atlaspack/utils@2.17.3
173
+ - @atlaspack/plugin@2.14.21
174
+
175
+ ## 2.18.2
176
+
177
+ ### Patch Changes
178
+
179
+ - [#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
180
+
181
+ - 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)]:
182
+ - @atlaspack/plugin@2.14.20
183
+ - @atlaspack/feature-flags@2.19.2
184
+ - @atlaspack/utils@2.17.2
185
+ - @atlaspack/types@2.15.10
186
+
187
+ ## 2.18.1
188
+
189
+ ### Patch Changes
190
+
191
+ - Updated dependencies [[`13aef17`](https://github.com/atlassian-labs/atlaspack/commit/13aef177eea289a6e40d2113b5ec1ac9be18a33d)]:
192
+ - @atlaspack/feature-flags@2.19.1
193
+ - @atlaspack/utils@2.17.1
194
+ - @atlaspack/types@2.15.9
195
+ - @atlaspack/plugin@2.14.19
196
+
197
+ ## 2.18.0
198
+
199
+ ### Minor Changes
200
+
201
+ - [#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
202
+
203
+ ### Patch Changes
204
+
205
+ - 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)]:
206
+ - @atlaspack/feature-flags@2.19.0
207
+ - @atlaspack/utils@2.17.0
208
+ - @atlaspack/rust@3.4.1
209
+ - @atlaspack/types@2.15.8
210
+ - @atlaspack/plugin@2.14.18
211
+
212
+ ## 2.17.1
213
+
214
+ ### Patch Changes
215
+
216
+ - Updated dependencies [[`c75bf55`](https://github.com/atlassian-labs/atlaspack/commit/c75bf553fff4decc285b5fd499a275853b18f8f2)]:
217
+ - @atlaspack/rust@3.4.0
218
+ - @atlaspack/utils@2.16.1
219
+ - @atlaspack/types@2.15.7
220
+ - @atlaspack/plugin@2.14.17
221
+
222
+ ## 2.17.0
223
+
224
+ ### Minor Changes
225
+
226
+ - [#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
227
+
228
+ ### Patch Changes
229
+
230
+ - Updated dependencies [[`e8a60ff`](https://github.com/atlassian-labs/atlaspack/commit/e8a60ffbea41caef265786bbf73349771760081c), [`30ee2cf`](https://github.com/atlassian-labs/atlaspack/commit/30ee2cfcd34cf2646ded0eda13fdb80a2a5de529)]:
231
+ - @atlaspack/feature-flags@2.18.4
232
+ - @atlaspack/utils@2.16.0
233
+ - @atlaspack/types@2.15.6
234
+ - @atlaspack/plugin@2.14.16
235
+
236
+ ## 2.16.2
237
+
238
+ ### Patch Changes
239
+
240
+ - [#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
241
+
242
+ - Updated dependencies [[`5ded263`](https://github.com/atlassian-labs/atlaspack/commit/5ded263c7f11b866e8885b81c73e20dd060b25be)]:
243
+ - @atlaspack/feature-flags@2.18.3
244
+ - @atlaspack/utils@2.15.3
245
+ - @atlaspack/types@2.15.5
246
+ - @atlaspack/plugin@2.14.15
247
+
248
+ ## 2.16.1
249
+
250
+ ### Patch Changes
251
+
252
+ - Updated dependencies [[`644b157`](https://github.com/atlassian-labs/atlaspack/commit/644b157dee72a871acc2d0facf0b87b8eea51956)]:
253
+ - @atlaspack/feature-flags@2.18.2
254
+ - @atlaspack/utils@2.15.2
255
+ - @atlaspack/types@2.15.4
256
+ - @atlaspack/plugin@2.14.14
257
+
258
+ ## 2.16.0
259
+
260
+ ### Minor Changes
261
+
262
+ - [#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
263
+
264
+ ### Patch Changes
265
+
266
+ - [#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
267
+
268
+ - Updated dependencies [[`26aa9c5`](https://github.com/atlassian-labs/atlaspack/commit/26aa9c599d2be45ce1438a74c5fa22f39b9b554b), [`0501255`](https://github.com/atlassian-labs/atlaspack/commit/05012550da35b05ce7d356a8cc29311e7f9afdca)]:
269
+ - @atlaspack/feature-flags@2.18.1
270
+ - @atlaspack/types@2.15.3
271
+ - @atlaspack/utils@2.15.1
272
+ - @atlaspack/plugin@2.14.13
273
+
274
+ ## 2.15.0
275
+
276
+ ### Minor Changes
277
+
278
+ - [#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.
279
+
280
+ Can be enabled with the `applyScopeHoistingImprovement` feature flag.
281
+
282
+ ### Patch Changes
283
+
284
+ - [#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:
285
+ - 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.
286
+ - 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.
287
+
288
+ - 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)]:
289
+ - @atlaspack/feature-flags@2.18.0
290
+ - @atlaspack/utils@2.15.0
291
+ - @atlaspack/types@2.15.2
292
+ - @atlaspack/plugin@2.14.12
293
+
294
+ ## 2.14.11
295
+
296
+ ### Patch Changes
297
+
298
+ - Updated dependencies [[`73ea3c4`](https://github.com/atlassian-labs/atlaspack/commit/73ea3c4d85d4401fdd15abcbf988237e890e7ad3), [`b1b3693`](https://github.com/atlassian-labs/atlaspack/commit/b1b369317c66f8a431c170df2ebba4fa5b2e38ef)]:
299
+ - @atlaspack/feature-flags@2.17.0
300
+ - @atlaspack/utils@2.14.11
301
+ - @atlaspack/types@2.15.1
302
+ - @atlaspack/plugin@2.14.11
303
+
304
+ ## 2.14.10
305
+
306
+ ### Patch Changes
307
+
308
+ - 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)]:
309
+ - @atlaspack/types@2.15.0
310
+ - @atlaspack/rust@3.3.5
311
+ - @atlaspack/plugin@2.14.10
312
+ - @atlaspack/utils@2.14.10
313
+
314
+ ## 2.14.9
315
+
316
+ ### Patch Changes
317
+
318
+ - 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)]:
319
+ - @atlaspack/rust@3.3.4
320
+ - @atlaspack/feature-flags@2.16.0
321
+ - @atlaspack/utils@2.14.9
322
+ - @atlaspack/types@2.14.9
323
+ - @atlaspack/plugin@2.14.9
324
+
325
+ ## 2.14.8
326
+
327
+ ### Patch Changes
328
+
329
+ - Updated dependencies [[`30f6017`](https://github.com/atlassian-labs/atlaspack/commit/30f60175ba4d272c5fc193973c63bc298584775b), [`1ab0a27`](https://github.com/atlassian-labs/atlaspack/commit/1ab0a275aeca40350415e2b03e7440d1dddc6228), [`b8a4ae8`](https://github.com/atlassian-labs/atlaspack/commit/b8a4ae8f83dc0a83d8b145c5f729936ce52080a3)]:
330
+ - @atlaspack/feature-flags@2.15.1
331
+ - @atlaspack/rust@3.3.3
332
+ - @atlaspack/utils@2.14.8
333
+ - @atlaspack/types@2.14.8
334
+ - @atlaspack/plugin@2.14.8
335
+
336
+ ## 2.14.7
337
+
338
+ ### Patch Changes
339
+
340
+ - Updated dependencies [[`a1773d2`](https://github.com/atlassian-labs/atlaspack/commit/a1773d2a62d0ef7805ac7524621dcabcc1afe929), [`556d6ab`](https://github.com/atlassian-labs/atlaspack/commit/556d6ab8ede759fa7f37fcd3f4da336ef1c55e8f)]:
341
+ - @atlaspack/feature-flags@2.15.0
342
+ - @atlaspack/rust@3.3.2
343
+ - @atlaspack/utils@2.14.7
344
+ - @atlaspack/types@2.14.7
345
+ - @atlaspack/plugin@2.14.7
346
+
347
+ ## 2.14.6
348
+
349
+ ### Patch Changes
350
+
351
+ - Updated dependencies [[`e0f5337`](https://github.com/atlassian-labs/atlaspack/commit/e0f533757bd1019dbd108a04952c87da15286e09)]:
352
+ - @atlaspack/feature-flags@2.14.4
353
+ - @atlaspack/rust@3.3.1
354
+ - @atlaspack/utils@2.14.6
355
+ - @atlaspack/types@2.14.6
356
+ - @atlaspack/plugin@2.14.6
357
+
358
+ ## 2.14.5
359
+
360
+ ### Patch Changes
361
+
362
+ - Updated dependencies [[`11d6f16`](https://github.com/atlassian-labs/atlaspack/commit/11d6f16b6397dee2f217167e5c98b39edb63f7a7), [`e2ba0f6`](https://github.com/atlassian-labs/atlaspack/commit/e2ba0f69702656f3d1ce95ab1454e35062b13b39), [`d2c50c2`](https://github.com/atlassian-labs/atlaspack/commit/d2c50c2c020888b33bb25b8690d9320c2b69e2a6), [`46a90dc`](https://github.com/atlassian-labs/atlaspack/commit/46a90dccd019a26b222c878a92d23acc75dc67c5)]:
363
+ - @atlaspack/feature-flags@2.14.3
364
+ - @atlaspack/rust@3.3.0
365
+ - @atlaspack/utils@2.14.5
366
+ - @atlaspack/types@2.14.5
367
+ - @atlaspack/plugin@2.14.5
368
+
3
369
  ## 2.14.4
4
370
 
5
371
  ### Patch Changes
@@ -18,6 +18,13 @@ function _sourceMap() {
18
18
  };
19
19
  return data;
20
20
  }
21
+ function _featureFlags() {
22
+ const data = require("@atlaspack/feature-flags");
23
+ _featureFlags = function () {
24
+ return data;
25
+ };
26
+ return data;
27
+ }
21
28
  function _assert() {
22
29
  const data = _interopRequireDefault(require("assert"));
23
30
  _assert = function () {
@@ -91,6 +98,7 @@ class DevPackager {
91
98
  // If this is the main entry of a script rather than a module, we need to hoist it
92
99
  // outside the bundle wrapper function so that its variables are exposed as globals.
93
100
  if (this.bundle.env.sourceType === 'script' && asset === this.bundle.getMainEntry()) {
101
+ // @ts-expect-error TS2322
94
102
  script = results[i++];
95
103
  return;
96
104
  }
@@ -108,6 +116,19 @@ class DevPackager {
108
116
  deps[specifier] = dep.specifier;
109
117
  }
110
118
  }
119
+ if ((0, _featureFlags().getFeatureFlag)('hmrImprovements')) {
120
+ // Add dependencies for parcelRequire calls added by runtimes
121
+ // so that the HMR runtime can correctly traverse parents.
122
+ let hmrDeps = asset.meta.hmrDeps;
123
+ if (this.options.hmrOptions && Array.isArray(hmrDeps)) {
124
+ for (let id of hmrDeps) {
125
+ (0, _assert().default)(typeof id === 'string');
126
+ deps[id] = id;
127
+ }
128
+ }
129
+ }
130
+
131
+ // @ts-expect-error TS2339
111
132
  let {
112
133
  code,
113
134
  mapBuffer
@@ -152,12 +173,16 @@ class DevPackager {
152
173
  // runtimes with a parcelRequire call.
153
174
  if (this.bundle.env.sourceType === 'script' && script) {
154
175
  let entryMap;
176
+ // @ts-expect-error TS2339
155
177
  let mapBuffer = script.mapBuffer;
156
178
  if (mapBuffer) {
157
179
  entryMap = new (_sourceMap().default)(this.options.projectRoot, mapBuffer);
158
180
  }
159
- contents += (0, _utils2.replaceScriptDependencies)(this.bundleGraph, this.bundle, script.code, entryMap, this.parcelRequireName);
181
+ contents += (0, _utils2.replaceScriptDependencies)(this.bundleGraph, this.bundle,
182
+ // @ts-expect-error TS2339
183
+ script.code, entryMap, this.parcelRequireName);
160
184
  if (this.bundle.env.sourceMap && entryMap) {
185
+ // @ts-expect-error TS2551
161
186
  map.addSourceMap(entryMap, lineOffset);
162
187
  }
163
188
  }
@@ -175,7 +200,7 @@ class DevPackager {
175
200
  interpreter = _interpreter;
176
201
  }
177
202
  let importScripts = '';
178
- if (this.bundle.env.isWorker()) {
203
+ if (this.bundle.env.isWorker() || this.bundle.env.isTesseract()) {
179
204
  let bundles = this.bundleGraph.getReferencedBundles(this.bundle);
180
205
  for (let b of bundles) {
181
206
  importScripts += `importScripts("${(0, _utils().relativeBundlePath)(this.bundle, b)}");\n`;
@@ -187,7 +212,7 @@ class DevPackager {
187
212
  );
188
213
  }
189
214
  isEntry() {
190
- return !this.bundleGraph.hasParentBundleOfType(this.bundle, 'js') || this.bundle.env.isIsolated() || this.bundle.bundleBehavior === 'isolated';
215
+ return !this.bundleGraph.hasParentBundleOfType(this.bundle, 'js') || this.bundle.env.isIsolated() || this.bundle.bundleBehavior === 'isolated' || this.bundle.bundleBehavior === 'inlineIsolated';
191
216
  }
192
217
  }
193
218
  exports.DevPackager = DevPackager;