🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

chai-datetime

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chai-datetime - npm Package Compare versions

Comparing version

to
1.8.0

4

chai-datetime.js

@@ -449,2 +449,6 @@ (function (plugin) {

assert.closeToTime = function (val, exp, delta, msg) {
new chai.Assertion(val, msg).to.be.closeToTime(exp, delta);
};
assert.withinTime = function (val, expFrom, expTo, msg) {

@@ -451,0 +455,0 @@ new chai.Assertion(val, msg).to.be.withinTime(expFrom, expTo);

2

package.json
{
"name": "chai-datetime",
"version": "1.7.0",
"version": "1.8.0",
"keywords": [

@@ -5,0 +5,0 @@ "chai",

@@ -1184,2 +1184,6 @@ (function (test) {

it(".closeToTime", function () {
assert.closeToTime(this.subject, new Date(2013, 4, 30, 16, 6), 90);
});
it(".withinTime", function () {

@@ -1186,0 +1190,0 @@ assert.withinTime(