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

humanize-duration

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

humanize-duration - npm Package Compare versions

Comparing version 3.15.3 to 3.16.0

6

HISTORY.md

@@ -0,1 +1,7 @@

3.16.0 / 2018-12-01
===================
* new: Romanian support
* new: Thai support
3.15.3 / 2018-09-18

@@ -2,0 +8,0 @@ ===================

@@ -346,2 +346,13 @@ // HumanizeDuration.js - https://git.io/j0HgmQ

},
ro: {
y: function (c) { return c === 1 ? 'an' : 'ani' },
mo: function (c) { return c === 1 ? 'lună' : 'luni' },
w: function (c) { return c === 1 ? 'săptămână' : 'săptămâni' },
d: function (c) { return c === 1 ? 'zi' : 'zile' },
h: function (c) { return c === 1 ? 'oră' : 'ore' },
m: function (c) { return c === 1 ? 'minut' : 'minute' },
s: function (c) { return c === 1 ? 'secundă' : 'secunde' },
ms: function (c) { return c === 1 ? 'milisecundă' : 'milisecunde' },
decimal: ','
},
ru: {

@@ -413,2 +424,13 @@ y: function (c) { return ['лет', 'год', 'года'][getSlavicForm(c)] },

},
th: {
y: 'ปี',
mo: 'เดือน',
w: 'อาทิตย์',
d: 'วัน',
h: 'ชั่วโมง',
m: 'นาที',
s: 'วินาที',
ms: 'มิลลิวินาที',
decimal: '.'
},
vi: {

@@ -415,0 +437,0 @@ y: 'năm',

5

package.json

@@ -26,5 +26,6 @@ {

"Abdul Jalil (https://github.com/abduljalilm94)",
"Alex Sam (https://github.com/sam-lex)"
"Alex Sam (https://github.com/sam-lex)",
"Wasuwat Limsuparhat (https://github.com/rappad)"
],
"version": "3.15.3",
"version": "3.16.0",
"description": "Convert millisecond durations to English and many other languages.",

@@ -31,0 +32,0 @@ "homepage": "https://github.com/EvanHahn/HumanizeDuration.js",

3

README.md

@@ -232,2 +232,3 @@ Humanize Duration

| Portuguese | `pt` |
| Romanian | `ro` |
| Russian | `ru` |

@@ -238,2 +239,3 @@ | Slovak | `sk` |

| Turkish | `tr` |
| Thai | `th` |
| Ukrainian | `uk` |

@@ -278,2 +280,3 @@ | Urdu | `ur` |

* [Abdul Jalil](https://github.com/abduljalilm94) for Urdu support
* [Wasuwat Limsuparhat](https://github.com/rappad) for Thai support
* Malikoun for Lao support

@@ -280,0 +283,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