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

perf-deets

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

perf-deets - npm Package Compare versions

Comparing version 1.0.14 to 1.0.15

9

frontend.js

@@ -30,2 +30,7 @@ import * as Plot from '@observablehq/plot';

function sanitizeName(name) {
// Turn name into a valid CSS class
return name.replace(/[^a-z0-9]/gi, '-');
}
let loggedResults = [];

@@ -200,3 +205,3 @@ let cleanupTimer;

let svgCont = document.createElement('div');
svgCont.className = 'data ' + name;
svgCont.className = 'data ' + sanitizeName(name);
svgCont.dataset.dataName = name;

@@ -244,3 +249,3 @@ svgCont.style.marginTop = '15px';

let existing = r.querySelector('.data.' + name);
let existing = r.querySelector('.data.' + sanitizeName(name));
if (existing) {

@@ -247,0 +252,0 @@ existing.parentNode.replaceChild(svgCont, existing);

{
"name": "perf-deets",
"version": "1.0.14",
"version": "1.0.15",
"main": "./index.js",

@@ -5,0 +5,0 @@ "license": "MIT",

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