Socket
Socket
Sign inDemoInstall

react-datepicker

Package Overview
Dependencies
17
Maintainers
2
Versions
181
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.1.0 to 6.2.0

4

package.json

@@ -5,3 +5,3 @@ {

"description": "A simple and reusable datepicker component for React",
"version": "6.1.0",
"version": "6.2.0",
"license": "MIT",

@@ -88,3 +88,3 @@ "homepage": "https://github.com/Hacker0x01/react-datepicker",

"rollup-plugin-uglify": "^6.0.4",
"sass": "1.70.0",
"sass": "1.71.1",
"sass-loader": "^14.0.0",

@@ -91,0 +91,0 @@ "slugify": "^1.6.6",

@@ -86,3 +86,3 @@ # React Date Picker

The date picker relies on [date-fns internationalization](https://date-fns.org/v2.0.0-alpha.18/docs/I18n) to localize its display components. By default, the date picker will use the locale globally set, which is English. Provided are 3 helper methods to set the locale:
The date picker relies on [date-fns internationalization](https://date-fns.org/v3.3.1/docs/I18n) to localize its display components. By default, the date picker will use the locale globally set, which is English. Provided are 3 helper methods to set the locale:

@@ -95,3 +95,3 @@ - **registerLocale** (string, object): loads an imported locale object from date-fns

import { registerLocale, setDefaultLocale } from "react-datepicker";
import es from 'date-fns/locale/es';
import { es } from 'date-fns/locale/es';
registerLocale('es', es)

@@ -98,0 +98,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc