Skip to content

Commit de58ed3

Browse files
author
Mat Brown
committed
Use npm package of redux-saga-debounce-effect
Same version we already had, but finally published on NPM it would appear. Also involves changing the import statement and removing the Babel transpilation.
1 parent 0c6b934 commit de58ed3

4 files changed

Lines changed: 4 additions & 5 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
"redux-immutable": "^4.0.0",
141141
"redux-logger": "^3.0.6",
142142
"redux-saga": "^0.15.3",
143-
"redux-saga-debounce-effect": "https://github.com/madewithlove/redux-saga-debounce-effect.git#v0.2.2",
143+
"redux-saga-debounce-effect": "^0.2.2",
144144
"remark": "^8.0.0",
145145
"remark-react": "^4.0.0",
146146
"reselect": "^3.0.1",

src/sagas/ui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {all, call, put, take, takeEvery} from 'redux-saga/effects';
2-
import debounceFor from 'redux-saga-debounce-effect/src/debounceFor';
2+
import {debounceFor} from 'redux-saga-debounce-effect';
33
import {userDoneTyping as userDoneTypingAction} from '../actions/ui';
44
import {
55
gistExportDisplayed,

webpack.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ module.exports = {
165165
matchModule('chalk'),
166166
matchModule('lodash-es'),
167167
matchModule('redux'),
168-
matchModule('redux-saga-debounce-effect'),
169168
matchModule('stylelint'),
170169
],
171170
use: {loader: 'babel-loader', options: babelrc},

yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7263,9 +7263,9 @@ redux-logger@^3.0.6:
72637263
dependencies:
72647264
deep-diff "^0.3.5"
72657265

7266-
"redux-saga-debounce-effect@https://github.com/madewithlove/redux-saga-debounce-effect.git#v0.2.2":
7266+
redux-saga-debounce-effect@^0.2.2:
72677267
version "0.2.2"
7268-
resolved "https://github.com/madewithlove/redux-saga-debounce-effect.git#b77115acd6a97cbf84952f5031804c5f0df7d0f5"
7268+
resolved "https://registry.yarnpkg.com/redux-saga-debounce-effect/-/redux-saga-debounce-effect-0.2.2.tgz#ba61f7ac939f3bcc5b6693384e39837a4802b5ee"
72697269

72707270
redux-saga-test-plan@^3.0.2:
72717271
version "3.1.0"

0 commit comments

Comments
 (0)