Skip to content

Commit 7d6f12e

Browse files
authored
Merge branch 'master' into synthetic-event-public-api
2 parents 9453a9d + 55b3172 commit 7d6f12e

File tree

288 files changed

+2590
-2990
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

288 files changed

+2590
-2990
lines changed

.flowconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
./scripts/flow
1818

1919
[options]
20-
module.system=haste
21-
2220
esproposal.class_static_fields=enable
2321
esproposal.class_instance_fields=enable
2422
unsafe.enable_getters_and_setters=true

.github/ISSUE_TEMPLATE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<!--
2+
Note: if the issue is about documentation or the website, please file it at:
3+
https://github.com/reactjs/reactjs.org/issues/new
4+
-->
5+
16
**Do you want to request a *feature* or report a *bug*?**
27

38
**What is the current behavior?**

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Starting with 16.1.0, we will no longer be publishing new releases on Bower. You
2525
* Fix `form.reset()` to respect `defaultValue` on uncontrolled `<select>`. ([@aweary](https://github.com/aweary) in [#11057](https://github.com/facebook/react/pull/11057))
2626
* Fix `<textarea>` placeholder not rendering on IE11. ([@gaearon](https://github.com/gaearon) in [#11177](https://github.com/facebook/react/pull/11177))
2727
* Fix a crash rendering into shadow root. ([@gaearon](https://github.com/gaearon) in [#11037](https://github.com/facebook/react/pull/11037))
28+
* Fix false positive warning about hydrating mixed case SVG tags. ([@gaearon](http://github.com/gaearon) in [#11174](https://github.com/facebook/react/pull/11174))
2829
* Suppress the new unknown tag warning for `<dialog>` element. ([@gaearon](http://github.com/gaearon) in [#11035](https://github.com/facebook/react/pull/11035))
2930
* Warn about function child no more than once. ([@andreysaleba](https://github.com/andreysaleba) in [#11120](https://github.com/facebook/react/pull/11120))
3031
* Warn about nested updates no more than once. ([@anushreesubramani](https://github.com/anushreesubramani) in [#11113](https://github.com/facebook/react/pull/11113))
@@ -36,12 +37,18 @@ Starting with 16.1.0, we will no longer be publishing new releases on Bower. You
3637
* Fix markup generation when components return strings. ([@gaearon](http://github.com/gaearon) in [#11109](https://github.com/facebook/react/pull/11109))
3738
* Fix obscure error message when passing an invalid style value. ([@iamdustan](https://github.com/iamdustan) in [#11173](https://github.com/facebook/react/pull/11173))
3839
* Include the `autoFocus` attribute into SSR markup. ([@gaearon](http://github.com/gaearon) in [#11192](https://github.com/facebook/react/pull/11192))
40+
* Include the component stack into more warnings. ([@gaearon](http://github.com/gaearon) in [#11284](https://github.com/facebook/react/pull/11284))
3941

4042
### React Test Renderer and Test Utils
4143

4244
* Fix multiple `setState()` calls in `componentWillMount()` in shallow renderer. ([@Hypnosphi](https://github.com/Hypnosphi) in [#11167](https://github.com/facebook/react/pull/11167))
4345
* Fix shallow renderer to ignore `shouldComponentUpdate()` after `forceUpdate()`. ([@d4rky-pl](https://github.com/d4rky-pl) in [#11239](https://github.com/facebook/react/pull/11239))
4446
* Add back support for running in production mode. ([@gaearon](https://github.com/gaearon) in [#11112](https://github.com/facebook/react/pull/11112))
47+
* Add a missing `package.json` dependency. ([@gaearon](https://github.com/gaearon) in [#11340](https://github.com/facebook/react/pull/11340))
48+
49+
### React ART
50+
51+
* Add a missing `package.json` dependency. ([@gaearon](https://github.com/gaearon) in [#11341](https://github.com/facebook/react/pull/11341))
4552

4653
</details>
4754

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,20 @@ React is a JavaScript library for building user interfaces.
88

99
[Learn how to use React in your own project](https://reactjs.org/docs/getting-started.html).
1010

11+
## Documentation
12+
13+
You can find the React documentation [on the website](https://reactjs.org/docs).
14+
It is divided into several sections:
15+
16+
* [Quick Start](https://reactjs.org/docs/hello-world.html)
17+
* [Advanced Guides](https://reactjs.org/docs/jsx-in-depth.html)
18+
* [API Reference](https://reactjs.org/docs/react-api.html)
19+
* [Tutorial](https://reactjs.org/tutorial/tutorial.html)
20+
* [Where to Get Support](https://reactjs.org/community/support.html)
21+
* [Contributing Guide](https://reactjs.org/docs/how-to-contribute.html)
22+
23+
You can improve it by sending pull requests to [this repository](https://github.com/reactjs/reactjs.org).
24+
1125
## Examples
1226

1327
We have several examples [on the website](https://reactjs.org/). Here is the first one to get you started:
@@ -49,7 +63,7 @@ The main purpose of this repository is to continue to evolve React core, making
4963

5064
Facebook has adopted a Code of Conduct that we expect project participants to adhere to. Please read [the full text](https://code.facebook.com/codeofconduct) so that you can understand what actions will and will not be tolerated.
5165

52-
### Contributing Guide
66+
### [Contributing Guide](https://reactjs.org/contributing/how-to-contribute.html)
5367

5468
Read our [contributing guide](https://reactjs.org/contributing/how-to-contribute.html) to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to React.
5569

circle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
machine:
33
timezone: America/Los_Angeles
44
node:
5-
version: 6
5+
version: 8
66
ruby:
77
version: 2.2.3
88
environment:
99
TRAVIS_REPO_SLUG: facebook/react
10-
YARN_VERSION: 0.17.8
10+
YARN_VERSION: 1.2.1
1111
PATH: "${PATH}:${HOME}/.yarn/bin"
1212

1313
dependencies:

fixtures/art/VectorWidget.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
'use strict';
88

9-
var Circle = require('react-art/lib/Circle.art');
9+
var Circle = require('react-art/Circle');
1010
var React = require('react');
1111
var ReactART = require('react-art');
1212
var Group = ReactART.Group;

fixtures/art/yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ arrify@^1.0.0:
7373
version "1.0.1"
7474
resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d"
7575

76+
art@^0.10.1:
77+
version "0.10.1"
78+
resolved "https://registry.yarnpkg.com/art/-/art-0.10.1.tgz#38541883e399225c5e193ff246e8f157cf7b2146"
79+
7680
asap@~2.0.3:
7781
version "2.0.6"
7882
resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46"
@@ -1741,6 +1745,7 @@ rc@^1.1.7:
17411745
"react-art@file:../../build/packages/react-art":
17421746
version "16.0.0"
17431747
dependencies:
1748+
art "^0.10.1"
17441749
create-react-class "^15.6.2"
17451750
fbjs "^0.8.16"
17461751
loose-envify "^1.1.0"

fixtures/dom/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ A set of DOM test cases for quickly identifying browser issues.
44

55
## Setup
66

7-
To reference a local build of React, first run `npm run build` at the root
7+
To reference a local build of React, first run `yarn build` at the root
88
of the React project. Then:
99

1010
```
1111
cd fixtures/dom
12-
npm install
13-
npm start
12+
yarn
13+
yarn start
1414
```
1515

1616
The `start` command runs a script that copies over the local build of react into

fixtures/dom/yarn.lock

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2672,9 +2672,9 @@ fbjs@^0.8.1, fbjs@^0.8.4:
26722672
setimmediate "^1.0.5"
26732673
ua-parser-js "^0.7.9"
26742674

2675-
fbjs@^0.8.9:
2676-
version "0.8.12"
2677-
resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.12.tgz#10b5d92f76d45575fd63a217d4ea02bea2f8ed04"
2675+
fbjs@^0.8.16:
2676+
version "0.8.16"
2677+
resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.16.tgz#5e67432f550dc41b572bf55847b8aca64e5337db"
26782678
dependencies:
26792679
core-js "^1.0.0"
26802680
isomorphic-fetch "^2.1.1"
@@ -4203,6 +4203,12 @@ loose-envify@^1.0.0, loose-envify@^1.1.0:
42034203
dependencies:
42044204
js-tokens "^2.0.0"
42054205

4206+
loose-envify@^1.3.1:
4207+
version "1.3.1"
4208+
resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.3.1.tgz#d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848"
4209+
dependencies:
4210+
js-tokens "^3.0.0"
4211+
42064212
loud-rejection@^1.0.0:
42074213
version "1.6.0"
42084214
resolved "https://registry.yarnpkg.com/loud-rejection/-/loud-rejection-1.6.0.tgz#5b46f80147edee578870f086d04821cf998e551f"
@@ -4605,7 +4611,7 @@ oauth-sign@~0.8.1:
46054611
version "0.8.2"
46064612
resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43"
46074613

4608-
object-assign@4.1.1:
4614+
object-assign@4.1.1, object-assign@^4.1.1:
46094615
version "4.1.1"
46104616
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
46114617

@@ -5257,11 +5263,13 @@ promise@^7.1.1:
52575263
dependencies:
52585264
asap "~2.0.3"
52595265

5260-
prop-types@^15.5.6:
5261-
version "15.5.6"
5262-
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.5.6.tgz#797a915b1714b645ebb7c5d6cc690346205bd2aa"
5266+
prop-types@^15.6.0:
5267+
version "15.6.0"
5268+
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.6.0.tgz#ceaf083022fc46b4a35f69e13ef75aed0d639856"
52635269
dependencies:
5264-
fbjs "^0.8.9"
5270+
fbjs "^0.8.16"
5271+
loose-envify "^1.3.1"
5272+
object-assign "^4.1.1"
52655273

52665274
proxy-addr@~1.1.2:
52675275
version "1.1.2"

package.json

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"babel-cli": "^6.6.5",
1111
"babel-core": "^6.0.0",
1212
"babel-eslint": "^7.1.0",
13-
"babel-jest": "21.2.0",
13+
"babel-jest": "^21.3.0-beta.4",
1414
"babel-plugin-check-es2015-constants": "^6.5.0",
1515
"babel-plugin-external-helpers": "^6.22.0",
1616
"babel-plugin-syntax-trailing-function-commas": "^6.5.0",
@@ -53,6 +53,7 @@
5353
"eslint-plugin-flowtype": "^2.25.0",
5454
"eslint-plugin-react": "^6.7.1",
5555
"eslint-plugin-react-internal": "file:./scripts/eslint-rules",
56+
"expect": "^21.3.0-beta.4",
5657
"fbjs": "^0.8.16",
5758
"fbjs-scripts": "^0.6.0",
5859
"filesize": "^3.5.6",
@@ -63,11 +64,10 @@
6364
"gzip-js": "~0.3.2",
6465
"gzip-size": "^3.0.0",
6566
"jasmine-check": "^1.0.0-rc.0",
66-
"jest": "21.2.1",
67-
"jest-config": "21.2.1",
68-
"jest-jasmine2": "21.2.1",
69-
"jest-matchers": "20.1.0-delta.1",
70-
"jest-runtime": "21.2.1",
67+
"jest": "^21.3.0-beta.4",
68+
"jest-config": "^21.3.0-beta.4",
69+
"jest-jasmine2": "^21.3.0-beta.4",
70+
"jest-runtime": "^21.3.0-beta.4",
7171
"merge-stream": "^1.0.0",
7272
"minimist": "^1.2.0",
7373
"ncp": "^2.0.0",
@@ -115,9 +115,6 @@
115115
"transform": {
116116
".*": "./scripts/jest/preprocessor.js"
117117
},
118-
"transformIgnorePatterns": [
119-
"/node_modules/(?!react)"
120-
],
121118
"setupFiles": [
122119
"./scripts/jest/setup.js",
123120
"./scripts/jest/environment.js"

0 commit comments

Comments
 (0)