Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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 1.7.0 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(

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