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

nanotiming

Package Overview
Dependencies
Maintainers
24
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nanotiming - npm Package Compare versions

Comparing version 7.2.0 to 7.3.0

6

browser.js

@@ -5,6 +5,6 @@ var scheduler = require('nanoscheduler')()

var perf
var disabled = true
nanotiming.disabled = true
try {
perf = window.performance
disabled = window.localStorage.DISABLE_NANOTIMING === 'true' || !perf.mark
nanotiming.disabled = window.localStorage.DISABLE_NANOTIMING === 'true' || !perf.mark
} catch (e) { }

@@ -17,3 +17,3 @@

if (disabled) return noop
if (nanotiming.disabled) return noop

@@ -20,0 +20,0 @@ var uuid = (perf.now() * 10000).toFixed() % Number.MAX_SAFE_INTEGER

var assert = require('assert')
var perf
var disabled = true
nanotiming.disabled = true
try {
perf = require('perf_hooks').performance
disabled = process.env.DISABLE_NANOTIMING || !perf.mark
nanotiming.disabled = process.env.DISABLE_NANOTIMING || !perf.mark
} catch (e) { }

@@ -17,3 +17,3 @@

if (disabled) return noop
if (nanotiming.disabled) return noop

@@ -20,0 +20,0 @@ var uuid = (perf.now() * 10000).toFixed() % Number.MAX_SAFE_INTEGER

@@ -5,3 +5,3 @@ {

"repository": "choojs/nanotiming",
"version": "7.2.0",
"version": "7.3.0",
"main": "index.js",

@@ -8,0 +8,0 @@ "browser": "browser.js",

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