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

bare-console

Package Overview
Dependencies
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bare-console - npm Package Compare versions

Comparing version 3.1.1 to 4.0.0

5

index.js
const inspect = require('bare-inspect')
const hrtime = require('bare-hrtime')

@@ -34,3 +35,3 @@ module.exports = class Console {

this._timers.set(label, process.hrtime())
this._timers.set(label, hrtime())
}

@@ -46,3 +47,3 @@

const d = process.hrtime(started)
const d = hrtime(started)
const ms = d[0] * 1e3 + d[1] / 1e6

@@ -49,0 +50,0 @@ this._timers.delete(label)

3

package.json
{
"name": "bare-console",
"version": "3.1.1",
"version": "4.0.0",
"description": "Simple debugging console for JavaScript",

@@ -23,2 +23,3 @@ "main": "index.js",

"dependencies": {
"bare-hrtime": "^2.0.0",
"bare-inspect": "^1.1.0"

@@ -25,0 +26,0 @@ },

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