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

moment-timezone

Package Overview
Dependencies
Maintainers
2
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

moment-timezone - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

5

changelog.md

@@ -0,1 +1,4 @@

### `0.2.1` _2014-08-02_
* Fixed support for `moment@2.8.1+`.
### `0.2.0` _2014-07-21_

@@ -47,2 +50,2 @@ * Added the ability to configure whether ambiguous or invalid input is rolled forward or backward. [#101](https://github.com/moment/moment-timezone/pull/101)

### `0.0.1` _2013-07-17_
* Initial version.
* Initial version.

2

moment-timezone-utils.js
//! moment-timezone-utils.js
//! version : 0.2.0
//! version : 0.2.1
//! author : Tim Wood

@@ -4,0 +4,0 @@ //! license : MIT

//! moment-timezone.js
//! version : 0.2.0
//! version : 0.2.1
//! author : Tim Wood

@@ -24,3 +24,3 @@ //! license : MIT

var VERSION = "0.2.0",
var VERSION = "0.2.1",
zones = {},

@@ -306,3 +306,3 @@ links = {};

if (zone && needsOffset(out)) {
out.add('minutes', zone.parse(out));
out.add(zone.parse(out), 'minutes');
}

@@ -374,3 +374,3 @@

this._z = null;
return old.call(this);
return old.apply(this, arguments);
};

@@ -384,3 +384,11 @@ }

// Cloning a moment should include the _z property.
moment.momentProperties._z = null;
var momentProperties = moment.momentProperties;
if (Object.prototype.toString.call(momentProperties) === '[object Array]') {
// moment 2.8.1+
momentProperties.push('_z');
momentProperties.push('_a');
} else {
// moment 2.7.0
momentProperties._z = null;
}

@@ -387,0 +395,0 @@ // INJECT DATA

{
"name": "moment-timezone",
"version": "0.2.0",
"version": "0.2.1",
"description": "Parse and display moments in any timezone.",

@@ -5,0 +5,0 @@ "homepage": "http://momentjs.com/timezone/",

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