Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

easy-date

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

easy-date - npm Package Compare versions

Comparing version 0.9.1 to 0.9.2

2

bower.json
{
"name": "easy-date",
"main": "easy-date.js",
"version": "0.9.1",
"version": "0.9.2",
"homepage": "https://github.com/melvinsembrano/easy-date",

@@ -6,0 +6,0 @@ "authors": [

/*!
easy-date 0.9.1
easy-date 0.9.2
Description: EasyDate is a Javascript extension for easy dates manipulations which is heavily inspired by Rails ActiveSupport::Duration class.

@@ -4,0 +4,0 @@ Author: Melvin Sembrano <melvinsembrano@gmail.com> (https://github.com/melvinsembrano/easy-date)

@@ -5,3 +5,11 @@ {

"description": "EasyDate is a Javascript extension for easy dates manipulations which is heavily inspired by Rails ActiveSupport::Duration class.",
"version": "0.9.1",
"version": "0.9.2",
"keywords": [
"EasyDate",
"Easy Date",
"Rails Date",
"Javascript Date",
"Rails like javascript date",
"ruby date"
],
"repository": {

@@ -15,2 +23,3 @@ "type": "git",

"grunt": "^0.4.5",
"grunt-bump": "^0.3.1",
"grunt-contrib-coffee": "^0.13.0",

@@ -20,2 +29,3 @@ "grunt-contrib-jasmine": "^0.8.2",

"grunt-contrib-watch": "^0.6.1",
"grunt-exec": "^0.4.6",
"grunt-karma": "^0.10.1",

@@ -22,0 +32,0 @@ "jasmine": "^2.3.1",

@@ -181,3 +181,4 @@ describe('EasyDate', function() {

var now = new Date();
expect(3..hours().fromNow().getHours()).toBe(now.getHours() + 3);
now.setHours(now.getHours() + 3);
expect(3..hours().fromNow().getHours()).toBe(now.getHours());
});

@@ -187,3 +188,4 @@

var now = new Date();
expect(3..hours().ago().getHours()).toBe(now.getHours() - 3);
now.setHours(now.getHours() - 3);
expect(3..hours().ago().getHours()).toBe(now.getHours());
});

@@ -190,0 +192,0 @@

Sorry, the diff of this file is not supported yet

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