Comparing version 0.2.2 to 1.0.0
{ | ||
"name": "date-diff", | ||
"main": "date-diff.js", | ||
"source": "src/date-diff.ts", | ||
"main": "dist/date-diff.js", | ||
"types": "dist/date-diff.d.ts", | ||
"module": "dist/date-diff.module.js", | ||
"description": "DateDiff is a minimalized Javascript date arithmetic extension.", | ||
"version": "0.2.2", | ||
"version": "1.0.0", | ||
"keywords": [ | ||
@@ -21,23 +24,23 @@ "DateDiff", | ||
"devDependencies": { | ||
"coffeescript": "^2.2.3", | ||
"easy-date": "^1.0.0", | ||
"grunt": "^1.1.0", | ||
"grunt-bump": "^0.8.0", | ||
"grunt-contrib-coffee": "^2.0.0", | ||
"grunt-contrib-jasmine": "^2.2.0", | ||
"grunt-contrib-uglify": "^3.3.0", | ||
"grunt-contrib-watch": "^1.1.0", | ||
"grunt-exec": "^3.0.0", | ||
"grunt-karma": "^3.0.0", | ||
"jasmine": "^3.1.0", | ||
"jasmine-core": "^3.1.0", | ||
"karma": "^3.0.0", | ||
"karma-jasmine": "^1.1.1", | ||
"karma-phantomjs-launcher": "^1.0.4" | ||
"@parcel/packager-ts": "^2.0.0-rc.0", | ||
"@parcel/transformer-typescript-types": "^2.0.0-rc.0", | ||
"@types/jest": "^27.0.2", | ||
"jest": "^27.2.2", | ||
"parcel": "^2.0.0-rc.0", | ||
"ts-jest": "^27.0.5", | ||
"typescript": "^4.4.3" | ||
}, | ||
"scripts": { | ||
"test": "./node_modules/karma/bin/karma start --single-run --browsers PhantomJS", | ||
"compile": "coffee --compile --output . src/", | ||
"build": "npm run compile && grunt" | ||
"test": "jest" | ||
}, | ||
"jest": { | ||
"preset": "ts-jest", | ||
"moduleFileExtensions": [ | ||
"ts", | ||
"js" | ||
], | ||
"testMatch": [ | ||
"<rootDir>/src/**/*.(test|spec).(ts|tsx|js)" | ||
] | ||
} | ||
} |
@@ -1,2 +0,3 @@ | ||
[![Build Status](https://travis-ci.org/melvinsembrano/date-diff.svg)](https://travis-ci.org/melvinsembrano/date-diff) | ||
[![Build Status](https://github.com/melvinsembrano/date-diff/actions/workflows/test.yml/badge.svg)](https://travis-ci.org/melvinsembrano/date-diff) | ||
[![npm version](https://badge.fury.io/js/date-diff.svg)](https://badge.fury.io/js/date-diff) | ||
@@ -40,7 +41,2 @@ # DateDiff | ||
``` | ||
it also add a date helper method: | ||
``` | ||
Date.diff(date1, date2).years(); | ||
Date.diff(date1, date2).months(); | ||
``` | ||
@@ -47,0 +43,0 @@ #### Contributing to DateDiff |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
7
1
10779
8
183
55
1