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

@types/luxon

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/luxon - npm Package Compare versions

Comparing version 1.22.1 to 1.24.0

30

luxon/index.d.ts

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

// Type definitions for luxon 1.22
// Type definitions for luxon 1.24
// Project: https://github.com/moment/luxon#readme

@@ -14,3 +14,2 @@ // Definitions by: Colby DeHart <https://github.com/colbydehart>

// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2

@@ -71,8 +70,32 @@ export type DateTimeFormatOptions = Intl.DateTimeFormatOptions;

export type ToISOFormat = 'basic' | 'extended';
export interface ToISOTimeOptions {
/**
* @default false
*/
suppressMilliseconds?: boolean;
/**
* @default false
*/
suppressSeconds?: boolean;
/**
* @default true
*/
includeOffset?: boolean;
/**
* choose between the basic and extended format
* @default 'extended'
*/
format?: ToISOFormat;
}
export interface ToISODateOptions {
/**
* choose between the basic and extended format
* @default 'extended'
*/
format?: ToISOFormat;
}
// alias for backwards compatibility

@@ -255,3 +278,4 @@ export type ISOTimeOptions = ToISOTimeOptions;

toISO(options?: ToISOTimeOptions): string;
toISODate(): string;
/** Returns an ISO 8601-compliant string representation of this DateTime's date component */
toISODate(options?: ToISODateOptions): string;
toISOTime(options?: ToISOTimeOptions): string;

@@ -258,0 +282,0 @@ toISOWeekDate(): string;

4

luxon/package.json
{
"name": "@types/luxon",
"version": "1.22.1",
"version": "1.24.0",
"description": "TypeScript definitions for luxon",

@@ -67,4 +67,4 @@ "license": "MIT",

"dependencies": {},
"typesPublisherContentHash": "d771c12ab730dc325c29ad7f2b14e8f9fd3593d522623f25c4bd2dcca5a0eef7",
"typesPublisherContentHash": "2ceca6e23ffb1a459e8045168d40295a7f166774b24274d819ca553fa84b0c7c",
"typeScriptVersion": "2.9"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Wed, 06 May 2020 09:11:45 GMT
* Last updated: Wed, 06 May 2020 22:30:11 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

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