@atlaspack/types-internal 2.14.1-canary.55 → 2.14.1-canary.551
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 +509 -0
- package/dist/Cache.js +2 -0
- package/dist/DependencySpecifier.js +2 -0
- package/dist/FileCreateInvalidation.js +2 -0
- package/dist/FilePath.js +2 -0
- package/dist/FileSystem.js +2 -0
- package/dist/Glob.js +2 -0
- package/dist/NapiWorkerPool.js +2 -0
- package/dist/PackageManager.js +2 -0
- package/dist/PackageName.js +2 -0
- package/dist/SemverRange.js +2 -0
- package/dist/index.js +2 -0
- package/dist/unsafe.js +2 -0
- package/lib/Cache.js +1 -0
- package/lib/DependencySpecifier.js +1 -0
- package/lib/FileCreateInvalidation.js +1 -0
- package/lib/FilePath.js +1 -0
- package/lib/FileSystem.js +1 -0
- package/lib/Glob.js +1 -0
- package/lib/NapiWorkerPool.js +1 -0
- package/lib/PackageManager.js +1 -0
- package/lib/PackageName.js +1 -0
- package/lib/SemverRange.js +1 -0
- package/lib/index.js +1 -0
- package/lib/types/Cache.d.ts +24 -0
- package/lib/{FileCreateInvalidation.d.ts → types/FileCreateInvalidation.d.ts} +6 -6
- package/lib/types/FileSystem.d.ts +90 -0
- package/lib/types/NapiWorkerPool.d.ts +5 -0
- package/lib/types/PackageManager.d.ts +50 -0
- package/lib/types/index.d.ts +1974 -0
- package/lib/types/unsafe.d.ts +6 -0
- package/lib/unsafe.js +1 -0
- package/package.json +10 -10
- package/{lib/Cache.d.ts → src/Cache.ts} +9 -5
- package/src/{DependencySpecifier.js → DependencySpecifier.ts} +0 -2
- package/src/FileCreateInvalidation.ts +20 -0
- package/src/{FilePath.js → FilePath.ts} +0 -2
- package/src/{FileSystem.js → FileSystem.ts} +47 -17
- package/src/{Glob.js → Glob.ts} +0 -2
- package/{lib/NapiWorkerPool.d.ts → src/NapiWorkerPool.ts} +2 -1
- package/{lib/PackageManager.d.ts → src/PackageManager.ts} +36 -15
- package/src/{PackageName.js → PackageName.ts} +0 -2
- package/src/{SemverRange.js → SemverRange.ts} +0 -2
- package/{lib/index.d.ts → src/index.ts} +765 -533
- package/{lib/unsafe.d.ts → src/unsafe.ts} +1 -0
- package/tsconfig.json +18 -0
- package/tsconfig.tsbuildinfo +1 -0
- package/lib/FileSystem.d.ts +0 -91
- package/src/Cache.js +0 -29
- package/src/FileCreateInvalidation.js +0 -22
- package/src/NapiWorkerPool.js +0 -8
- package/src/PackageManager.js +0 -60
- package/src/index.js +0 -2159
- package/src/unsafe.js +0 -9
- /package/lib/{DependencySpecifier.d.ts → types/DependencySpecifier.d.ts} +0 -0
- /package/lib/{FilePath.d.ts → types/FilePath.d.ts} +0 -0
- /package/lib/{Glob.d.ts → types/Glob.d.ts} +0 -0
- /package/lib/{PackageName.d.ts → types/PackageName.d.ts} +0 -0
- /package/lib/{SemverRange.d.ts → types/SemverRange.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,514 @@
|
|
|
1
1
|
# @atlaspack/types-internal
|
|
2
2
|
|
|
3
|
+
## 2.25.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`c4a3b39`](https://github.com/atlassian-labs/atlaspack/commit/c4a3b399c70a434625626af3f7e9b666045cdf39)]:
|
|
8
|
+
- @atlaspack/feature-flags@2.31.3
|
|
9
|
+
- @atlaspack/source-map@3.3.7
|
|
10
|
+
|
|
11
|
+
## 2.25.4
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [[`39b1fdf`](https://github.com/atlassian-labs/atlaspack/commit/39b1fdf59d317a9e862dceba0495dda9f1fda77c)]:
|
|
16
|
+
- @atlaspack/feature-flags@2.31.2
|
|
17
|
+
- @atlaspack/source-map@3.3.6
|
|
18
|
+
|
|
19
|
+
## 2.25.3
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [[`3ff901a`](https://github.com/atlassian-labs/atlaspack/commit/3ff901a222d5e077a3bb96031a89c3b5173ece69)]:
|
|
24
|
+
- @atlaspack/feature-flags@2.31.1
|
|
25
|
+
- @atlaspack/source-map@3.3.5
|
|
26
|
+
|
|
27
|
+
## 2.25.2
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- Updated dependencies []:
|
|
32
|
+
- @atlaspack/source-map@3.3.4
|
|
33
|
+
|
|
34
|
+
## 2.25.1
|
|
35
|
+
|
|
36
|
+
### Patch Changes
|
|
37
|
+
|
|
38
|
+
- Updated dependencies []:
|
|
39
|
+
- @atlaspack/source-map@3.3.3
|
|
40
|
+
|
|
41
|
+
## 2.25.0
|
|
42
|
+
|
|
43
|
+
### Minor Changes
|
|
44
|
+
|
|
45
|
+
- [#1053](https://github.com/atlassian-labs/atlaspack/pull/1053) [`71981ea`](https://github.com/atlassian-labs/atlaspack/commit/71981eac258f7e6dfb40ec4b202d194f71c64ff1) Thanks [@mattcompiles](https://github.com/mattcompiles)! - Add native build progress reporting.
|
|
46
|
+
|
|
47
|
+
Fires `BuildProgressEvent` from Rust requests back to JS reporters via a fire-and-forget
|
|
48
|
+
`ThreadsafeFunction` callback. Works in both `atlaspackV3` and `fullNative` build paths.
|
|
49
|
+
|
|
50
|
+
Events:
|
|
51
|
+
- `building` — per-asset progress from AssetGraphRequest (completeAssets / totalAssets)
|
|
52
|
+
- `bundling` — once from BuildRequest before bundle graph creation
|
|
53
|
+
- `packagingAndOptimizing` — ready for when native packaging is wired up
|
|
54
|
+
|
|
55
|
+
Adds `BuildingProgressEvent` type and CLI reporter handling.
|
|
56
|
+
|
|
57
|
+
### Patch Changes
|
|
58
|
+
|
|
59
|
+
- Updated dependencies []:
|
|
60
|
+
- @atlaspack/source-map@3.3.2
|
|
61
|
+
|
|
62
|
+
## 2.24.2
|
|
63
|
+
|
|
64
|
+
### Patch Changes
|
|
65
|
+
|
|
66
|
+
- Updated dependencies [[`c80be61`](https://github.com/atlassian-labs/atlaspack/commit/c80be618e42014208fed60b7a2dccc2e47d53aed), [`2d3c616`](https://github.com/atlassian-labs/atlaspack/commit/2d3c616bb2ebef55d6850e8ca9eedf13c72f5386)]:
|
|
67
|
+
- @atlaspack/feature-flags@2.31.0
|
|
68
|
+
- @atlaspack/source-map@3.3.1
|
|
69
|
+
|
|
70
|
+
## 2.24.1
|
|
71
|
+
|
|
72
|
+
### Patch Changes
|
|
73
|
+
|
|
74
|
+
- Updated dependencies [[`de388ff`](https://github.com/atlassian-labs/atlaspack/commit/de388ff76d39dece97ad475fcccdb6efb6283bfc)]:
|
|
75
|
+
- @atlaspack/source-map@3.3.0
|
|
76
|
+
|
|
77
|
+
## 2.24.0
|
|
78
|
+
|
|
79
|
+
### Minor Changes
|
|
80
|
+
|
|
81
|
+
- [#1042](https://github.com/atlassian-labs/atlaspack/pull/1042) [`857962a`](https://github.com/atlassian-labs/atlaspack/commit/857962a352bb0aebaf74a8765e8c44d7e875a4e9) Thanks [@marcins](https://github.com/marcins)! - Implement inlineRequires in native packager, add new option to target descriptor
|
|
82
|
+
|
|
83
|
+
### Patch Changes
|
|
84
|
+
|
|
85
|
+
- Updated dependencies [[`ad3c822`](https://github.com/atlassian-labs/atlaspack/commit/ad3c8223ab1abce9e8da81239cc56f27d37c7cad), [`936209f`](https://github.com/atlassian-labs/atlaspack/commit/936209f3c6c201288720dd62b61e1f538368268c)]:
|
|
86
|
+
- @atlaspack/feature-flags@2.30.1
|
|
87
|
+
- @atlaspack/source-map@3.2.10
|
|
88
|
+
|
|
89
|
+
## 2.23.2
|
|
90
|
+
|
|
91
|
+
### Patch Changes
|
|
92
|
+
|
|
93
|
+
- Updated dependencies [[`d8e984b`](https://github.com/atlassian-labs/atlaspack/commit/d8e984b7f6d04fa03707fa299bfd8b8bf9f58280), [`45a0dc5`](https://github.com/atlassian-labs/atlaspack/commit/45a0dc530fd9472dbfdebcbb05f1aad812ab3b23)]:
|
|
94
|
+
- @atlaspack/feature-flags@2.30.0
|
|
95
|
+
- @atlaspack/source-map@3.2.9
|
|
96
|
+
|
|
97
|
+
## 2.23.1
|
|
98
|
+
|
|
99
|
+
### Patch Changes
|
|
100
|
+
|
|
101
|
+
- Updated dependencies [[`1815c2c`](https://github.com/atlassian-labs/atlaspack/commit/1815c2ce48e32f4df97ccdd668fd650fc79d1051)]:
|
|
102
|
+
- @atlaspack/feature-flags@2.29.1
|
|
103
|
+
- @atlaspack/source-map@3.2.8
|
|
104
|
+
|
|
105
|
+
## 2.23.0
|
|
106
|
+
|
|
107
|
+
### Minor Changes
|
|
108
|
+
|
|
109
|
+
- [#993](https://github.com/atlassian-labs/atlaspack/pull/993) [`e058f0e`](https://github.com/atlassian-labs/atlaspack/commit/e058f0e7a0423ba9373e85a7dbd5c1dd43b47916) Thanks [@matt-koko](https://github.com/matt-koko)! - Add disableCache option to TransformerSetup API
|
|
110
|
+
|
|
111
|
+
### Patch Changes
|
|
112
|
+
|
|
113
|
+
- Updated dependencies [[`349b19c`](https://github.com/atlassian-labs/atlaspack/commit/349b19c3aca2ccb1ffb5cdcdc74890f4b62228be)]:
|
|
114
|
+
- @atlaspack/feature-flags@2.29.0
|
|
115
|
+
- @atlaspack/source-map@3.2.7
|
|
116
|
+
|
|
117
|
+
## 2.22.8
|
|
118
|
+
|
|
119
|
+
### Patch Changes
|
|
120
|
+
|
|
121
|
+
- Updated dependencies []:
|
|
122
|
+
- @atlaspack/source-map@3.2.6
|
|
123
|
+
|
|
124
|
+
## 2.22.7
|
|
125
|
+
|
|
126
|
+
### Patch Changes
|
|
127
|
+
|
|
128
|
+
- Updated dependencies [[`8826fd0`](https://github.com/atlassian-labs/atlaspack/commit/8826fd02c29c9c67cf0c80da41f424257fbdef93)]:
|
|
129
|
+
- @atlaspack/feature-flags@2.28.0
|
|
130
|
+
- @atlaspack/source-map@3.2.5
|
|
131
|
+
|
|
132
|
+
## 2.22.6
|
|
133
|
+
|
|
134
|
+
### Patch Changes
|
|
135
|
+
|
|
136
|
+
- Updated dependencies [[`f33f9c4`](https://github.com/atlassian-labs/atlaspack/commit/f33f9c48dd24b319df352d197e4a83cbb1b053bc), [`e15fb6c`](https://github.com/atlassian-labs/atlaspack/commit/e15fb6c885c6354c6c02283de35ce18abc8c9e18)]:
|
|
137
|
+
- @atlaspack/feature-flags@2.27.7
|
|
138
|
+
- @atlaspack/source-map@3.2.4
|
|
139
|
+
|
|
140
|
+
## 2.22.5
|
|
141
|
+
|
|
142
|
+
### Patch Changes
|
|
143
|
+
|
|
144
|
+
- Updated dependencies [[`c31090c`](https://github.com/atlassian-labs/atlaspack/commit/c31090c9025f35d3fa8561b42dca170853a32e6f), [`565bab3`](https://github.com/atlassian-labs/atlaspack/commit/565bab3771cc334659d873cabff4cdfac0860cc7)]:
|
|
145
|
+
- @atlaspack/feature-flags@2.27.6
|
|
146
|
+
- @atlaspack/source-map@3.2.3
|
|
147
|
+
|
|
148
|
+
## 2.22.4
|
|
149
|
+
|
|
150
|
+
### Patch Changes
|
|
151
|
+
|
|
152
|
+
- Updated dependencies []:
|
|
153
|
+
- @atlaspack/source-map@3.2.2
|
|
154
|
+
|
|
155
|
+
## 2.22.3
|
|
156
|
+
|
|
157
|
+
### Patch Changes
|
|
158
|
+
|
|
159
|
+
- [#934](https://github.com/atlassian-labs/atlaspack/pull/934) [`02cc8b3`](https://github.com/atlassian-labs/atlaspack/commit/02cc8b32c06ca6b51806b33f6f707ca06e55e957) Thanks [@mattcompiles](https://github.com/mattcompiles)! - Add experimental native persistent cache for Atlaspack V3.
|
|
160
|
+
|
|
161
|
+
- Updated dependencies [[`02cc8b3`](https://github.com/atlassian-labs/atlaspack/commit/02cc8b32c06ca6b51806b33f6f707ca06e55e957)]:
|
|
162
|
+
- @atlaspack/feature-flags@2.27.5
|
|
163
|
+
- @atlaspack/source-map@3.2.1
|
|
164
|
+
|
|
165
|
+
## 2.22.2
|
|
166
|
+
|
|
167
|
+
### Patch Changes
|
|
168
|
+
|
|
169
|
+
- Updated dependencies [[`793e78c`](https://github.com/atlassian-labs/atlaspack/commit/793e78c68eed25032e686f70cd77ea3601409b35)]:
|
|
170
|
+
- @atlaspack/feature-flags@2.27.4
|
|
171
|
+
|
|
172
|
+
## 2.22.1
|
|
173
|
+
|
|
174
|
+
### Patch Changes
|
|
175
|
+
|
|
176
|
+
- Updated dependencies [[`c81b368`](https://github.com/atlassian-labs/atlaspack/commit/c81b368db20af701d9e019a11272b138f9cfe080)]:
|
|
177
|
+
- @atlaspack/source-map@3.2.0
|
|
178
|
+
|
|
179
|
+
## 2.22.0
|
|
180
|
+
|
|
181
|
+
### Minor Changes
|
|
182
|
+
|
|
183
|
+
- [#925](https://github.com/atlassian-labs/atlaspack/pull/925) [`00fa643`](https://github.com/atlassian-labs/atlaspack/commit/00fa6433202bfd3311479f6314c9ec878a789f2c) Thanks [@benjervis](https://github.com/benjervis)! - Save propagating symbols for runtimes by requiring symbol and dependency data be returned at the time the assets are injected.
|
|
184
|
+
|
|
185
|
+
## 2.21.3
|
|
186
|
+
|
|
187
|
+
### Patch Changes
|
|
188
|
+
|
|
189
|
+
- Updated dependencies [[`cbb66a5`](https://github.com/atlassian-labs/atlaspack/commit/cbb66a554f7ad679fd4dfc9e2bf2d5abb859f846)]:
|
|
190
|
+
- @atlaspack/feature-flags@2.27.3
|
|
191
|
+
- @atlaspack/source-map@3.1.3
|
|
192
|
+
|
|
193
|
+
## 2.21.2
|
|
194
|
+
|
|
195
|
+
### Patch Changes
|
|
196
|
+
|
|
197
|
+
- Updated dependencies [[`f6fc5e2`](https://github.com/atlassian-labs/atlaspack/commit/f6fc5e2acc30720f9a9676dfbc02bf780066653b), [`91738fd`](https://github.com/atlassian-labs/atlaspack/commit/91738fd77cb6b3b7acc93e799327ec283d27f7c0)]:
|
|
198
|
+
- @atlaspack/source-map@3.1.2
|
|
199
|
+
- @atlaspack/feature-flags@2.27.2
|
|
200
|
+
|
|
201
|
+
## 2.21.1
|
|
202
|
+
|
|
203
|
+
### Patch Changes
|
|
204
|
+
|
|
205
|
+
- Updated dependencies [[`2f3af93`](https://github.com/atlassian-labs/atlaspack/commit/2f3af9374bcc082e6f4835f6f5a2b98e32ea45b4)]:
|
|
206
|
+
- @atlaspack/feature-flags@2.27.1
|
|
207
|
+
- @atlaspack/source-map@3.1.1
|
|
208
|
+
|
|
209
|
+
## 2.21.0
|
|
210
|
+
|
|
211
|
+
### Minor Changes
|
|
212
|
+
|
|
213
|
+
- [#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.
|
|
214
|
+
|
|
215
|
+
- [#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
|
|
216
|
+
|
|
217
|
+
- [#892](https://github.com/atlassian-labs/atlaspack/pull/892) [`617a318`](https://github.com/atlassian-labs/atlaspack/commit/617a318ddc9419b38360257353fec50b9051ee13) Thanks [@marcins](https://github.com/marcins)! - Added a new `shouldProfileNative` option that provides a way to pause and connect a native profiler to Atlaspack.
|
|
218
|
+
|
|
219
|
+
### Patch Changes
|
|
220
|
+
|
|
221
|
+
- Updated dependencies [[`8eb84ee`](https://github.com/atlassian-labs/atlaspack/commit/8eb84ee61a42bfe87c58079b610802b07a6a13e4), [`73168c2`](https://github.com/atlassian-labs/atlaspack/commit/73168c275a5d9abff9907bcf536b340bca1ed5f0)]:
|
|
222
|
+
- @atlaspack/feature-flags@2.27.0
|
|
223
|
+
- @atlaspack/source-map@3.1.0
|
|
224
|
+
|
|
225
|
+
## 2.20.8
|
|
226
|
+
|
|
227
|
+
### Patch Changes
|
|
228
|
+
|
|
229
|
+
- Updated dependencies [[`ec3abe4`](https://github.com/atlassian-labs/atlaspack/commit/ec3abe4dffc98560a850fd2f71fb566577e6c99c), [`c7fe3f7`](https://github.com/atlassian-labs/atlaspack/commit/c7fe3f76f247e9e20299e205e2df0a16c418eaf2)]:
|
|
230
|
+
- @atlaspack/feature-flags@2.26.2
|
|
231
|
+
|
|
232
|
+
## 2.20.7
|
|
233
|
+
|
|
234
|
+
### Patch Changes
|
|
235
|
+
|
|
236
|
+
- Updated dependencies [[`373ee2d`](https://github.com/atlassian-labs/atlaspack/commit/373ee2d3b5cc315df1e90e647619f915892e2b87)]:
|
|
237
|
+
- @atlaspack/feature-flags@2.26.1
|
|
238
|
+
|
|
239
|
+
## 2.20.6
|
|
240
|
+
|
|
241
|
+
### Patch Changes
|
|
242
|
+
|
|
243
|
+
- Updated dependencies [[`58527ee`](https://github.com/atlassian-labs/atlaspack/commit/58527eec15c1aebaaadbeb63586f3082c16beae3), [`cfb39a0`](https://github.com/atlassian-labs/atlaspack/commit/cfb39a0d729eb620cf2ca1611750a2bf7a080d08), [`d0c7bea`](https://github.com/atlassian-labs/atlaspack/commit/d0c7bea04458255b4c5d4299600e734b5f919fe1), [`9cd9521`](https://github.com/atlassian-labs/atlaspack/commit/9cd9521978f783046e2ae4ce78f2de7aeb07d073), [`5776be2`](https://github.com/atlassian-labs/atlaspack/commit/5776be21f70a3f2b9471ba33da3ba1a883f21f1a)]:
|
|
244
|
+
- @atlaspack/feature-flags@2.26.0
|
|
245
|
+
|
|
246
|
+
## 2.20.5
|
|
247
|
+
|
|
248
|
+
### Patch Changes
|
|
249
|
+
|
|
250
|
+
- [#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.
|
|
251
|
+
|
|
252
|
+
- Updated dependencies [[`79a7e22`](https://github.com/atlassian-labs/atlaspack/commit/79a7e22ef119891a2f4180a9d3cc66b38dd52092), [`3da8e69`](https://github.com/atlassian-labs/atlaspack/commit/3da8e690605472d81c531366b65fa9844f8ca337), [`17dfea9`](https://github.com/atlassian-labs/atlaspack/commit/17dfea9e9f3169807808520df9c09ebf70dc8b10), [`f1070ec`](https://github.com/atlassian-labs/atlaspack/commit/f1070ec48e99b4ec111a03179c5ab5b74163fab1)]:
|
|
253
|
+
- @atlaspack/feature-flags@2.25.5
|
|
254
|
+
|
|
255
|
+
## 2.20.4
|
|
256
|
+
|
|
257
|
+
### Patch Changes
|
|
258
|
+
|
|
259
|
+
- Updated dependencies [[`662d3c6`](https://github.com/atlassian-labs/atlaspack/commit/662d3c627888b16bf27df15cfac5a9094509e93d)]:
|
|
260
|
+
- @atlaspack/feature-flags@2.25.4
|
|
261
|
+
|
|
262
|
+
## 2.20.3
|
|
263
|
+
|
|
264
|
+
### Patch Changes
|
|
265
|
+
|
|
266
|
+
- Updated dependencies [[`f07351a`](https://github.com/atlassian-labs/atlaspack/commit/f07351a2398b6a8e5155a2daad77e69b7dcb2b4b)]:
|
|
267
|
+
- @atlaspack/feature-flags@2.25.3
|
|
268
|
+
|
|
269
|
+
## 2.20.2
|
|
270
|
+
|
|
271
|
+
### Patch Changes
|
|
272
|
+
|
|
273
|
+
- Updated dependencies [[`0207171`](https://github.com/atlassian-labs/atlaspack/commit/0207171e59e985c51e105aec2e0a99de174374bd), [`10ee3fa`](https://github.com/atlassian-labs/atlaspack/commit/10ee3fa5b75a92acde8973673d9b3c5b6f3958e5), [`1180103`](https://github.com/atlassian-labs/atlaspack/commit/118010351ed444f8178988afb3f77807154dd933), [`2bc93b1`](https://github.com/atlassian-labs/atlaspack/commit/2bc93b17cea07fd7cbb68acec84d8471345a22b4)]:
|
|
274
|
+
- @atlaspack/feature-flags@2.25.2
|
|
275
|
+
|
|
276
|
+
## 2.20.1
|
|
277
|
+
|
|
278
|
+
### Patch Changes
|
|
279
|
+
|
|
280
|
+
- [#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.
|
|
281
|
+
|
|
282
|
+
- Updated dependencies [[`0e7dd5e`](https://github.com/atlassian-labs/atlaspack/commit/0e7dd5ec6fbe05aa9e0bb5775a9d0975f206a922)]:
|
|
283
|
+
- @atlaspack/diagnostic@2.14.4
|
|
284
|
+
- @atlaspack/feature-flags@2.25.1
|
|
285
|
+
|
|
286
|
+
## 2.20.0
|
|
287
|
+
|
|
288
|
+
### Minor Changes
|
|
289
|
+
|
|
290
|
+
- [#769](https://github.com/atlassian-labs/atlaspack/pull/769) [`f6532d7`](https://github.com/atlassian-labs/atlaspack/commit/f6532d7a4f7f007bd4e5e36af04dd466f0b9f572) Thanks [@marcins](https://github.com/marcins)! - Adds a new feature to support adding custom `env` properties in a target, that are available in the Environment during the build. A new feature flag `customEnvInTargets` has been added to gate this feature.
|
|
291
|
+
|
|
292
|
+
### Patch Changes
|
|
293
|
+
|
|
294
|
+
- [#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
|
|
295
|
+
|
|
296
|
+
- Updated dependencies [[`7a52bab`](https://github.com/atlassian-labs/atlaspack/commit/7a52bab6281e8edbfa66af248eb6f872c6b4b7bd), [`038e87a`](https://github.com/atlassian-labs/atlaspack/commit/038e87a7858d39556d59d3a2d17db534d45f62c6), [`f6532d7`](https://github.com/atlassian-labs/atlaspack/commit/f6532d7a4f7f007bd4e5e36af04dd466f0b9f572), [`602f8ed`](https://github.com/atlassian-labs/atlaspack/commit/602f8ed9d8381301df8b2cc82c1d5cf6f2f94fec)]:
|
|
297
|
+
- @atlaspack/feature-flags@2.25.0
|
|
298
|
+
|
|
299
|
+
## 2.19.5
|
|
300
|
+
|
|
301
|
+
### Patch Changes
|
|
302
|
+
|
|
303
|
+
- Updated dependencies [[`830261d`](https://github.com/atlassian-labs/atlaspack/commit/830261dcf4a40293090b61cab52fd75d5683c73f)]:
|
|
304
|
+
- @atlaspack/feature-flags@2.24.1
|
|
305
|
+
|
|
306
|
+
## 2.19.4
|
|
307
|
+
|
|
308
|
+
### Patch Changes
|
|
309
|
+
|
|
310
|
+
- 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)]:
|
|
311
|
+
- @atlaspack/feature-flags@2.24.0
|
|
312
|
+
|
|
313
|
+
## 2.19.3
|
|
314
|
+
|
|
315
|
+
### Patch Changes
|
|
316
|
+
|
|
317
|
+
- Updated dependencies [[`3cfb7cf`](https://github.com/atlassian-labs/atlaspack/commit/3cfb7cfd90b78a5c48ce717e779ff789769825a3)]:
|
|
318
|
+
- @atlaspack/feature-flags@2.23.2
|
|
319
|
+
|
|
320
|
+
## 2.19.2
|
|
321
|
+
|
|
322
|
+
### Patch Changes
|
|
323
|
+
|
|
324
|
+
- [#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
|
|
325
|
+
|
|
326
|
+
- Updated dependencies [[`ee040bb`](https://github.com/atlassian-labs/atlaspack/commit/ee040bb6428f29b57d892ddd8107e29077d08ffd)]:
|
|
327
|
+
- @atlaspack/feature-flags@2.23.1
|
|
328
|
+
- @atlaspack/diagnostic@2.14.3
|
|
329
|
+
|
|
330
|
+
## 2.19.1
|
|
331
|
+
|
|
332
|
+
### Patch Changes
|
|
333
|
+
|
|
334
|
+
- Updated dependencies [[`f6b3f22`](https://github.com/atlassian-labs/atlaspack/commit/f6b3f2276c7e417580b49c4879563aab51f156b1)]:
|
|
335
|
+
- @atlaspack/feature-flags@2.23.0
|
|
336
|
+
|
|
337
|
+
## 2.19.0
|
|
338
|
+
|
|
339
|
+
### Minor Changes
|
|
340
|
+
|
|
341
|
+
- [#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
|
|
342
|
+
|
|
343
|
+
### Patch Changes
|
|
344
|
+
|
|
345
|
+
- Updated dependencies [[`73dd7ba`](https://github.com/atlassian-labs/atlaspack/commit/73dd7baab69456ef2f6e4a0cc7dbb04f407eb148)]:
|
|
346
|
+
- @atlaspack/feature-flags@2.22.0
|
|
347
|
+
|
|
348
|
+
## 2.18.0
|
|
349
|
+
|
|
350
|
+
### Minor Changes
|
|
351
|
+
|
|
352
|
+
- [#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
|
|
353
|
+
|
|
354
|
+
### Patch Changes
|
|
355
|
+
|
|
356
|
+
- Updated dependencies [[`23d561e`](https://github.com/atlassian-labs/atlaspack/commit/23d561e51e68b0c38fd1ff4e4fb173e5e7b01cf2)]:
|
|
357
|
+
- @atlaspack/feature-flags@2.21.0
|
|
358
|
+
|
|
359
|
+
## 2.17.0
|
|
360
|
+
|
|
361
|
+
### Minor Changes
|
|
362
|
+
|
|
363
|
+
- [#723](https://github.com/atlassian-labs/atlaspack/pull/723) [`43fdd22`](https://github.com/atlassian-labs/atlaspack/commit/43fdd223860fbc97af17d68c65419b97412cb888) Thanks [@vykimnguyen](https://github.com/vykimnguyen)! - adding projectRoot option
|
|
364
|
+
|
|
365
|
+
### Patch Changes
|
|
366
|
+
|
|
367
|
+
- [#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
|
|
368
|
+
|
|
369
|
+
- Updated dependencies [[`d2fd849`](https://github.com/atlassian-labs/atlaspack/commit/d2fd849770fe6305e9c694bd97b1bd905abd9d94), [`12bee0e`](https://github.com/atlassian-labs/atlaspack/commit/12bee0e23f0464d7f6bd3e24fbe0d19c126d587d)]:
|
|
370
|
+
- @atlaspack/feature-flags@2.20.1
|
|
371
|
+
- @atlaspack/diagnostic@2.14.2
|
|
372
|
+
|
|
373
|
+
## 2.16.0
|
|
374
|
+
|
|
375
|
+
### Minor Changes
|
|
376
|
+
|
|
377
|
+
- [#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.
|
|
378
|
+
|
|
379
|
+
Adding a `webpackChunkName` comment to an import will allow the bundler to merge multiple imports into a single bundle.
|
|
380
|
+
|
|
381
|
+
e.g.:
|
|
382
|
+
|
|
383
|
+
```ts
|
|
384
|
+
import(/* webpackChunkName: "my-chunk" */ './my-module');
|
|
385
|
+
import(/* webpackChunkName: "my-chunk" */ './another-module');
|
|
386
|
+
```
|
|
387
|
+
|
|
388
|
+
This can be enabled with the feature flag `supportWebpackChunkName`.
|
|
389
|
+
|
|
390
|
+
### Patch Changes
|
|
391
|
+
|
|
392
|
+
- Updated dependencies [[`069de47`](https://github.com/atlassian-labs/atlaspack/commit/069de478e64fb5889f6f2ce023eb510782767fbd)]:
|
|
393
|
+
- @atlaspack/feature-flags@2.20.0
|
|
394
|
+
|
|
395
|
+
## 2.15.2
|
|
396
|
+
|
|
397
|
+
### Patch Changes
|
|
398
|
+
|
|
399
|
+
- Updated dependencies [[`1c7865a`](https://github.com/atlassian-labs/atlaspack/commit/1c7865a64451116d94015e248302435839d347c0), [`a0b959f`](https://github.com/atlassian-labs/atlaspack/commit/a0b959fbf61fc3f820ff03c7e8988945fe40a91a)]:
|
|
400
|
+
- @atlaspack/feature-flags@2.19.2
|
|
401
|
+
|
|
402
|
+
## 2.15.1
|
|
403
|
+
|
|
404
|
+
### Patch Changes
|
|
405
|
+
|
|
406
|
+
- Updated dependencies [[`13aef17`](https://github.com/atlassian-labs/atlaspack/commit/13aef177eea289a6e40d2113b5ec1ac9be18a33d)]:
|
|
407
|
+
- @atlaspack/feature-flags@2.19.1
|
|
408
|
+
|
|
409
|
+
## 2.15.0
|
|
410
|
+
|
|
411
|
+
### Minor Changes
|
|
412
|
+
|
|
413
|
+
- [#693](https://github.com/atlassian-labs/atlaspack/pull/693) [`18a57cf`](https://github.com/atlassian-labs/atlaspack/commit/18a57cf8a4789b2de5ad8e2676f317a26cc91417) Thanks [@mattcompiles](https://github.com/mattcompiles)! - These packages should have been bumped in [pull request 691](https://github.com/atlassian-labs/atlaspack/pull/691).
|
|
414
|
+
|
|
415
|
+
Rectifying by creating a new changeset now.
|
|
416
|
+
|
|
417
|
+
### Patch Changes
|
|
418
|
+
|
|
419
|
+
- Updated dependencies [[`dbb4072`](https://github.com/atlassian-labs/atlaspack/commit/dbb40721ebeb45990a14ba04e6b44e7f836fb32d), [`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), [`18a57cf`](https://github.com/atlassian-labs/atlaspack/commit/18a57cf8a4789b2de5ad8e2676f317a26cc91417)]:
|
|
420
|
+
- @atlaspack/feature-flags@2.19.0
|
|
421
|
+
|
|
422
|
+
## 2.14.14
|
|
423
|
+
|
|
424
|
+
### Patch Changes
|
|
425
|
+
|
|
426
|
+
- Updated dependencies [[`e8a60ff`](https://github.com/atlassian-labs/atlaspack/commit/e8a60ffbea41caef265786bbf73349771760081c)]:
|
|
427
|
+
- @atlaspack/feature-flags@2.18.4
|
|
428
|
+
|
|
429
|
+
## 2.14.13
|
|
430
|
+
|
|
431
|
+
### Patch Changes
|
|
432
|
+
|
|
433
|
+
- Updated dependencies [[`5ded263`](https://github.com/atlassian-labs/atlaspack/commit/5ded263c7f11b866e8885b81c73e20dd060b25be)]:
|
|
434
|
+
- @atlaspack/feature-flags@2.18.3
|
|
435
|
+
|
|
436
|
+
## 2.14.12
|
|
437
|
+
|
|
438
|
+
### Patch Changes
|
|
439
|
+
|
|
440
|
+
- Updated dependencies [[`644b157`](https://github.com/atlassian-labs/atlaspack/commit/644b157dee72a871acc2d0facf0b87b8eea51956)]:
|
|
441
|
+
- @atlaspack/feature-flags@2.18.2
|
|
442
|
+
|
|
443
|
+
## 2.14.11
|
|
444
|
+
|
|
445
|
+
### Patch Changes
|
|
446
|
+
|
|
447
|
+
- Updated dependencies [[`26aa9c5`](https://github.com/atlassian-labs/atlaspack/commit/26aa9c599d2be45ce1438a74c5fa22f39b9b554b), [`0501255`](https://github.com/atlassian-labs/atlaspack/commit/05012550da35b05ce7d356a8cc29311e7f9afdca)]:
|
|
448
|
+
- @atlaspack/feature-flags@2.18.1
|
|
449
|
+
|
|
450
|
+
## 2.14.10
|
|
451
|
+
|
|
452
|
+
### Patch Changes
|
|
453
|
+
|
|
454
|
+
- Updated dependencies [[`10fbcfb`](https://github.com/atlassian-labs/atlaspack/commit/10fbcfbfa49c7a83da5d7c40983e36e87f524a75), [`85c52d3`](https://github.com/atlassian-labs/atlaspack/commit/85c52d3f7717b3c84a118d18ab98cfbfd71dcbd2)]:
|
|
455
|
+
- @atlaspack/feature-flags@2.18.0
|
|
456
|
+
|
|
457
|
+
## 2.14.9
|
|
458
|
+
|
|
459
|
+
### Patch Changes
|
|
460
|
+
|
|
461
|
+
- Updated dependencies [[`73ea3c4`](https://github.com/atlassian-labs/atlaspack/commit/73ea3c4d85d4401fdd15abcbf988237e890e7ad3), [`b1b3693`](https://github.com/atlassian-labs/atlaspack/commit/b1b369317c66f8a431c170df2ebba4fa5b2e38ef)]:
|
|
462
|
+
- @atlaspack/feature-flags@2.17.0
|
|
463
|
+
|
|
464
|
+
## 2.14.8
|
|
465
|
+
|
|
466
|
+
### Patch Changes
|
|
467
|
+
|
|
468
|
+
- [#595](https://github.com/atlassian-labs/atlaspack/pull/595) [`51aba5f`](https://github.com/atlassian-labs/atlaspack/commit/51aba5fc0e49235ee06bbc3c376f48c3e7da5c4b) Thanks [@yamadapc](https://github.com/yamadapc)! - Add bundleId to write bundle request results
|
|
469
|
+
|
|
470
|
+
## 2.14.7
|
|
471
|
+
|
|
472
|
+
### Patch Changes
|
|
473
|
+
|
|
474
|
+
- Updated dependencies [[`209692f`](https://github.com/atlassian-labs/atlaspack/commit/209692ffb11eae103a0d65c5e1118a5aa1625818), [`f4da1e1`](https://github.com/atlassian-labs/atlaspack/commit/f4da1e120e73eeb5e8b8927f05e88f04d6148c7b)]:
|
|
475
|
+
- @atlaspack/feature-flags@2.16.0
|
|
476
|
+
|
|
477
|
+
## 2.14.6
|
|
478
|
+
|
|
479
|
+
### Patch Changes
|
|
480
|
+
|
|
481
|
+
- Updated dependencies [[`30f6017`](https://github.com/atlassian-labs/atlaspack/commit/30f60175ba4d272c5fc193973c63bc298584775b)]:
|
|
482
|
+
- @atlaspack/feature-flags@2.15.1
|
|
483
|
+
|
|
484
|
+
## 2.14.5
|
|
485
|
+
|
|
486
|
+
### Patch Changes
|
|
487
|
+
|
|
488
|
+
- Updated dependencies [[`a1773d2`](https://github.com/atlassian-labs/atlaspack/commit/a1773d2a62d0ef7805ac7524621dcabcc1afe929)]:
|
|
489
|
+
- @atlaspack/feature-flags@2.15.0
|
|
490
|
+
|
|
491
|
+
## 2.14.4
|
|
492
|
+
|
|
493
|
+
### Patch Changes
|
|
494
|
+
|
|
495
|
+
- Updated dependencies [[`e0f5337`](https://github.com/atlassian-labs/atlaspack/commit/e0f533757bd1019dbd108a04952c87da15286e09)]:
|
|
496
|
+
- @atlaspack/feature-flags@2.14.4
|
|
497
|
+
|
|
498
|
+
## 2.14.3
|
|
499
|
+
|
|
500
|
+
### Patch Changes
|
|
501
|
+
|
|
502
|
+
- Updated dependencies [[`11d6f16`](https://github.com/atlassian-labs/atlaspack/commit/11d6f16b6397dee2f217167e5c98b39edb63f7a7)]:
|
|
503
|
+
- @atlaspack/feature-flags@2.14.3
|
|
504
|
+
|
|
505
|
+
## 2.14.2
|
|
506
|
+
|
|
507
|
+
### Patch Changes
|
|
508
|
+
|
|
509
|
+
- Updated dependencies [[`9b85d3e`](https://github.com/atlassian-labs/atlaspack/commit/9b85d3e645b10bd027eed2304afc970a5ba40062), [`17b9579`](https://github.com/atlassian-labs/atlaspack/commit/17b9579484eced0ed8f23e2aba6d23b3c7238c39), [`8f4e6c1`](https://github.com/atlassian-labs/atlaspack/commit/8f4e6c1b0e7c1fd48624afda48c1dcc599f1460f)]:
|
|
510
|
+
- @atlaspack/feature-flags@2.14.2
|
|
511
|
+
|
|
3
512
|
## 2.14.1
|
|
4
513
|
|
|
5
514
|
### Patch Changes
|
package/dist/Cache.js
ADDED
package/dist/FilePath.js
ADDED
package/dist/Glob.js
ADDED
package/dist/index.js
ADDED
package/dist/unsafe.js
ADDED
package/lib/Cache.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
package/lib/FilePath.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
package/lib/Glob.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
package/lib/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { Readable } from 'stream';
|
|
2
|
+
export interface Cache {
|
|
3
|
+
ensure(): Promise<void>;
|
|
4
|
+
has(key: string): Promise<boolean>;
|
|
5
|
+
get<T>(key: string): Promise<T | null | undefined>;
|
|
6
|
+
set(key: string, value: unknown): Promise<void>;
|
|
7
|
+
getStream(key: string): Readable;
|
|
8
|
+
setStream(key: string, stream: Readable): Promise<void>;
|
|
9
|
+
getBlob(key: string): Promise<Buffer>;
|
|
10
|
+
setBlob(key: string, contents: Buffer | string): Promise<void>;
|
|
11
|
+
hasLargeBlob(key: string): Promise<boolean>;
|
|
12
|
+
getLargeBlob(key: string): Promise<Buffer>;
|
|
13
|
+
setLargeBlob(key: string, contents: Buffer | string, options?: {
|
|
14
|
+
signal?: AbortSignal;
|
|
15
|
+
}): Promise<void>;
|
|
16
|
+
deleteLargeBlob(key: string): Promise<void>;
|
|
17
|
+
getBuffer(key: string): Promise<Buffer | null | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* In a multi-threaded environment, where there are potentially multiple Cache
|
|
20
|
+
* instances writing to the cache, ensure that this instance has the latest view
|
|
21
|
+
* of the changes that may have been written to the cache in other threads.
|
|
22
|
+
*/
|
|
23
|
+
refresh(): void;
|
|
24
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type { Glob } from
|
|
2
|
-
import type { FilePath } from
|
|
1
|
+
import type { Glob } from './Glob';
|
|
2
|
+
import type { FilePath } from './FilePath';
|
|
3
3
|
export type GlobInvalidation = {
|
|
4
|
-
|
|
4
|
+
glob: Glob;
|
|
5
5
|
};
|
|
6
6
|
export type FileInvalidation = {
|
|
7
|
-
|
|
7
|
+
filePath: FilePath;
|
|
8
8
|
};
|
|
9
9
|
export type FileAboveInvalidation = {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
fileName: string;
|
|
11
|
+
aboveFilePath: FilePath;
|
|
12
12
|
};
|
|
13
13
|
export type FileCreateInvalidation = FileInvalidation | GlobInvalidation | FileAboveInvalidation;
|