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

dateonly

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dateonly - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

test/index.js

2

dateonly.js

@@ -13,3 +13,3 @@ (function(name, definition) {

if (date instanceof Number || typeof date === 'number') date = numberToDate(date);
if (date && date.constructor && date.constructor.name === 'DateOnly') date = date.toDate();
if (date instanceof Date) val = date;

@@ -16,0 +16,0 @@

{
"name": "dateonly",
"version": "0.0.2",
"version": "0.0.3",
"description": "A JavaScript class that stores a date without a time.",
"dependencies": {},
"devDependencies": {
"grunt": "~0.4.2",
"grunt-mocha": "~0.4.10",
"load-grunt-tasks": "~0.3.0"
},
"devDependencies": {},
"scripts": {
"test": "grunt mocha"
"test": "mocha test"
},

@@ -14,0 +10,0 @@ "main": "dateonly.js",

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