You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

parse-duration

Package Overview
Dependencies
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parse-duration - npm Package Compare versions

Comparing version

to
2.1.0

4

locale/en.js

@@ -5,3 +5,3 @@ const unit = Object.create(null)

unit.year = unit.yr = unit.y = y
unit.month = unit.mth = unit.mo = y / 12
unit.month = unit.mo = unit.mth = y / 12
unit.week = unit.wk = unit.w = d * 7

@@ -13,3 +13,3 @@ unit.day = unit.d = d

unit.millisecond = unit.millisec = unit.ms = 1
unit.microsecond = unit.microsec = unit.us = unit.µs = 1e-3
unit.microsecond = unit.microsec = unit.us = unit.µs = unit.μs = 1e-3
unit.nanosecond = unit.nanosec = unit.ns = 1e-6

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

{
"name": "parse-duration",
"version": "2.0.2",
"version": "2.1.0",
"description": "Convert a human readable duration string to a duration format",

@@ -5,0 +5,0 @@ "keywords": [