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

gh-benchmarks-grapher

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gh-benchmarks-grapher - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

2

index.js

@@ -57,2 +57,3 @@

o.x = run.tagName || run.lastCommit.substr(run.lastCommit.length - 6);
o.x += "|" + job.repoUrl + "/tree/" + (r.tagName || r.lastCommit);
chartData.push(o);

@@ -69,2 +70,3 @@ }

o.x = run.tagName || run.lastCommit.substr(run.lastCommit.length - 6);
o.x += "|" + job.repoUrl + "/tree/" + (r.tagName || r.lastCommit);
for (var y=0; y < chart.config.lines.length; y++) {

@@ -71,0 +73,0 @@ var line = chart.config.lines[y];

2

package.json
{
"name": "gh-benchmarks-grapher",
"version": "0.0.5",
"version": "0.0.6",
"description": "default graphing engine for gh-benchmarks",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -190,2 +190,12 @@

// this is the thing we have to do to add links to commit names
graph.selectAll("g.x.axis g text").each(function (d, i) {
var g = d3.select(this);
var text = g.text().split('|');
g.text('');
g.append("a")
.attr("xlink:href", text[1])
.text(text[0]);
});
// add the y-axis

@@ -307,2 +317,12 @@ graph.append("g")

// this is the thing we have to do to add links to commit names
graph.selectAll("g.x.axis g text").each(function (d, i) {
var g = d3.select(this);
var text = g.text().split('|');
g.text('');
g.append("a")
.attr("xlink:href", text[1])
.text(text[0]);
});
var yAxis = d3.svg.axis()

@@ -309,0 +329,0 @@ .scale(y)

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