@atlaskit/dependency-version-analytics 1.6.1 → 1.6.3
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 +56 -44
- package/dist/cjs/constants.js +3 -5
- package/dist/cjs/util/analytics.js +1 -1
- package/dist/es2019/util/analytics.js +1 -1
- package/dist/esm/util/analytics.js +1 -1
- package/package.json +13 -7
- package/report.api.md +1 -1
- package/tmp/api-report-tmp.d.ts +0 -81
package/CHANGELOG.md
CHANGED
|
@@ -1,166 +1,178 @@
|
|
|
1
1
|
# @atlaskit/dependency-version-analytics
|
|
2
2
|
|
|
3
|
+
## 1.6.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#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
|
|
8
|
+
|
|
9
|
+
## 1.6.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#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
|
|
14
|
+
|
|
3
15
|
## 1.6.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
6
18
|
|
|
7
|
-
- [`1d902045dff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1d902045dff) - Skip alpha versions packages
|
|
19
|
+
- [#40619](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40619) [`1d902045dff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1d902045dff) - Skip alpha versions packages
|
|
8
20
|
|
|
9
21
|
## 1.6.0
|
|
10
22
|
|
|
11
23
|
### Minor Changes
|
|
12
24
|
|
|
13
|
-
- [`d6cf767ff5e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6cf767ff5e) - Use subWorkDir flag to get root package.json
|
|
25
|
+
- [#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
|
|
14
26
|
|
|
15
27
|
## 1.5.1
|
|
16
28
|
|
|
17
29
|
### Patch Changes
|
|
18
30
|
|
|
19
|
-
- [`b8ca83aa350`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b8ca83aa350) - Swap exec with spawn to avoid maxBuffer errors
|
|
31
|
+
- [#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
|
|
20
32
|
|
|
21
33
|
## 1.5.0
|
|
22
34
|
|
|
23
35
|
### Minor Changes
|
|
24
36
|
|
|
25
|
-
- [`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
|
|
37
|
+
- [#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
|
|
26
38
|
|
|
27
39
|
## 1.4.9
|
|
28
40
|
|
|
29
41
|
### Patch Changes
|
|
30
42
|
|
|
31
|
-
- [`0fd070e4bba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0fd070e4bba) - Improved logs
|
|
43
|
+
- [#39119](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39119) [`0fd070e4bba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0fd070e4bba) - Improved logs
|
|
32
44
|
|
|
33
45
|
## 1.4.8
|
|
34
46
|
|
|
35
47
|
### Patch Changes
|
|
36
48
|
|
|
37
|
-
- [`27db2e84c40`](https://bitbucket.org/atlassian/atlassian-frontend/commits/27db2e84c40) - Removing '--current' postfix from packageName before checking it for support
|
|
49
|
+
- [#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
|
|
38
50
|
|
|
39
51
|
## 1.4.7
|
|
40
52
|
|
|
41
53
|
### Patch Changes
|
|
42
54
|
|
|
43
|
-
- [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
55
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
44
56
|
|
|
45
57
|
## 1.4.6
|
|
46
58
|
|
|
47
59
|
### Patch Changes
|
|
48
60
|
|
|
49
|
-
- [`f01deb5e6ab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f01deb5e6ab) - Use injected env vars instead of version.json
|
|
61
|
+
- [#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
|
|
50
62
|
|
|
51
63
|
## 1.4.5
|
|
52
64
|
|
|
53
65
|
### Patch Changes
|
|
54
66
|
|
|
55
|
-
- [`b9355830504`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9355830504) - Opt out of peer dependency enforcement
|
|
67
|
+
- [#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
|
|
56
68
|
|
|
57
69
|
## 1.4.4
|
|
58
70
|
|
|
59
71
|
### Patch Changes
|
|
60
72
|
|
|
61
|
-
- [`3fb20c4aeba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3fb20c4aeba) - Add postinstall check to enforce internal peer dependencies
|
|
73
|
+
- [#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
|
|
62
74
|
|
|
63
75
|
## 1.4.3
|
|
64
76
|
|
|
65
77
|
### Patch Changes
|
|
66
78
|
|
|
67
|
-
- [`50cf866a219`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50cf866a219) - bump semver
|
|
79
|
+
- [#35950](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35950) [`50cf866a219`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50cf866a219) - bump semver
|
|
68
80
|
|
|
69
81
|
## 1.4.2
|
|
70
82
|
|
|
71
83
|
### Patch Changes
|
|
72
84
|
|
|
73
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
85
|
+
- [#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
|
|
74
86
|
|
|
75
87
|
## 1.4.1
|
|
76
88
|
|
|
77
89
|
### Patch Changes
|
|
78
90
|
|
|
79
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
91
|
+
- [#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`
|
|
80
92
|
|
|
81
93
|
## 1.4.0
|
|
82
94
|
|
|
83
95
|
### Minor Changes
|
|
84
96
|
|
|
85
|
-
- [`34c045e90ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/34c045e90ed) - Added supportedPackages to product flow
|
|
97
|
+
- [#33371](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33371) [`34c045e90ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/34c045e90ed) - Added supportedPackages to product flow
|
|
86
98
|
|
|
87
99
|
## 1.3.0
|
|
88
100
|
|
|
89
101
|
### Minor Changes
|
|
90
102
|
|
|
91
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
103
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
92
104
|
|
|
93
105
|
## 1.2.2
|
|
94
106
|
|
|
95
107
|
### Patch Changes
|
|
96
108
|
|
|
97
|
-
- [`2d3cc41d7d6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2d3cc41d7d6) - Removed logic to fetch tags metadata during product flow.
|
|
109
|
+
- [#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.
|
|
98
110
|
|
|
99
111
|
## 1.2.1
|
|
100
112
|
|
|
101
113
|
### Patch Changes
|
|
102
114
|
|
|
103
|
-
- [`7873dd15ba2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7873dd15ba2) - Updated version analytics events to exclude tags
|
|
115
|
+
- [#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
|
|
104
116
|
|
|
105
117
|
## 1.2.0
|
|
106
118
|
|
|
107
119
|
### Minor Changes
|
|
108
120
|
|
|
109
|
-
- [`b734af05daf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b734af05daf) - Added support for non-ak scoped packages
|
|
121
|
+
- [#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
|
|
110
122
|
|
|
111
123
|
## 1.1.0
|
|
112
124
|
|
|
113
125
|
### Minor Changes
|
|
114
126
|
|
|
115
|
-
- [`dd9a70fcafc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dd9a70fcafc) - Add npm dist-tags (latest, next, rc, hotfix) to analytics
|
|
127
|
+
- [#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
|
|
116
128
|
|
|
117
129
|
## 1.0.0
|
|
118
130
|
|
|
119
131
|
### Major Changes
|
|
120
132
|
|
|
121
|
-
- [`7913f15625c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7913f15625c) - Upgraded @atlassiansox/analytics-node-client from 2.2.1 to 3.2.1
|
|
133
|
+
- [#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
|
|
122
134
|
|
|
123
135
|
## 0.4.2
|
|
124
136
|
|
|
125
137
|
### Patch Changes
|
|
126
138
|
|
|
127
|
-
- [`f7f61c05062`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7f61c05062) - The 'debug' dependency was updated from 2.2 to 4.3.4
|
|
139
|
+
- [#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
|
|
128
140
|
|
|
129
141
|
## 0.4.1
|
|
130
142
|
|
|
131
143
|
### Patch Changes
|
|
132
144
|
|
|
133
|
-
- [`708957d360f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/708957d360f) - Upgrade a dependency package simple-git
|
|
145
|
+
- [#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
|
|
134
146
|
|
|
135
147
|
## 0.4.0
|
|
136
148
|
|
|
137
149
|
### Minor Changes
|
|
138
150
|
|
|
139
|
-
- [`00ea8db4763`](https://bitbucket.org/atlassian/atlassian-frontend/commits/00ea8db4763) - Upgrading the simple-git version
|
|
151
|
+
- [#28150](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28150) [`00ea8db4763`](https://bitbucket.org/atlassian/atlassian-frontend/commits/00ea8db4763) - Upgrading the simple-git version
|
|
140
152
|
|
|
141
153
|
## 0.3.13
|
|
142
154
|
|
|
143
155
|
### Patch Changes
|
|
144
156
|
|
|
145
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
157
|
+
- [#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`
|
|
146
158
|
|
|
147
159
|
## 0.3.12
|
|
148
160
|
|
|
149
161
|
### Patch Changes
|
|
150
162
|
|
|
151
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
163
|
+
- [#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`.
|
|
152
164
|
|
|
153
165
|
## 0.3.11
|
|
154
166
|
|
|
155
167
|
### Patch Changes
|
|
156
168
|
|
|
157
|
-
- [`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
|
|
169
|
+
- [#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
|
|
158
170
|
|
|
159
171
|
## 0.3.10
|
|
160
172
|
|
|
161
173
|
### Patch Changes
|
|
162
174
|
|
|
163
|
-
- [`a424e62b264`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a424e62b264) - Changes to support Node 16 Typescript definitions from `@types/node`.
|
|
175
|
+
- [#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`.
|
|
164
176
|
|
|
165
177
|
## 0.3.9
|
|
166
178
|
|
|
@@ -172,7 +184,7 @@
|
|
|
172
184
|
|
|
173
185
|
### Patch Changes
|
|
174
186
|
|
|
175
|
-
- [`1977986ea86`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1977986ea86) - Bumping dependencies via Renovate:
|
|
187
|
+
- [#20310](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20310) [`1977986ea86`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1977986ea86) - Bumping dependencies via Renovate:
|
|
176
188
|
|
|
177
189
|
- simple-git
|
|
178
190
|
|
|
@@ -180,7 +192,7 @@
|
|
|
180
192
|
|
|
181
193
|
### Patch Changes
|
|
182
194
|
|
|
183
|
-
- [`5c45b17200d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c45b17200d) - Bumping dependencies via Renovate:
|
|
195
|
+
- [#19927](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19927) [`5c45b17200d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c45b17200d) - Bumping dependencies via Renovate:
|
|
184
196
|
|
|
185
197
|
- simple-git
|
|
186
198
|
|
|
@@ -188,19 +200,19 @@
|
|
|
188
200
|
|
|
189
201
|
### Patch Changes
|
|
190
202
|
|
|
191
|
-
- [`4d32baaa06a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4d32baaa06a) - Major bump inquirer to latest
|
|
203
|
+
- [#19537](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19537) [`4d32baaa06a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4d32baaa06a) - Major bump inquirer to latest
|
|
192
204
|
|
|
193
205
|
## 0.3.5
|
|
194
206
|
|
|
195
207
|
### Patch Changes
|
|
196
208
|
|
|
197
|
-
- [`99ef999a39f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/99ef999a39f) - Renovate Bot upgraded simple-git from ^1.130.0 to 2.48.0
|
|
209
|
+
- [#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
|
|
198
210
|
|
|
199
211
|
## 0.3.4
|
|
200
212
|
|
|
201
213
|
### Patch Changes
|
|
202
214
|
|
|
203
|
-
- [`bca63cdea49`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bca63cdea49) - Remove url-parse
|
|
215
|
+
- [#18668](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18668) [`bca63cdea49`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bca63cdea49) - Remove url-parse
|
|
204
216
|
|
|
205
217
|
We should use browser built-ins not url-parse
|
|
206
218
|
|
|
@@ -208,25 +220,25 @@
|
|
|
208
220
|
|
|
209
221
|
### Patch Changes
|
|
210
222
|
|
|
211
|
-
- [`650aa20f6fe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/650aa20f6fe) - Upgrade meow dependency
|
|
223
|
+
- [#16649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16649) [`650aa20f6fe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/650aa20f6fe) - Upgrade meow dependency
|
|
212
224
|
|
|
213
225
|
## 0.3.2
|
|
214
226
|
|
|
215
227
|
### Patch Changes
|
|
216
228
|
|
|
217
|
-
- [`84270dcf31a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/84270dcf31a) - Bump dependency "meow" to version ^6.0.0
|
|
229
|
+
- [#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
|
|
218
230
|
|
|
219
231
|
## 0.3.1
|
|
220
232
|
|
|
221
233
|
### Patch Changes
|
|
222
234
|
|
|
223
|
-
- [`9f6045d38ce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9f6045d38ce) - Upgrade analytics-node-client dependency
|
|
235
|
+
- [#9025](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9025) [`9f6045d38ce`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9f6045d38ce) - Upgrade analytics-node-client dependency
|
|
224
236
|
|
|
225
237
|
## 0.3.0
|
|
226
238
|
|
|
227
239
|
### Minor Changes
|
|
228
240
|
|
|
229
|
-
- [`98deccc667`](https://bitbucket.org/atlassian/atlassian-frontend/commits/98deccc667) - Add support for repositories using yarn workspaces
|
|
241
|
+
- [#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
|
|
230
242
|
|
|
231
243
|
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.
|
|
232
244
|
|
|
@@ -234,25 +246,25 @@
|
|
|
234
246
|
|
|
235
247
|
### Minor Changes
|
|
236
248
|
|
|
237
|
-
- [`b3d3b36c06`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b3d3b36c06) - Add statlas flag that uploads last run state to statlas rather than a git tag
|
|
249
|
+
- [#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
|
|
238
250
|
|
|
239
251
|
## 0.1.21
|
|
240
252
|
|
|
241
253
|
### Patch Changes
|
|
242
254
|
|
|
243
|
-
- [`3f51c7d0b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f51c7d0b8) - Fix versionString not including version range or prerelease info
|
|
255
|
+
- [#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
|
|
244
256
|
|
|
245
257
|
## 0.1.20
|
|
246
258
|
|
|
247
259
|
### Patch Changes
|
|
248
260
|
|
|
249
|
-
- [`365c4257e0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/365c4257e0) - Fix types not being resolvable
|
|
261
|
+
- [#6673](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6673) [`365c4257e0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/365c4257e0) - Fix types not being resolvable
|
|
250
262
|
|
|
251
263
|
## 0.1.19
|
|
252
264
|
|
|
253
265
|
### Patch Changes
|
|
254
266
|
|
|
255
|
-
- [`c8a5330883`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c8a5330883) - Fix custom jira suffixed dependencies used for independent upgrades.
|
|
267
|
+
- [#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.
|
|
256
268
|
|
|
257
269
|
'--current' suffixed deps are now treated as normal deps and converted to a non-suffixed name and proper version. '--next' deps are ignored.
|
|
258
270
|
upgradeType is now also fixed to reflect the 'upgrade' upgradeType rather than 'add' and 'remove'.
|
|
@@ -266,19 +278,19 @@
|
|
|
266
278
|
|
|
267
279
|
### Patch Changes
|
|
268
280
|
|
|
269
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
281
|
+
- [#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
|
|
270
282
|
|
|
271
283
|
## 0.1.17
|
|
272
284
|
|
|
273
285
|
### Patch Changes
|
|
274
286
|
|
|
275
|
-
- [`7ef9198547`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7ef9198547) - Update dependency name & version to take into account `--next` and `--current`.
|
|
287
|
+
- [#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`.
|
|
276
288
|
|
|
277
289
|
## 0.1.16
|
|
278
290
|
|
|
279
291
|
### Patch Changes
|
|
280
292
|
|
|
281
|
-
- [`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.
|
|
293
|
+
- [#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.
|
|
282
294
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
283
295
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
284
296
|
|
|
@@ -286,7 +298,7 @@
|
|
|
286
298
|
|
|
287
299
|
### Patch Changes
|
|
288
300
|
|
|
289
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
301
|
+
- [#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
|
|
290
302
|
|
|
291
303
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
292
304
|
to prevent duplicates of tslib being bundled.
|
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.3",
|
|
71
71
|
dependencyName: name,
|
|
72
72
|
versionString: eventVersion,
|
|
73
73
|
major: parsedVersion ? `${parsedVersion.major}` : null,
|
|
@@ -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.3",
|
|
63
63
|
dependencyName: name,
|
|
64
64
|
versionString: eventVersion,
|
|
65
65
|
major: parsedVersion ? `${parsedVersion.major}` : null,
|
|
@@ -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.3",
|
|
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.3",
|
|
4
4
|
"description": "Tool to pull atlaskit version history from a repo",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
"atlaskit:src": "src/index.ts",
|
|
23
23
|
"atlassian": {
|
|
24
24
|
"team": "UIP - Platform Integration Trust (PITa)",
|
|
25
|
-
"deprecatedAutoEntryPoints": true,
|
|
26
25
|
"releaseModel": "continuous"
|
|
27
26
|
},
|
|
28
27
|
"bin": {
|
|
@@ -43,18 +42,25 @@
|
|
|
43
42
|
"simple-git": "^3.16.0"
|
|
44
43
|
},
|
|
45
44
|
"peerDependencies": {
|
|
46
|
-
"@atlassiansox/analytics-node-client": "^
|
|
45
|
+
"@atlassiansox/analytics-node-client": "^4.0.0"
|
|
47
46
|
},
|
|
48
47
|
"devDependencies": {
|
|
49
48
|
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
|
|
50
|
-
"@atlassiansox/analytics-node-client": "^
|
|
49
|
+
"@atlassiansox/analytics-node-client": "^4.0.0",
|
|
50
|
+
"@types/debug": "^4.1.10",
|
|
51
51
|
"@types/jest": "^26.0.14",
|
|
52
52
|
"@types/micromatch": "^4.0.1",
|
|
53
|
-
"@types/node": "~
|
|
53
|
+
"@types/node": "~18.17.1",
|
|
54
54
|
"jest": "^26.4.2",
|
|
55
55
|
"ts-jest": "26.5.6",
|
|
56
56
|
"ts-node": "^10.9.1",
|
|
57
57
|
"typescript": "~4.9.5"
|
|
58
58
|
},
|
|
59
|
-
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
|
|
60
|
-
|
|
59
|
+
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0",
|
|
60
|
+
"af:exports": {
|
|
61
|
+
".": "./src/index.ts",
|
|
62
|
+
"./cli": "./src/cli.ts",
|
|
63
|
+
"./constants": "./src/constants.ts",
|
|
64
|
+
"./types": "./src/types.ts"
|
|
65
|
+
}
|
|
66
|
+
}
|
package/report.api.md
CHANGED
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/dependency-version-analytics"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import { ReleaseType } from 'semver';
|
|
8
|
-
|
|
9
|
-
// @public (undocumented)
|
|
10
|
-
export type DependencyType = 'dependency' | 'devDependency' | 'optionalDependency' | 'peerDependency';
|
|
11
|
-
|
|
12
|
-
// @public (undocumented)
|
|
13
|
-
type PopulateHistoricDataFlags = {
|
|
14
|
-
cwd?: string;
|
|
15
|
-
dev: boolean;
|
|
16
|
-
dryRun: boolean;
|
|
17
|
-
limit?: number;
|
|
18
|
-
interactive: boolean;
|
|
19
|
-
includeRestrictedScopes?: boolean;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
// @public (undocumented)
|
|
23
|
-
export function populatePackage(flags: PopulatePackageFlags): Promise<UpgradeEvent[]>;
|
|
24
|
-
|
|
25
|
-
// @public (undocumented)
|
|
26
|
-
type PopulatePackageFlags = PopulateHistoricDataFlags & {
|
|
27
|
-
since?: string;
|
|
28
|
-
pkg: string;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
// @public (undocumented)
|
|
32
|
-
export function populateProduct(flags: PopulateProductFlags): Promise<void>;
|
|
33
|
-
|
|
34
|
-
// @public (undocumented)
|
|
35
|
-
type PopulateProductFlags = PopulateHistoricDataFlags & {
|
|
36
|
-
csv: boolean;
|
|
37
|
-
product: string;
|
|
38
|
-
reset: boolean;
|
|
39
|
-
statlas?: boolean;
|
|
40
|
-
tag?: string;
|
|
41
|
-
supportedPackages?: string;
|
|
42
|
-
subWorkDir?: string;
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
// @public (undocumented)
|
|
46
|
-
export function sendAnalytics(analyticsEvents: UpgradeEvent[], { dev, limit, product, skipPrompt, }: {
|
|
47
|
-
dev?: boolean;
|
|
48
|
-
limit?: number;
|
|
49
|
-
product: string;
|
|
50
|
-
skipPrompt?: boolean;
|
|
51
|
-
}): Promise<void>;
|
|
52
|
-
|
|
53
|
-
// @public (undocumented)
|
|
54
|
-
export type UpgradeEvent = {
|
|
55
|
-
dependencyName: string;
|
|
56
|
-
versionString: string;
|
|
57
|
-
major: null | string;
|
|
58
|
-
minor: null | string;
|
|
59
|
-
patch: null | string;
|
|
60
|
-
date: string;
|
|
61
|
-
upgradeType: UpgradeType;
|
|
62
|
-
upgradeSubType: UpgradeSubType;
|
|
63
|
-
cliVersion: string;
|
|
64
|
-
latestTag: null | string;
|
|
65
|
-
nextTag: null | string;
|
|
66
|
-
hotfixTag: null | string;
|
|
67
|
-
rcTag: null | string;
|
|
68
|
-
dependencyType?: DependencyType;
|
|
69
|
-
historical?: boolean;
|
|
70
|
-
commitHash?: string;
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
// @public (undocumented)
|
|
74
|
-
export type UpgradeSubType = ReleaseType | null;
|
|
75
|
-
|
|
76
|
-
// @public (undocumented)
|
|
77
|
-
export type UpgradeType = 'add' | 'downgrade' | 'remove' | 'upgrade';
|
|
78
|
-
|
|
79
|
-
// (No @packageDocumentation comment for this package)
|
|
80
|
-
|
|
81
|
-
```
|