New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cpuprofilify

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cpuprofilify - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

better.cpuprofile

7

lib/converter-dtrace.js

@@ -47,2 +47,5 @@ 'use strict';

function inspect(obj, depth) {
console.error(require('util').inspect(obj, false, depth || 5, true));
}
proto._parseTraceInfo = function _parseTraceInfo(line, isStart) {

@@ -57,3 +60,3 @@ var parts = line.split(' ');

this._startTime = (parts[2] && parts[2].slice(0, -1)) || '0';
this._startTime = (parts[2] && parts[2].slice(0, -1)) || '0.0';

@@ -75,2 +78,4 @@ this._process = parts[0];

var s = t.toString();
// 0 is a special case
if (s.length < 5) return s;
return s.slice(0, -3) + '.' + s.slice(4);

@@ -77,0 +82,0 @@ }

2

package.json
{
"name": "cpuprofilify",
"version": "0.2.3",
"version": "0.2.4",
"description": "Converts output of various profiling/sampling tools to the .cpuprofile format so it can be loaded into Chrome DevTools.",

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

Sorry, the diff of this file is too big to display

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