Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@flakiness/report

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flakiness/report - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

5

lib/cli/uploadPlaywrightJSONReport.js
#!/usr/bin/env node
import fs from "fs/promises";
import parseArgs from "minimist";
import path from "path";
import fs from "fs/promises";
import { PlaywrightJSONReport } from "../playwrightJSONReport.js";
import { ReportUploader } from "../reportUploader.js";
import parseArgs from "minimist";
import { sha256Buffer } from "../utils.js";

@@ -63,3 +63,2 @@ const USAGE = `npx flakiness upload-playwright-json --access-token <token> [--endpoint <url>] <relative-path-to-json>`;

});
console.log(reportId);
for (const unaccessibleAttachment of unaccessibleAttachmentPaths)

@@ -66,0 +65,0 @@ console.warn(`WARN: cannot access attachment ${unaccessibleAttachment}`);

@@ -0,4 +1,6 @@

import debug from "debug";
import { posix as posixPath } from "path";
import { FlakinessReport } from "./common/flakinessReport.js";
import { computeGitRoot, existsAsync, extractEnvConfiguration, getOSInfo, gitCommitInfo, gitFilePath, inferRunUrl, normalizePath, parseDurationMS, parseStringDate, sha256Buffer, sha256File, stripAnsi } from "./utils.js";
const dlog = debug("flakiness:json-report");
var PlaywrightJSONReport;

@@ -18,2 +20,6 @@ ((PlaywrightJSONReport2) => {

};
dlog(`metadata directory: ${somePathInsideProject}`);
dlog(`metadata: ${JSON.stringify(metadata)}`);
dlog(`commit info: ${JSON.stringify(commitInfo)}`);
dlog(`os info: ${JSON.stringify(osInfo)}`);
return metadata;

@@ -20,0 +26,0 @@ }

2

lib/utils.js

@@ -52,3 +52,3 @@ import { spawnSync } from "child_process";

}
await job();
return await job();
}

@@ -55,0 +55,0 @@ var httpUtils;

{
"name": "@flakiness/report",
"version": "0.0.2",
"version": "0.0.3",
"private": false,

@@ -44,5 +44,6 @@ "bin": {

"dependencies": {
"@flakiness/shared": "0.0.2",
"@flakiness/shared": "0.0.3",
"debug": "^4.3.7",
"minimist": "^1.2.8"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc