mirror of
https://github.com/status-im/react-native.git
synced 2025-01-30 03:05:44 +00:00
c749d951ad
Summary: This sync includes the following changes: - **[ae14317d6](https://github.com/facebook/react/commit/ae14317d6)**: Inline fbjs/lib/emptyFunction (#13054) //<Dan Abramov>// - **[72434a768](https://github.com/facebook/react/commit/72434a768)**: Remove or inline some fbjs dependencies (#13046) //<Dan Abramov>// - **[64c54edea](https://github.com/facebook/react/commit/64c54edea)**: Adding movementX and movementY to synthenticMouseEvent fixes #6723 (#9018) //<Jason Williams>// - **[9bd4d1fae](https://github.com/facebook/react/commit/9bd4d1fae)**: Synchronously restart when an error is thrown during async rendering (#13041) //<Andrew Clark>// - **[9bda7b28f](https://github.com/facebook/react/commit/9bda7b28f)**: Suspended high pri work forces lower priority work to expire early (#12965) //<Andrew Clark>// - **[2e7577907](https://github.com/facebook/react/commit/2e7577907)**: Fix incorrect data in compositionend event with Korean IME on IE11 (#10217) (#12563) //<Crux>// - **[bc963f353](https://github.com/facebook/react/commit/bc963f353)**: setJSResponder in Fabric renderer (#13031) //<Sebastian Markbåge>// - **[051637da6](https://github.com/facebook/react/commit/051637da6)**: Extract Fabric event handlers from canonical props (#13024) //<Sebastian Markbåge>// - **[2a8085980](https://github.com/facebook/react/commit/2a8085980)**: Remove rAF fork (#12980) //<Flarnie Marchan>// - **[e0c78344e](https://github.com/facebook/react/commit/e0c78344e)**: Retry on error if there's lower priority pending work (#12957) //<Andrew Clark>// - **[9725065eb](https://github.com/facebook/react/commit/9725065eb)**: Update bundle sizes for 16.4.1 release //<Dan Abramov>// - **[0b87b2790](https://github.com/facebook/react/commit/0b87b2790)**: Updating package versions for release 16.4.1 //<Dan Abramov>// - **[036ae3c6e](https://github.com/facebook/react/commit/036ae3c6e)**: Use native event dispatching instead of Simulate or SimulateNative (#13023) //<Philipp Spieß>// - **[945fc1bfc](https://github.com/facebook/react/commit/945fc1bfc)**: Call gDSFP with the right state in react-test-render (#13030) //<Rafał Ruciński>// - **[392530104](https://github.com/facebook/react/commit/392530104)**: Remove feature flag around 'getDerivedStateFromProps' bug fix (#13022) //<Flarnie Marchan>// - **[1594409fa](https://github.com/facebook/react/commit/1594409fa)**: Scheduler depends on common packages (#13020) //<Dan Abramov>// - **[d5c11193e](https://github.com/facebook/react/commit/d5c11193e)**: Added production profiling bundle type (#12886) //<Brian Vaughn>// - **[ec60457bc](https://github.com/facebook/react/commit/ec60457bc)**: Popping context is O(1) in SSR (#13019) //<Dan Abramov>// - **[30bc8ef79](https://github.com/facebook/react/commit/30bc8ef79)**: Allow multiple root children in test renderer traversal API (#13017) //<Dan Abramov>// - **[d480782c4](https://github.com/facebook/react/commit/d480782c4)**: Don’t error when returning an empty Fragment (#12966) //<Philipp Spieß>// - **[4ac6f133a](https://github.com/facebook/react/commit/4ac6f133a)**: Fallback to event.srcElement for IE9 (#12976) //<Nathan Hunzaker>// - **[23be4102d](https://github.com/facebook/react/commit/23be4102d)**: Fixed an issue with nested contexts unwinding when server rendering. Issue #12984 (#12985) //<Eric Soderberg>// - **[d0d428064](https://github.com/facebook/react/commit/d0d428064)**: Remove old reference to inst._wrapperState (#12987) //<Nathan Hunzaker>// - **[c78957eac](https://github.com/facebook/react/commit/c78957eac)**: Fix an SVG focusing crash in IE11 (#12996) //<Jifa Jiang>// - **[bfb12ebb5](https://github.com/facebook/react/commit/bfb12ebb5)**: delete a couple of redundant lines in performWorkOnRoot() in ReactFiberScheduler.js (#13003) //<Nathan Quarles>// - **[394b17eed](https://github.com/facebook/react/commit/394b17eed)**: Update custom renderer docs //<Dan Abramov>// - **[188c4252a](https://github.com/facebook/react/commit/188c4252a)**: Fix react-dom ReferenceError requestAnimationFrame in non-browser env (#13000) (#13001) //<Ivan Babak>// - **[9cf3733a9](https://github.com/facebook/react/commit/9cf3733a9)**: update comment in computeAsyncExpiration() to reflect code (#12994) //<Nathan Quarles>// - **[c5a733e1e](https://github.com/facebook/react/commit/c5a733e1e)**: Fix links of docs on the comment (#12795) //<Ende93>// - **[36546b513](https://github.com/facebook/react/commit/36546b513)**: Set the correct initial value on input range (#12939) //<Maxime Nory>// - **[15767a8f8](https://github.com/facebook/react/commit/15767a8f8)**: [scheduler] 5/n Error handling in scheduler (#12920) //<Flarnie Marchan>// - **[3118ed9d6](https://github.com/facebook/react/commit/3118ed9d6)**: Expose unstable_interactiveUpdates on ReactDOM (#12943) //<Andrew Clark>// - **[524a74331](https://github.com/facebook/react/commit/524a74331)**: Fix for Flow issues in SimpleCacheProvider (#12942) //<Flarnie Marchan>// - **[ae57b125c](https://github.com/facebook/react/commit/ae57b125c)**: [simple-cache-provider] Use LRU cache eviction (#12851) //<Andrew Clark>// - **[e0a03c1b4](https://github.com/facebook/react/commit/e0a03c1b4)**: Extend input type check in selection capabilities (#12062) (#12135) //<Spyros Ioakeimidis>// - **[79a740c6e](https://github.com/facebook/react/commit/79a740c6e)**: Rename variables to remove references to 'global' global (#12931) //<Flarnie Marchan>// - **[ff724d3c2](https://github.com/facebook/react/commit/ff724d3c2)**: [scheduler] 4/n Allow splitting out `schedule` in fb-www, prepare to fix polyfill issue internally (#12900) //<Flarnie Marchan>// - **[83f76e4db](https://github.com/facebook/react/commit/83f76e4db)**: ForwardRefs supports propTypes (#12911) //<Brian Vaughn>// - **[8aeea5afa](https://github.com/facebook/react/commit/8aeea5afa)**: Do not assign node.value on input creation if no change will occur (#12925) //<Nathan Hunzaker>// - **[aa85b0fd5](https://github.com/facebook/react/commit/aa85b0fd5)**: Upgrade to Jest 23 (#12894) //<Simen Bekkhus>// - **[61777a78f](https://github.com/facebook/react/commit/61777a78f)**: [scheduler] 3/n Use a linked list instead of map and queue for callback storage (#12893) //<Flarnie Marchan>// - **[e7bd3d59a](https://github.com/facebook/react/commit/e7bd3d59a)**: No longer expose ReactNativeComponentTree (#12904) //<Sebastian Markbåge>// - **[f35d989be](https://github.com/facebook/react/commit/f35d989be)**: TestRenderer warns if flushThrough is passed the wrong params (#12909) //<Brian Vaughn>// - **[557870067](https://github.com/facebook/react/commit/557870067)**: Record "actual" times for all Fibers within a Profiler tree (alt) (#12910) //<Brian Vaughn>// - **[76e07071a](https://github.com/facebook/react/commit/76e07071a)**: [scheduler] 2/n Adding 'schedule' fixture (#12884) //<Flarnie Marchan>// - **[345e0a71a](https://github.com/facebook/react/commit/345e0a71a)**: Improve tests for 'schedule' module (#12880) //<Flarnie Marchan>// - **[8765d6089](https://github.com/facebook/react/commit/8765d6089)**: Update bundle sizes for 16.4.0 release //<Andrew Clark>// - **[d427a563d](https://github.com/facebook/react/commit/d427a563d)**: Updating package versions for release 16.4.0 //<Andrew Clark>// - **[53852a887](https://github.com/facebook/react/commit/53852a887)**: add functional components warning about legacy context api (#12892) //<Chang Yan>// - **[fe747a51c](https://github.com/facebook/react/commit/fe747a51c)**: Add React.Timeout to getComponentName (#12890) //<Toru Kobayashi>// - **[c601f7a64](https://github.com/facebook/react/commit/c601f7a64)**: add siblings Timeout components test case (#12862) //<Chang Yan>// - **[735035837](https://github.com/facebook/react/commit/735035837)**: add legacy context API warning in strict mode (#12849) //<Chang Yan>// - **[e88579184](https://github.com/facebook/react/commit/e88579184)**: Fix a regression that caused us to listen to extra events at the top (#12878) //<Dan Abramov>// - **[7c0aca289](https://github.com/facebook/react/commit/7c0aca289)**: Rollup freeze: false (#12879) //<Brian Vaughn>// - **[33289b530](https://github.com/facebook/react/commit/33289b530)**: Tests and fixes for 'timing out' behavior (#12858) //<Flarnie Marchan>// - **[ad27845cc](https://github.com/facebook/react/commit/ad27845cc)**: Fix double-firing submit events (#12877) //<Sophie Alpert>// - **[dd5fad296](https://github.com/facebook/react/commit/dd5fad296)**: Update Flow to 0.70 (#12875) //<Dan Abramov>// - **[13003654e](https://github.com/facebook/react/commit/13003654e)**: Pass "start time" and "commit time" to Profiler callback (#12852) //<Brian Vaughn>// - **[dc3b144f4](https://github.com/facebook/react/commit/dc3b144f4)**: Treat Rollup "warnings" as errors (#12868) //<Dan Abramov>// - **[d7b9b4921](https://github.com/facebook/react/commit/d7b9b4921)**: Fix react native example links in README of 'react-reconciler' (#12871) //<Kevin (Kun) "Kassimo" Qian>// - **[9bed4a6ae](https://github.com/facebook/react/commit/9bed4a6ae)**: https in reactProdInvariant text (#12869) //<Sophie Alpert>// - **[47b003a82](https://github.com/facebook/react/commit/47b003a82)**: Resolve host configs at build time (#12792) //<Dan Abramov>// Release Notes: [GENERAL] [FEATURE] [React] - React sync for revisions c0fe8d6...ae14317 Reviewed By: bvaughn Differential Revision: D8458731 fbshipit-source-id: afefaa50685d43e70c8ea85c70d2e29dee311cbb
225 lines
7.2 KiB
JSON
225 lines
7.2 KiB
JSON
{
|
|
"name": "react-native",
|
|
"version": "1000.0.0",
|
|
"description": "A framework for building native apps using React",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:facebook/react-native.git"
|
|
},
|
|
"engines": {
|
|
"node": ">=8"
|
|
},
|
|
"prettier": {
|
|
"requirePragma": true,
|
|
"singleQuote": true,
|
|
"trailingComma": "all",
|
|
"bracketSpacing": false,
|
|
"jsxBracketSameLine": true,
|
|
"parser": "flow"
|
|
},
|
|
"jest": {
|
|
"transform": {
|
|
"^.+\\.(bmp|gif|jpg|jpeg|mp4|png|psd|svg|webp)$": "<rootDir>/jest/assetFileTransformer.js",
|
|
".*": "./jest/preprocessor.js"
|
|
},
|
|
"setupFiles": [
|
|
"./jest/setup.js"
|
|
],
|
|
"timers": "fake",
|
|
"moduleNameMapper": {
|
|
"^React$": "<rootDir>/Libraries/react-native/React.js"
|
|
},
|
|
"testPathIgnorePatterns": [
|
|
"Libraries/Renderer",
|
|
"/node_modules/",
|
|
"local-cli/templates/"
|
|
],
|
|
"haste": {
|
|
"defaultPlatform": "ios",
|
|
"hasteImplModulePath": "<rootDir>/jest/hasteImpl.js",
|
|
"providesModuleNodeModules": [
|
|
"react-native"
|
|
],
|
|
"platforms": [
|
|
"ios",
|
|
"android"
|
|
]
|
|
},
|
|
"modulePathIgnorePatterns": [
|
|
"/node_modules/(?!react|fbjs|react-native|react-transform-hmr|core-js|promise)/",
|
|
"node_modules/react/node_modules/fbjs/",
|
|
"node_modules/react/lib/ReactDOM.js",
|
|
"node_modules/fbjs/lib/Map.js",
|
|
"node_modules/fbjs/lib/Promise.js",
|
|
"node_modules/fbjs/lib/fetch.js",
|
|
"node_modules/fbjs/lib/ErrorUtils.js",
|
|
"node_modules/fbjs/lib/URI.js",
|
|
"node_modules/fbjs/lib/Deferred.js",
|
|
"node_modules/fbjs/lib/PromiseMap.js",
|
|
"node_modules/fbjs/lib/UserAgent.js",
|
|
"node_modules/fbjs/lib/areEqual.js",
|
|
"node_modules/fbjs/lib/base62.js",
|
|
"node_modules/fbjs/lib/crc32.js",
|
|
"node_modules/fbjs/lib/everyObject.js",
|
|
"node_modules/fbjs/lib/fetchWithRetries.js",
|
|
"node_modules/fbjs/lib/filterObject.js",
|
|
"node_modules/fbjs/lib/flattenArray.js",
|
|
"node_modules/fbjs/lib/forEachObject.js",
|
|
"node_modules/fbjs/lib/isEmpty.js",
|
|
"node_modules/fbjs/lib/nullthrows.js",
|
|
"node_modules/fbjs/lib/removeFromArray.js",
|
|
"node_modules/fbjs/lib/resolveImmediate.js",
|
|
"node_modules/fbjs/lib/someObject.js",
|
|
"node_modules/fbjs/lib/sprintf.js",
|
|
"node_modules/fbjs/lib/xhrSimpleDataSerializer.js",
|
|
"node_modules/jest-cli",
|
|
"node_modules/react/dist",
|
|
"node_modules/fbjs/.*/__mocks__/",
|
|
"node_modules/fbjs/node_modules/"
|
|
],
|
|
"unmockedModulePathPatterns": [
|
|
"node_modules/react/",
|
|
"Libraries/Renderer",
|
|
"promise",
|
|
"source-map",
|
|
"fastpath",
|
|
"denodeify",
|
|
"fbjs",
|
|
"sinon"
|
|
],
|
|
"testEnvironment": "node"
|
|
},
|
|
"main": "Libraries/react-native/react-native-implementation.js",
|
|
"files": [
|
|
".flowconfig",
|
|
"android",
|
|
"cli.js",
|
|
"flow",
|
|
"flow-github",
|
|
"init.sh",
|
|
"scripts/ios-configure-glog.sh",
|
|
"scripts/ios-install-third-party.sh",
|
|
"scripts/launchPackager.bat",
|
|
"scripts/launchPackager.command",
|
|
"scripts/packager.sh",
|
|
"scripts/react-native-xcode.sh",
|
|
"jest-preset.json",
|
|
"jest",
|
|
"lib",
|
|
"rn-get-polyfills.js",
|
|
"setupBabel.js",
|
|
"Libraries",
|
|
"LICENSE",
|
|
"local-cli",
|
|
"packager",
|
|
"react.gradle",
|
|
"React.podspec",
|
|
"React",
|
|
"ReactAndroid",
|
|
"ReactCommon",
|
|
"README.md",
|
|
"third-party-podspecs"
|
|
],
|
|
"scripts": {
|
|
"test": "jest",
|
|
"test-ci": "JEST_JUNIT_OUTPUT=\"reports/junit/js-test-results.xml\" jest --maxWorkers=2 --ci --testResultsProcessor=\"jest-junit\"",
|
|
"flow": "flow",
|
|
"lint": "eslint .",
|
|
"prettier": "find . -name node_modules -prune -or -name '*.js' -print | xargs prettier --write",
|
|
"start": "/usr/bin/env bash -c './scripts/packager.sh \"$@\" || true' --",
|
|
"docker-setup-android": "docker pull reactnativeci/android-base:latest",
|
|
"docker-build-android-base": "docker build -t reactnativeci/android-base -f ContainerShip/Dockerfile.android-base .",
|
|
"docker-build-android": "docker build -t reactnativeci/android -f ContainerShip/Dockerfile.android .",
|
|
"test-android-run-instrumentation": "docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash ContainerShip/scripts/run-android-docker-instrumentation-tests.sh",
|
|
"test-android-run-unit": "docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash ContainerShip/scripts/run-android-docker-unit-tests.sh",
|
|
"test-android-run-e2e": "docker run --privileged -it reactnativeci/android bash ContainerShip/scripts/run-ci-e2e-tests.sh --android --js",
|
|
"test-android-all": "yarn run docker-build-android && yarn run test-android-run-unit && yarn run test-android-run-instrumentation && yarn run test-android-run-e2e",
|
|
"test-android-instrumentation": "yarn run docker-build-android && yarn run test-android-run-instrumentation",
|
|
"test-android-unit": "yarn run docker-build-android && yarn run test-android-run-unit",
|
|
"test-android-e2e": "yarn run docker-build-android && yarn run test-android-run-e2e"
|
|
},
|
|
"bin": {
|
|
"react-native": "local-cli/wrong-react-native.js"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "16.4.1"
|
|
},
|
|
"dependencies": {
|
|
"absolute-path": "^0.0.0",
|
|
"art": "^0.10.0",
|
|
"base64-js": "^1.1.2",
|
|
"chalk": "^1.1.1",
|
|
"commander": "^2.9.0",
|
|
"compression": "^1.7.1",
|
|
"connect": "^3.6.5",
|
|
"create-react-class": "^15.6.3",
|
|
"debug": "^2.2.0",
|
|
"denodeify": "^1.2.1",
|
|
"envinfo": "^5.7.0",
|
|
"errorhandler": "^1.5.0",
|
|
"escape-string-regexp": "^1.0.5",
|
|
"event-target-shim": "^1.0.5",
|
|
"fbjs": "0.8.17",
|
|
"fbjs-scripts": "^0.8.1",
|
|
"fs-extra": "^1.0.0",
|
|
"glob": "^7.1.1",
|
|
"graceful-fs": "^4.1.3",
|
|
"inquirer": "^3.0.6",
|
|
"lodash": "^4.17.5",
|
|
"metro": "^0.39.1",
|
|
"metro-babel-register": "^0.39.1",
|
|
"metro-core": "^0.39.1",
|
|
"metro-memory-fs": "^0.39.1",
|
|
"mime": "^1.3.4",
|
|
"minimist": "^1.2.0",
|
|
"mkdirp": "^0.5.1",
|
|
"morgan": "^1.9.0",
|
|
"node-fetch": "^1.3.3",
|
|
"node-notifier": "^5.2.1",
|
|
"npmlog": "^2.0.4",
|
|
"opn": "^3.0.2",
|
|
"optimist": "^0.6.1",
|
|
"plist": "^3.0.0",
|
|
"pretty-format": "^4.2.1",
|
|
"promise": "^7.1.1",
|
|
"prop-types": "^15.5.8",
|
|
"react-clone-referenced-element": "^1.0.1",
|
|
"react-devtools-core": "^3.2.2",
|
|
"react-timer-mixin": "^0.13.2",
|
|
"regenerator-runtime": "^0.11.0",
|
|
"rimraf": "^2.5.4",
|
|
"semver": "^5.0.3",
|
|
"serve-static": "^1.13.1",
|
|
"shell-quote": "1.6.1",
|
|
"stacktrace-parser": "^0.1.3",
|
|
"ws": "^1.1.0",
|
|
"xcode": "^0.9.1",
|
|
"xmldoc": "^0.4.0",
|
|
"yargs": "^9.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.0.0-beta.47",
|
|
"async": "^2.4.0",
|
|
"babel-eslint": "8.2.1",
|
|
"babel-generator": "^6.26.0",
|
|
"eslint": "4.17.0",
|
|
"eslint-config-fb-strict": "22.1.0",
|
|
"eslint-config-fbjs": "2.0.1",
|
|
"eslint-plugin-eslint-comments": "2.0.2",
|
|
"eslint-plugin-flowtype": "2.43.0",
|
|
"eslint-plugin-jest": "21.8.0",
|
|
"eslint-plugin-prettier": "2.6.0",
|
|
"eslint-plugin-react": "7.8.2",
|
|
"eslint-plugin-react-native": "^3.2.1",
|
|
"flow-bin": "^0.74.0",
|
|
"jest": "23.1.0",
|
|
"jest-junit": "4.0.0",
|
|
"prettier": "1.13.4",
|
|
"react": "16.4.1",
|
|
"react-test-renderer": "16.4.1",
|
|
"shelljs": "^0.7.8",
|
|
"sinon": "^2.2.0"
|
|
}
|
|
}
|