@atlaskit/dependency-version-analytics 1.6.0 → 1.6.2
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 +55 -43
- package/dist/cjs/commands/populate-historic-data/product.js +3 -1
- package/dist/cjs/constants.js +3 -5
- package/dist/cjs/util/analytics.js +1 -1
- package/dist/es2019/commands/populate-historic-data/product.js +3 -1
- package/dist/es2019/util/analytics.js +1 -1
- package/dist/esm/commands/populate-historic-data/product.js +21 -17
- package/dist/esm/util/analytics.js +1 -1
- package/package.json +5 -4
- package/report.api.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,160 +1,172 @@
|
|
|
1
1
|
# @atlaskit/dependency-version-analytics
|
|
2
2
|
|
|
3
|
+
## 1.6.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#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
|
|
8
|
+
|
|
9
|
+
## 1.6.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#40619](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40619) [`1d902045dff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1d902045dff) - Skip alpha versions packages
|
|
14
|
+
|
|
3
15
|
## 1.6.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
6
18
|
|
|
7
|
-
- [`d6cf767ff5e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6cf767ff5e) - Use subWorkDir flag to get root package.json
|
|
19
|
+
- [#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
|
|
8
20
|
|
|
9
21
|
## 1.5.1
|
|
10
22
|
|
|
11
23
|
### Patch Changes
|
|
12
24
|
|
|
13
|
-
- [`b8ca83aa350`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b8ca83aa350) - Swap exec with spawn to avoid maxBuffer errors
|
|
25
|
+
- [#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
|
|
14
26
|
|
|
15
27
|
## 1.5.0
|
|
16
28
|
|
|
17
29
|
### Minor Changes
|
|
18
30
|
|
|
19
|
-
- [`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
|
|
31
|
+
- [#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
|
|
20
32
|
|
|
21
33
|
## 1.4.9
|
|
22
34
|
|
|
23
35
|
### Patch Changes
|
|
24
36
|
|
|
25
|
-
- [`0fd070e4bba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0fd070e4bba) - Improved logs
|
|
37
|
+
- [#39119](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39119) [`0fd070e4bba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0fd070e4bba) - Improved logs
|
|
26
38
|
|
|
27
39
|
## 1.4.8
|
|
28
40
|
|
|
29
41
|
### Patch Changes
|
|
30
42
|
|
|
31
|
-
- [`27db2e84c40`](https://bitbucket.org/atlassian/atlassian-frontend/commits/27db2e84c40) - Removing '--current' postfix from packageName before checking it for support
|
|
43
|
+
- [#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
|
|
32
44
|
|
|
33
45
|
## 1.4.7
|
|
34
46
|
|
|
35
47
|
### Patch Changes
|
|
36
48
|
|
|
37
|
-
- [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
49
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
38
50
|
|
|
39
51
|
## 1.4.6
|
|
40
52
|
|
|
41
53
|
### Patch Changes
|
|
42
54
|
|
|
43
|
-
- [`f01deb5e6ab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f01deb5e6ab) - Use injected env vars instead of version.json
|
|
55
|
+
- [#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
|
|
44
56
|
|
|
45
57
|
## 1.4.5
|
|
46
58
|
|
|
47
59
|
### Patch Changes
|
|
48
60
|
|
|
49
|
-
- [`b9355830504`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9355830504) - Opt out of peer dependency enforcement
|
|
61
|
+
- [#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
|
|
50
62
|
|
|
51
63
|
## 1.4.4
|
|
52
64
|
|
|
53
65
|
### Patch Changes
|
|
54
66
|
|
|
55
|
-
- [`3fb20c4aeba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3fb20c4aeba) - Add postinstall check to enforce internal peer dependencies
|
|
67
|
+
- [#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
|
|
56
68
|
|
|
57
69
|
## 1.4.3
|
|
58
70
|
|
|
59
71
|
### Patch Changes
|
|
60
72
|
|
|
61
|
-
- [`50cf866a219`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50cf866a219) - bump semver
|
|
73
|
+
- [#35950](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35950) [`50cf866a219`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50cf866a219) - bump semver
|
|
62
74
|
|
|
63
75
|
## 1.4.2
|
|
64
76
|
|
|
65
77
|
### Patch Changes
|
|
66
78
|
|
|
67
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
79
|
+
- [#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
|
|
68
80
|
|
|
69
81
|
## 1.4.1
|
|
70
82
|
|
|
71
83
|
### Patch Changes
|
|
72
84
|
|
|
73
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
85
|
+
- [#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`
|
|
74
86
|
|
|
75
87
|
## 1.4.0
|
|
76
88
|
|
|
77
89
|
### Minor Changes
|
|
78
90
|
|
|
79
|
-
- [`34c045e90ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/34c045e90ed) - Added supportedPackages to product flow
|
|
91
|
+
- [#33371](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33371) [`34c045e90ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/34c045e90ed) - Added supportedPackages to product flow
|
|
80
92
|
|
|
81
93
|
## 1.3.0
|
|
82
94
|
|
|
83
95
|
### Minor Changes
|
|
84
96
|
|
|
85
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
97
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
86
98
|
|
|
87
99
|
## 1.2.2
|
|
88
100
|
|
|
89
101
|
### Patch Changes
|
|
90
102
|
|
|
91
|
-
- [`2d3cc41d7d6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2d3cc41d7d6) - Removed logic to fetch tags metadata during product flow.
|
|
103
|
+
- [#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.
|
|
92
104
|
|
|
93
105
|
## 1.2.1
|
|
94
106
|
|
|
95
107
|
### Patch Changes
|
|
96
108
|
|
|
97
|
-
- [`7873dd15ba2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7873dd15ba2) - Updated version analytics events to exclude tags
|
|
109
|
+
- [#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
|
|
98
110
|
|
|
99
111
|
## 1.2.0
|
|
100
112
|
|
|
101
113
|
### Minor Changes
|
|
102
114
|
|
|
103
|
-
- [`b734af05daf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b734af05daf) - Added support for non-ak scoped packages
|
|
115
|
+
- [#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
|
|
104
116
|
|
|
105
117
|
## 1.1.0
|
|
106
118
|
|
|
107
119
|
### Minor Changes
|
|
108
120
|
|
|
109
|
-
- [`dd9a70fcafc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dd9a70fcafc) - Add npm dist-tags (latest, next, rc, hotfix) to analytics
|
|
121
|
+
- [#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
|
|
110
122
|
|
|
111
123
|
## 1.0.0
|
|
112
124
|
|
|
113
125
|
### Major Changes
|
|
114
126
|
|
|
115
|
-
- [`7913f15625c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7913f15625c) - Upgraded @atlassiansox/analytics-node-client from 2.2.1 to 3.2.1
|
|
127
|
+
- [#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
|
|
116
128
|
|
|
117
129
|
## 0.4.2
|
|
118
130
|
|
|
119
131
|
### Patch Changes
|
|
120
132
|
|
|
121
|
-
- [`f7f61c05062`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7f61c05062) - The 'debug' dependency was updated from 2.2 to 4.3.4
|
|
133
|
+
- [#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
|
|
122
134
|
|
|
123
135
|
## 0.4.1
|
|
124
136
|
|
|
125
137
|
### Patch Changes
|
|
126
138
|
|
|
127
|
-
- [`708957d360f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/708957d360f) - Upgrade a dependency package simple-git
|
|
139
|
+
- [#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
|
|
128
140
|
|
|
129
141
|
## 0.4.0
|
|
130
142
|
|
|
131
143
|
### Minor Changes
|
|
132
144
|
|
|
133
|
-
- [`00ea8db4763`](https://bitbucket.org/atlassian/atlassian-frontend/commits/00ea8db4763) - Upgrading the simple-git version
|
|
145
|
+
- [#28150](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28150) [`00ea8db4763`](https://bitbucket.org/atlassian/atlassian-frontend/commits/00ea8db4763) - Upgrading the simple-git version
|
|
134
146
|
|
|
135
147
|
## 0.3.13
|
|
136
148
|
|
|
137
149
|
### Patch Changes
|
|
138
150
|
|
|
139
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
151
|
+
- [#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`
|
|
140
152
|
|
|
141
153
|
## 0.3.12
|
|
142
154
|
|
|
143
155
|
### Patch Changes
|
|
144
156
|
|
|
145
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
157
|
+
- [#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`.
|
|
146
158
|
|
|
147
159
|
## 0.3.11
|
|
148
160
|
|
|
149
161
|
### Patch Changes
|
|
150
162
|
|
|
151
|
-
- [`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
|
|
163
|
+
- [#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
|
|
152
164
|
|
|
153
165
|
## 0.3.10
|
|
154
166
|
|
|
155
167
|
### Patch Changes
|
|
156
168
|
|
|
157
|
-
- [`a424e62b264`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a424e62b264) - Changes to support Node 16 Typescript definitions from `@types/node`.
|
|
169
|
+
- [#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`.
|
|
158
170
|
|
|
159
171
|
## 0.3.9
|
|
160
172
|
|
|
@@ -166,7 +178,7 @@
|
|
|
166
178
|
|
|
167
179
|
### Patch Changes
|
|
168
180
|
|
|
169
|
-
- [`1977986ea86`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1977986ea86) - Bumping dependencies via Renovate:
|
|
181
|
+
- [#20310](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20310) [`1977986ea86`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1977986ea86) - Bumping dependencies via Renovate:
|
|
170
182
|
|
|
171
183
|
- simple-git
|
|
172
184
|
|
|
@@ -174,7 +186,7 @@
|
|
|
174
186
|
|
|
175
187
|
### Patch Changes
|
|
176
188
|
|
|
177
|
-
- [`5c45b17200d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c45b17200d) - Bumping dependencies via Renovate:
|
|
189
|
+
- [#19927](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19927) [`5c45b17200d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c45b17200d) - Bumping dependencies via Renovate:
|
|
178
190
|
|
|
179
191
|
- simple-git
|
|
180
192
|
|
|
@@ -182,19 +194,19 @@
|
|
|
182
194
|
|
|
183
195
|
### Patch Changes
|
|
184
196
|
|
|
185
|
-
- [`4d32baaa06a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4d32baaa06a) - Major bump inquirer to latest
|
|
197
|
+
- [#19537](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19537) [`4d32baaa06a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4d32baaa06a) - Major bump inquirer to latest
|
|
186
198
|
|
|
187
199
|
## 0.3.5
|
|
188
200
|
|
|
189
201
|
### Patch Changes
|
|
190
202
|
|
|
191
|
-
- [`99ef999a39f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/99ef999a39f) - Renovate Bot upgraded simple-git from ^1.130.0 to 2.48.0
|
|
203
|
+
- [#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
|
|
192
204
|
|
|
193
205
|
## 0.3.4
|
|
194
206
|
|
|
195
207
|
### Patch Changes
|
|
196
208
|
|
|
197
|
-
- [`bca63cdea49`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bca63cdea49) - Remove url-parse
|
|
209
|
+
- [#18668](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18668) [`bca63cdea49`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bca63cdea49) - Remove url-parse
|
|
198
210
|
|
|
199
211
|
We should use browser built-ins not url-parse
|
|
200
212
|
|
|
@@ -202,25 +214,25 @@
|
|
|
202
214
|
|
|
203
215
|
### Patch Changes
|
|
204
216
|
|
|
205
|
-
- [`650aa20f6fe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/650aa20f6fe) - Upgrade meow dependency
|
|
217
|
+
- [#16649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16649) [`650aa20f6fe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/650aa20f6fe) - Upgrade meow dependency
|
|
206
218
|
|
|
207
219
|
## 0.3.2
|
|
208
220
|
|
|
209
221
|
### Patch Changes
|
|
210
222
|
|
|
211
|
-
- [`84270dcf31a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/84270dcf31a) - Bump dependency "meow" to version ^6.0.0
|
|
223
|
+
- [#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
|
|
212
224
|
|
|
213
225
|
## 0.3.1
|
|
214
226
|
|
|
215
227
|
### Patch Changes
|
|
216
228
|
|
|
217
|
-
- [`9f6045d38ce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9f6045d38ce) - Upgrade analytics-node-client dependency
|
|
229
|
+
- [#9025](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9025) [`9f6045d38ce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9f6045d38ce) - Upgrade analytics-node-client dependency
|
|
218
230
|
|
|
219
231
|
## 0.3.0
|
|
220
232
|
|
|
221
233
|
### Minor Changes
|
|
222
234
|
|
|
223
|
-
- [`98deccc667`](https://bitbucket.org/atlassian/atlassian-frontend/commits/98deccc667) - Add support for repositories using yarn workspaces
|
|
235
|
+
- [#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
|
|
224
236
|
|
|
225
237
|
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.
|
|
226
238
|
|
|
@@ -228,25 +240,25 @@
|
|
|
228
240
|
|
|
229
241
|
### Minor Changes
|
|
230
242
|
|
|
231
|
-
- [`b3d3b36c06`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b3d3b36c06) - Add statlas flag that uploads last run state to statlas rather than a git tag
|
|
243
|
+
- [#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
|
|
232
244
|
|
|
233
245
|
## 0.1.21
|
|
234
246
|
|
|
235
247
|
### Patch Changes
|
|
236
248
|
|
|
237
|
-
- [`3f51c7d0b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f51c7d0b8) - Fix versionString not including version range or prerelease info
|
|
249
|
+
- [#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
|
|
238
250
|
|
|
239
251
|
## 0.1.20
|
|
240
252
|
|
|
241
253
|
### Patch Changes
|
|
242
254
|
|
|
243
|
-
- [`365c4257e0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/365c4257e0) - Fix types not being resolvable
|
|
255
|
+
- [#6673](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6673) [`365c4257e0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/365c4257e0) - Fix types not being resolvable
|
|
244
256
|
|
|
245
257
|
## 0.1.19
|
|
246
258
|
|
|
247
259
|
### Patch Changes
|
|
248
260
|
|
|
249
|
-
- [`c8a5330883`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c8a5330883) - Fix custom jira suffixed dependencies used for independent upgrades.
|
|
261
|
+
- [#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.
|
|
250
262
|
|
|
251
263
|
'--current' suffixed deps are now treated as normal deps and converted to a non-suffixed name and proper version. '--next' deps are ignored.
|
|
252
264
|
upgradeType is now also fixed to reflect the 'upgrade' upgradeType rather than 'add' and 'remove'.
|
|
@@ -260,19 +272,19 @@
|
|
|
260
272
|
|
|
261
273
|
### Patch Changes
|
|
262
274
|
|
|
263
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
275
|
+
- [#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
|
|
264
276
|
|
|
265
277
|
## 0.1.17
|
|
266
278
|
|
|
267
279
|
### Patch Changes
|
|
268
280
|
|
|
269
|
-
- [`7ef9198547`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7ef9198547) - Update dependency name & version to take into account `--next` and `--current`.
|
|
281
|
+
- [#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`.
|
|
270
282
|
|
|
271
283
|
## 0.1.16
|
|
272
284
|
|
|
273
285
|
### Patch Changes
|
|
274
286
|
|
|
275
|
-
- [`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.
|
|
287
|
+
- [#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.
|
|
276
288
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
277
289
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
278
290
|
|
|
@@ -280,7 +292,7 @@
|
|
|
280
292
|
|
|
281
293
|
### Patch Changes
|
|
282
294
|
|
|
283
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
295
|
+
- [#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
|
|
284
296
|
|
|
285
297
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
286
298
|
to prevent duplicates of tslib being bundled.
|
|
@@ -20,7 +20,9 @@ const getUpgradeEventsFromPkgChange = (oldDeps, newDeps, {
|
|
|
20
20
|
date,
|
|
21
21
|
commitHash
|
|
22
22
|
}) => {
|
|
23
|
-
const addOrUpgradeEvents = Object.entries(newDeps).
|
|
23
|
+
const addOrUpgradeEvents = Object.entries(newDeps).filter(([, {
|
|
24
|
+
version
|
|
25
|
+
}]) => !version.includes('alpha')).map(([name, {
|
|
24
26
|
version,
|
|
25
27
|
type
|
|
26
28
|
}]) => {
|
package/dist/cjs/constants.js
CHANGED
|
@@ -4,9 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.DEP_TYPES = exports.DEFAULT_TAG = void 0;
|
|
7
|
-
const DEFAULT_TAG = 'atlaskit-dependency-version-analytics-last-run';
|
|
8
|
-
exports.
|
|
9
|
-
const DEP_TYPES = [{
|
|
7
|
+
const DEFAULT_TAG = exports.DEFAULT_TAG = 'atlaskit-dependency-version-analytics-last-run';
|
|
8
|
+
const DEP_TYPES = exports.DEP_TYPES = [{
|
|
10
9
|
packageJsonKey: 'devDependencies',
|
|
11
10
|
depTypeName: 'devDependency'
|
|
12
11
|
}, {
|
|
@@ -18,5 +17,4 @@ const DEP_TYPES = [{
|
|
|
18
17
|
}, {
|
|
19
18
|
packageJsonKey: 'optionalDependencies',
|
|
20
19
|
depTypeName: 'optionalDependency'
|
|
21
|
-
}];
|
|
22
|
-
exports.DEP_TYPES = DEP_TYPES;
|
|
20
|
+
}];
|
|
@@ -67,7 +67,7 @@ function createUpgradeEvent(name, version, previousVersion, date, optionalEventA
|
|
|
67
67
|
}
|
|
68
68
|
});
|
|
69
69
|
return {
|
|
70
|
-
cliVersion: "1.6.
|
|
70
|
+
cliVersion: "1.6.2",
|
|
71
71
|
dependencyName: name,
|
|
72
72
|
versionString: eventVersion,
|
|
73
73
|
major: parsedVersion ? `${parsedVersion.major}` : null,
|
|
@@ -11,7 +11,9 @@ const getUpgradeEventsFromPkgChange = (oldDeps, newDeps, {
|
|
|
11
11
|
date,
|
|
12
12
|
commitHash
|
|
13
13
|
}) => {
|
|
14
|
-
const addOrUpgradeEvents = Object.entries(newDeps).
|
|
14
|
+
const addOrUpgradeEvents = Object.entries(newDeps).filter(([, {
|
|
15
|
+
version
|
|
16
|
+
}]) => !version.includes('alpha')).map(([name, {
|
|
15
17
|
version,
|
|
16
18
|
type
|
|
17
19
|
}]) => {
|
|
@@ -59,7 +59,7 @@ export function createUpgradeEvent(name, version, previousVersion, date, optiona
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
return {
|
|
62
|
-
cliVersion: "1.6.
|
|
62
|
+
cliVersion: "1.6.2",
|
|
63
63
|
dependencyName: name,
|
|
64
64
|
versionString: eventVersion,
|
|
65
65
|
major: parsedVersion ? `${parsedVersion.major}` : null,
|
|
@@ -17,12 +17,16 @@ import { getSupportedScopes } from './util/allowed-scopes';
|
|
|
17
17
|
var getUpgradeEventsFromPkgChange = function getUpgradeEventsFromPkgChange(oldDeps, newDeps, _ref) {
|
|
18
18
|
var date = _ref.date,
|
|
19
19
|
commitHash = _ref.commitHash;
|
|
20
|
-
var addOrUpgradeEvents = Object.entries(newDeps).
|
|
20
|
+
var addOrUpgradeEvents = Object.entries(newDeps).filter(function (_ref2) {
|
|
21
21
|
var _ref3 = _slicedToArray(_ref2, 2),
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
version = _ref3[1].version;
|
|
23
|
+
return !version.includes('alpha');
|
|
24
|
+
}).map(function (_ref4) {
|
|
25
|
+
var _ref5 = _slicedToArray(_ref4, 2),
|
|
26
|
+
name = _ref5[0],
|
|
27
|
+
_ref5$ = _ref5[1],
|
|
28
|
+
version = _ref5$.version,
|
|
29
|
+
type = _ref5$.type;
|
|
26
30
|
var prevDep = oldDeps[name];
|
|
27
31
|
// Only treat a dependency as previous if the dependency type matches
|
|
28
32
|
// Otherwise, we want separate add/remove events
|
|
@@ -35,20 +39,20 @@ var getUpgradeEventsFromPkgChange = function getUpgradeEventsFromPkgChange(oldDe
|
|
|
35
39
|
}).filter(function (e) {
|
|
36
40
|
return e != null;
|
|
37
41
|
});
|
|
38
|
-
var removeEvents = Object.entries(oldDeps).filter(function (
|
|
39
|
-
var
|
|
40
|
-
name =
|
|
41
|
-
type =
|
|
42
|
+
var removeEvents = Object.entries(oldDeps).filter(function (_ref6) {
|
|
43
|
+
var _ref7 = _slicedToArray(_ref6, 2),
|
|
44
|
+
name = _ref7[0],
|
|
45
|
+
type = _ref7[1].type;
|
|
42
46
|
return (
|
|
43
47
|
// Treat the same dep under a different dependency type as a new dep
|
|
44
48
|
newDeps[name] == null || newDeps[name].type !== type
|
|
45
49
|
);
|
|
46
|
-
}).map(function (
|
|
47
|
-
var
|
|
48
|
-
name =
|
|
49
|
-
|
|
50
|
-
version =
|
|
51
|
-
type =
|
|
50
|
+
}).map(function (_ref8) {
|
|
51
|
+
var _ref9 = _slicedToArray(_ref8, 2),
|
|
52
|
+
name = _ref9[0],
|
|
53
|
+
_ref9$ = _ref9[1],
|
|
54
|
+
version = _ref9$.version,
|
|
55
|
+
type = _ref9$.type;
|
|
52
56
|
return createUpgradeEvent(name, undefined, version, date, {
|
|
53
57
|
commitHash: commitHash,
|
|
54
58
|
dependencyType: type,
|
|
@@ -60,7 +64,7 @@ var getUpgradeEventsFromPkgChange = function getUpgradeEventsFromPkgChange(oldDe
|
|
|
60
64
|
return [].concat(_toConsumableArray(addOrUpgradeEvents), _toConsumableArray(removeEvents));
|
|
61
65
|
};
|
|
62
66
|
var getEventsFromHistory = /*#__PURE__*/function () {
|
|
63
|
-
var
|
|
67
|
+
var _ref10 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(packageChangesLog, prevRunHash, directoryOptions, supportedScopes, supportedPackages) {
|
|
64
68
|
var allPackageChanges, allUpgradeEvents, dependencyStore, dependencies, i, item, newDependencies, packageChange, upgradeEvents;
|
|
65
69
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
66
70
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -118,7 +122,7 @@ var getEventsFromHistory = /*#__PURE__*/function () {
|
|
|
118
122
|
}, _callee);
|
|
119
123
|
}));
|
|
120
124
|
return function getEventsFromHistory(_x, _x2, _x3, _x4, _x5) {
|
|
121
|
-
return
|
|
125
|
+
return _ref10.apply(this, arguments);
|
|
122
126
|
};
|
|
123
127
|
}();
|
|
124
128
|
function getSinceRef(_x6) {
|
|
@@ -66,7 +66,7 @@ export function createUpgradeEvent(name, version, previousVersion, date) {
|
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
68
|
return _objectSpread({
|
|
69
|
-
cliVersion: "1.6.
|
|
69
|
+
cliVersion: "1.6.2",
|
|
70
70
|
dependencyName: name,
|
|
71
71
|
versionString: eventVersion,
|
|
72
72
|
major: parsedVersion ? "".concat(parsedVersion.major) : null,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/dependency-version-analytics",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.2",
|
|
4
4
|
"description": "Tool to pull atlaskit version history from a repo",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -43,14 +43,15 @@
|
|
|
43
43
|
"simple-git": "^3.16.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@atlassiansox/analytics-node-client": "^
|
|
46
|
+
"@atlassiansox/analytics-node-client": "^4.0.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
|
|
50
|
-
"@atlassiansox/analytics-node-client": "^
|
|
50
|
+
"@atlassiansox/analytics-node-client": "^4.0.0",
|
|
51
|
+
"@types/debug": "^4.1.10",
|
|
51
52
|
"@types/jest": "^26.0.14",
|
|
52
53
|
"@types/micromatch": "^4.0.1",
|
|
53
|
-
"@types/node": "~
|
|
54
|
+
"@types/node": "~18.17.1",
|
|
54
55
|
"jest": "^26.4.2",
|
|
55
56
|
"ts-jest": "26.5.6",
|
|
56
57
|
"ts-node": "^10.9.1",
|