Skip to content

Commit

Permalink
Use query-string instead of qs
Browse files Browse the repository at this point in the history
qs now only supports node >= 4.0 and ES6 browsers, so this is a bit safer: ljharb/qs#124
  • Loading branch information
cookpete committed Nov 6, 2015
1 parent 95b4dd4 commit 26d7ff1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
"dependencies": {
"isomorphic-fetch": "^2.1.1",
"qs": "^4.0.0"
"query-string": "^3.0.0"
},
"standard": {
"global": [
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'isomorphic-fetch'
import { stringify } from 'qs'
import { stringify } from 'query-string'

const REDDIT_URL = 'https://www.reddit.com'
const MATCH_REPLY_URLS = /(?:\[([^\]]+)\]\s*\()?(https?\:\/\/[^\)\s]+)\)?/gi
Expand Down

0 comments on commit 26d7ff1

Please sign in to comment.