@atlaskit/dependency-version-analytics 1.6.6 → 1.7.0

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.
Files changed (57) hide show
  1. package/CHANGELOG.md +198 -70
  2. package/analytics/package.json +15 -0
  3. package/bin/dependency-version-analytics.js +9 -9
  4. package/cli/package.json +1 -1
  5. package/constants/package.json +1 -1
  6. package/dist/cjs/commands/populate-historic-data/product.js +1 -2
  7. package/dist/cjs/entry-points/analytics.js +12 -0
  8. package/dist/cjs/entry-points/package.js +13 -0
  9. package/dist/cjs/entry-points/product.js +13 -0
  10. package/dist/cjs/util/analytics.js +2 -2
  11. package/dist/cjs/util/yarn.js +1 -2
  12. package/dist/es2019/cli.js +0 -1
  13. package/dist/es2019/entry-points/analytics.js +1 -0
  14. package/dist/es2019/entry-points/package.js +1 -0
  15. package/dist/es2019/entry-points/product.js +1 -0
  16. package/dist/es2019/util/analytics.js +2 -2
  17. package/dist/esm/cli.js +0 -1
  18. package/dist/esm/commands/populate-historic-data/lib/dependency-store.js +10 -9
  19. package/dist/esm/commands/populate-historic-data/product.js +2 -2
  20. package/dist/esm/entry-points/analytics.js +1 -0
  21. package/dist/esm/entry-points/package.js +1 -0
  22. package/dist/esm/entry-points/product.js +1 -0
  23. package/dist/esm/util/analytics.js +2 -2
  24. package/dist/types/cli.d.ts +2 -2
  25. package/dist/types/commands/populate-historic-data/lib/dependency-store.d.ts +1 -1
  26. package/dist/types/commands/populate-historic-data/package.d.ts +2 -2
  27. package/dist/types/commands/populate-historic-data/product.d.ts +1 -1
  28. package/dist/types/commands/populate-historic-data/types.d.ts +1 -1
  29. package/dist/types/commands/populate-historic-data/util/generate-csv.d.ts +1 -1
  30. package/dist/types/entry-points/analytics.d.ts +1 -0
  31. package/dist/types/entry-points/package.d.ts +1 -0
  32. package/dist/types/entry-points/product.d.ts +1 -0
  33. package/dist/types/index.d.ts +2 -2
  34. package/dist/types/types.d.ts +1 -1
  35. package/dist/types/util/analytics.d.ts +1 -1
  36. package/dist/types/util/get-package-version-history.d.ts +1 -1
  37. package/dist/types/util/git.d.ts +3 -3
  38. package/dist/types-ts4.5/cli.d.ts +2 -2
  39. package/dist/types-ts4.5/commands/populate-historic-data/lib/dependency-store.d.ts +1 -1
  40. package/dist/types-ts4.5/commands/populate-historic-data/package.d.ts +2 -2
  41. package/dist/types-ts4.5/commands/populate-historic-data/product.d.ts +1 -1
  42. package/dist/types-ts4.5/commands/populate-historic-data/types.d.ts +1 -1
  43. package/dist/types-ts4.5/commands/populate-historic-data/util/generate-csv.d.ts +1 -1
  44. package/dist/types-ts4.5/entry-points/analytics.d.ts +1 -0
  45. package/dist/types-ts4.5/entry-points/package.d.ts +1 -0
  46. package/dist/types-ts4.5/entry-points/product.d.ts +1 -0
  47. package/dist/types-ts4.5/index.d.ts +2 -2
  48. package/dist/types-ts4.5/types.d.ts +1 -1
  49. package/dist/types-ts4.5/util/analytics.d.ts +1 -1
  50. package/dist/types-ts4.5/util/get-package-version-history.d.ts +1 -1
  51. package/dist/types-ts4.5/util/git.d.ts +3 -3
  52. package/jest.config.js +1 -1
  53. package/package/package.json +15 -0
  54. package/package.json +55 -62
  55. package/product/package.json +15 -0
  56. package/report.api.md +51 -52
  57. package/types/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,236 +1,326 @@
1
1
  # @atlaskit/dependency-version-analytics
2
2
 
3
+ ## 1.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`3f23aba4db7f2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3f23aba4db7f2) -
8
+ Autofix: add explicit package exports (barrel removal)
9
+
10
+ ## 1.6.7
11
+
12
+ ### Patch Changes
13
+
14
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
15
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
16
+ Upgrade Typescript from `4.9.5` to `5.4.2`
17
+
3
18
  ## 1.6.6
