diff-ymd-package
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -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) |
@@ -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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1145962
57
1227
12