New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@date-io/date-fns-jalali

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@date-io/date-fns-jalali - npm Package Compare versions

Comparing version 3.1.1 to 3.2.0

1

build/date-fns-jalali-utils.d.ts

@@ -65,2 +65,3 @@ import { IUtils, DateIOFormats, Unit } from "@date-io/core/IUtils";

getMinutes: (date: Date) => number;
getWeek: (date: Date) => number;
getMonth: (date: Date) => number;

@@ -67,0 +68,0 @@ getDaysInMonth: (date: Date) => number;

@@ -26,2 +26,3 @@ import { addSeconds } from 'date-fns-jalali/addSeconds';

import { getYear } from 'date-fns-jalali/getYear';
import { getWeek } from 'date-fns-jalali/getWeek';
import { getMonth } from 'date-fns-jalali/getMonth';

@@ -302,2 +303,5 @@ import { getDate } from 'date-fns-jalali/getDate';

};
this.getWeek = (date) => {
return getWeek(date);
};
this.getMonth = (date) => {

@@ -304,0 +308,0 @@ return getMonth(date);

@@ -28,2 +28,3 @@ 'use strict';

var getYear = require('date-fns-jalali/getYear');
var getWeek = require('date-fns-jalali/getWeek');
var getMonth = require('date-fns-jalali/getMonth');

@@ -304,2 +305,5 @@ var getDate = require('date-fns-jalali/getDate');

};
this.getWeek = (date) => {
return getWeek.getWeek(date);
};
this.getMonth = (date) => {

@@ -306,0 +310,0 @@ return getMonth.getMonth(date);

6

package.json
{
"name": "@date-io/date-fns-jalali",
"version": "3.1.1",
"version": "3.2.0",
"description": "Abstraction over common javascript date management libraries",

@@ -43,3 +43,3 @@ "main": "build/index.js",

"dependencies": {
"@date-io/core": "^3.0.0"
"@date-io/core": "^3.2.0"
},

@@ -51,3 +51,3 @@ "devDependencies": {

},
"gitHead": "4fe384885f7d99119bb4a63d8b9b5c3031bdf22d"
"gitHead": "2133e0dd314fa6d4144aad7bb8f272bc4ae67d38"
}

@@ -26,2 +26,3 @@ import { addSeconds } from "date-fns-jalali/addSeconds";

import { getYear } from "date-fns-jalali/getYear";
import { getWeek } from "date-fns-jalali/getWeek";
import { getMonth } from "date-fns-jalali/getMonth";

@@ -402,2 +403,6 @@ import { getDate } from "date-fns-jalali/getDate";

public getWeek = (date: Date) => {
return getWeek(date);
};
public getMonth = (date: Date) => {

@@ -404,0 +409,0 @@ return getMonth(date);

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