Closed greglittlefield-wf closed 3 years ago
browserslist < 4.16.5
via yarn.lock
elliptic < 6.5.4
via yarn.lock
glob-parent < 5.1.2
via yarn.lock
lodash < 4.17.21
via yarn.lock
ssri < 6.0.2
via yarn.lock
aviary.yaml
coverage of security relevant codeQuestions or Comments? Reach out on Slack: #support-infosec.
Recommendation: :warning: Minor version bump
@@ line 112: package:react/src/react_client/factory_util.dart @@
+ JsMap generateJsProps(Map<dynamic, dynamic> props, {bool convertRefValue = true, bool convertCallbackRefValue = true, List<String> additionalRefPropKeys = const [], bool wrapWithJsify = true})
// Adding a top-level function is a minor change.
Showing results for feac6244fdb701a8c88a76e277bb67ce193ae5bb
Powered by semver-audit-service. Please report any problems by filing an issue. Reported by the dart semver audit client 2.2.2 Browse public API.
Last edited UTC Aug 02 at 19:38:59
@Workiva/release-management-pp
Motivation
generateJsProps
is used inReactComponentFactoryProxy
classes to constructReact.createElement
-compatible JS props objects from Dart props Maps, and includes conversion of refs and optional deep jsifiation of nested objects.React.createElement
is the primary recipient of these kinds of JS props objects, but there are cases in which consumers may need to pass those props to other JS recipients.For example, you may want to call a JS callback with those props, or even opt to perform conversion of props before they get to the
ReactComponentFactoryProxy
.Solution
generateJsProps
as a public APIUnrelated changes
Testing Steps
N/A (CI passes)