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

[pull] master from facebook:master #67

Merged
merged 2 commits into from
Oct 22, 2020
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: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 17.0.1 (October 22, 2020)

### React DOM

* Fix a crash in IE11. ([@gaearon](https://github.com/gaearon) in [#20071](https://github.com/facebook/react/pull/20071))

## 17.0.0 (October 20, 2020)

Today, we are releasing React 17!
Expand Down
6 changes: 3 additions & 3 deletions packages/react-art/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-art",
"description": "React ART is a JavaScript library for drawing vector graphics using React. It provides declarative and reactive bindings to the ART library. Using the same declarative API you can render the output to either Canvas, SVG or VML (IE8).",
"version": "17.0.0",
"version": "17.0.1",
"main": "index.js",
"repository": {
"type": "git",
Expand All @@ -26,10 +26,10 @@
"create-react-class": "^15.6.2",
"loose-envify": "^1.1.0",
"object-assign": "^4.1.1",
"scheduler": "^0.20.0"
"scheduler": "^0.20.1"
},
"peerDependencies": {
"react": "17.0.0"
"react": "17.0.1"
},
"files": [
"LICENSE",
Expand Down
15 changes: 13 additions & 2 deletions packages/react-devtools/bin.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,19 @@ const argv = process.argv.slice(2);
const pkg = require('./package.json');
const updateNotifier = require('update-notifier');

// notify if there's an update
updateNotifier({pkg}).notify({defer: false});
// Notify if there's an update in 7 days' interval
const notifier = updateNotifier({
pkg,
updateCheckInterval: 1000 * 60 * 60 * 24 * 7,
});

if (notifier.update) {
const updateMsg =
`Update available ${notifier.update.current} -> ${notifier.update.latest}` +
'\nTo update:' +
'\n"npm i [-g] react-devtools" or "yarn add react-devtools"';
notifier.notify({defer: false, message: updateMsg});
}

const result = spawn.sync(electron, [require.resolve('./app')].concat(argv), {
stdio: 'ignore',
Expand Down
6 changes: 3 additions & 3 deletions packages/react-dom/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-dom",
"version": "17.0.0",
"version": "17.0.1",
"description": "React package for working with the DOM.",
"main": "index.js",
"repository": {
Expand All @@ -19,10 +19,10 @@
"dependencies": {
"loose-envify": "^1.1.0",
"object-assign": "^4.1.1",
"scheduler": "^0.20.0"
"scheduler": "^0.20.1"
},
"peerDependencies": {
"react": "17.0.0"
"react": "17.0.1"
},
"files": [
"LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-is/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-is",
"version": "17.0.0",
"version": "17.0.1",
"description": "Brand checking of React Elements.",
"main": "index.js",
"repository": {
Expand Down
6 changes: 3 additions & 3 deletions packages/react-reconciler/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-reconciler",
"description": "React package for creating custom renderers.",
"version": "0.26.0",
"version": "0.26.1",
"keywords": [
"react"
],
Expand All @@ -26,12 +26,12 @@
"node": ">=0.10.0"
},
"peerDependencies": {
"react": "^17.0.0"
"react": "^17.0.1"
},
"dependencies": {
"loose-envify": "^1.1.0",
"object-assign": "^4.1.1",
"scheduler": "^0.20.0"
"scheduler": "^0.20.1"
},
"browserify": {
"transform": [
Expand Down
8 changes: 4 additions & 4 deletions packages/react-test-renderer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-test-renderer",
"version": "17.0.0",
"version": "17.0.1",
"description": "React package for snapshot testing.",
"main": "index.js",
"repository": {
Expand All @@ -20,12 +20,12 @@
"homepage": "https://reactjs.org/",
"dependencies": {
"object-assign": "^4.1.1",
"react-is": "^17.0.0",
"react-is": "^17.0.1",
"react-shallow-renderer": "^16.13.1",
"scheduler": "^0.20.0"
"scheduler": "^0.20.1"
},
"peerDependencies": {
"react": "17.0.0"
"react": "17.0.1"
},
"files": [
"LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"keywords": [
"react"
],
"version": "17.0.0",
"version": "17.0.1",
"homepage": "https://reactjs.org/",
"bugs": "https://github.com/facebook/react/issues",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/scheduler/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scheduler",
"version": "0.20.0",
"version": "0.20.1",
"description": "Cooperative scheduler for the browser environment.",
"main": "index.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/ReactVersion.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
*/

// TODO: this is special because it gets imported during build.
export default '17.0.0';
export default '17.0.1';