Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

gatsby-remark-autolink-headers

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-remark-autolink-headers - npm Package Compare versions

Comparing version 1.0.0-alpha16-alpha.d918ccdc to 1.0.0-alpha17

@@ -9,3 +9,5 @@ "use strict";

exports.createHeadComponents = function (args, pluginOptions) {
exports.onRenderBody = function (_ref, pluginOptions) {
var setHeadComponents = _ref.setHeadComponents;
var offsetY = 0;

@@ -56,7 +58,7 @@ if (pluginOptions.offsetY) {

return [_react2.default.createElement(
return setHeadComponents([_react2.default.createElement(
"style",
{ type: "text/css" },
styles
), _react2.default.createElement("script", { dangerouslySetInnerHTML: { __html: script } })];
), _react2.default.createElement("script", { dangerouslySetInnerHTML: { __html: script } })]);
};
{
"name": "gatsby-remark-autolink-headers",
"description": "Gatsby plugin to autolink headers in markdown processed by Remark",
"version": "1.0.0-alpha16-alpha.d918ccdc",
"version": "1.0.0-alpha17",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",

@@ -6,0 +6,0 @@ "dependencies": {