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

Bump dependencies #7473

Merged
merged 9 commits into from
Aug 8, 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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
"get-port": "^4.2.0",
"globby": "^9.1.0",
"husky": "^1.3.1",
"jest": "24.7.1",
"lerna": "3.13.2",
"jest": "24.8.0",
"lerna": "3.16.4",
"lerna-changelog": "~0.8.2",
"lint-staged": "^8.0.4",
"meow": "^5.0.0",
"multimatch": "^3.0.0",
"prettier": "1.16.4",
"prettier": "1.18.2",
"puppeteer": "^1.13.0",
"strip-ansi": "^5.1.0",
"svg-term-cli": "^2.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-named-asset-import/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"devDependencies": {
"babel-plugin-tester": "^6.0.1",
"jest": "24.7.1"
"jest": "24.8.0"
},
"scripts": {
"test": "jest"
Expand Down
26 changes: 13 additions & 13 deletions packages/babel-preset-react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,23 @@
"test.js"
],
"dependencies": {
"@babel/core": "7.4.3",
"@babel/plugin-proposal-class-properties": "7.4.0",
"@babel/plugin-proposal-decorators": "7.4.0",
"@babel/plugin-proposal-object-rest-spread": "7.4.3",
"@babel/core": "7.5.5",
"@babel/plugin-proposal-class-properties": "7.5.5",
"@babel/plugin-proposal-decorators": "7.4.4",
"@babel/plugin-proposal-object-rest-spread": "7.5.5",
"@babel/plugin-syntax-dynamic-import": "7.2.0",
"@babel/plugin-transform-classes": "7.4.3",
"@babel/plugin-transform-destructuring": "7.4.3",
"@babel/plugin-transform-flow-strip-types": "7.4.0",
"@babel/plugin-transform-react-constant-elements": "7.2.0",
"@babel/plugin-transform-classes": "7.5.5",
"@babel/plugin-transform-destructuring": "7.5.0",
"@babel/plugin-transform-flow-strip-types": "7.4.4",
"@babel/plugin-transform-react-constant-elements": "7.5.0",
"@babel/plugin-transform-react-display-name": "7.2.0",
"@babel/plugin-transform-runtime": "7.4.3",
"@babel/preset-env": "7.4.3",
"@babel/plugin-transform-runtime": "7.5.5",
"@babel/preset-env": "7.5.5",
"@babel/preset-react": "7.0.0",
"@babel/preset-typescript": "7.3.3",
"@babel/runtime": "7.4.3",
"babel-plugin-dynamic-import-node": "2.2.0",
"babel-plugin-macros": "2.5.1",
"@babel/runtime": "7.5.5",
"babel-plugin-dynamic-import-node": "2.3.0",
"babel-plugin-macros": "2.6.1",
"babel-plugin-transform-react-remove-prop-types": "0.4.24"
}
}
2 changes: 1 addition & 1 deletion packages/confusing-browser-globals/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"index.js"
],
"devDependencies": {
"jest": "24.7.1"
"jest": "24.8.0"
}
}
8 changes: 4 additions & 4 deletions packages/create-react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
},
"dependencies": {
"chalk": "2.4.2",
"commander": "2.19.0",
"commander": "2.20.0",
"cross-spawn": "6.0.5",
"envinfo": "7.1.0",
"envinfo": "7.3.1",
"fs-extra": "7.0.1",
"hyperquest": "2.1.3",
"inquirer": "6.2.2",
"semver": "6.0.0",
"inquirer": "6.5.0",
"semver": "6.3.0",
"tar-pack": "3.4.1",
"tmp": "0.0.33",
"validate-npm-package-name": "3.0.0"
Expand Down
6 changes: 3 additions & 3 deletions packages/react-app-polyfill/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
"stable.js"
],
"dependencies": {
"core-js": "3.0.1",
"core-js": "3.1.4",
"object-assign": "4.1.1",
"promise": "8.0.2",
"promise": "8.0.3",
"raf": "3.4.1",
"regenerator-runtime": "0.13.2",
"regenerator-runtime": "0.13.3",
"whatwg-fetch": "3.0.0"
}
}
16 changes: 8 additions & 8 deletions packages/react-dev-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,22 +50,22 @@
"webpackHotDevClient.js"
],
"dependencies": {
"@babel/code-frame": "7.0.0",
"address": "1.0.3",
"browserslist": "4.5.4",
"@babel/code-frame": "7.5.5",
"address": "1.1.0",
"browserslist": "4.6.6",
"chalk": "2.4.2",
"cross-spawn": "6.0.5",
"detect-port-alt": "1.1.6",
"escape-string-regexp": "1.0.5",
"filesize": "3.6.1",
"find-up": "3.0.0",
"fork-ts-checker-webpack-plugin": "1.1.1",
"fork-ts-checker-webpack-plugin": "1.5.0",
"global-modules": "2.0.0",
"globby": "8.0.2",
"gzip-size": "5.0.0",
"gzip-size": "5.1.1",
"immer": "1.10.0",
"inquirer": "6.2.2",
"is-root": "2.0.0",
"inquirer": "6.5.0",
"is-root": "2.1.0",
"loader-utils": "1.2.3",
"open": "^6.3.0",
"pkg-up": "2.0.0",
Expand All @@ -78,7 +78,7 @@
},
"devDependencies": {
"cross-env": "^5.2.0",
"jest": "24.7.1"
"jest": "24.8.0"
},
"scripts": {
"test": "cross-env FORCE_COLOR=true jest"
Expand Down
14 changes: 7 additions & 7 deletions packages/react-error-overlay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,36 +34,36 @@
"lib/index.js"
],
"devDependencies": {
"@babel/code-frame": "7.0.0",
"@babel/core": "7.4.3",
"@babel/code-frame": "7.5.5",
"@babel/core": "7.5.5",
"anser": "1.4.8",
"babel-eslint": "10.0.2",
"babel-jest": "^24.8.0",
"babel-loader": "8.0.5",
"babel-loader": "8.0.6",
"babel-preset-react-app": "^9.0.0",
"chalk": "^2.4.2",
"chokidar": "^2.1.2",
"cross-env": "5.2.0",
"eslint": "^6.1.0",
"eslint-config-react-app": "^4.0.1",
"eslint-plugin-flowtype": "3.12.1",
"eslint-plugin-flowtype": "3.13.0",
"eslint-plugin-import": "2.18.2",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-react": "7.14.3",
"flow-bin": "^0.63.1",
"html-entities": "1.2.1",
"jest": "24.7.1",
"jest": "24.8.0",
"jest-fetch-mock": "2.1.2",
"object-assign": "4.1.1",
"promise": "8.0.2",
"promise": "8.0.3",
"raw-loader": "^1.0.0",
"react": "^16.8.4",
"react-app-polyfill": "^1.0.1",
"react-dom": "^16.8.4",
"rimraf": "^2.6.3",
"settle-promise": "1.0.0",
"source-map": "0.5.6",
"terser-webpack-plugin": "1.2.3",
"terser-webpack-plugin": "1.4.1",
"webpack": "^4.35.0"
},
"jest": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"dependencies": {
"bootstrap": "4.1.1",
"jest": "24.7.1",
"node-sass": "4.8.3",
"bootstrap": "4.3.1",
"jest": "24.8.0",
"node-sass": "4.12.0",
"normalize.css": "7.0.0",
"prop-types": "15.5.6",
"test-integrity": "1.0.0"
"prop-types": "15.7.2",
"test-integrity": "2.0.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,17 @@ import initDOM from './initDOM';

describe('Integration', () => {
describe('jsconfig.json/tsconfig.json', () => {
let doc;

afterEach(() => {
doc && doc.defaultView.close();
doc = undefined;
});

it('Supports setting baseUrl to src', async () => {
const doc = await initDOM('base-url');
doc = await initDOM('base-url');

expect(doc.getElementById('feature-base-url').childElementCount).toBe(4);
doc.defaultView.close();
});
});
});
13 changes: 11 additions & 2 deletions packages/react-scripts/fixtures/kitchensink/integration/initDOM.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ export const fetchFile = url => {
);
};

