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

schemaglobin

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

schemaglobin - npm Package Compare versions

Comparing version 4.3.0 to 4.3.1

2

dist/helpers/date.d.ts

@@ -39,2 +39,2 @@ /** Things that can be converted to dates. */

/** Format a date in the browser locale. */
export declare const formatDate: (date: PossibleDate) => string;
export declare const formatDate: (date: PossibleDate, options?: Intl.DateTimeFormatOptions | undefined) => string;

@@ -106,2 +106,2 @@ "use strict";

/** Format a date in the browser locale. */
exports.formatDate = (date) => exports.makeDate(date).toLocaleString();
exports.formatDate = (date, options) => new Intl.DateTimeFormat(undefined, options).format(exports.makeDate(date));
{
"name": "schemaglobin",
"description": "Validate user-entered data.",
"version": "4.3.0",
"version": "4.3.1",
"repository": "https://github.com/dhoulb/schemaglobin",

@@ -6,0 +6,0 @@ "author": "Dave Houlbrooke <dave@shax.com>",

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