Socket
Socket
Sign inDemoInstall

@types/moment-timezone

Package Overview
Dependencies
1
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.33 to 0.2.34

15

moment-timezone/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for moment-timezone.js 0.2.5
// Type definitions for moment-timezone.js 0.2
// Project: http://momentjs.com/timezone/

@@ -8,6 +8,6 @@ // Definitions by: Michel Salib <https://github.com/michelsalib>

export as namespace MomentTimezone;
// require("moment-timezone") === require("moment")
export = moment;
declare namespace MomentTimezone {
declare module "moment" {
interface MomentZone {

@@ -21,3 +21,3 @@ name: string;

offset(timestamp: number): number;
parse(timestamp: number): number
parse(timestamp: number): number;
}

@@ -37,3 +37,3 @@

(date: moment.Moment, timezone: string): moment.Moment;
(date: Object, timezone: string): moment.Moment;
(date: any, timezone: string): moment.Moment;

@@ -60,5 +60,2 @@ zone(timezone: string): MomentZone;

}
declare module "moment" {
interface Moment {

@@ -71,3 +68,3 @@ tz(): string;

const tz: MomentTimezone.MomentTimezone;
const tz: MomentTimezone;
}
{
"name": "@types/moment-timezone",
"version": "0.2.33",
"version": "0.2.34",
"description": "TypeScript definitions for moment-timezone.js",

@@ -17,3 +17,4 @@ "license": "MIT",

"peerDependencies": {},
"typesPublisherContentHash": "b04f207cf2025b722dc353fbe73c8cf228626d341f7faa8d6a59db2952731e1d"
"typesPublisherContentHash": "3a7e83342a97cecc5eccc34d49bc9dbdb2e01bc312dba02d74eaaf006dbaca1d",
"typeScriptVersion": "2.0"
}

6

moment-timezone/README.md

@@ -8,11 +8,11 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/moment-timezone
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/moment-timezone
Additional Details
* Last updated: Mon, 12 Dec 2016 22:50:18 GMT
* Last updated: Fri, 06 Jan 2017 16:34:31 GMT
* Library Dependencies: none
* Module Dependencies: moment
* Global values: MomentTimezone
* Global values: none
# Credits
These definitions were written by Michel Salib <https://github.com/michelsalib>.

@@ -9,2 +9,3 @@ {

"libraryMinorVersion": 2,
"typeScriptVersion": "2.0",
"libraryName": "moment-timezone.js",

@@ -14,6 +15,4 @@ "typingsPackageName": "moment-timezone",

"sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped",
"sourceBranch": "types-2.0",
"globals": [
"MomentTimezone"
],
"sourceBranch": "master",
"globals": [],
"declaredModules": [

@@ -26,3 +25,3 @@ "moment-timezone"

"hasPackageJson": true,
"contentHash": "b04f207cf2025b722dc353fbe73c8cf228626d341f7faa8d6a59db2952731e1d"
"contentHash": "3a7e83342a97cecc5eccc34d49bc9dbdb2e01bc312dba02d74eaaf006dbaca1d"
}
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