Socket
Socket
Sign inDemoInstall

diff-ymd-package

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

diff-ymd-package - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

.github/workflows/webpack.yml

10

CHANGELOG.md

@@ -217,2 +217,8 @@ ## Changelog

### [v2.2.1]
#### Fixed
- Updated codebase for delivery library through cdn as well as npm
- fixed some other issues and configured files for v2.2.1
### [Next Release] - Collecting issues and new features for next release

@@ -222,4 +228,4 @@

- [Unreleased](https://github.com/farhan7reza7/diff-ymd-package/compare/v2.2.0...HEAD)
- [v2.2.0](https://github.com/farhan7reza7/diff-ymd-package/releases/tag/v2.2.0)
- [Unreleased](https://github.com/farhan7reza7/diff-ymd-package/compare/v2.2.1...HEAD)
- [v2.2.1](https://github.com/farhan7reza7/diff-ymd-package/releases/tag/v2.2.1)
- [Next Release](https://github.com/farhan7reza7/diff-ymd-package/milestone/2)

1

jest.config.js

@@ -5,3 +5,4 @@ module.exports = {

},
testEnvironment: 'node',
};
{
"name": "diff-ymd-package",
"version": "2.2.0",
"version": "2.2.1",
"description": "A javascript library for calculating the difference between two dates in formatted ways like (aY bM cD)(aYears bMonths cDays) or customized desired formats like aY-bM-cD or aYears-bMonths-cDays or kDays or mWeeks or nMonths etc.",
"main": "src/index.js",
"main": "lib/index.js",
"scripts": {

@@ -31,2 +31,6 @@ "test": "jest"

"devDependencies": {
"@babel/core": "^7.23.9",
"@babel/preset-env": "^7.23.9",
"babel-jest": "^29.7.0",
"babel-loader": "^9.1.3",
"eslint": "^8.56.0",

@@ -36,7 +40,6 @@ "eslint-config-prettier": "^9.1.0",

"eslint-plugin-prettier": "^5.1.3",
"@babel/core": "^7.23.9",
"@babel/preset-env": "^7.23.9",
"babel-jest": "^29.7.0",
"jest": "^27.0.0",
"prettier": "^3.2.2"
"prettier": "^3.2.2",
"webpack": "^5.90.2",
"webpack-cli": "^5.1.4"
},

@@ -43,0 +46,0 @@ "repository": {

// Import the exported codes(class: DatesYMD, and closure: diffDates) from source codes file
const diffCalculator = require('../src/index');
const diffCalculator = require('../lib/index');

@@ -4,0 +4,0 @@ // Given dates for testing

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