rustywind 0.15.1 → 0.15.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.
@@ -0,0 +1,7 @@
1
+ // @ts-check
2
+ "use strict";
3
+
4
+ module.exports = {
5
+ REPO: "avencera/rustywind",
6
+ VERSION: "v0.15.2",
7
+ };
@@ -0,0 +1,54 @@
1
+ // @ts-check
2
+ "use strict";
3
+
4
+ const { REPO } = require("./constants");
5
+ const get = require("./get");
6
+
7
+ /**
8
+ * @param {string} repo
9
+ * @param {string} tag
10
+ */
11
+ function getApiUrl(repo, tag) {
12
+ return `https://api.github.com/repos/${repo}/releases/tags/${tag}`;
13
+ }
14
+
15
+ /**
16
+ * @param {{ token?: string; version: string; }} opts
17
+ */
18
+ async function getReleaseFromGitHubApi(opts) {
19
+ const downloadOpts = {
20
+ headers: {
21
+ "user-agent": "rustywind",
22
+ },
23
+ };
24
+
25
+ if (opts.token) {
26
+ downloadOpts.headers.authorization = `token ${opts.token}`;
27
+ }
28
+
29
+ console.log(`Finding rustywind ${opts.version} release`);
30
+ const release = await get(getApiUrl(REPO, opts.version), downloadOpts);
31
+ let jsonRelease;
32
+ try {
33
+ jsonRelease = JSON.parse(release);
34
+ } catch (e) {
35
+ throw new Error("Malformed API response: " + e.stack);
36
+ }
37
+
38
+ if (!jsonRelease.assets) {
39
+ throw new Error("Bad API response: " + JSON.stringify(release));
40
+ }
41
+
42
+ return jsonRelease;
43
+ }
44
+
45
+ /**
46
+ * @param {{ token?: string; version: string; }} opts
47
+ */
48
+ module.exports = async (opts) => {
49
+ if (!opts.version) {
50
+ return Promise.reject(new Error("Missing version"));
51
+ }
52
+
53
+ return getReleaseFromGitHubApi(opts);
54
+ };
package/lib/download.js CHANGED
@@ -11,6 +11,8 @@ const URL = url.URL;
11
11
  const child_process = require("child_process");
12
12
  const proxy_from_env = require("proxy-from-env");
13
13
 
14
+ const get = require("./get");
15
+
14
16
  const packageVersion = require("../package.json").version;
15
17
  const tmpDir = path.join(os.tmpdir(), `rustywind-cache-${packageVersion}`);
16
18
 
@@ -20,12 +22,20 @@ const fsMkdir = util.promisify(fs.mkdir);
20
22
 
21
23
  const isWindows = os.platform() === "win32";
22
24
 
23
- const REPO = "avencera/rustywind";
24
-
25
+ /**
26
+ * @param {string} _url
27
+ * @returns boolean
28
+ */
25
29
  function isGithubUrl(_url) {
26
30
  return url.parse(_url).hostname === "api.github.com";
27
31
  }
28
32
 
