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

internet-time

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

internet-time - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "internet-time",
"version": "0.0.1",
"version": "0.0.2",
"main": "src/index.js",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -15,3 +15,2 @@ const io = require('socket.io-client')

socket.on('connect', () => setTimeout(() => clocksy.start(), 500))
socket.on('disconnect', () => clocksy.stop())

@@ -28,4 +27,11 @@

e.now = () => Date.now() + e.delta()
let started = false
e.now = () => {
if (!started) {
clocksy.start()
}
started = true
return Date.now() + e.delta()
}
module.exports = e
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