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

@storm-stack/date-time

Package Overview
Dependencies
Maintainers
0
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storm-stack/date-time - npm Package Compare versions

Comparing version 1.37.0 to 1.37.1

15

dist/storm-date-time.d.ts

@@ -41,2 +41,3 @@ import { Temporal } from "@js-temporal/polyfill";

export declare function deserializeStormDateTime(utcString: JsonValue): StormDateTime;
export declare const createDateTime: (dateTime?: DateTimeInput, options?: DateTimeOptions) => StormDateTime;
/**

@@ -91,2 +92,9 @@ * A wrapper of the and Date class used by Storm Software to provide Date-Time values

/**
* Validate the input date value
*
* @param dateTime - The date value to validate
* @returns A boolean representing whether the value is a valid *date-time*
*/
static validate(value?: DateTimeInput): ValidationDetails | null;
/**
* Creates a new instance of StormDateTime from a string with a specified format.

@@ -99,9 +107,2 @@ *

static create: (dateTime?: DateTimeInput, options?: DateTimeOptions) => StormDateTime;
/**
* Validate the input date value
*
* @param dateTime - The date value to validate
* @returns A boolean representing whether the value is a valid *date-time*
*/
static validate(value?: DateTimeInput): ValidationDetails | null;
constructor(dateTime?: DateTimeInput, options?: DateTimeOptions);

@@ -108,0 +109,0 @@ /**

@@ -20,2 +20,3 @@ import { Temporal } from "@js-temporal/polyfill";

export declare function deserializeStormDate(utcString: JsonValue): StormDate;
export declare const createDate: (date?: DateTimeInput, options?: DateTimeOptions) => StormDate;
/**

@@ -22,0 +23,0 @@ * A wrapper of the and Date class used by Storm Software to provide Date-Time values

@@ -20,2 +20,3 @@ import { Temporal } from "@js-temporal/polyfill";

export declare function deserializeStormTime(utcString: JsonValue): StormTime;
export declare const createTime: (time?: DateTimeInput, options?: DateTimeOptions) => StormTime;
/**

@@ -39,2 +40,9 @@ * A wrapper of the and Date class used by Storm Software to provide Date-Time values

/**
* Validate the input time value
*
* @param dateTime - The date value to validate
* @returns A boolean representing whether the value is a valid *date-time*
*/
static validate(value?: DateTimeInput): ValidationDetails | null;
/**
* Creates a new instance of DateTime from a string with a specified format.

@@ -47,9 +55,2 @@ *

static create: (time?: DateTimeInput, options?: DateTimeOptions) => StormTime;
/**
* Validate the input time value
*
* @param dateTime - The date value to validate
* @returns A boolean representing whether the value is a valid *date-time*
*/
static validate(value?: DateTimeInput): ValidationDetails | null;
constructor(dateTime?: DateTimeInput, options?: DateTimeOptions);

@@ -56,0 +57,0 @@ /**

{
"name": "@storm-stack/date-time",
"version": "1.37.0",
"version": "1.37.1",
"type": "module",

@@ -5,0 +5,0 @@ "description": "This package includes a DateTime class, various utility functions for working with dates and times, and a number of formatting options.",

@@ -24,3 +24,3 @@ <!-- START header -->

[![Version](https://img.shields.io/badge/version-1.36.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-stack/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
[![Version](https://img.shields.io/badge/version-1.37.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-stack/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)

@@ -27,0 +27,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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