Skip to content

Commit 7e57aac

Browse files
committed
7.0.0 - Updated Dependencies, fixed type errors, added langs
1 parent 2580f7c commit 7e57aac

File tree

4 files changed

+25
-9
lines changed

4 files changed

+25
-9
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Changelog
22

3+
#### v7.0.0
4+
- Added support for React 18
5+
- Added hi.js language strings
6+
- Added so.js language strings
7+
- Added oc.js language strings
8+
- Update ru.js language strings
9+
- Fix memory leak
10+
- Update dependencies
11+
- Bump ansi-regex from 5.0.0 to 5.0.1
12+
- Bump ansi-regex from 5.0.0 to 5.0.1
13+
- Bump minimist from 1.2.5 to 1.2.6
14+
- Bump minimist from 1.2.5 to 1.2.6
15+
- Bump path-parse from 1.0.6 to 1.0.7
16+
- Bump tmpl from 1.0.4 to 1.0.5
17+
- Bump tmpl from 1.0.4 to 1.0.5
18+
319
#### v6.1.0
420
- Added `eslint-plugin-react-hooks` and fixed the dependencies for hooks used in the library.
521
Should result in a more consistent behaviour when changing props at runtime.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-timeago",
3-
"version": "6.2.1",
3+
"version": "7.0.0",
44
"description": "A simple Time-Ago component for ReactJs",
55
"main": "lib/index.js",
66
"module": "es6/index.js",

src/language-strings/hi.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@ import type { L10nsStrings } from '../formatters/buildFormatter'
44
// Hindi (Template)
55
const strings: L10nsStrings = {
66
prefixAgo: null,
7-
prefixFromNow: null,
7+
prefixFromNow: 'अब से',
88
suffixAgo: 'पहले',
9-
suffixFromNow: 'अभी से',
9+
suffixFromNow: 'मेे',
1010
seconds: 'एक मिनट से कम',
1111
minute: 'मिनट',
12-
minutes: '%d मिनट्स',
12+
minutes: '%d मिनट',
1313
hour: 'करीब एक घंटा',
14-
hours: 'करीब %d घंटा',
14+
hours: 'करीब %d घंटे',
1515
day: 'दिन',
1616
days: '%d दिन',
1717
month: 'तक़रीबन एक महीना',
18-
months: '%d महीना',
18+
months: '%d महीने',
1919
year: 'लगभग एक साल',
2020
years: '%d साल',
2121
wordSeparator: ' ',

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1899,9 +1899,9 @@ camelcase@^6.0.0:
18991899
integrity sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg==
19001900

19011901
caniuse-lite@^1.0.30001219:
1902-
version "1.0.30001228"
1903-
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001228.tgz#bfdc5942cd3326fa51ee0b42fbef4da9d492a7fa"
1904-
integrity sha512-QQmLOGJ3DEgokHbMSA8cj2a+geXqmnpyOFT0lhQV6P3/YOJvGDEwoedcwxEQ30gJIwIIunHIicunJ2rzK5gB2A==
1902+
version "1.0.30001352"
1903+
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001352.tgz"
1904+
integrity sha512-GUgH8w6YergqPQDGWhJGt8GDRnY0L/iJVQcU3eJ46GYf52R8tk0Wxp0PymuFVZboJYXGiCqwozAYZNRjVj6IcA==
19051905

19061906
capture-exit@^2.0.0:
19071907
version "2.0.0"

0 commit comments

Comments
 (0)