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

react-date-fns

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-date-fns - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

postcss.config.js

10

dist/main.d.ts

@@ -1,11 +0,1 @@

import { DateDisplay } from './components/DateDisplay';
declare const ReactDateFns: {
DateDisplay: import('react').FC<{
children: Date;
className?: string;
pattern: (string & {}) | "MMM" | "MMMM" | "yyyy-MM-dd" | "MM/dd/yyyy" | "dd-MM-yyyy" | "dd/MM/yyyy" | "yyyy/MM/dd" | "dd MMMM yyyy" | "EEEE, MMMM do, yyyy" | "MM-dd-yyyy" | "yyyy-MM-dd'T'HH:mm:ss" | "yyyy-MM-dd HH:mm:ss" | "HH:mm" | "HH:mm:ss" | "hh:mm:ss a" | "EEE" | "EEEE" | "MMM d, yyyy" | "MMMM do, yyyy" | "dd MMM yyyy" | "d MMM yyyy" | "dd MMM" | "d MMM" | "MMMM yyyy" | "MMM yyyy" | "EEE, MMM d, ''yy" | "h:mm a" | "h:mm:ss a" | "h:mm:ss a zzz" | "h:mm a zzz" | "EEEE, MMMM do, yyyy, h:mm a";
}>;
};
export default ReactDateFns;
export { DateDisplay };
{
"name": "react-date-fns",
"private": false,
"version": "1.0.4",
"version": "1.0.5",
"type": "module",

@@ -27,5 +27,8 @@ "license": "MIT",

"@vitejs/plugin-react-swc": "^3.5.0",
"autoprefixer": "^10.4.19",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.7",
"postcss": "^8.4.38",
"tailwindcss": "^3.4.4",
"typescript": "^5.2.2",

@@ -32,0 +35,0 @@ "vite": "^5.3.1",

16

README.md

@@ -26,12 +26,8 @@ # ReactDateFns Package

<div>
<ReactDateFns.DateDisplay
date={new Date()}
className="date-class"
pattern="yyyy-MM-dd"
/>
<DateDisplay
date={new Date()}
className="date-class"
pattern="MM/dd/yyyy"
/>
<ReactDateFns.DateDisplay className="date-class" pattern="yyyy-MM-dd">
{new Date()}
</ReactDateFns.DateDisplay>
<DateDisplay className="date-class" pattern="MM/dd/yyyy">
{new Date()}
</DateDisplay>
</div>

@@ -38,0 +34,0 @@ );

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