@firestartr/cli 1.45.0-snapshot-6 → 1.45.0-snapshot-7

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.js CHANGED
@@ -273948,11 +273948,13 @@ async function getClaimsByName(name, cwd = '.') {
273948
273948
  cwd: cwd,
273949
273949
  });
273950
273950
  const entradas = [];
273951
+ const chunks = [];
273951
273952
  handler.stdout.on('data', (data) => {
273952
- const fileNameList = data
273953
- .toString('utf-8')
273954
- .split(/\n/)
273955
- .filter((l) => l !== '');
273953
+ chunks.push(data.toString('utf-8'));
273954
+ });
273955
+ handler.on('close', () => {
273956
+ const dataFinal = chunks.join('');
273957
+ const fileNameList = dataFinal.split(/\n/).filter((line) => line !== '');
273956
273958
  for (const fileName of fileNameList) {
273957
273959
  // only yaml files
273958
273960
  if (!fileName.match(/\.yml$|\.yaml$/)) {
@@ -273964,8 +273966,6 @@ async function getClaimsByName(name, cwd = '.') {
273964
273966
  }
273965
273967
  entradas.push(external_path_.join(cwd, fileName));
273966
273968
  }
273967
- });
273968
- handler.on('close', () => {
273969
273969
  return Promise.all(entradas.map((entrada) => {
273970
273970
  return loadRawClaim(entrada);
273971
273971
  }))
@@ -428,7 +428,7 @@ export declare function getBranch(repo: string, branch: string, owner?: string):
428
428
  verified_at: string;
429
429
  };
430
430
  };
431
- author: Record<string, never> | {
431
+ author: {
432
432
  name?: string;
433
433
  email?: string;
434
434
  login: string;
@@ -451,8 +451,8 @@ export declare function getBranch(repo: string, branch: string, owner?: string):
451
451
  site_admin: boolean;
452
452
  starred_at?: string;
453
453
  user_view_type?: string;
454
- };
455
- committer: Record<string, never> | {
454
+ } | Record<string, never>;
455
+ committer: {
456
456
  name?: string;
457
457
  email?: string;
458
458
  login: string;
@@ -475,7 +475,7 @@ export declare function getBranch(repo: string, branch: string, owner?: string):
475
475
  site_admin: boolean;
476
476
  starred_at?: string;
477
477
  user_view_type?: string;
478
- };
478
+ } | Record<string, never>;
479
479
  parents: {
480
480
  sha: string;
481
481
  url: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firestartr/cli",
3
- "version": "1.45.0-snapshot-6",
3
+ "version": "1.45.0-snapshot-7",
4
4
  "private": false,
5
5
  "description": "Commandline tool",
6
6
  "main": "build/main.js",