@soybeanjs/changelog 0.0.3 → 0.0.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/dist/index.cjs CHANGED
@@ -201,7 +201,8 @@ async function getResolvedAuthorLogin(github, commitHashes, email) {
201
201
  try {
202
202
  const data = await ofetch.ofetch(`https://ungh.cc/users/find/${email}`);
203
203
  login = data?.user?.username || "";
204
- } catch {
204
+ } catch (e) {
205
+ console.log("e: ", e);
205
206
  }
206
207
  if (login) {
207
208
  return login;
@@ -217,6 +218,7 @@ async function getResolvedAuthorLogin(github, commitHashes, email) {
217
218
  });
218
219
  login = data?.author?.login || "";
219
220
  } catch (e) {
221
+ console.log("e: ", e);
220
222
  }
221
223
  }
222
224
  if (login) {
@@ -228,6 +230,7 @@ async function getResolvedAuthorLogin(github, commitHashes, email) {
228
230
  });
229
231
  login = data.items[0].login;
230
232
  } catch (e) {
233
+ console.log("e: ", e);
231
234
  }
232
235
  return login;
233
236
  }
package/dist/index.mjs CHANGED
@@ -194,7 +194,8 @@ async function getResolvedAuthorLogin(github, commitHashes, email) {
194
194
  try {
195
195
  const data = await ofetch(`https://ungh.cc/users/find/${email}`);
196
196
  login = data?.user?.username || "";
197
- } catch {
197
+ } catch (e) {
198
+ console.log("e: ", e);
198
199
  }
199
200
  if (login) {
200
201
  return login;
@@ -210,6 +211,7 @@ async function getResolvedAuthorLogin(github, commitHashes, email) {
210
211
  });
211
212
  login = data?.author?.login || "";
212
213
  } catch (e) {
214
+ console.log("e: ", e);
213
215
  }
214
216
  }
215
217
  if (login) {
@@ -221,6 +223,7 @@ async function getResolvedAuthorLogin(github, commitHashes, email) {
221
223
  });
222
224
  login = data.items[0].login;
223
225
  } catch (e) {
226
+ console.log("e: ", e);
224
227
  }
225
228
  return login;
226
229
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soybeanjs/changelog",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "generate changelog form git tags and commits for github",
5
5
  "author": {
6
6
  "name": "Soybean",