Socket
Socket
Sign inDemoInstall

javascript-time-ago

Package Overview
Dependencies
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

javascript-time-ago - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

12

locales/en.js

@@ -1,2 +0,2 @@

export const long = {
var long = {
"year": {

@@ -117,3 +117,3 @@ "previous": "a year ago",

export const long_concise = {
var long_concise = {
"year": {

@@ -234,3 +234,3 @@ "previous": "a year",

export const short = {
var short = {
"year": {

@@ -320,3 +320,3 @@ "future": {

export const short_concise = {
var short_concise = {
"year": {

@@ -406,3 +406,3 @@ "future": {

export const tiny = {
var tiny = {
"year": {

@@ -478,3 +478,3 @@ "future": {

export default
module.exports =
{

@@ -481,0 +481,0 @@ tiny,

@@ -1,2 +0,2 @@

export const long = {
var long = {
"year": {

@@ -137,3 +137,3 @@ "previous": "год назад",

export const long_concise = {
var long_concise = {
"year": {

@@ -274,3 +274,3 @@ "previous": "год",

export const short = {
var short = {
"year": {

@@ -387,3 +387,3 @@ "future": {

export const short_concise = {
var short_concise = {
"year": {

@@ -500,3 +500,3 @@ "future": {

export const tiny = {
var tiny = {
"year": {

@@ -572,3 +572,3 @@ "future": {

export default
module.exports =
{

@@ -575,0 +575,0 @@ tiny,

{
"name": "javascript-time-ago",
"version": "0.2.1",
"version": "0.2.2",
"description": "International highly customizable relative time formatting",
"main": "build/index.js",
"jsnext:main": "source/index.js",
"peerDependencies": {},
"peerDependencies": {
"intl-messageformat": "^1.3.0"
},
"devDependencies": {

@@ -27,3 +29,4 @@ "babel-cli": "^6.6.5",

"npm-run-all": "^1.4.0",
"rimraf": "^2.5.0"
"rimraf": "^2.5.0",
"intl-messageformat": "^1.3.0"
},

@@ -30,0 +33,0 @@ "scripts": {

@@ -35,3 +35,3 @@ # javascript-time-ago

```
npm install intl-messageformat --save
npm install intl-messageformat@^1.3.0 --save
npm install javascript-time-ago --save

@@ -64,3 +64,2 @@ ```

require('intl-messageformat/dist/locale-data/ru')
delete global.IntlMessageFormat

@@ -67,0 +66,0 @@ // Add the imported locale specific relative date/time messages

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