docker-progress 5.1.3 → 5.1.4

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/build/index.d.ts CHANGED
@@ -26,7 +26,7 @@ export interface BuildOptions extends ImageBuildOptions {
26
26
  };
27
27
  };
28
28
  }
29
- export declare type ProgressCallback = (eventObj: any) => void;
29
+ export type ProgressCallback = (eventObj: any) => void;
30
30
  declare class ProgressReporter {
31
31
  protected renderProgress: (percent: number) => string;
32
32
  constructor(renderProgress: (percent: number) => string);
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "docker-progress",
3
- "version": "5.1.3",
3
+ "version": "5.1.4",
4
4
  "description": "This module provides additional progress mechanics on top of dockerode",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git@github.com:balena-io-modules/docker-progress.git"
8
8
  },
9
- "author": "Pagan Gazzard <page@balena.io>",
9
+ "author": "Balena Ltd. <hello@balena.io>",
10
10
  "main": "build/index.js",
11
11
  "types": "build/index.d.ts",
12
12
  "files": [
@@ -17,8 +17,8 @@
17
17
  "build": "npm run clean && npm run lint && tsc",
18
18
  "lint": "balena-lint lib",
19
19
  "lint:fix": "balena-lint --fix lib",
20
- "test": "npm run lint:fix",
21
- "prepublishOnly": "npm run build"
20
+ "test": "npm run lint && npm run build",
21
+ "prepack": "npm run build"
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
@@ -33,6 +33,6 @@
33
33
  "typescript": "^4.6.4"
34
34
  },
35
35
  "versionist": {
36
- "publishedAt": "2022-05-13T15:27:17.782Z"
36
+ "publishedAt": "2023-06-30T17:28:34.119Z"
37
37
  }
38
38
  }
