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

timezone-mock

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

timezone-mock - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

index.js

@@ -34,2 +34,4 @@ var assert = require('assert');

this.d = new _Date(param);
} else if (typeof param === 'undefined') {
this.d = new _Date();
} else {

@@ -36,0 +38,0 @@ assert.ok(false, 'Unhandled type passed to MockDate constructor: ' + typeof param);

2

package.json
{
"name": "timezone-mock",
"version": "1.0.2",
"version": "1.0.3",
"description": "A JavaScript library to mock the local timezone.",

@@ -5,0 +5,0 @@ "main": "index.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