@atlaskit/dependency-version-analytics 1.6.7 → 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 +193 -71
  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 +4 -5
  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 +56 -63
  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,242 +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
+
3
10
  ## 1.6.7
4
11
 
5
12
  ### Patch Changes
6
13
 
7
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
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`
8
17
 
9
18
  ## 1.6.6
10
19
 
11
20
  ### Patch Changes
12
21
 
13
- - [#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
14
26
 
15
27
  ## 1.6.5
16
28
 
17
29
  ### Patch Changes
18
30
 
19
- - [#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
20
34
 
21
35
  ## 1.6.4
22
36
 
23
37
  ### Patch Changes
24
38
 
25
- - [#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
26
42
 
27
43
  ## 1.6.3
28
44
 
29
45
  ### Patch Changes
30
46
 
31
- - [#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
32
50
 
33
51
  ## 1.6.2
34
52
 
35
53
  ### Patch Changes
36
54
 
37
- - [#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
38
58
 
39
59
  ## 1.6.1
40
60
 
41
61
  ### Patch Changes
42
62
 
43
- - [#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
44
66
 
45
67
  ## 1.6.0
46
68
 
47
69
  ### Minor Changes
48
70
 
49
- - [#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
50
74
 
51
75
  ## 1.5.1
52
76
 
53
77
  ### Patch Changes
54
78
 
55
- - [#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
56
82
 
57
83
  ## 1.5.0
58
84
 
59
85
  ### Minor Changes
60
86
 
61
- - [#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
62
90
 
63
91
  ## 1.4.9
64
92
 
65
93
  ### Patch Changes
66
94
 
67
- - [#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
68
98
 
69
99
  ## 1.4.8
70
100
 
71
101
  ### Patch Changes
72
102
 
73
- - [#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
74
106
 
75
107
  ## 1.4.7
76
108
 
77
109
  ### Patch Changes
78
110
 
79
- - [#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
80
114
 
81
115
  ## 1.4.6
82
116
 
83
117
  ### Patch Changes
84
118
 
85
- - [#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
86
122
 
87
123
  ## 1.4.5
88
124
 
89
125
  ### Patch Changes
90
126
 
91
- - [#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
92
130
 
93
131
  ## 1.4.4
94
132
 
95
133
  ### Patch Changes
96
134
 
97
- - [#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
98
138
 
99
139
  ## 1.4.3
100
140
 
101
141
  ### Patch Changes
102
142
 
103
- - [#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
104
146
 
105
147
  ## 1.4.2
106
148
 
107
149
  ### Patch Changes
108
150
 
109
- - [#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
110
154
 
111
155
  ## 1.4.1
112
156
 
113
157
  ### Patch Changes
114
158
 
115
- - [#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`
116
162
 
117
163
  ## 1.4.0
118
164
 
119
165
  ### Minor Changes
120
166
 