package/CHANGELOG.md DELETED
@@ -1,204 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file
4
- automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
5
- This project adheres to [Semantic Versioning](http://semver.org/).
6
-
7
- # v5.1.3
8
- ## (2022-05-13)
9
-
10
- * Reject on the stream closing if it has not already ended successfully [Pagan Gazzard]
11
-
12
- # v5.1.2
13
- ## (2022-05-10)
14
-
15
- * Update dependencies [Pagan Gazzard]
16
-
17
- # v5.1.1
18
- ## (2022-05-10)
19
-
20
- * Avoid breaking changes to PushPullOptions required properties [Kyle Harding]
21
-
22
- # v5.1.0
23
- ## (2022-03-10)
24
-
25
- * Add support for building images with progress [Felipe Lalanne]
26
-
27
- # v5.0.1
28
- ## (2021-09-22)
29
-
30
- * Fix for bad progress values from some registries causing a crash [Paul Jonathan Zoulin]
31
-
32
- # v5.0.0
33
- ## (2021-05-05)
34
-
35
- * Convert to TypeScript. BREAKING: constructor and push/pull interfaces [Paulo Castro]
36
- * Delete legacy.coffee and auto-convert CoffeeScript to JavaScript [Paulo Castro]
37
- * Add 'package-lock=false' to '.npmrc' (libs shouldn't lock dependencies) [Paulo Castro]
38
- * Update license to Apache 2.0 [Paulo Castro]
39
-
40
- # v4.0.3
41
- ## (2020-08-17)
42
-
43
- * Update to balena-lint 5.x [Pagan Gazzard]
44
-
45
- # v4.0.2
46
- ## (2020-08-17)
47
-
48
- * Add .versionbot/CHANGELOG.yml for nested changelogs [Pagan Gazzard]
49
-
50
- ## 4.0.1 - 2020-03-03
51
-
52
- * Update dependencies [Pagan Gazzard]
53
-
54
- ## 4.0.0 - 2019-03-20
55
-
56
- * Detect error events in push/pull progress streams [Paulo Castro]
57
-
58
- ## 3.0.5 - 2019-03-15
59
-
60
- * Fix "Progress error: Cannot read property 'startsWith' of undefined" [Paulo Castro]
61
-
62
- ## 3.0.4 - 2019-03-05
63
-
64
- * Catch 'unknown blob' errors in progress streams [Paulo Castro]
65
-
66
- ## 3.0.3 - 2018-12-03
67
-
68
- * Replace followProgress to avoid caching push/pull state [Cameron Diver]
69
-
70
- ## v3.0.2 - 2018-10-10
71
-
72
- * Ensure latest versions of balena-engine can be identified [Akis Kesoglou]
73
-
74
- ## v3.0.1 - 2017-12-05
75
-
76
- * Expose docker property of docker-progress #42 [Cameron Diver]
77
-
78
- ## v3.0.0 - 2017-12-05
79
-
80
- * Pull and Push promises resolve to the registry digest of the image #40 [Andreas Fitzek]
81
-
82
- ## v2.8.1 - 2017-11-01
83
-
84
- * Specify the promises as bluebird promises in typings #38 [Cameron Diver]
85
-
86
- ## v2.8.0 - 2017-10-31
87
-
88
- * Add typings for index.coffee #37 [Cameron Diver]
89
-
90
- ## v2.7.2 - 2017-10-16
91
-
92
- * Identify Balena #35 [Akis Kesoglou]
93
-
94
- ## v2.7.1 - 2017-10-04
95
-
96
- * Use custom reporter for Balanea #34 [Akis Kesoglou]
97
-
98
- ## v2.7.0 - 2017-10-03
99
-
100
- * Handle combined download and extraction stages #33 [Akis Kesoglou]
101
-
102
- ## v2.6.4 - 2017-09-06
103
-
104
- * Search fo any tag instead of just 'latest' in pushProgress. #31 [Alexis Svinartchouk]
105
-
106
- ## v2.6.3 - 2017-08-28
107
-
108
- * Add empty .npmignore to avoid js files being ignored #29 [Pablo Carranza Velez]
109
-
110
- ## v2.6.2 - 2017-08-16
111
-
112
- * Avoid calling the docker API to check if the dockerToolbelt option is valid #27 [Pablo Carranza Velez]
113
-
114
- ## v2.6.1 - 2017-07-17
115
-
116
- * Remove the .js files from the git repository [Pablo Carranza Velez]
117
-
118
- ## v2.6.0 - 2017-07-14
119
-
120
- * Allow passing a dockerToolbelt object in the options, and update docker-toolbelt to 3.0.1 [Pablo Carranza Velez]
121
-
122
- ## v2.5.1 - 2017-07-14
123
-
124
- * Adapt the changelog to the versionist format [Pablo Carranza Velez]
125
-
126
- ## v2.5.0 - 2017-03-24
127
-
128
- * Forward options object to docker pull
129
-
130
- ## v2.4.4
131
-
132
- * Improved parsing Docker client version anticipating version-scheme changes in Docker
133
-
134
- ## v2.4.3
135
-
136
- * Fixed getting registry version
137
-
138
- ## v2.4.2
139
-
140
- * Restore public-facing APIs that were incorrectly removed in v2.4.0
141
-
142
- ## v2.4.1
143
-
144
- * Fix packaging to include new Coffee files
145
-
146
- ## v2.4.0
147
-
148
- * Deprecated support for Docker<1.10
149
- * Added support for pulling from and pushing to registry v2
150
-
151
- ## v2.3.3
152
-
153
- * Fixed downloading the entire layer to get the size
154
-
155
- ## v2.3.2
156
-
157
- * Updated to docker-toolbelt 1.3.1
158
-
159
- ## v2.3.1
160
-
161
- * Fix use of `_.sum` for lodash 4
162
- * Do not export getRegistryAndName and use docker-toolbelt instead
163
-
164
- ## v2.3.0
165
-
166
- * Updated to bluebird 3
167
- * Updated to lodash v4
168
- * Updated to coffee-script 1.11
169
-
170
- ## v2.2.0
171
-
172
- * Support pulling from registry v2
173
- * Correctly handle progress during concurrent push.
174
- * Added linting.
175
-
176
- ## v2.1.0
177
-
178
- * Correctly handle progress during concurrent pulls.
179
-
180
- ## v2.0.1
181
-
182
- * Use 443 as the default registry port.
183
-
184
- ## v2.0.0
185
-
186
- * Add toString() to Registry class and export getRegistryAndName().
187
- * Changed pull/push to fall back to calling onProgress without `downloadedSize`, `totalSize`, and `percentage` in the case where fetching size info fails, rather than failing with an error.
188
- * Fix a race condition where early layers could complete before we had completed fetching all the layer sizes, meaning it would not be accounted for in `downloadedSize` and `percentage`.
189
-
190
- ## v1.1.2
191
-
192
- * Capped reported percentage at 100.
193
-
194
- ## v1.1.1
195
-
196
- * Fix registry references in errors.
197
-
198
- ## v1.1.0
199
-
200
- * Added support for listing total progress of a docker push.
201
-
202
- ## v1.0.0
203
-
204
- * Added support for listing total progress of a docker pull.