33
+ /**
34
+ * @param {string} url
35
+ * @param {string} dest
36
+ * @param {{ headers: Record<string, string>; proxy?: string; }} opts
37
+ * @returns boolean
38
+ */
29
39
  function downloadWin(url, dest, opts) {
30
40
  return new Promise((resolve, reject) => {
31
41
  let userAgent;
@@ -86,7 +96,7 @@ function download(_url, dest, opts) {
86
96
  return downloadWin(_url, dest, opts);
87
97
  }
88
98
 
89
- if (opts.headers && opts.headers.authorization && !isGithubUrl(_url)) {
99
+ if (opts.headers.authorization && !isGithubUrl(_url)) {
90
100
  delete opts.headers.authorization;
91
101
  }
92
102
 
@@ -123,60 +133,19 @@ function download(_url, dest, opts) {
123
133
  });
124
134
  }
125
135
 
126
- function get(_url, opts) {
127
- console.log(`GET ${_url}`);
128
-
129
- const proxy = proxy_from_env.getProxyForUrl(url.parse(_url));
130
- if (proxy !== "") {
131
- var HttpsProxyAgent = require("https-proxy-agent");
132
- opts = {
133
- ...opts,
134
- agent: new HttpsProxyAgent(proxy),
135
- };
136
- }
137
-
138
- return new Promise((resolve, reject) => {
139
- let result = "";
140
- opts = {
141
- ...url.parse(_url),
142
- ...opts,
143
- };
144
- https.get(opts, (response) => {
145
- if (response.statusCode !== 200) {
146
- reject(new Error("Request failed: " + response.statusCode));
147
- }
148
-
149
- response.on("data", (d) => {
150
- result += d.toString();
151
- });
152
-
153
- response.on("end", () => {
154
- resolve(result);
155
- });
156
-
157
- response.on("error", (e) => {
158
- reject(e);
159
- });
160
- });
161
- });
162
- }
163
-
164
- function getApiUrl(repo, tag) {
165
- return `https://api.github.com/repos/${repo}/releases/tags/${tag}`;
166
- }
167
-
168
136
  /**
169
137
  * @param {{ force: boolean; token: string; version: string; }} opts
170
138
  * @param {string} assetName
171
139
  * @param {string} downloadFolder
140
+ * @return {Promise<void>}
172
141
  */
173
- async function getAssetFromGithubApi(opts, assetName, downloadFolder) {
142
+ async function getAssetFromGitHub(opts, assetName, downloadFolder) {
174
143
  const assetDownloadPath = path.join(downloadFolder, assetName);
175
144
 
176
145
  // We can just use the cached binary
177
146
  if (!opts.force && (await fsExists(assetDownloadPath))) {
178
147
  console.log("Using cached download: " + assetDownloadPath);
179
- return assetDownloadPath;
148
+ return;
180
149
  }
181
150
 
182
151
  const downloadOpts = {
@@ -185,23 +154,12 @@ async function getAssetFromGithubApi(opts, assetName, downloadFolder) {
185
154
  },
186
155
  };
187
156
 
157
+ downloadOpts.headers.accept = "application/octet-stream";
188
158
  if (opts.token) {
189
159
  downloadOpts.headers.authorization = `token ${opts.token}`;
190
160
  }
191
161
 
192
- console.log(`Finding release for ${opts.version}`);
193
- const release = await get(getApiUrl(REPO, opts.version), downloadOpts);
194
- let jsonRelease;
195
- try {
196
- jsonRelease = JSON.parse(release);
197
- } catch (e) {
198
- throw new Error("Malformed API response: " + e.stack);
199
- }
200
-
201
- if (!jsonRelease.assets) {
202
- throw new Error("Bad API response: " + JSON.stringify(release));
203
- }
204
-
162
+ const jsonRelease = require("../release.json");
205
163
  const asset = jsonRelease.assets.find((a) => a.name === assetName);
206
164
  if (!asset) {
207
165
  throw new Error("Asset not found with name: " + assetName);
@@ -210,8 +168,17 @@ async function getAssetFromGithubApi(opts, assetName, downloadFolder) {
210
168
  console.log(`Downloading from ${asset.url}`);
211
169
  console.log(`Downloading to ${assetDownloadPath}`);
212
170
 
213
- downloadOpts.headers.accept = "application/octet-stream";
214
- await download(asset.url, assetDownloadPath, downloadOpts);
171
+ try {
172
+ await download(asset.url, assetDownloadPath, downloadOpts);
173
+ } catch (e) {
174
+ console.error("Download failed:", e);
175
+ console.error(
176
+ `Attempting to download from 'browser download url' ${asset.browser_download_url} instead`
177
+ );
178
+
179
+ delete downloadOpts.headers.authorization;
180
+ await download(asset.browser_download_url, assetDownloadPath, downloadOpts);
181
+ }
215
182
  }
216
183
 
217
184
  function unzipWindows(zipPath, destinationDir) {
@@ -309,7 +276,7 @@ module.exports = async (opts) => {
309
276
 
310
277
  const assetDownloadPath = path.join(tmpDir, assetName);
311
278
  try {
312
- await getAssetFromGithubApi(opts, assetName, tmpDir);
279
+ await getAssetFromGitHub(opts, assetName, tmpDir);
313
280
  } catch (e) {
314
281
  console.log("Deleting invalid download cache");
315
282
  try {
package/lib/get.js ADDED
@@ -0,0 +1,51 @@
1
+ // @ts-check
2
+ "use strict";
3
+
4
+ const https = require("https");
5
+ const url = require("url");
6
+ const proxy_from_env = require("proxy-from-env");
7
+
8
+ module.exports = get;
9
+
10
+ /**
11
+ * @param {string} _url
12
+ * @param {https.RequestOptions} opts
13
+ * @returns
14
+ */
15
+ function get(_url, opts) {
16
+ console.log(`GET ${_url}`);
17
+
18
+ const proxy = proxy_from_env.getProxyForUrl(url.parse(_url));
19
+ if (proxy !== "") {
20
+ var HttpsProxyAgent = require("https-proxy-agent");
21
+ opts = {
22
+ ...opts,
23
+ agent: new HttpsProxyAgent(proxy),
24
+ };
25
+ }
26
+
27
+ return new Promise((resolve, reject) => {
28
+ let result = "";
29
+ opts = {
30
+ ...url.parse(_url),
31
+ ...opts,
32
+ };
33
+ https.get(opts, (response) => {
34
+ if (response.statusCode !== 200) {
35
+ reject(new Error("Request failed: " + response.statusCode));
36
+ }
37
+
38
+ response.on("data", (d) => {
39
+ result += d.toString();
40
+ });
41
+
42
+ response.on("end", () => {
43
+ resolve(result);
44
+ });
45
+
46
+ response.on("error", (e) => {
47
+ reject(e);
48
+ });
49
+ });
50
+ });
51
+ }
@@ -16,7 +16,7 @@ if (forceInstall) {
16
16
  console.log("--force, ignoring caches");
17
17
  }
18
18
 
19
- const VERSION = "v0.15.1";
19
+ const { VERSION } = require("./constants");
20
20
  const BIN_PATH = path.join(__dirname, "../bin");
21
21
 
22
22
  process.on("unhandledRejection", (reason, promise) => {
@@ -0,0 +1,34 @@
1
+ // @ts-check
2
+ "use strict";
3
+
4
+ const fs = require("fs");
5
+
6
+ const { VERSION } = require("./constants");
7
+ const downloadRelease = require("./download-release");
8
+
9
+ process.on("unhandledRejection", (reason, promise) => {
10
+ console.log("Unhandled rejection: ", promise, "reason:", reason);
11
+ });
12
+
13
+ async function main() {
14
+ const opts = {
15
+ version: VERSION,
16
+ token: process.env["GITHUB_TOKEN"],
17
+ };
18
+ try {
19
+ const release = await downloadRelease(opts);
20
+ release.assets = release.assets.map((asset) => ({
21
+ ...asset,
22
+ download_count: undefined,
23
+ }));
24
+ console.log(release);
25
+ fs.writeFileSync("release.json", JSON.stringify(release, undefined, 2), {
26
+ encoding: "utf8",
27
+ });
28
+ } catch (err) {
29
+ console.error(`Downloading rustywind metadata failed: ${err.stack}`);
30
+ process.exit(1);
31
+ }
32
+ }
33
+
34
+ main();
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "rustywind",
3
- "version": "0.15.1",
3
+ "version": "0.15.2",
4
4
  "description": "CLI for organizing Tailwind CSS classes",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "scripts": {
8
- "install": "node ./lib/postinstall.js"
8
+ "install": "node ./lib/postinstall.js",
9
+ "update-release": "node ./lib/update-release.js"
9
10
  },
10
11
  "repository": {
11
12
  "type": "git",
package/release.json ADDED
@@ -0,0 +1,437 @@
1
+ {
2
+ "url": "https://api.github.com/repos/avencera/rustywind/releases/76400702",
3
+ "assets_url": "https://api.github.com/repos/avencera/rustywind/releases/76400702/assets",
4
+ "upload_url": "https://uploads.github.com/repos/avencera/rustywind/releases/76400702/assets{?name,label}",
5
+ "html_url": "https://github.com/avencera/rustywind/releases/tag/v0.15.1",
6
+ "id": 76400702,
7
+ "author": {
8
+ "login": "github-actions[bot]",
9
+ "id": 41898282,
10
+ "node_id": "MDM6Qm90NDE4OTgyODI=",
11
+ "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
12
+ "gravatar_id": "",
13
+ "url": "https://api.github.com/users/github-actions%5Bbot%5D",
14
+ "html_url": "https://github.com/apps/github-actions",
15
+ "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
16
+ "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
17
+ "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
18
+ "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
19
+ "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
20
+ "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
21
+ "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
22
+ "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
23
+ "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
24
+ "type": "Bot",
25
+ "site_admin": false
26
+ },
27
+ "node_id": "RE_kwDODVEYLM4Ejcg-",
28
+ "tag_name": "v0.15.1",
29
+ "target_commitish": "master",
30
+ "name": "v0.15.1",
31
+ "draft": false,
32
+ "prerelease": false,
33
+ "created_at": "2022-09-06T16:16:23Z",
34
+ "published_at": "2022-09-06T16:20:05Z",
35
+ "assets": [
36
+ {
37
+ "url": "https://api.github.com/repos/avencera/rustywind/releases/assets/77040438",
38
+ "id": 77040438,
39
+ "node_id": "RA_kwDODVEYLM4El4s2",
40
+ "name": "rustywind-v0.15.1-aarch64-apple-darwin.tar.gz",
41
+ "label": "",
42
+ "uploader": {
43
+ "login": "github-actions[bot]",
44
+ "id": 41898282,
45
+ "node_id": "MDM6Qm90NDE4OTgyODI=",
46
+ "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
47
+ "gravatar_id": "",
48
+ "url": "https://api.github.com/users/github-actions%5Bbot%5D",
49
+ "html_url": "https://github.com/apps/github-actions",
50
+ "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
51
+ "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
52
+ "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
53
+ "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
54
+ "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
55
+ "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
56
+ "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
57
+ "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
58
+ "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
59
+ "type": "Bot",
60
+ "site_admin": false
61
+ },
62
+ "content_type": "application/gzip",
63
+ "state": "uploaded",
64
+ "size": 1204148,
65
+ "created_at": "2022-09-06T16:20:06Z",
66
+ "updated_at": "2022-09-06T16:20:07Z",
67
+ "browser_download_url": "https://github.com/avencera/rustywind/releases/download/v0.15.1/rustywind-v0.15.1-aarch64-apple-darwin.tar.gz"
68
+ },
69
+ {
70
+ "url": "https://api.github.com/repos/avencera/rustywind/releases/assets/77041286",
71
+ "id": 77041286,
72
+ "node_id": "RA_kwDODVEYLM4El46G",
73
+ "name": "rustywind-v0.15.1-aarch64-unknown-linux-gnu.tar.gz",
74
+ "label": "",
75
+ "uploader": {
76
+ "login": "github-actions[bot]",
77
+ "id": 41898282,
78
+ "node_id": "MDM6Qm90NDE4OTgyODI=",
79
+ "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
80
+ "gravatar_id": "",
81
+ "url": "https://api.github.com/users/github-actions%5Bbot%5D",
82
+ "html_url": "https://github.com/apps/github-actions",
83
+ "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
84
+ "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
85
+ "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
86
+ "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
87
+ "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
88
+ "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
89
+ "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
90
+ "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
91
+ "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
92
+ "type": "Bot",
93
+ "site_admin": false
94
+ },
95
+ "content_type": "application/gzip",
96
+ "state": "uploaded",
97
+ "size": 1642993,
98
+ "created_at": "2022-09-06T16:31:31Z",
99
+ "updated_at": "2022-09-06T16:31:32Z",
100
+ "browser_download_url": "https://github.com/avencera/rustywind/releases/download/v0.15.1/rustywind-v0.15.1-aarch64-unknown-linux-gnu.tar.gz"
101
+ },
102
+ {
103
+ "url": "https://api.github.com/repos/avencera/rustywind/releases/assets/77041299",
104
+ "id": 77041299,
105
+ "node_id": "RA_kwDODVEYLM4El46T",
106
+ "name": "rustywind-v0.15.1-aarch64-unknown-linux-musl.tar.gz",
107
+ "label": "",
108
+ "uploader": {
109
+ "login": "github-actions[bot]",
110
+ "id": 41898282,
111
+ "node_id": "MDM6Qm90NDE4OTgyODI=",
112
+ "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
113
+ "gravatar_id": "",
114
+ "url": "https://api.github.com/users/github-actions%5Bbot%5D",
115
+ "html_url": "https://github.com/apps/github-actions",
116
+ "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
117
+ "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
118
+ "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
119
+ "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
120
+ "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
121
+ "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
122
+ "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
123
+ "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
124
+ "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
125
+ "type": "Bot",
126
+ "site_admin": false
127
+ },
128
+ "content_type": "application/gzip",
129
+ "state": "uploaded",
130
+ "size": 1700259,
131
+ "created_at": "2022-09-06T16:31:55Z",
132
+ "updated_at": "2022-09-06T16:31:55Z",
133
+ "browser_download_url": "https://github.com/avencera/rustywind/releases/download/v0.15.1/rustywind-v0.15.1-aarch64-unknown-linux-musl.tar.gz"
134
+ },
135
+ {
136
+ "url": "https://api.github.com/repos/avencera/rustywind/releases/assets/77041293",
137
+ "id": 77041293,
138
+ "node_id": "RA_kwDODVEYLM4El46N",
139
+ "name": "rustywind-v0.15.1-arm-unknown-linux-gnueabi.tar.gz",
140
+ "label": "",
141
+ "uploader": {
142
+ "login": "github-actions[bot]",
143
+ "id": 41898282,
144
+ "node_id": "MDM6Qm90NDE4OTgyODI=",
145
+ "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
146
+ "gravatar_id": "",
147
+ "url": "https://api.github.com/users/github-actions%5Bbot%5D",
148
+ "html_url": "https://github.com/apps/github-actions",
149
+ "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
150
+ "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
151
+ "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
152
+ "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
153
+ "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
154
+ "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
155
+ "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
156
+ "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
157
+ "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
158
+ "type": "Bot",
159
+ "site_admin": false
160
+ },
161
+ "content_type": "application/gzip",
162
+ "state": "uploaded",
163
+ "size": 1666501,
164
+ "created_at": "2022-09-06T16:31:47Z",
165
+ "updated_at": "2022-09-06T16:31:47Z",
166
+ "browser_download_url": "https://github.com/avencera/rustywind/releases/download/v0.15.1/rustywind-v0.15.1-arm-unknown-linux-gnueabi.tar.gz"
167
+ },
168
+ {
169
+ "url": "https://api.github.com/repos/avencera/rustywind/releases/assets/77041292",
170
+ "id": 77041292,
171
+ "node_id": "RA_kwDODVEYLM4El46M",
172
+ "name": "rustywind-v0.15.1-arm-unknown-linux-gnueabihf.tar.gz",
173
+ "label": "",
174
+ "uploader": {
175
+ "login": "github-actions[bot]",
176
+ "id": 41898282,
177
+ "node_id": "MDM6Qm90NDE4OTgyODI=",
178
+ "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
179
+ "gravatar_id": "",
180
+ "url": "https://api.github.com/users/github-actions%5Bbot%5D",
181
+ "html_url": "https://github.com/apps/github-actions",
182
+ "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
183
+ "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
184
+ "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
185
+ "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
186
+ "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
187
+ "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
188
+ "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
189
+ "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
190
+ "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
191
+ "type": "Bot",
192
+ "site_admin": false
193
+ },
194
+ "content_type": "application/gzip",
195
+ "state": "uploaded",
196
+ "size": 1660514,
197
+ "created_at": "2022-09-06T16:31:39Z",
198
+ "updated_at": "2022-09-06T16:31:39Z",
199
+ "browser_download_url": "https://github.com/avencera/rustywind/releases/download/v0.15.1/rustywind-v0.15.1-arm-unknown-linux-gnueabihf.tar.gz"
200
+ },
201
+ {
202
+ "url": "https://api.github.com/repos/avencera/rustywind/releases/assets/77041339",
203
+ "id": 77041339,
204
+ "node_id": "RA_kwDODVEYLM4El467",
205
+ "name": "rustywind-v0.15.1-armv7-unknown-linux-gnueabihf.tar.gz",
206
+ "label": "",
207
+ "uploader": {
208
+ "login": "github-actions[bot]",
209
+ "id": 41898282,
210
+ "node_id": "MDM6Qm90NDE4OTgyODI=",
211
+ "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
212
+ "gravatar_id": "",
213
+ "url": "https://api.github.com/users/github-actions%5Bbot%5D",
214
+ "html_url": "https://github.com/apps/github-actions",
215
+ "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
216
+ "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
217
+ "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
218
+ "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
219
+ "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
220
+ "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
221
+ "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
222
+ "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
223
+ "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
224
+ "type": "Bot",
225
+ "site_admin": false
226
+ },
227
+ "content_type": "application/gzip",
228
+ "state": "uploaded",
229
+ "size": 1632574,
230
+ "created_at": "2022-09-06T16:32:28Z",
231
+ "updated_at": "2022-09-06T16:32:29Z",
232
+ "browser_download_url": "https://github.com/avencera/rustywind/releases/download/v0.15.1/rustywind-v0.15.1-armv7-unknown-linux-gnueabihf.tar.gz"
233
+ },
234
+ {
235
+ "url": "https://api.github.com/repos/avencera/rustywind/releases/assets/77041672",
236
+ "id": 77041672,
237
+ "node_id": "RA_kwDODVEYLM4El5AI",
238
+ "name": "rustywind-v0.15.1-i686-pc-windows-msvc.zip",
239
+ "label": "",
240
+ "uploader": {
241
+ "login": "github-actions[bot]",
242
+ "id": 41898282,
243
+ "node_id": "MDM6Qm90NDE4OTgyODI=",
244
+ "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
245
+ "gravatar_id": "",
246
+ "url": "https://api.github.com/users/github-actions%5Bbot%5D",
247
+ "html_url": "https://github.com/apps/github-actions",
248
+ "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
249
+ "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
250
+ "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
251
+ "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
252
+ "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
253
+ "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
254
+ "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
255
+ "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
256
+ "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
257
+ "type": "Bot",
258
+ "site_admin": false
259
+ },
260
+ "content_type": "application/zip",
261
+ "state": "uploaded",
262
+ "size": 955128,
263
+ "created_at": "2022-09-06T16:37:22Z",
264
+ "updated_at": "2022-09-06T16:37:23Z",
265
+ "browser_download_url": "https://github.com/avencera/rustywind/releases/download/v0.15.1/rustywind-v0.15.1-i686-pc-windows-msvc.zip"
266
+ },
267
+ {
268
+ "url": "https://api.github.com/repos/avencera/rustywind/releases/assets/77041341",
269
+ "id": 77041341,
270
+ "node_id": "RA_kwDODVEYLM4El469",
271
+ "name": "rustywind-v0.15.1-i686-unknown-linux-musl.tar.gz",
272
+ "label": "",
273
+ "uploader": {
274
+ "login": "github-actions[bot]",
275
+ "id": 41898282,
276
+ "node_id": "MDM6Qm90NDE4OTgyODI=",
277
+ "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
278
+ "gravatar_id": "",
279
+ "url": "https://api.github.com/users/github-actions%5Bbot%5D",
280
+ "html_url": "https://github.com/apps/github-actions",
281
+ "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
282
+ "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
283
+ "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
284
+ "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
285
+ "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
286
+ "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
287
+ "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
288
+ "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
289
+ "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
290
+ "type": "Bot",
291
+ "site_admin": false
292
+ },
293
+ "content_type": "application/gzip",
294
+ "state": "uploaded",
295
+ "size": 1763532,
296
+ "created_at": "2022-09-06T16:32:30Z",
297
+ "updated_at": "2022-09-06T16:32:30Z",
298
+ "browser_download_url": "https://github.com/avencera/rustywind/releases/download/v0.15.1/rustywind-v0.15.1-i686-unknown-linux-musl.tar.gz"
299
+ },
300
+ {
301
+ "url": "https://api.github.com/repos/avencera/rustywind/releases/assets/77041321",
302
+ "id": 77041321,
303
+ "node_id": "RA_kwDODVEYLM4El46p",
304
+ "name": "rustywind-v0.15.1-powerpc64le-unknown-linux-gnu.tar.gz",
305
+ "label": "",
306
+ "uploader": {
307
+ "login": "github-actions[bot]",
308
+ "id": 41898282,
309
+ "node_id": "MDM6Qm90NDE4OTgyODI=",
310
+ "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
311
+ "gravatar_id": "",
312
+ "url": "https://api.github.com/users/github-actions%5Bbot%5D",
313
+ "html_url": "https://github.com/apps/github-actions",
314
+ "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
315
+ "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
316
+ "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
317
+ "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
318
+ "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
319
+ "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
320
+ "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
321
+ "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
322
+ "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
323
+ "type": "Bot",
324
+ "site_admin": false
325
+ },
326
+ "content_type": "application/gzip",
327
+ "state": "uploaded",
328
+ "size": 1710941,
329
+ "created_at": "2022-09-06T16:32:08Z",
330
+ "updated_at": "2022-09-06T16:32:09Z",
331
+ "browser_download_url": "https://github.com/avencera/rustywind/releases/download/v0.15.1/rustywind-v0.15.1-powerpc64le-unknown-linux-gnu.tar.gz"
332
+ },
333
+ {
334
+ "url": "https://api.github.com/repos/avencera/rustywind/releases/assets/77040497",
335
+ "id": 77040497,
336
+ "node_id": "RA_kwDODVEYLM4El4tx",
337
+ "name": "rustywind-v0.15.1-x86_64-apple-darwin.tar.gz",
338
+ "label": "",
339
+ "uploader": {
340
+ "login": "github-actions[bot]",
341
+ "id": 41898282,
342
+ "node_id": "MDM6Qm90NDE4OTgyODI=",
343
+ "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
344
+ "gravatar_id": "",
345
+ "url": "https://api.github.com/users/github-actions%5Bbot%5D",
346
+ "html_url": "https://github.com/apps/github-actions",
347
+ "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
348
+ "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
349
+ "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
350
+ "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
351
+ "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
352
+ "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
353
+ "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
354
+ "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
355
+ "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
356
+ "type": "Bot",
357
+ "site_admin": false
358
+ },
359
+ "content_type": "application/gzip",
360
+ "state": "uploaded",
361
+ "size": 1280466,
362
+ "created_at": "2022-09-06T16:20:30Z",
363
+ "updated_at": "2022-09-06T16:20:33Z",
364
+ "browser_download_url": "https://github.com/avencera/rustywind/releases/download/v0.15.1/rustywind-v0.15.1-x86_64-apple-darwin.tar.gz"
365
+ },
366
+ {
367
+ "url": "https://api.github.com/repos/avencera/rustywind/releases/assets/77041535",
368
+ "id": 77041535,
369
+ "node_id": "RA_kwDODVEYLM4El49_",
370
+ "name": "rustywind-v0.15.1-x86_64-pc-windows-msvc.zip",
371
+ "label": "",
372
+ "uploader": {
373
+ "login": "github-actions[bot]",
374
+ "id": 41898282,
375
+ "node_id": "MDM6Qm90NDE4OTgyODI=",
376
+ "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
377
+ "gravatar_id": "",
378
+ "url": "https://api.github.com/users/github-actions%5Bbot%5D",
379
+ "html_url": "https://github.com/apps/github-actions",
380
+ "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
381
+ "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
382
+ "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
383
+ "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
384
+ "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
385
+ "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
386
+ "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
387
+ "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
388
+ "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
389
+ "type": "Bot",
390
+ "site_admin": false
391
+ },
392
+ "content_type": "application/zip",
393
+ "state": "uploaded",
394
+ "size": 1023888,
395
+ "created_at": "2022-09-06T16:35:18Z",
396
+ "updated_at": "2022-09-06T16:35:18Z",
397
+ "browser_download_url": "https://github.com/avencera/rustywind/releases/download/v0.15.1/rustywind-v0.15.1-x86_64-pc-windows-msvc.zip"
398
+ },
399
+ {
400
+ "url": "https://api.github.com/repos/avencera/rustywind/releases/assets/77041350",
401
+ "id": 77041350,
402
+ "node_id": "RA_kwDODVEYLM4El47G",
403
+ "name": "rustywind-v0.15.1-x86_64-unknown-linux-musl.tar.gz",
404
+ "label": "",
405
+ "uploader": {
406
+ "login": "github-actions[bot]",
407
+ "id": 41898282,
408
+ "node_id": "MDM6Qm90NDE4OTgyODI=",
409
+ "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
410
+ "gravatar_id": "",
411
+ "url": "https://api.github.com/users/github-actions%5Bbot%5D",
412
+ "html_url": "https://github.com/apps/github-actions",
413
+ "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
414
+ "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
415
+ "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
416
+ "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
417
+ "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
418
+ "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
419
+ "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
420
+ "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
421
+ "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
422
+ "type": "Bot",
423
+ "site_admin": false
424
+ },
425
+ "content_type": "application/gzip",
426
+ "state": "uploaded",
427
+ "size": 1726611,
428
+ "created_at": "2022-09-06T16:32:42Z",
429
+ "updated_at": "2022-09-06T16:32:43Z",
430
+ "browser_download_url": "https://github.com/avencera/rustywind/releases/download/v0.15.1/rustywind-v0.15.1-x86_64-unknown-linux-musl.tar.gz"
431
+ }
432
+ ],
433
+ "tarball_url": "https://api.github.com/repos/avencera/rustywind/tarball/v0.15.1",
434
+ "zipball_url": "https://api.github.com/repos/avencera/rustywind/zipball/v0.15.1",
435
+ "body": "## What's Changed\r\n* Bump crossbeam-deque from 0.8.0 to 0.8.1 by @dependabot in https://github.com/avencera/rustywind/pull/59\r\n* Bump crossbeam-utils from 0.8.5 to 0.8.8 by @dependabot in https://github.com/avencera/rustywind/pull/60\r\n* Bump regex from 1.5.4 to 1.5.5 by @dependabot in https://github.com/avencera/rustywind/pull/61\r\n* Approach a fix for no `\\n` at the end of a file by @artemkovalyov in https://github.com/avencera/rustywind/pull/63\r\n\r\n## New Contributors\r\n* @artemkovalyov made their first contribution in https://github.com/avencera/rustywind/pull/63\r\n\r\n**Full Changelog**: https://github.com/avencera/rustywind/compare/v0.15.0...v0.15.1",
436
+ "mentions_count": 2
437
+ }