121
- - [#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
122
170
 
123
171
  ## 1.3.0
124
172
 
125
173
  ### Minor Changes
126
174
 
127
- - [#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
128
178
 
129
179
  ## 1.2.2
130
180
 
131
181
  ### Patch Changes
132
182
 
133
- - [#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.
134
186
 
135
187
  ## 1.2.1
136
188
 
137
189
  ### Patch Changes
138
190
 
139
- - [#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
140
194
 
141
195
  ## 1.2.0
142
196
 
143
197
  ### Minor Changes
144
198
 
145
- - [#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
146
202
 
147
203
  ## 1.1.0
148
204
 
149
205
  ### Minor Changes
150
206
 
151
- - [#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
152
210
 
153
211
  ## 1.0.0
154
212
 
155
213
  ### Major Changes
156
214
 
157
- - [#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
158
218
 
159
219
  ## 0.4.2
160
220
 
161
221
  ### Patch Changes
162
222
 
163
- - [#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
164
226
 
165
227
  ## 0.4.1
166
228
 
167
229
  ### Patch Changes
168
230
 
169
- - [#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
170
234
 
171
235
  ## 0.4.0
172
236
 
173
237
  ### Minor Changes
174
238
 
175
- - [#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
176
242
 
177
243
  ## 0.3.13
178
244
 
179
245
  ### Patch Changes
180
246
 
181
- - [#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`
182
250
 
183
251
  ## 0.3.12
184
252
 
185
253
  ### Patch Changes
186
254
 
187
- - [#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`.
188
258
 
189
259
  ## 0.3.11
190
260
 
191
261
  ### Patch Changes
192
262
 
193
- - [#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
194
267
 
195
268
  ## 0.3.10
196
269
 
197
270
  ### Patch Changes
198
271
 
199
- - [#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`.
200
275
 
201
276
  ## 0.3.9
202
277
 
203
278
  ### Patch Changes
204
279
 
205
- - [`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
206
282
 
207
283
  ## 0.3.8
208
284
 
209
285
  ### Patch Changes
210
286
 
211
- - [#20310](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20310) [`1977986ea86`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1977986ea86) - Bumping dependencies via Renovate:
212
-
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:
213
290
  - simple-git
214
291
 
215
292
  ## 0.3.7
216
293
 
217
294
  ### Patch Changes
218
295
 
219
- - [#19927](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19927) [`5c45b17200d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c45b17200d) - Bumping dependencies via Renovate:
220
-
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:
221
299
  - simple-git
222
300
 
223
301
  ## 0.3.6
224
302
 
225
303
  ### Patch Changes
226
304
 
227
- - [#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
228
308
 
229
309
  ## 0.3.5
230
310
 
231
311
  ### Patch Changes
232
312
 
233
- - [#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
234
316
 
235
317
  ## 0.3.4
236
318
 
237
319
  ### Patch Changes
238
320
 
239
- - [#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
240
324
 
241
325
  We should use browser built-ins not url-parse
242
326
 
@@ -244,88 +328,119 @@
244
328
 
245
329
  ### Patch Changes
246
330
 
247
- - [#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
248
334
 
249
335
  ## 0.3.2
250
336
 
251
337
  ### Patch Changes
252
338
 
253
- - [#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
254
342
 
255
343
  ## 0.3.1
256
344
 
257
345
  ### Patch Changes
258
346
 
259
- - [#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
260
350
 
261
351
  ## 0.3.0
262
352
 
263
353
  ### Minor Changes
264
354
 
265
- - [#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
266
358
 
267
- 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.
268
362
 
269
363
  ## 0.2.0
270
364
 
271
365
  ### Minor Changes
272
366
 
273
- - [#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
274
370
 
275
371
  ## 0.1.21
276
372
 
277
373
  ### Patch Changes
278
374
 
279
- - [#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
280
378
 
281
379
  ## 0.1.20
282
380
 
283
381
  ### Patch Changes
284
382
 
285
- - [#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
286
386
 
287
387
  ## 0.1.19
288
388
 
289
389
  ### Patch Changes
290
390
 
291
- - [#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.
292
394
 
293
- '--current' suffixed deps are now treated as normal deps and converted to a non-suffixed name and proper version. '--next' deps are ignored.
294
- 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'.
295
398
 
296
- - [`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
297
401
 
298
- 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.
299
- 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.
300
406
 
301
407
  ## 0.1.18
302
408
 
303
409
  ### Patch Changes
304
410
 
305
- - [#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
306
414
 
307
415
  ## 0.1.17
308
416
 
309
417
  ### Patch Changes
310
418
 
311
- - [#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`.
312
422
 
313
423
  ## 0.1.16
314
424
 
315
425
  ### Patch Changes
316
426
 
317
- - [#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.
318
- This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
319
- 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.
320
433
 
321
434
  ## 0.1.15
322
435
 
323
436
  ### Patch Changes
324
437
 
325
- - [#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
326
441
 
327
- Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
328
- 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.
329
444
 
330
445
  ## 0.1.14
331
446
 
@@ -334,9 +449,13 @@
334
449
  - [patch][03add6d4b5](https://bitbucket.org/atlassian/atlassian-frontend/commits/03add6d4b5):
335
450
 
336
451
  # What have been fixed?
337
-
338
- - `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.
339
- - `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.
340
459
 
341
460
  ## 0.1.13
342
461
 
@@ -392,7 +511,8 @@
392
511
 
393
512
  - [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
394
513
 
395
- 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
396
516
 
397
517
  ## 0.1.6
398
518
 
@@ -408,7 +528,8 @@
408
528
 
409
529
  - [patch][b9b8222978](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b9b8222978):
410
530
 
411
- @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.
412
533
 
413
534
  ## 0.1.4
414
535
 
@@ -431,9 +552,10 @@
431
552
  ### Patch Changes
432
553
 
433
554
  - [patch][50ddd93885](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/50ddd93885):
434
-
435
- - [populate-package] Fix upgradeType erroneously set to 'add' instead of 'upgrade' for the first event sent using --since
436
- - 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.
437
559
 
438
560
  ## 0.1.1
439
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 <5.4": {
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 <5.4": {
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(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
18
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
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