Summary: Bumps [react-refresh](https://github.com/facebook/react/tree/HEAD/packages/react) from 0.10.0 to 0.11.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/facebook/react/releases">react-refresh's releases</a>.</em></p> <blockquote> <h2>v0.11.0</h2> <h3>React Core</h3> <h4>Breaking Changes</h4> <ul> <li><code>getDefaultProps()</code> is now called once per class and shared across all instances</li> <li><code>MyComponent()</code> now returns a descriptor, not an instance</li> <li><code>React.isValidComponent</code> and <code>React.PropTypes.component</code> validate <em>descriptors</em>, not component instances</li> <li>Custom <code>propType</code> validators should return an <code>Error</code> instead of logging directly</li> </ul> <h4>New Features</h4> <ul> <li>Rendering to <code>null</code></li> <li>Keyboard events include normalized <code>e.key</code> and <code>e.getModifierState()</code> properties</li> <li>New normalized <code>onBeforeInput</code> event</li> <li><code>React.Children.count</code> has been added as a helper for counting the number of children</li> </ul> <h4>Bug Fixes</h4> <ul> <li>Re-renders are batched in more cases</li> <li>Events: <code>e.view</code> properly normalized</li> <li>Added Support for more HTML attributes (<code>coords</code>, <code>crossOrigin</code>, <code>download</code>, <code>hrefLang</code>, <code>mediaGroup</code>, <code>muted</code>, <code>scrolling</code>, <code>shape</code>, <code>srcSet</code>, <code>start</code>, <code>useMap</code>)</li> <li>Improved SVG support <ul> <li>Changing <code>className</code> on a mounted SVG component now works correctly</li> <li>Added support for elements <code>mask</code> and <code>tspan</code></li> <li>Added support for attributes <code>dx</code>, <code>dy</code>, <code>fillOpacity</code>, <code>fontFamily</code>, <code>fontSize</code>, <code>markerEnd</code>, <code>markerMid</code>, <code>markerStart</code>, <code>opacity</code>, <code>patternContentUnits</code>, <code>patternUnits</code>, <code>preserveAspectRatio</code>, <code>strokeDasharray</code>, <code>strokeOpacity</code></li> </ul> </li> <li>CSS property names with vendor prefixes (<code>Webkit</code>, <code>ms</code>, <code>Moz</code>, <code>O</code>) are now handled properly</li> <li>Duplicate keys no longer cause a hard error; now a warning is logged (and only one of the children with the same key is shown)</li> <li><code>img</code> event listeners are now unbound properly, preventing the error "Two valid but unequal nodes with the same <code>data-reactid</code>"</li> <li>Added explicit warning when missing polyfills</li> </ul> <h3>React With Addons</h3> <ul> <li>PureRenderMixin: a mixin which helps optimize "pure" components</li> <li>Perf: a new set of tools to help with performance analysis</li> <li>Update: New <code>$apply</code> command to transform values</li> <li>TransitionGroup bug fixes with null elements, Android</li> </ul> <h3>React NPM Module</h3> <ul> <li>Now includes the pre-built packages under <code>dist/</code>.</li> <li><code>envify</code> is properly listed as a dependency instead of a peer dependency</li> </ul> <h3>JSX</h3> <ul> <li>Added support for namespaces, eg <code><Components.Checkbox /></code></li> <li>JSXTransformer <ul> <li>Enable the same <code>harmony</code> features available in the command line with <code><script type="text/jsx;harmony=true"></code></li> <li>Scripts are downloaded in parallel for more speed. They are still executed in order (as you would expect with normal script tags)</li> <li>Fixed a bug preventing sourcemaps from working in Firefox</li> </ul> </li> </ul> <h3>React Tools Module</h3> <ul> <li>Improved readme with usage and API information</li> <li>Improved ES6 transforms available with <code>--harmony</code> option</li> <li>Added <code>--source-map-inline</code> option to the <code>jsx</code> executable</li> <li>New <code>transformWithDetails</code> API which gives access to the raw sourcemap data</li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/facebook/react/blob/main/CHANGELOG.md">react-refresh's changelog</a>.</em></p> <blockquote> <h2>0.11.0 (July 17, 2014)</h2> <h3>React Core</h3> <h4>Breaking Changes</h4> <ul> <li><code>getDefaultProps()</code> is now called once per class and shared across all instances</li> <li><code>MyComponent()</code> now returns a descriptor, not an instance</li> <li><code>React.isValidComponent</code> and <code>React.PropTypes.component</code> validate <em>descriptors</em>, not component instances</li> <li>Custom <code>propType</code> validators should return an <code>Error</code> instead of logging directly</li> </ul> <h4>New Features</h4> <ul> <li>Rendering to <code>null</code></li> <li>Keyboard events include normalized <code>e.key</code> and <code>e.getModifierState()</code> properties</li> <li>New normalized <code>onBeforeInput</code> event</li> <li><code>React.Children.count</code> has been added as a helper for counting the number of children</li> </ul> <h4>Bug Fixes</h4> <ul> <li>Re-renders are batched in more cases</li> <li>Events: <code>e.view</code> properly normalized</li> <li>Added Support for more HTML attributes (<code>coords</code>, <code>crossOrigin</code>, <code>download</code>, <code>hrefLang</code>, <code>mediaGroup</code>, <code>muted</code>, <code>scrolling</code>, <code>shape</code>, <code>srcSet</code>, <code>start</code>, <code>useMap</code>)</li> <li>Improved SVG support <ul> <li>Changing <code>className</code> on a mounted SVG component now works correctly</li> <li>Added support for elements <code>mask</code> and <code>tspan</code></li> <li>Added support for attributes <code>dx</code>, <code>dy</code>, <code>fillOpacity</code>, <code>fontFamily</code>, <code>fontSize</code>, <code>markerEnd</code>, <code>markerMid</code>, <code>markerStart</code>, <code>opacity</code>, <code>patternContentUnits</code>, <code>patternUnits</code>, <code>preserveAspectRatio</code>, <code>strokeDasharray</code>, <code>strokeOpacity</code></li> </ul> </li> <li>CSS property names with vendor prefixes (<code>Webkit</code>, <code>ms</code>, <code>Moz</code>, <code>O</code>) are now handled properly</li> <li>Duplicate keys no longer cause a hard error; now a warning is logged (and only one of the children with the same key is shown)</li> <li><code>img</code> event listeners are now unbound properly, preventing the error "Two valid but unequal nodes with the same <code>data-reactid</code>"</li> <li>Added explicit warning when missing polyfills</li> </ul> <h3>React With Addons</h3> <ul> <li>PureRenderMixin: a mixin which helps optimize "pure" components</li> <li>Perf: a new set of tools to help with performance analysis</li> <li>Update: New <code>$apply</code> command to transform values</li> <li>TransitionGroup bug fixes with null elements, Android</li> </ul> <h3>React NPM Module</h3> <ul> <li>Now includes the pre-built packages under <code>dist/</code>.</li> <li><code>envify</code> is properly listed as a dependency instead of a peer dependency</li> </ul> <h3>JSX</h3> <ul> <li>Added support for namespaces, eg <code><Components.Checkbox /></code></li> <li>JSXTransformer <ul> <li>Enable the same <code>harmony</code> features available in the command line with <code><script type="text/jsx;harmony=true"></code></li> <li>Scripts are downloaded in parallel for more speed. They are still executed in order (as you would expect with normal script tags)</li> <li>Fixed a bug preventing sourcemaps from working in Firefox</li> </ul> </li> </ul> <h3>React Tools Module</h3> <ul> <li>Improved readme with usage and API information</li> <li>Improved ES6 transforms available with <code>--harmony</code> option</li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/facebook/react/commits/v0.11.0/packages/react">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `dependabot rebase` will rebase this PR - `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `dependabot merge` will merge this PR after your CI passes on it - `dependabot squash and merge` will squash and merge this PR after your CI passes on it - `dependabot cancel merge` will cancel a previously requested merge and block automerging - `dependabot reopen` will reopen this PR if it is closed - `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Pull Request resolved: https://github.com/facebook/flipper/pull/3083 Reviewed By: lblasa Differential Revision: D32674349 Pulled By: passy fbshipit-source-id: 76cf85a26763c82aa732902bf22e5ad1b436b1cd
288 lines
9.5 KiB
JSON
288 lines
9.5 KiB
JSON
{
|
|
"author": {
|
|
"email": "n/a",
|
|
"name": "Facebook Inc",
|
|
"url": "https://github.com/facebook"
|
|
},
|
|
"build": {
|
|
"appId": "flipper",
|
|
"artifactName": "Flipper-${os}.${ext}",
|
|
"asar": true,
|
|
"asarUnpack": [
|
|
"PortForwardingMacApp.app/**/*",
|
|
"defaultPlugins/**/*"
|
|
],
|
|
"dmg": {
|
|
"background": "dmgBackground.png",
|
|
"contents": [
|
|
{
|
|
"x": 123,
|
|
"y": 172
|
|
},
|
|
{
|
|
"path": "/Applications",
|
|
"type": "link",
|
|
"x": 539,
|
|
"y": 168
|
|
}
|
|
],
|
|
"icon": "icon.icns",
|
|
"iconSize": 155,
|
|
"window": {
|
|
"height": 400,
|
|
"width": 660
|
|
}
|
|
},
|
|
"fileAssociations": [
|
|
{
|
|
"ext": [
|
|
".flipper"
|
|
],
|
|
"icon": "document-icons/document.icns",
|
|
"name": "Flipper Data",
|
|
"role": "Viewer"
|
|
}
|
|
],
|
|
"linux": {
|
|
"category": "Development"
|
|
},
|
|
"mac": {
|
|
"category": "public.app-category.developer-tools",
|
|
"extendInfo": {
|
|
"NSUserNotificationAlertStyle": "alert"
|
|
}
|
|
},
|
|
"productName": "Flipper",
|
|
"protocols": {
|
|
"name": "flipper",
|
|
"schemes": [
|
|
"flipper"
|
|
]
|
|
},
|
|
"win": {
|
|
"publisherName": "Facebook, Inc.",
|
|
"sign": null
|
|
}
|
|
},
|
|
"category": "facebook-intern",
|
|
"description": "Mobile development tool",
|
|
"devDependencies": {
|
|
"@adobe/node-fetch-retry": "^2.0.0",
|
|
"@babel/code-frame": "^7.15.8",
|
|
"@babel/eslint-parser": "^7.16.3",
|
|
"@jest-runner/electron": "^3.0.1",
|
|
"@testing-library/dom": "^8.11.1",
|
|
"@testing-library/react": "^12.1.2",
|
|
"@types/adobe__node-fetch-retry": "^1.0.2",
|
|
"@types/algoliasearch": "^4.0.0",
|
|
"@types/babel__code-frame": "^7.0.3",
|
|
"@types/babel__core": "^7.1.16",
|
|
"@types/babel__generator": "^7.6.3",
|
|
"@types/babel__traverse": "^7.14.2",
|
|
"@types/decompress": "4.2.4",
|
|
"@types/deep-equal": "^1.0.1",
|
|
"@types/detect-port": "^1.3.1",
|
|
"@types/electron-devtools-installer": "^2.2.0",
|
|
"@types/expand-tilde": "^2.0.0",
|
|
"@types/express": "^4.17.13",
|
|
"@types/fb-watchman": "^2.0.1",
|
|
"@types/form-data": "^2.2.1",
|
|
"@types/fs-extra": "^9.0.13",
|
|
"@types/glob": "^7.2.0",
|
|
"@types/invariant": "^2.2.35",
|
|
"@types/jest": "^26.0.24",
|
|
"@types/lodash": "^4.14.177",
|
|
"@types/lodash.debounce": "^4.0.6",
|
|
"@types/mkdirp": "^1.0.2",
|
|
"@types/mock-fs": "^4.13.1",
|
|
"@types/node": "^15.12.5",
|
|
"@types/npm-packlist": "^1.1.2",
|
|
"@types/promise-retry": "^1.1.3",
|
|
"@types/react": "17.0.34",
|
|
"@types/react-color": "^3.0.6",
|
|
"@types/react-dom": "^17.0.11",
|
|
"@types/react-redux": "^7.1.19",
|
|
"@types/react-test-renderer": "^17.0.1",
|
|
"@types/react-virtualized": "^9.21.15",
|
|
"@types/react-virtualized-auto-sizer": "^1.0.1",
|
|
"@types/react-window": "^1.8.5",
|
|
"@types/recharts": "^2.0.0",
|
|
"@types/recursive-readdir": "^2.2.0",
|
|
"@types/redux-devtools-extension": "^2.13.2",
|
|
"@types/redux-mock-store": "^1.0.3",
|
|
"@types/redux-persist": "^4.3.1",
|
|
"@types/requestidlecallback": "^0.3.4",
|
|
"@types/resize-observer-browser": "^0.1.6",
|
|
"@types/rsocket-core": "^0.0.7",
|
|
"@types/rsocket-tcp-server": "^0.0.2",
|
|
"@types/socket.io": "^3.0.2",
|
|
"@types/testing-library__react": "^10.2.0",
|
|
"@types/tmp": "^0.2.1",
|
|
"@types/uuid": "^8.3.1",
|
|
"@types/which": "^2.0.1",
|
|
"@types/ws": "^7.4.7",
|
|
"@types/yargs": "^16.0.1",
|
|
"@types/yazl": "^2.4.2",
|
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
"@typescript-eslint/parser": "^4.33.0",
|
|
"ansi-to-html": "^0.7.2",
|
|
"app-builder-lib": "22.14.7",
|
|
"babel-eslint": "^10.1.0",
|
|
"chalk": "^4.1.2",
|
|
"cross-env": "^7.0.3",
|
|
"detect-port": "^1.1.1",
|
|
"dotenv": "^8.2.0",
|
|
"electron": "11.2.3",
|
|
"electron-builder": "22.11.7",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-fbjs": "^3.1.1",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-import-resolver-typescript": "^2.5.0",
|
|
"eslint-plugin-babel": "^5.3.1",
|
|
"eslint-plugin-communist-spelling": "^1.0.0",
|
|
"eslint-plugin-flipper": "0.0.0",
|
|
"eslint-plugin-flowtype": "^5.10.0",
|
|
"eslint-plugin-header": "^3.1.1",
|
|
"eslint-plugin-import": "^2.25.2",
|
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"eslint-plugin-promise": "^5.1.1",
|
|
"eslint-plugin-react": "^7.27.0",
|
|
"eslint-plugin-react-hooks": "^4.3.0",
|
|
"expand-tilde": "^2.0.2",
|
|
"express": "^4.15.2",
|
|
"fb-watchman": "^2.0.1",
|
|
"flipper-babel-transformer": "0.0.0",
|
|
"flipper-pkg-lib": "0.0.0",
|
|
"flipper-plugin-lib": "0.0.0",
|
|
"fs-extra": "^9.0.0",
|
|
"glob": "^7.2.0",
|
|
"ignore": "^5.1.4",
|
|
"invariant": "^2.2.4",
|
|
"jest": "^26.6.3",
|
|
"jest-environment-jsdom-sixteen": "^2.0.0",
|
|
"jest-fetch-mock": "^3.0.3",
|
|
"less": "^4.1.2",
|
|
"line-replace": "^2.0.1",
|
|
"metro": "^0.66.2",
|
|
"metro-minify-terser": "^0.66.2",
|
|
"metro-resolver": "^0.66.2",
|
|
"node-fetch": "^2.6.6",
|
|
"p-filter": "^2.1.0",
|
|
"p-map": "^4.0.0",
|
|
"patch-package": "^6.4.7",
|
|
"prettier": "^2.4.1",
|
|
"pretty-format": "^27.3.1",
|
|
"promisify-child-process": "^4.1.0",
|
|
"react-async": "^10.0.0",
|
|
"react-refresh": "^0.11.0",
|
|
"recursive-readdir": "^2.2.2",
|
|
"redux": "^4.1.2",
|
|
"rimraf": "^3.0.2",
|
|
"socket.io": "^4.4.0",
|
|
"tmp": "^0.2.1",
|
|
"ts-jest": "^26.5.6",
|
|
"ts-node": "^9.1.1",
|
|
"typescript": "^4.4.4",
|
|
"uuid": "^8.3.2",
|
|
"yargs": "^17.0.1",
|
|
"yazl": "^2.5.1"
|
|
},
|
|
"homepage": "https://fbflipper.com/",
|
|
"icon": "icon.png",
|
|
"name": "flipper-project",
|
|
"optionalDependencies": {
|
|
"7zip-bin-mac": "^1.0.1"
|
|
},
|
|
"private": true,
|
|
"privileged": true,
|
|
"productName": "Flipper",
|
|
"resolutions": {
|
|
"**/metro/**/temp": "0.9.0",
|
|
"**/metro/**/ws": "1.1.5",
|
|
"@jest-runner/electron/electron": "11.2.3",
|
|
"@types/react": "17.0.34",
|
|
"adbkit-logcat": "^2.0.1",
|
|
"bl": "^5.0.0",
|
|
"csstype": "^3.0.5",
|
|
"jsdom": "16.6.0",
|
|
"kind-of": "^6.0.3",
|
|
"node-fetch": "^2.6.1",
|
|
"node-forge": "^0.10.0",
|
|
"node-notifier": "^10.0.0",
|
|
"ws": "^7.4.6",
|
|
"xmldom": "github:xmldom/xmldom#0.7.0",
|
|
"browserslist": "^4.16.5",
|
|
"axios": "^0.21.1",
|
|
"glob-parent": "^5.1.2",
|
|
"normalize-url": "^4.5.1",
|
|
"d3-array": "2.3.3",
|
|
"tar": "^6.1.2"
|
|
},
|
|
"scripts": {
|
|
"build": "cross-env NODE_ENV=production ./ts-node scripts/build-release.ts $@",
|
|
"build-plugin": "./ts-node scripts/build-plugin.ts",
|
|
"build:dev": "cross-env NODE_ENV=development ./ts-node scripts/build-release.ts $@",
|
|
"build:eslint": "cd eslint-plugin-flipper && yarn build",
|
|
"build:themes": "lessc --js themes/light.less static/themes/light.css && lessc --js themes/dark.less static/themes/dark.css",
|
|
"build:tsc": "tsc -b tsc-root/tsconfig.json && ./ts-node ./scripts/compute-package-checksum.ts -d ./babel-transformer -o ./lib/checksum.txt",
|
|
"bump-versions": "./ts-node scripts/bump-versions.ts",
|
|
"bundle-all-plugins": "./ts-node scripts/bundle-all-plugins.ts",
|
|
"dev-server": "cross-env NODE_ENV=development ./ts-node scripts/start-dev-server.ts",
|
|
"fix": "eslint . --fix --ext .js,.ts,.tsx",
|
|
"lint": "yarn lint:eslint && yarn lint:tsc && yarn tsc-plugins",
|
|
"lint:eslint": "eslint . --ext .js,.ts,.tsx",
|
|
"lint:tsc": "tsc --noemit",
|
|
"list-plugins": "./ts-node scripts/list-plugins.ts",
|
|
"open-dist": "open ../dist/mac/Flipper.app --args --launcher=false --inspect=9229",
|
|
"postinstall": "patch-package && ./ts-node scripts/gen-type-index.ts && yarn --cwd plugins install --mutex network:30331 && yarn build:tsc && ./ts-node scripts/generate-plugin-entry-points.ts && yarn build:themes",
|
|
"prebuild": "yarn build:tsc && yarn rm-dist && yarn build:themes",
|
|
"predev-server": "yarn build:tsc",
|
|
"preinstall": "node scripts/prepare-watchman-config.js && yarn config set ignore-engines",
|
|
"prelint:eslint": "yarn build:eslint",
|
|
"pretest": "yarn build:tsc",
|
|
"publish-packages": "./ts-node scripts/publish-packages.ts",
|
|
"reset": "yarn rm-dist && yarn rm-temp && yarn rm-metro-cache && yarn cache clean && yarn rm-bundle && yarn rm-modules",
|
|
"resolve-plugin-dir": "./ts-node scripts/resolve-plugin-dir.ts",
|
|
"rm-bundle": "rimraf static/main.bundle.* **/dist/bundle.* **/lib **/*.tsbuildinfo",
|
|
"rm-dist": "rimraf ../dist",
|
|
"rm-metro-cache": "rimraf $TMPDIR/metro-cache*",
|
|
"rm-modules": "rimraf **/*/node_modules node_modules",
|
|
"rm-temp": "rimraf $TMPDIR/jest* $TMPDIR/react-native-packager*",
|
|
"rm-watches": "watchman watch-del-all",
|
|
"start": "yarn dev-server --inspect=9229",
|
|
"start:break": "yarn dev-server --inspect-brk=9229",
|
|
"start:no-embedded-plugins": "yarn start --no-embedded-plugins",
|
|
"docs": "cd ../website && yarn start",
|
|
"test": "cross-env TZ=Pacific/Pohnpei jest",
|
|
"test:debug": "yarn build:tsc && cross-env TZ=Pacific/Pohnpei node --inspect node_modules/.bin/jest --runInBand",
|
|
"tsc-plugins": "./ts-node scripts/tsc-plugins.ts",
|
|
"watch": "cross-env TZ=Pacific/Pohnpei node --expose-gc --stack-trace-limit=40 ./node_modules/.bin/jest --watch"
|
|
},
|
|
"version": "0.122.0",
|
|
"workspaces": {
|
|
"packages": [
|
|
"app",
|
|
"app/src/fb/*",
|
|
"babel-transformer",
|
|
"doctor",
|
|
"pkg",
|
|
"pkg-lib",
|
|
"flipper-common",
|
|
"flipper-plugin",
|
|
"flipper-server-core",
|
|
"flipper-ui-core",
|
|
"flipper-ui-browser",
|
|
"flipper-server",
|
|
"flipper-dump",
|
|
"static",
|
|
"e2e",
|
|
"plugin-lib",
|
|
"test-utils",
|
|
"eslint-plugin-flipper",
|
|
"types"
|
|
]
|
|
}
|
|
}
|