const fileResourceLoader = new class FileResourceLoader extends ResourceLoader {
const fileResourceLoader = new (class FileResourceLoader extends ResourceLoader {
fetch(href, options) {
return Promise.resolve(fetchFile(url.parse(href)));
}
}();
})();

if (!process.env.E2E_FILE && !process.env.E2E_URL) {
it.only('can run jsdom (at least one of "E2E_FILE" or "E2E_URL" environment variables must be provided)', () => {
Expand Down Expand Up @@ -63,6 +63,13 @@ export default feature =>

const { document } = window;

const cancelToken = setTimeout(() => {
// Cleanup jsdom instance since we don't need it anymore
window.close();

reject(`Timed out loading feature: ${feature}`);
}, 10000);

document.addEventListener(
'ReactFeatureDidMount',
() => resolve(document),
Expand All @@ -71,6 +78,8 @@ export default feature =>
document.addEventListener(
'ReactFeatureError',
() => {
clearTimeout(cancelToken);

// Cleanup jsdom instance since we don't need it anymore
window.close();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ import ReactDOM from 'react-dom';

describe('dynamic import', () => {
it('renders without crashing', async () => {
import('./DynamicImport').then(DynamicImport => {
const div = document.createElement('div');
ReactDOM.render(<DynamicImport />, div);
expect(div.textContent).toBe('Hello World!');
});
const DynamicImport = (await import('./DynamicImport')).default;
const div = document.createElement('div');
ReactDOM.render(<DynamicImport />, div);
expect(div.textContent).toBe('Hello World!');
});
});
36 changes: 18 additions & 18 deletions packages/react-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@
},
"types": "./lib/react-app.d.ts",
"dependencies": {
"@babel/core": "7.4.3",
"@svgr/webpack": "4.3.1",
"@babel/core": "7.5.5",
"@svgr/webpack": "4.3.2",
"@typescript-eslint/eslint-plugin": "1.13.0",
"@typescript-eslint/parser": "1.13.0",
"babel-eslint": "10.0.2",
"babel-jest": "^24.8.0",
"babel-loader": "8.0.5",
"babel-loader": "8.0.6",
"babel-plugin-named-asset-import": "^0.3.2",
"babel-preset-react-app": "^9.0.0",
"camelcase": "^5.2.0",
Expand All @@ -45,7 +45,7 @@
"eslint": "^6.1.0",
"eslint-config-react-app": "^4.0.1",
"eslint-loader": "2.2.1",
"eslint-plugin-flowtype": "3.12.1",
"eslint-plugin-flowtype": "3.13.0",
"eslint-plugin-import": "2.18.2",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-react": "7.14.3",
Expand All @@ -55,32 +55,32 @@
"html-webpack-plugin": "4.0.0-beta.5",
"identity-obj-proxy": "3.0.0",
"is-wsl": "^1.1.0",
"jest": "24.7.1",
"jest": "24.8.0",
"jest-environment-jsdom-fourteen": "0.1.0",
"jest-resolve": "24.7.1",
"jest-watch-typeahead": "0.3.0",
"jest-resolve": "24.8.0",
"jest-watch-typeahead": "0.3.1",
"mini-css-extract-plugin": "0.5.0",
"optimize-css-assets-webpack-plugin": "5.0.1",
"pnp-webpack-plugin": "1.2.1",
"optimize-css-assets-webpack-plugin": "5.0.3",
"pnp-webpack-plugin": "1.5.0",
"postcss-flexbugs-fixes": "4.1.0",
"postcss-loader": "3.0.0",
"postcss-normalize": "7.0.1",
"postcss-preset-env": "6.6.0",
"postcss-preset-env": "6.7.0",
"postcss-safe-parser": "4.0.1",
"react-app-polyfill": "^1.0.1",
"react-dev-utils": "^9.0.1",
"resolve": "1.10.0",
"resolve-url-loader": "3.0.1",
"resolve": "1.12.0",
"resolve-url-loader": "3.1.0",
"sass-loader": "7.1.0",
"semver": "6.0.0",
"style-loader": "0.23.1",
"terser-webpack-plugin": "1.2.3",
"semver": "6.3.0",
"style-loader": "1.0.0",
"terser-webpack-plugin": "1.4.1",
"ts-pnp": "1.1.2",
"url-loader": "2.0.1",
"webpack": "4.35.0",
"url-loader": "2.1.0",
"webpack": "4.39.1",
"webpack-dev-server": "3.2.1",
"webpack-manifest-plugin": "2.0.4",
"workbox-webpack-plugin": "4.2.0"
"workbox-webpack-plugin": "4.3.1"
},
"devDependencies": {
"react": "^16.8.4",
Expand Down
7 changes: 5 additions & 2 deletions packages/react-scripts/template-typescript/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Web site created using create-react-app">
<link rel="apple-touch-icon" href="logo192.png">
<meta
name="description"
content="Web site created using create-react-app"
/>
<link rel="apple-touch-icon" href="logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
Expand Down
7 changes: 5 additions & 2 deletions packages/react-scripts/template/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Web site created using create-react-app">
<link rel="apple-touch-icon" href="logo192.png">
<meta
name="description"
content="Web site created using create-react-app"
/>
<link rel="apple-touch-icon" href="logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
Expand Down