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

timestring

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

timestring - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0

4

CHANGELOG.md
# Changelog
## 3.2.0
- Added `mon` unit ([@IanMitchell](https://github.com/IanMitchell))
## 3.1.0

@@ -4,0 +8,0 @@

2

index.js

@@ -35,3 +35,3 @@ var _ = require('lodash');

w: ['w', 'week', 'weeks'],
mth: ['mth', 'mths','month', 'months'],
mth: ['mon', 'mth', 'mths','month', 'months'],
y: ['y', 'yr', 'yrs', 'year', 'years'],

@@ -38,0 +38,0 @@ };

{
"name": "timestring",
"version": "3.1.0",
"version": "3.2.0",
"description": "Parse a human readable time string into a time based value",

@@ -38,3 +38,3 @@ "main": "index.js",

"chai": "^3.4.1",
"codeclimate-test-reporter": "^0.3.0",
"codeclimate-test-reporter": "^0.4.0",
"coveralls": "^2.11.2",

@@ -45,5 +45,5 @@ "cz-conventional-changelog": "^1.1.5",

"jshint": "^2.9.1",
"mocha": "^2.2.4",
"mocha": "^3.0.0",
"mocha-lcov-reporter": "1.2.0",
"watch": "^0.19.1"
"watch": "^1.0.1"
},

@@ -50,0 +50,0 @@ "config": {

@@ -62,3 +62,3 @@ # Timestring

6. `w, week, weeks` - will parse to weeks
7. `mth, mths, month, months` - will parse to months
7. `mon, mth, mths, month, months` - will parse to months
8. `y, yr, yrs, year, years` - will parse to years

@@ -65,0 +65,0 @@

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