mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
1ad8d81292
* Remove object-assign polyfill We really rely on a more modern environment where this is typically polyfilled anyway and we don't officially support IE with more extensive polyfilling anyway. So all environments should have the native version by now. * Use shared/assign instead of Object.assign in code This is so that we have one cached local instance in the bundle. Ideally we should have a compile do this for us but we already follow this pattern with hasOwnProperty, isArray, Object.is etc. * Transform Object.assign to now use shared/assign We need this to use the shared instance when Object.spread is used.
24 lines
438 B
JSON
24 lines
438 B
JSON
{
|
|
"name": "use-subscription",
|
|
"description": "Reusable hooks",
|
|
"version": "1.5.1",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/facebook/react.git",
|
|
"directory": "packages/use-subscription"
|
|
},
|
|
"files": [
|
|
"LICENSE",
|
|
"README.md",
|
|
"index.js",
|
|
"cjs/"
|
|
],
|
|
"license": "MIT",
|
|
"peerDependencies": {
|
|
"react": "^16.8.0 || ^17.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"rxjs": "^5.5.6"
|
|
}
|
|
}
|