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

console-pro-trace

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

console-pro-trace - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "console-pro-trace",
"version": "1.0.1",
"version": "1.0.2",
"description": "tarce your function. calc the case time.",

@@ -5,0 +5,0 @@ "types": "dist/src/index.d.ts",

@@ -11,3 +11,3 @@ # console trace

// test/demo1.ts
import { console, registerClassDebug } from '../src/';
import { console, registerClassDebug, IS_IN_TRACE_MODE } from '../src/';
class A {

@@ -14,0 +14,0 @@ async say(word) {

@@ -15,2 +15,3 @@

});
export const IS_IN_TRACE_MODE = !!_CONSOLE_PRO_TRACE;

@@ -20,6 +21,3 @@ const AsyncFuncton = (async () => { }).constructor;

const process_base_name = require.main ? path.parse(require.main.filename).base : ""
const process_name = (process['name'] || process.env.name)
|| cluster.isWorker
? `CLUSTER-${process_base_name}-${process.pid}`
: "";
const process_name = process['name'] || process.env.name || "";

@@ -26,0 +24,0 @@ const minmatch_options = { nocase: true };

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