Skip to content

Commit 0e53a5d

Browse files
committed
chore: Update deps
1 parent 71222f0 commit 0e53a5d

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"build": "webpack-genius build --env production"
99
},
1010
"dependencies": {
11-
"@redux-model/react": "^7.0.0-beta.13",
11+
"@redux-model/react": "^7.0.0",
1212
"lodash": "^4.17.15",
1313
"react": "^16.12.0",
1414
"react-dom": "^16.12.0",

src/models/NpmInfoModel.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ class NpmInfoModel extends Model<Data> {
1414
manage = $api.action((packageName: string) => {
1515
return this
1616
.get<Response>('/' + packageName)
17-
.throttle(1000)
17+
.throttle({
18+
duration: 1000,
19+
})
1820
.onSuccess((_, action) => {
1921
return action.response;
2022
})

yarn.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1137,20 +1137,20 @@
11371137
native-url "^0.2.6"
11381138
schema-utils "^2.6.5"
11391139

1140-
"@redux-model/core@^7.0.0-beta.13":
1141-
version "7.0.0-beta.13"
1142-
resolved "https://registry.npmjs.org/@redux-model/core/-/core-7.0.0-beta.13.tgz#3993331a4b3dbfbc1f3b0ad0a1f7f64ada0d80fc"
1143-
integrity sha512-NtaSxVYzKV24sHltmNR5z6ygQuCjUwEVkT8ZOtLl556wSpwYGykWfEBg8VAEjzwybCMwWyoum/XuCuejqQvSEQ==
1140+
"@redux-model/core@^7.0.0":
1141+
version "7.0.0"
1142+
resolved "https://registry.npmjs.org/@redux-model/core/-/core-7.0.0.tgz#3da620228ee02e26af46005a70305b49d1b9aa8c"
1143+
integrity sha512-oZx/CHz7xzlNZrkIqDAFb0XSNsu5RHCJMgu8lPrub6XhcGtrXwDPglD4WKNvJRMwDQpnMMRiUIfG40mDtp4iUA==
11441144
dependencies:
11451145
clone "2.1.2"
11461146
immer "7.0.5"
11471147

1148-
"@redux-model/react@^7.0.0-beta.13":
1149-
version "7.0.0-beta.13"
1150-
resolved "https://registry.npmjs.org/@redux-model/react/-/react-7.0.0-beta.13.tgz#d92fa6f70e2645ec43f365968ba2edf10ac896e1"
1151-
integrity sha512-a+v2bAX1ZRz3wvpITJeCUqBPnih+N0Wiwwj5xG88o0QTTpp9RSYbdmNPRuPPwszmVga2+E4929O+QUn8Ejku1A==
1148+
"@redux-model/react@^7.0.0":
1149+
version "7.0.0"
1150+
resolved "https://registry.npmjs.org/@redux-model/react/-/react-7.0.0.tgz#84ca22aec5652a7c13e5d2cfe54e7229fe4325d5"
1151+
integrity sha512-JiFwGrt1Dro6UMe1k2leKrBSNHHygBm+IiQYCvqS0mfVyZzxvx5ZCUX7O4XGxOnP9e6AR/YFSWYV1vp9PKYvrA==
11521152
dependencies:
1153-
"@redux-model/core" "^7.0.0-beta.13"
1153+
"@redux-model/core" "^7.0.0"
11541154
axios "0.19.2"
11551155
tslib "2.0.0"
11561156

0 commit comments

Comments
 (0)