Socket
Socket
Sign inDemoInstall

fecha

Package Overview
Dependencies
0
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.2.0 to 4.2.1

dist/fecha.min.js.map

4

CHANGELOG.md

@@ -0,1 +1,5 @@

### 4.2.1
- Fixed missing source map
- Fixed security y18n
### 4.2.0

@@ -2,0 +6,0 @@ Added isoDate and isoDateTime masks

4

lib/fecha.d.ts

@@ -17,3 +17,3 @@ export declare type I18nSettings = {

declare const defaultI18n: I18nSettings;
declare const setGlobalDateI18n: (i18n: Partial<I18nSettings>) => I18nSettings;
declare const setGlobalDateI18n: (i18n: I18nSettingsOptional) => I18nSettings;
declare const setGlobalDateMasks: (masks: {

@@ -31,3 +31,3 @@ [key: string]: string;

*/
declare const format: (dateObj: Date, mask?: string, i18n?: Partial<I18nSettings>) => string;
declare const format: (dateObj: Date, mask?: string, i18n?: I18nSettingsOptional) => string;
/**

@@ -34,0 +34,0 @@ * Parse a date string into a Javascript Date object /

{
"name": "fecha",
"version": "4.2.0",
"version": "4.2.1",
"description": "Date formatting and parsing",

@@ -35,4 +35,4 @@ "main": "lib/fecha.umd.js",

"@typescript-eslint/parser": "^2.14.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.9.0",
"eslint": "^7.23.0",
"eslint-config-prettier": "^8.1.0",
"nyc": "^15.0.0",

@@ -51,8 +51,7 @@ "painless": "^0.9.7",

"files": [
"lib/fecha.js",
"lib/fecha.d.ts",
"lib/fecha.umd.js",
"dist/fecha.min.js"
"lib",
"dist",
"src"
],
"types": "lib/fecha.d.ts"
}
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