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 3.0.3 to 3.1.0

2

luxon/index.d.ts

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

// Type definitions for luxon 3.0
// Type definitions for luxon 3.1
// Project: https://github.com/moment/luxon#readme

@@ -3,0 +3,0 @@ // Definitions by: Hyeonseok Yang <https://github.com/FourwingsY>

{
"name": "@types/luxon",
"version": "3.0.3",
"version": "3.1.0",
"description": "TypeScript definitions for luxon",

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

"dependencies": {},
"typesPublisherContentHash": "dd7124dc2c84bf3eebf6d67a0d2415307eb46f7515870a37351b1c02d057bf20",
"typesPublisherContentHash": "39dc23010f4db4ce1892b41a6e8a40203361f9b997e834a3ef1feba6fb65459a",
"typeScriptVersion": "4.1"
}

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

### Additional Details
* Last updated: Thu, 03 Nov 2022 23:02:49 GMT
* Last updated: Fri, 04 Nov 2022 20:32:56 GMT
* Dependencies: none

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

@@ -396,2 +396,10 @@ import { NumberingSystem } from './misc';

/**
* Rescale units to its largest representation.
*
* @example
* Duration.fromObject({ milliseconds: 90000 }).rescale().toObject() //=> { minutes: 1, seconds: 30 }
*/
rescale(): Duration;
/**
* Convert this Duration into its representation in a different set of units.

@@ -405,2 +413,8 @@ *

/**
* Shift this Duration to all available units.
* Same as shiftTo("years", "months", "weeks", "days", "hours", "minutes", "seconds", "milliseconds")
*/
shiftToAll(): Duration;
/**
* Return the negative of this Duration.

@@ -407,0 +421,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