Socket
Socket
Sign inDemoInstall

@yoast/social-metadata-previews

Package Overview
Dependencies
353
Maintainers
9
Versions
70
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0-rc.9 to 1.0.0-rc.10

7

editor/SocialPreviewEditor.js
/* External dependencies */
import { SimulatedLabel } from "@yoast/components";
import React, { Component } from "react";

@@ -139,2 +140,3 @@ import PropTypes from "prop-types";

isLarge,
socialPreviewLabel,
} = this.props;

@@ -150,2 +152,5 @@

<React.Fragment>
{ socialPreviewLabel && <SimulatedLabel>
{ socialPreviewLabel }
</SimulatedLabel> }
<this.SocialPreview

@@ -214,2 +219,3 @@ onMouseHover={ this.setHoveredField }

applyReplacementVariables: PropTypes.func,
socialPreviewLabel: PropTypes.string,
};

@@ -231,4 +237,5 @@

applyReplacementVariables: data => data,
socialPreviewLabel: "",
};
export default SocialPreviewEditor;

6

package.json
{
"name": "@yoast/social-metadata-previews",
"version": "1.0.0-rc.9",
"version": "1.0.0-rc.10",
"main": "index.js",

@@ -40,3 +40,3 @@ "repository": {

"@wordpress/i18n": "^1.1.0",
"@yoast/replacement-variable-editor": "^1.0.0-rc.6",
"@yoast/replacement-variable-editor": "^1.0.0-rc.7",
"@yoast/style-guide": "^0.12.0-rc.5",

@@ -54,3 +54,3 @@ "lodash": "^4.17.11",

},
"gitHead": "b3acd2a426647c34cd23ed2ee24bac0a29535ff8"
"gitHead": "11629a1e058afa398560600f0c1fed8703152448"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc