Skip to content

Commit

Permalink
Merge pull request #63 from celluloid-camp/renovate/query-string-6.x
Browse files Browse the repository at this point in the history
Update dependency @types/query-string to v6
  • Loading branch information
3rwww1 authored Oct 14, 2018
2 parents 79ce036 + be6a3ed commit 213e56f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@types/jss": "^9.3.0",
"@types/moment-duration-format": "^2.2.0",
"@types/node": "10.11.7",
"@types/query-string": "^5.1.0",
"@types/query-string": "^6.0.0",
"@types/randomcolor": "^0.5.0",
"@types/rc-slider": "^8.2.1",
"@types/react": "^16.0.28",
Expand Down
7 changes: 5 additions & 2 deletions packages/client/src/scenes/ShareGuide/ShareGuideContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,11 @@ export default withRouter(withStyles(styles)(
const href = window.location.host;
const protocol = window.location.protocol;
const { project, error } = this.state;
const password =
queryString.parse(this.props.location.search).p;
const parsedUrl =
queryString.parse(this.props.location.search);
const password = typeof parsedUrl.p === 'string'
? parsedUrl.p
: undefined;

if (project && password) {
const steps = [{
Expand Down
2 changes: 0 additions & 2 deletions packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"dotenv": "^6.0.0",
"express": "^4.16.2",
"express-session": "^1.15.6",
"hoist-non-react-statics": "^3.0.0",
"knex": "^0.15.2",
"nodemailer": "^4.6.7",
"nodemailer-smtp-transport": "^2.7.4",
Expand Down Expand Up @@ -50,7 +49,6 @@
"@types/ramda": "^0.25.35",
"@types/validator": "^9.4.0",
"babel-core": "^6.26.0",
"babel-eslint": "^10.0.0",
"babel-loader": "^7.1.2",
"concurrently": "^4.0.0",
"nodemon": "^1.11.0",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -987,10 +987,10 @@
dependencies:
"@types/react" "*"

"@types/query-string@^5.1.0":
version "5.1.0"
resolved "https://registry.yarnpkg.com/@types/query-string/-/query-string-5.1.0.tgz#7f40cdea49ddafa0ea4f3db35fb6c24d3bfd4dcc"
integrity sha512-9/sJK+T04pNq7uwReR0CLxqXj1dhxiTapZ1tIxA0trEsT6FRS0bz09YMcMb7tsVBTm4RJ0NEBYGsAjoEmqoFXg==
"@types/query-string@^6.0.0":
version "6.1.1"
resolved "https://registry.yarnpkg.com/@types/query-string/-/query-string-6.1.1.tgz#1cfd9209c8dbd91b940192c8a2b7005d2a743e6f"
integrity sha512-wRUeF7KN2yxCMw4VoXzPh3GWStbGaiyVjyX22fG7mpSzt6etLvsA2S0g0IuGeXGwVNIlztzVmGP6AxZMmYTQhw==

"@types/ramda@^0.25.35":
version "0.25.36"
Expand Down

0 comments on commit 213e56f

Please sign in to comment.