Fixed security issues with react-events-aggregator

This commit is contained in:
Hugo Bernier 2020-04-11 22:36:03 -04:00
parent 4e8417006a
commit 5a27258ac3
3 changed files with 3610 additions and 3039 deletions

View File

@ -1,6 +1,8 @@
# SPFx Event Aggregator Sample #
# Important: The event aggregator is deprecated and no longer available in the SharePoint Framework. Please use [dynamic data](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/dynamic-data) instead. #
> ## DEPRECATED
>
> The event aggregator is deprecated and no longer available in the SharePoint Framework. Please use [dynamic data](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/dynamic-data) instead. #
Following issue [#659](https://github.com/SharePoint/sp-dev-fx-webparts/issues/659), the event aggregator functionality is no longer working. This feature was in ALPHA state and never made it to general availability state. There is a replacement for the event aggregator. Please have a look at the dynamic data functionality and use it instead [https://docs.microsoft.com/en-us/sharepoint/dev/spfx/dynamic-data](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/dynamic-data). There is already a sample in this library [https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-events-dynamicdata](https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-events-dynamicdata)

File diff suppressed because it is too large Load Diff

View File

@ -14,7 +14,9 @@
"@microsoft/sp-webpart-base": "~1.4.1",
"@microsoft/sp-lodash-subset": "~1.4.1",
"@microsoft/sp-office-ui-fabric-core": "~1.4.1",
"@types/webpack-env": ">=1.12.1 <1.14.0"
"@types/webpack-env": ">=1.12.1 <1.14.0",
"minimist": ">=1.2.3",
"acorn": ">=5.7.4"
},
"devDependencies": {
"@microsoft/sp-build-web": "~1.4.1",