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7XG4gICAgICAgICAgICB0aGlzLnJlcG9zaXRpb24oKTtcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICk7XG4gICAgfSBlbHNlIHtcbiAgICAgIGlmICh0aGlzLl9wb3J0YWxFbCkge1xuICAgICAgICB0aGlzLl9wb3J0YWxSZW1vdmFsLmVtaXQobnVsbCk7XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgcmVwb3NpdGlvbigpIHtcbiAgICBpZiAodGhpcy5faXNSZW5kZXJpbmdGbG9hdCkge1xuICAgICAgdGhpcy5fc2hvdWxkUmVwb3NpdGlvbk9uRmxvYXRSZW5kZXIgPSB0cnVlO1xuICAgICAgcmV0dXJuO1xuICAgIH1cbiAgICBjb25zdCBwb3J0YWxFbCA9IHRoaXMuX3BvcnRhbEVsO1xuICAgIGlmIChwb3J0YWxFbCkge1xuICAgICAgY29udGFpbkJ5U2NyZWVuKHBvcnRhbEVsLCBmaW5kRE9NTm9kZSh0aGlzKSwgdGhpcy5wcm9wcy5vcHRpb25zIHx8IHt9KTtcbiAgICAgIHRoaXMuX3JlcG9zaXRpb25FdmVudHMuZW1pdChudWxsKTtcbiAgICB9XG4gIH1cblxuICByZW5kZXIoKSB7XG4gICAgY29uc3Qge2FuY2hvcn0gPSB0aGlzLnByb3BzO1xuICAgIHJldHVybiBhbmNob3I7XG4gIH1cbn1cbiJdfQ== |
{ | ||
"name": "react-float-anchor", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "React component for positioning an element aligned to another", | ||
@@ -5,0 +5,0 @@ "main": "js/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34061