Skip to content

Commit dfd5e2d

Browse files
committed
fix: fixed humanize to humanize-string
1 parent faa9e34 commit dfd5e2d

File tree

3 files changed

+20
-6
lines changed

3 files changed

+20
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"capitalize": "^2.0.0",
1919
"co": "^4.6.0",
2020
"debug": "^4.1.1",
21-
"humanize": "^0.0.9",
21+
"humanize-string": "^2.1.0",
2222
"lodash": "^4.17.15",
2323
"statuses": "^1.5.0",
2424
"toidentifier": "^1.0.0"

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const _ = require('lodash');
77
const capitalize = require('capitalize');
88
const camelCase = require('camelcase');
99
const co = require('co');
10-
const humanize = require('humanize');
10+
const humanize = require('humanize-string');
1111
const statuses = require('statuses');
1212
const toIdentifier = require('toidentifier');
1313

yarn.lock

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2248,6 +2248,13 @@ decamelize@^1.1.0, decamelize@^1.2.0:
22482248
resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"
22492249
integrity sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=
22502250

2251+
decamelize@^2.0.0:
2252+
version "2.0.0"
2253+
resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-2.0.0.tgz#656d7bbc8094c4c788ea53c5840908c9c7d063c7"
2254+
integrity sha512-Ikpp5scV3MSYxY39ymh45ZLEecsTdv/Xj2CaQfI8RLMuwi7XvjX9H/fhraiSuU+C5w5NTDu4ZU72xNiZnurBPg==
2255+
dependencies:
2256+
xregexp "4.0.0"
2257+
22512258
decode-uri-component@^0.2.0:
22522259
version "0.2.0"
22532260
resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545"
@@ -3703,10 +3710,12 @@ https-proxy-agent@^2.2.1:
37033710
agent-base "^4.3.0"
37043711
debug "^3.1.0"
37053712

3706-
humanize@^0.0.9:
3707-
version "0.0.9"
3708-
resolved "https://registry.yarnpkg.com/humanize/-/humanize-0.0.9.tgz#1994ffaecdfe9c441ed2bdac7452b7bb4c9e41a4"
3709-
integrity sha1-GZT/rs3+nEQe0r2sdFK3u0yeQaQ=
3713+
humanize-string@^2.1.0:
3714+
version "2.1.0"
3715+
resolved "https://registry.yarnpkg.com/humanize-string/-/humanize-string-2.1.0.tgz#a7d7062e5e514e04f072607ded0df853be8a1f2f"
3716+
integrity sha512-sQ+hqmxyXW8Cj7iqxcQxD7oSy3+AXnIZXdUF9lQMkzaG8dtbKAB8U7lCtViMnwQ+MpdCKsO2Kiij3G6UUXq/Xg==
3717+
dependencies:
3718+
decamelize "^2.0.0"
37103719

37113720
husky@^3.0.5:
37123721
version "3.0.5"
@@ -8742,6 +8751,11 @@ xo@^0.24.0:
87428751
update-notifier "^2.3.0"
87438752
xo-init "^0.7.0"
87448753

8754+
8755+
version "4.0.0"
8756+
resolved "https://registry.yarnpkg.com/xregexp/-/xregexp-4.0.0.tgz#e698189de49dd2a18cc5687b05e17c8e43943020"
8757+
integrity sha512-PHyM+sQouu7xspQQwELlGwwd05mXUFqwFYfqPO0cC7x4fxyHnnuetmQr6CjJiafIDoH4MogHb9dOoJzR/Y4rFg==
8758+
87458759
xtend@^4.0.0, xtend@^4.0.1, xtend@~4.0.1:
87468760
version "4.0.2"
87478761
resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54"

0 commit comments

Comments
 (0)