Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(babel): Upgrade babel to 7.7 #15471

Merged
merged 2 commits into from
Nov 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
2 changes: 2 additions & 0 deletions tests/js/spec/components/createSampleEventButton.spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ describe('CreateSampleEventButton', function() {
// Wait for the api request and latestEventAvailable to resolve
await Promise.resolve();
await Promise.resolve();
await Promise.resolve();
await Promise.resolve();

wrapper.update();
expect(
Expand Down