Socket
Socket
Sign inDemoInstall

unitimer

Package Overview
Dependencies
0
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.8.1 to 3.8.2

2

lib/now.js

@@ -5,3 +5,3 @@ var nowNode = require('./now-node');

var now = void 0;
if (process && process.hrtime) {
if (typeof window === 'undefined') {
now = nowNode;

@@ -8,0 +8,0 @@ } else {

{
"name": "unitimer",
"version": "3.8.1",
"version": "3.8.2",
"description": "Universal timer (Node.js and browser)",

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

@@ -5,3 +5,3 @@ const nowNode = require('./now-node')

let now
if (process && process.hrtime) {
if (typeof window === 'undefined') {
now = nowNode

@@ -8,0 +8,0 @@ } else {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc