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

@americanexpress/react-seo

Package Overview
Dependencies
Maintainers
9
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@americanexpress/react-seo - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

11

build/index.js

@@ -35,5 +35,6 @@ "use strict";

siteUrl = _ref.siteUrl,
title = _ref.title;
title = _ref.title,
canonicalTag = _ref.canonical;
var image = metaImage && metaImage.src ? "".concat(siteUrl).concat(metaImage.src) : null;
var canonical = pathname ? "".concat(siteUrl).concat(pathname) : null;
var canonical = canonicalTag || (pathname ? "".concat(siteUrl).concat(pathname) : null);
var link = canonical ? [{

@@ -112,3 +113,4 @@ rel: 'canonical',

siteUrl: _propTypes.default.string,
title: _propTypes.default.string
title: _propTypes.default.string,
canonical: _propTypes.default.string
};

@@ -126,5 +128,6 @@ SEO.defaultProps = {

siteUrl: '',
title: ''
title: '',
canonical: ''
};
var _default = SEO;
exports.default = _default;
{
"name": "@americanexpress/react-seo",
"version": "1.1.1",
"version": "1.2.0",
"description": "Simple SEO tag manager for React",

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -68,2 +68,3 @@ <h1 align="center">

title: PropTypes.string,
canonical: PropTypes.string,
};

@@ -82,2 +83,3 @@

title: '',
canonical: '',
};

@@ -84,0 +86,0 @@ ```

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc