New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

seord

Package Overview
Dependencies
Maintainers
0
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

seord - npm Package Compare versions

Comparing version 0.0.5-patch.2 to 0.0.5-patch.3

6

dist/seo-analyzer.js

@@ -55,3 +55,2 @@ "use strict";

getKeywordInTitle(keyword = null) {
var _a;
keyword = keyword !== null && keyword !== void 0 ? keyword : this.content.keyword;

@@ -62,3 +61,3 @@ const density = this.calculateDensity(keyword, this.content.title);

density,
position: (_a = this.content.title) === null || _a === void 0 ? void 0 : _a.indexOf(keyword)
position: this.content.title ? this.content.title.split(keyword).indexOf(keyword) : -1
};

@@ -74,3 +73,2 @@ }

getKeywordInMetaDescription(keyword = null) {
var _a;
if (keyword === null) {

@@ -83,3 +81,3 @@ keyword = this.content.keyword;

density,
position: (_a = this.content.metaDescription) === null || _a === void 0 ? void 0 : _a.indexOf(keyword)
position: this.content.metaDescription ? this.content.metaDescription.split(keyword).indexOf(keyword) : -1
};

@@ -86,0 +84,0 @@ }

{
"name": "seord",
"version": "0.0.5-patch.2",
"version": "0.0.5-patch.3",
"description": "Advanced SEO Analyzer",

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

Sorry, the diff of this file is not supported yet

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