Skip to content

Commit

Permalink
upgrade babel 7.7.2 and upgrade react-hot-loader
Browse files Browse the repository at this point in the history
  • Loading branch information
billyvg committed Nov 7, 2019
1 parent 2b8d31a commit 41abcc6
Show file tree
Hide file tree
Showing 3 changed files with 585 additions and 289 deletions.
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
"url": "git://github.com/getsentry/sentry.git"
},
"dependencies": {
"@babel/core": "~7.4.4",
"@babel/plugin-proposal-class-properties": "~7.4.4",
"@babel/plugin-proposal-decorators": "~7.4.4",
"@babel/plugin-proposal-object-rest-spread": "~7.4.4",
"@babel/core": "~7.7.2",
"@babel/plugin-proposal-class-properties": "~7.7.0",
"@babel/plugin-proposal-decorators": "~7.7.0",
"@babel/plugin-proposal-object-rest-spread": "~7.6.2",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-runtime": "~7.4.4",
"@babel/polyfill": "~7.4.4",
"@babel/preset-env": "~7.4.4",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@babel/runtime": "~7.4.4",
"@babel/plugin-transform-runtime": "~7.6.2",
"@babel/polyfill": "~7.7.0",
"@babel/preset-env": "~7.7.1",
"@babel/preset-react": "^7.7.0",
"@babel/preset-typescript": "^7.7.2",
"@babel/runtime": "~7.7.2",
"@sentry/browser": "5.7.0-beta.1",
"@sentry/integrations": "5.6.0-beta.4",
"@types/classnames": "^2.2.0",
Expand Down Expand Up @@ -98,7 +98,7 @@
"react-document-title": "2.0.3",
"react-dom": "16.7.0",
"react-emotion": "9.2.12",
"react-hot-loader": "4.11.1",
"react-hot-loader": "4.12.16",
"react-keydown": "^1.9.7",
"react-lazyload": "^2.3.0",
"react-lottie": "^1.2.3",
Expand All @@ -118,8 +118,8 @@
"svg-sprite-loader": "^3.9.0",
"svgo": "^1.0.3",
"svgo-loader": "^2.1.0",
"ts-loader": "^6.0.4",
"typescript": "^3.5.2",
"ts-loader": "^6.2.1",
"typescript": "3.5.2",
"u2f-api": "1.0.10",
"webpack": "^4.28.1",
"webpack-cli": "^3.1.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ export const setBodyUserSelect = (nextValues: UserSelectValues): UserSelectValue
msUserSelect: document.body.style.msUserSelect,
};

document.body.style.userSelect = nextValues.userSelect;
document.body.style.userSelect = nextValues.userSelect || '';
// MozUserSelect is not typed in TS
// @ts-ignore
document.body.style.MozUserSelect = nextValues.MozUserSelect;
Expand Down

0 comments on commit 41abcc6

Please sign in to comment.