4
19
 
5
20
  ### Patch Changes
6
21
 
7
- - [#69779](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69779) [`8dd71b2e0653`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8dd71b2e0653) - Updated bin property to string as the package name and bin name matches. https://yarnpkg.com/configuration/manifest#bin
22
+ - [#69779](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69779)
23
+ [`8dd71b2e0653`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8dd71b2e0653) -
24
+ Updated bin property to string as the package name and bin name matches.
25
+ https://yarnpkg.com/configuration/manifest#bin
8
26
 
9
27
  ## 1.6.5
10
28
 
11
29
  ### Patch Changes
12
30
 
13
- - [#68871](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68871) [`1cb2b8f4e1d7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1cb2b8f4e1d7) - Take subWorkDir into consideration when checking for root package.json changes
31
+ - [#68871](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68871)
32
+ [`1cb2b8f4e1d7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1cb2b8f4e1d7) -
33
+ Take subWorkDir into consideration when checking for root package.json changes
14
34
 
15
35
  ## 1.6.4
16
36
 
17
37
  ### Patch Changes
18
38
 
19
- - [#68766](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68766) [`da0d4d88ccc6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da0d4d88ccc6) - added logs to debug issue related to UPMI-247
39
+ - [#68766](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68766)
40
+ [`da0d4d88ccc6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da0d4d88ccc6) -
41
+ added logs to debug issue related to UPMI-247
20
42
 
21
43
  ## 1.6.3
22
44
 
23
45
  ### Patch Changes
24
46
 
25
- - [#66058](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66058) [`f602c4298340`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f602c4298340) - Migrate @atlaskit/dependency-version-analytics to use declarative entry points
47
+ - [#66058](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66058)
48
+ [`f602c4298340`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f602c4298340) -
49
+ Migrate @atlaskit/dependency-version-analytics to use declarative entry points
26
50
 
27
51
  ## 1.6.2
28
52
 
29
53
  ### Patch Changes
30
54
 
31
- - [#43610](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43610) [`b43034e49a9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b43034e49a9) - Bump Axios version to patch the vulnerability
55
+ - [#43610](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43610)
56
+ [`b43034e49a9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b43034e49a9) - Bump
57
+ Axios version to patch the vulnerability
32
58
 
33
59
  ## 1.6.1
34
60
 
35
61
  ### Patch Changes
36
62
 
37
- - [#40619](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40619) [`1d902045dff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1d902045dff) - Skip alpha versions packages
63
+ - [#40619](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40619)
64
+ [`1d902045dff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1d902045dff) - Skip
65
+ alpha versions packages
38
66
 
39
67
  ## 1.6.0
40
68
 
41
69
  ### Minor Changes
42
70
 
43
- - [#40000](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40000) [`d6cf767ff5e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6cf767ff5e) - Use subWorkDir flag to get root package.json
71
+ - [#40000](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40000)
72
+ [`d6cf767ff5e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6cf767ff5e) - Use
73
+ subWorkDir flag to get root package.json
44
74
 
45
75
  ## 1.5.1
46
76
 
47
77
  ### Patch Changes
48
78
 
49
- - [#39405](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39405) [`b8ca83aa350`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b8ca83aa350) - Swap exec with spawn to avoid maxBuffer errors
79
+ - [#39405](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39405)
80
+ [`b8ca83aa350`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b8ca83aa350) - Swap
81
+ exec with spawn to avoid maxBuffer errors
50
82
 
51
83
  ## 1.5.0
52
84
 
53
85
  ### Minor Changes
54
86
 
55
- - [#39186](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39186) [`d23cb258eb0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d23cb258eb0) - Using flags.cwd to set current workDir and use package.json from current workDir instead of root
87
+ - [#39186](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39186)
88
+ [`d23cb258eb0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d23cb258eb0) - Using
89
+ flags.cwd to set current workDir and use package.json from current workDir instead of root
56
90
 
57
91
  ## 1.4.9
58
92
 
59
93
  ### Patch Changes
60
94
 
61
- - [#39119](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39119) [`0fd070e4bba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0fd070e4bba) - Improved logs
95
+ - [#39119](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39119)
96
+ [`0fd070e4bba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0fd070e4bba) - Improved
97
+ logs
62
98
 
63
99
  ## 1.4.8
64
100
 
65
101
  ### Patch Changes
66
102
 
67
- - [#38998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38998) [`27db2e84c40`](https://bitbucket.org/atlassian/atlassian-frontend/commits/27db2e84c40) - Removing '--current' postfix from packageName before checking it for support
103
+ - [#38998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38998)
104
+ [`27db2e84c40`](https://bitbucket.org/atlassian/atlassian-frontend/commits/27db2e84c40) - Removing
105
+ '--current' postfix from packageName before checking it for support
68
106
 
69
107
  ## 1.4.7
70
108
 
71
109
  ### Patch Changes
72
110
 
73
- - [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
111
+ - [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162)
112
+ [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete
113
+ version.json
74
114
 
75
115
  ## 1.4.6
76
116
 
77
117
  ### Patch Changes
78
118
 
79
- - [#37925](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37925) [`f01deb5e6ab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f01deb5e6ab) - Use injected env vars instead of version.json
119
+ - [#37925](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37925)
120
+ [`f01deb5e6ab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f01deb5e6ab) - Use
121
+ injected env vars instead of version.json
80
122
 
81
123
  ## 1.4.5
82
124
 
83
125
  ### Patch Changes
84
126
 
85
- - [#37340](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37340) [`b9355830504`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9355830504) - Opt out of peer dependency enforcement
127
+ - [#37340](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37340)
128
+ [`b9355830504`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9355830504) - Opt out
129
+ of peer dependency enforcement
86
130
 
87
131
  ## 1.4.4
88
132
 
89
133
  ### Patch Changes
90
134
 
91
- - [#36757](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36757) [`3fb20c4aeba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3fb20c4aeba) - Add postinstall check to enforce internal peer dependencies
135
+ - [#36757](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36757)
136
+ [`3fb20c4aeba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3fb20c4aeba) - Add
137
+ postinstall check to enforce internal peer dependencies
92
138
 
93
139
  ## 1.4.3
94
140
 
95
141
  ### Patch Changes
96
142
 
97
- - [#35950](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35950) [`50cf866a219`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50cf866a219) - bump semver
143
+ - [#35950](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35950)
144
+ [`50cf866a219`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50cf866a219) - bump
145
+ semver
98
146
 
99
147
  ## 1.4.2
100
148
 
101
149
  ### Patch Changes
102
150
 
103
- - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
151
+ - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
152
+ [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
153
+ legacy types are published for TS 4.5-4.8
104
154
 
105
155
  ## 1.4.1
106
156
 
107
157
  ### Patch Changes
108
158
 
109
- - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
159
+ - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
160
+ [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
161
+ Typescript from `4.5.5` to `4.9.5`
110
162
 
111
163
  ## 1.4.0
112
164
 
113
165
  ### Minor Changes
114
166
 
115
- - [#33371](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33371) [`34c045e90ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/34c045e90ed) - Added supportedPackages to product flow
167
+ - [#33371](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33371)
168
+ [`34c045e90ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/34c045e90ed) - Added
169
+ supportedPackages to product flow
116
170
 
117
171
  ## 1.3.0
118
172
 
119
173
  ### Minor Changes
120
174
 
121
- - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
175
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
176
+ [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
177
+ minor dependency bump
122
178
 
123
179
  ## 1.2.2
124
180
 
125
181
  ### Patch Changes
126
182
 
127
- - [#33099](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33099) [`2d3cc41d7d6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2d3cc41d7d6) - Removed logic to fetch tags metadata during product flow.
183
+ - [#33099](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33099)
184
+ [`2d3cc41d7d6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2d3cc41d7d6) - Removed
185
+ logic to fetch tags metadata during product flow.
128
186
 
129
187
  ## 1.2.1
130
188
 
131
189
  ### Patch Changes
132
190
 
133
- - [#33019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33019) [`7873dd15ba2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7873dd15ba2) - Updated version analytics events to exclude tags
191
+ - [#33019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33019)
192
+ [`7873dd15ba2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7873dd15ba2) - Updated
193
+ version analytics events to exclude tags
134
194
 
135
195
  ## 1.2.0
136
196
 
137
197
  ### Minor Changes
138
198
 
139
- - [#32737](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32737) [`b734af05daf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b734af05daf) - Added support for non-ak scoped packages
199
+ - [#32737](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32737)
200
+ [`b734af05daf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b734af05daf) - Added
201
+ support for non-ak scoped packages
140
202
 
141
203
  ## 1.1.0
142
204
 
143
205
  ### Minor Changes
144
206
 
145
- - [#30415](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30415) [`dd9a70fcafc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dd9a70fcafc) - Add npm dist-tags (latest, next, rc, hotfix) to analytics
207
+ - [#30415](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30415)
208
+ [`dd9a70fcafc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dd9a70fcafc) - Add npm
209
+ dist-tags (latest, next, rc, hotfix) to analytics
146
210
 
147
211
  ## 1.0.0
148
212
 
149
213
  ### Major Changes
150
214
 
151
- - [#29512](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29512) [`7913f15625c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7913f15625c) - Upgraded @atlassiansox/analytics-node-client from 2.2.1 to 3.2.1
215
+ - [#29512](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29512)
216
+ [`7913f15625c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7913f15625c) - Upgraded
217
+ @atlassiansox/analytics-node-client from 2.2.1 to 3.2.1
152
218
 
153
219
  ## 0.4.2
154
220
 
155
221
  ### Patch Changes
156
222
 
157
- - [#28684](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28684) [`f7f61c05062`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7f61c05062) - The 'debug' dependency was updated from 2.2 to 4.3.4
223
+ - [#28684](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28684)
224
+ [`f7f61c05062`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7f61c05062) - The
225
+ 'debug' dependency was updated from 2.2 to 4.3.4
158
226
 
159
227
  ## 0.4.1
160
228
 
161
229
  ### Patch Changes
162
230
 
163
- - [#29170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29170) [`708957d360f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/708957d360f) - Upgrade a dependency package simple-git
231
+ - [#29170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29170)
232
+ [`708957d360f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/708957d360f) - Upgrade
233
+ a dependency package simple-git
164
234
 
165
235
  ## 0.4.0
166
236
 
167
237
  ### Minor Changes
168
238
 
169
- - [#28150](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28150) [`00ea8db4763`](https://bitbucket.org/atlassian/atlassian-frontend/commits/00ea8db4763) - Upgrading the simple-git version
239
+ - [#28150](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28150)
240
+ [`00ea8db4763`](https://bitbucket.org/atlassian/atlassian-frontend/commits/00ea8db4763) -
241
+ Upgrading the simple-git version
170
242
 
171
243
  ## 0.3.13
172
244
 
173
245
  ### Patch Changes
174
246
 
175
- - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
247
+ - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
248
+ [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
249
+ Typescript from `4.3.5` to `4.5.5`
176
250
 
177
251
  ## 0.3.12
178
252
 
179
253
  ### Patch Changes
180
254
 
181
- - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
255
+ - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
256
+ [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
257
+ Typescript from `4.2.4` to `4.3.5`.
182
258
 
183
259
  ## 0.3.11
184
260
 
185
261
  ### Patch Changes
186
262
 
187
- - [#23888](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23888) [`ec86e718ae9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ec86e718ae9) - Upgrade internal dependency @atlassiansox/analytics-node-client to fix a bug when bundling the analytics client
263
+ - [#23888](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23888)
264
+ [`ec86e718ae9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ec86e718ae9) - Upgrade
265
+ internal dependency @atlassiansox/analytics-node-client to fix a bug when bundling the analytics
266
+ client
188
267
 
189
268
  ## 0.3.10
190
269
 
191
270
  ### Patch Changes
192
271
 
193
- - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`a424e62b264`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a424e62b264) - Changes to support Node 16 Typescript definitions from `@types/node`.
272
+ - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
273
+ [`a424e62b264`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a424e62b264) - Changes
274
+ to support Node 16 Typescript definitions from `@types/node`.
194
275
 
195
276
  ## 0.3.9
196
277
 
197
278
  ### Patch Changes
198
279
 
199
- - [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
280
+ - [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
281
+ to TypeScript 4.2.4
200
282
 
201
283
  ## 0.3.8
202
284
 
203
285
  ### Patch Changes
204
286
 
205
- - [#20310](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20310) [`1977986ea86`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1977986ea86) - Bumping dependencies via Renovate:
206
-
287
+ - [#20310](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20310)
288
+ [`1977986ea86`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1977986ea86) - Bumping
289
+ dependencies via Renovate:
207
290
  - simple-git
208
291
 
209
292
  ## 0.3.7
210
293
 
211
294
  ### Patch Changes
212
295
 
213
- - [#19927](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19927) [`5c45b17200d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c45b17200d) - Bumping dependencies via Renovate:
214
-
296
+ - [#19927](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19927)
297
+ [`5c45b17200d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c45b17200d) - Bumping
298
+ dependencies via Renovate:
215
299
  - simple-git
216
300
 
217
301
  ## 0.3.6
218
302
 
219
303
  ### Patch Changes
220
304
 
221
- - [#19537](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19537) [`4d32baaa06a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4d32baaa06a) - Major bump inquirer to latest
305
+ - [#19537](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19537)
306
+ [`4d32baaa06a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4d32baaa06a) - Major
307
+ bump inquirer to latest
222
308
 
223
309
  ## 0.3.5
224
310
 
225
311
  ### Patch Changes
226
312
 
227
- - [#18957](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18957) [`99ef999a39f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/99ef999a39f) - Renovate Bot upgraded simple-git from ^1.130.0 to 2.48.0
313
+ - [#18957](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18957)
314
+ [`99ef999a39f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/99ef999a39f) - Renovate
315
+ Bot upgraded simple-git from ^1.130.0 to 2.48.0
228
316
 
229
317
  ## 0.3.4
230
318
 
231
319
  ### Patch Changes
232
320
 
233
- - [#18668](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18668) [`bca63cdea49`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bca63cdea49) - Remove url-parse
321
+ - [#18668](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18668)
322
+ [`bca63cdea49`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bca63cdea49) - Remove
323
+ url-parse
234
324
 
235
325
  We should use browser built-ins not url-parse
236
326
 
@@ -238,88 +328,119 @@
238
328
 
239
329
  ### Patch Changes
240
330
 
241
- - [#16649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16649) [`650aa20f6fe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/650aa20f6fe) - Upgrade meow dependency
331
+ - [#16649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16649)
332
+ [`650aa20f6fe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/650aa20f6fe) - Upgrade
333
+ meow dependency
242
334
 
243
335
  ## 0.3.2
244
336
 
245
337
  ### Patch Changes
246
338
 
247
- - [#9018](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9018) [`84270dcf31a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/84270dcf31a) - Bump dependency "meow" to version ^6.0.0
339
+ - [#9018](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9018)
340
+ [`84270dcf31a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/84270dcf31a) - Bump
341
+ dependency "meow" to version ^6.0.0
248
342
 
249
343
  ## 0.3.1
250
344
 
251
345
  ### Patch Changes
252
346
 
253
- - [#9025](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9025) [`9f6045d38ce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9f6045d38ce) - Upgrade analytics-node-client dependency
347
+ - [#9025](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9025)
348
+ [`9f6045d38ce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9f6045d38ce) - Upgrade
349
+ analytics-node-client dependency
254
350
 
255
351
  ## 0.3.0
256
352
 
257
353
  ### Minor Changes
258
354
 
259
- - [#7071](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7071) [`98deccc667`](https://bitbucket.org/atlassian/atlassian-frontend/commits/98deccc667) - Add support for repositories using yarn workspaces
355
+ - [#7071](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7071)
356
+ [`98deccc667`](https://bitbucket.org/atlassian/atlassian-frontend/commits/98deccc667) - Add
357
+ support for repositories using yarn workspaces
260
358
 
261
- Upgrade events are sent for dependencies listed in any declared workspace, not only the root package.json. An upgrade event is only sent when all workspaces move to a new version. The lowest semver version across the repo is used as the aggregated version of a dependency.
359
+ Upgrade events are sent for dependencies listed in any declared workspace, not only the root
360
+ package.json. An upgrade event is only sent when all workspaces move to a new version. The lowest
361
+ semver version across the repo is used as the aggregated version of a dependency.
262
362
 
263
363
  ## 0.2.0
264
364
 
265
365
  ### Minor Changes
266
366
 
267
- - [#6793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6793) [`b3d3b36c06`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b3d3b36c06) - Add statlas flag that uploads last run state to statlas rather than a git tag
367
+ - [#6793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6793)
368
+ [`b3d3b36c06`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b3d3b36c06) - Add
369
+ statlas flag that uploads last run state to statlas rather than a git tag
268
370
 
269
371
  ## 0.1.21
270
372
 
271
373
  ### Patch Changes
272
374
 
273
- - [#6734](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6734) [`3f51c7d0b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f51c7d0b8) - Fix versionString not including version range or prerelease info
375
+ - [#6734](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6734)
376
+ [`3f51c7d0b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f51c7d0b8) - Fix
377
+ versionString not including version range or prerelease info
274
378
 
275
379
  ## 0.1.20
276
380
 
277
381
  ### Patch Changes
278
382
 
279
- - [#6673](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6673) [`365c4257e0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/365c4257e0) - Fix types not being resolvable
383
+ - [#6673](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6673)
384
+ [`365c4257e0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/365c4257e0) - Fix types
385
+ not being resolvable
280
386
 
281
387
  ## 0.1.19
282
388
 
283
389
  ### Patch Changes
284
390
 
285
- - [#6631](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6631) [`c8a5330883`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c8a5330883) - Fix custom jira suffixed dependencies used for independent upgrades.
391
+ - [#6631](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6631)
392
+ [`c8a5330883`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c8a5330883) - Fix custom
393
+ jira suffixed dependencies used for independent upgrades.
286
394
 
287
- '--current' suffixed deps are now treated as normal deps and converted to a non-suffixed name and proper version. '--next' deps are ignored.
288
- upgradeType is now also fixed to reflect the 'upgrade' upgradeType rather than 'add' and 'remove'.
395
+ '--current' suffixed deps are now treated as normal deps and converted to a non-suffixed name and
396
+ proper version. '--next' deps are ignored. upgradeType is now also fixed to reflect the 'upgrade'
397
+ upgradeType rather than 'add' and 'remove'.
289
398
 
290
- - [`26c63f4bc3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/26c63f4bc3) - Fix dependency type changes not being sent as separate remove/add events
399
+ - [`26c63f4bc3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/26c63f4bc3) - Fix
400
+ dependency type changes not being sent as separate remove/add events
291
401
 
292
- When a dependency changes type, e.g. dependencies to devDependencies, we need to record it as separate remove & add events so that our queries can easily tell that the package is no longer a normal dependency.
293
- This is even a bigger problem when a dependency changed dependency type without any version change as no event would be sent at all in that case.
402
+ When a dependency changes type, e.g. dependencies to devDependencies, we need to record it as
403
+ separate remove & add events so that our queries can easily tell that the package is no longer a
404
+ normal dependency. This is even a bigger problem when a dependency changed dependency type without
405
+ any version change as no event would be sent at all in that case.
294
406
 
295
407
  ## 0.1.18
296
408
 
297
409
  ### Patch Changes
298
410
 
299
- - [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857) [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
411
+ - [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
412
+ [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile
413
+ packages using babel rather than tsc
300
414
 
301
415
  ## 0.1.17
302
416
 
303
417
  ### Patch Changes
304
418
 
305
- - [#5623](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5623) [`7ef9198547`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7ef9198547) - Update dependency name & version to take into account `--next` and `--current`.
419
+ - [#5623](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5623)
420
+ [`7ef9198547`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7ef9198547) - Update
421
+ dependency name & version to take into account `--next` and `--current`.
306
422
 
307
423
  ## 0.1.16
308
424
 
309
425
  ### Patch Changes
310
426
 
311
- - [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497) [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
312
- This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
313
- Also add `typescript` to `devDependencies` to denote version that the package was built with.
427
+ - [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
428
+ [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
429
+ types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
430
+ compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript
431
+ versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
432
+ `devDependencies` to denote version that the package was built with.
314
433
 
315
434
  ## 0.1.15
316
435
 
317
436
  ### Patch Changes
318
437
 
319
- - [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885) [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
438
+ - [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
439
+ [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
440
+ to TypeScript 3.9.6 and tslib to 2.0.0
320
441
 
321
- Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
322
- to prevent duplicates of tslib being bundled.
442
+ Since tslib is a dependency for all our packages we recommend that products also follow this tslib
443
+ upgrade to prevent duplicates of tslib being bundled.
323
444
 
324
445
  ## 0.1.14
325
446
 
@@ -328,9 +449,13 @@
328
449
  - [patch][03add6d4b5](https://bitbucket.org/atlassian/atlassian-frontend/commits/03add6d4b5):
329
450
 
330
451
  # What have been fixed?
331
-
332
- - `inquirer` version `3.3.0` . It has been fixed by bumping it to `6.4.0`. [Changelog](https://github.com/SBoudrias/Inquirer.js/compare/v3.3.0...v6.0.0) Mostly improvement and Node support.
333
- - `svgexport` version `0.3.2`. I has been fixed by bumping to `0.4.0`. There is no changelog but this is the change before the bump to [0.4.0](https://github.com/shakiba/svgexport/commit/3acbf51f0687f54d1972265cd3aef4c6a7e925fc), it should not affect anything.
452
+ - `inquirer` version `3.3.0` . It has been fixed by bumping it to `6.4.0`.
453
+ [Changelog](https://github.com/SBoudrias/Inquirer.js/compare/v3.3.0...v6.0.0) Mostly improvement
454
+ and Node support.
455
+ - `svgexport` version `0.3.2`. I has been fixed by bumping to `0.4.0`. There is no changelog but
456
+ this is the change before the bump to
457
+ [0.4.0](https://github.com/shakiba/svgexport/commit/3acbf51f0687f54d1972265cd3aef4c6a7e925fc),
458
+ it should not affect anything.
334
459
 
335
460
  ## 0.1.13
336
461
 
@@ -386,7 +511,8 @@
386
511
 
387
512
  - [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
388
513
 
389
- Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving non-relative imports as relative imports
514
+ Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
515
+ non-relative imports as relative imports
390
516
 
391
517
  ## 0.1.6
392
518
 
@@ -402,7 +528,8 @@
402
528
 
403
529
  - [patch][b9b8222978](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b9b8222978):
404
530
 
405
- @types/node-fetch was declared in devDependencies and dependencies. Move @types/node-fetch, @types/node, @types/url-parse from dependencies to devDependencies.
531
+ @types/node-fetch was declared in devDependencies and dependencies. Move @types/node-fetch,
532
+ @types/node, @types/url-parse from dependencies to devDependencies.
406
533
 
407
534
  ## 0.1.4
408
535
 
@@ -425,9 +552,10 @@
425
552
  ### Patch Changes
426
553
 
427
554
  - [patch][50ddd93885](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/50ddd93885):
428
-
429
- - [populate-package] Fix upgradeType erroneously set to 'add' instead of 'upgrade' for the first event sent using --since
430
- - Add new upgradeType 'downgrade' to analytics payloads when a package is downgraded, typically after a rollback.
555
+ - [populate-package] Fix upgradeType erroneously set to 'add' instead of 'upgrade' for the first
556
+ event sent using --since
557
+ - Add new upgradeType 'downgrade' to analytics payloads when a package is downgraded, typically
558
+ after a rollback.
431
559
 
432
560
  ## 0.1.1
433
561
 
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "@atlaskit/dependency-version-analytics/analytics",
3
+ "main": "../dist/cjs/entry-points/analytics.js",
4
+ "module": "../dist/esm/entry-points/analytics.js",
5
+ "module:es2019": "../dist/es2019/entry-points/analytics.js",
6
+ "sideEffects": false,
7
+ "types": "../dist/types/entry-points/analytics.d.ts",
8
+ "typesVersions": {
9
+ ">=4.5 <5.9": {
10
+ "*": [
11
+ "../dist/types-ts4.5/entry-points/analytics.d.ts"
12
+ ]
13
+ }
14
+ }
15
+ }
@@ -8,15 +8,15 @@ const project = path.join(__dirname, '../tsconfig.json');
8
8
  const dev = fs.existsSync(project);
9
9
 
10
10
  if (dev) {
11
- require('ts-node').register({ project });
11
+ require('ts-node').register({ project });
12
12
  }
13
13
 
14
14
  require(path.join('..', dev ? 'src/cli' : 'dist/cjs/cli'))
15
- .run({ dev })
16
- .catch(error => {
17
- if (typeof error === 'number') {
18
- process.exit(error);
19
- }
20
- console.error(error);
21
- process.exit(1);
22
- });
15
+ .run({ dev })
16
+ .catch((error) => {
17
+ if (typeof error === 'number') {
18
+ process.exit(error);
19
+ }
20
+ console.error(error);
21
+ process.exit(1);
22
+ });
package/cli/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/cli.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.9": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/cli.d.ts"
12
12
  ]
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/constants.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.9": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/constants.d.ts"
12
12
  ]
@@ -14,8 +14,7 @@ var _generateCsv = require("./util/generate-csv");
14
14
  var _assert = require("../../util/assert");
15
15
  var _dependencyStore = require("./lib/dependency-store");
16
16
  var _allowedScopes = require("./util/allowed-scopes");
17
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
18
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
19
18
  const getUpgradeEventsFromPkgChange = (oldDeps, newDeps, {
20
19
  date,
21
20
  commitHash