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 2.0.5 to 2.0.6

4

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

@@ -73,4 +73,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/luxon",

"dependencies": {},
"typesPublisherContentHash": "caaa014a87d6d9053f507cf997a93b4f5fcc9e9a3f6c502209e16439ec627e35",
"typesPublisherContentHash": "67207da97dd2d192057f86b46d6e2c69a556ea6cca8c9bdd7828ac8eac8e9769",
"typeScriptVersion": "3.7"
}

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

### Additional Details
* Last updated: Thu, 07 Oct 2021 21:01:20 GMT
* Last updated: Mon, 08 Nov 2021 10:01:36 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: `luxon`

@@ -22,3 +22,15 @@ import { NumberingSystem } from './misc';

export type DurationUnit = keyof DurationObjectUnits;
export interface DurationLikeObject extends DurationObjectUnits {
year?: number | undefined;
quarter?: number | undefined;
month?: number | undefined;
week?: number | undefined;
day?: number | undefined;
hour?: number | undefined;
minute?: number | undefined;
second?: number | undefined;
millisecond?: number | undefined;
}
export type DurationUnit = keyof DurationLikeObject;
export type DurationUnits = DurationUnit | DurationUnit[];

@@ -56,3 +68,3 @@

*/
export type DurationInput = Duration | number | DurationObjectUnits;
export type DurationInput = Duration | number | DurationLikeObject;

@@ -62,3 +74,3 @@ /**

*/
export type DurationLike = Duration | DurationObjectUnits | number;
export type DurationLike = Duration | DurationLikeObject | number;

@@ -113,3 +125,3 @@ /**

*/
static fromObject(obj: DurationObjectUnits, opts?: DurationOptions): Duration;
static fromObject(obj: DurationLikeObject, opts?: DurationOptions): Duration;

@@ -156,3 +168,3 @@ /**

*/
static fromISOTime(text: string, opts: DurationOptions): Duration;
static fromISOTime(text: string, opts?: DurationOptions): Duration;

@@ -326,3 +338,3 @@ /**

*/
set(values: DurationObjectUnits): Duration;
set(values: DurationLikeObject): Duration;

@@ -329,0 +341,0 @@ /**

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