@power-seo/core
Advanced tools
+7
-12
@@ -125,3 +125,3 @@ 'use strict'; | ||
| "-": 4, | ||
| "_": 6.67, | ||
| _: 6.67, | ||
| "(": 4, | ||
@@ -136,3 +136,3 @@ ")": 4, | ||
| "#": 6.67, | ||
| "$": 6.67, | ||
| $: 6.67, | ||
| "%": 10.67, | ||
@@ -681,4 +681,3 @@ "+": 7, | ||
| tags.push({ property: "og:video", content: video.url }); | ||
| if (video.secureUrl) | ||
| tags.push({ property: "og:video:secure_url", content: video.secureUrl }); | ||
| if (video.secureUrl) tags.push({ property: "og:video:secure_url", content: video.secureUrl }); | ||
| if (video.type) tags.push({ property: "og:video:type", content: video.type }); | ||
@@ -696,4 +695,3 @@ if (video.width) tags.push({ property: "og:video:width", content: String(video.width) }); | ||
| tags.push({ property: "article:expiration_time", content: og.article.expirationTime }); | ||
| if (og.article.section) | ||
| tags.push({ property: "article:section", content: og.article.section }); | ||
| if (og.article.section) tags.push({ property: "article:section", content: og.article.section }); | ||
| if (og.article.authors) { | ||
@@ -727,4 +725,3 @@ for (const author of og.article.authors) { | ||
| if (twitter.title) tags.push({ name: "twitter:title", content: twitter.title }); | ||
| if (twitter.description) | ||
| tags.push({ name: "twitter:description", content: twitter.description }); | ||
| if (twitter.description) tags.push({ name: "twitter:description", content: twitter.description }); | ||
| if (twitter.image) tags.push({ name: "twitter:image", content: twitter.image }); | ||
@@ -743,4 +740,3 @@ if (twitter.imageAlt) tags.push({ name: "twitter:image:alt", content: twitter.imageAlt }); | ||
| tags.push({ name: "twitter:app:id:iphone", content: twitter.appIdIphone }); | ||
| if (twitter.appIdIpad) | ||
| tags.push({ name: "twitter:app:id:ipad", content: twitter.appIdIpad }); | ||
| if (twitter.appIdIpad) tags.push({ name: "twitter:app:id:ipad", content: twitter.appIdIpad }); | ||
| if (twitter.appIdGooglePlay) | ||
@@ -750,4 +746,3 @@ tags.push({ name: "twitter:app:id:googleplay", content: twitter.appIdGooglePlay }); | ||
| tags.push({ name: "twitter:app:url:iphone", content: twitter.appUrlIphone }); | ||
| if (twitter.appUrlIpad) | ||
| tags.push({ name: "twitter:app:url:ipad", content: twitter.appUrlIpad }); | ||
| if (twitter.appUrlIpad) tags.push({ name: "twitter:app:url:ipad", content: twitter.appUrlIpad }); | ||
| if (twitter.appUrlGooglePlay) | ||
@@ -754,0 +749,0 @@ tags.push({ name: "twitter:app:url:googleplay", content: twitter.appUrlGooglePlay }); |
+7
-12
@@ -123,3 +123,3 @@ // src/constants.ts | ||
| "-": 4, | ||
| "_": 6.67, | ||
| _: 6.67, | ||
| "(": 4, | ||
@@ -134,3 +134,3 @@ ")": 4, | ||
| "#": 6.67, | ||
| "$": 6.67, | ||
| $: 6.67, | ||
| "%": 10.67, | ||
@@ -679,4 +679,3 @@ "+": 7, | ||
| tags.push({ property: "og:video", content: video.url }); | ||
| if (video.secureUrl) | ||
| tags.push({ property: "og:video:secure_url", content: video.secureUrl }); | ||
| if (video.secureUrl) tags.push({ property: "og:video:secure_url", content: video.secureUrl }); | ||
| if (video.type) tags.push({ property: "og:video:type", content: video.type }); | ||
@@ -694,4 +693,3 @@ if (video.width) tags.push({ property: "og:video:width", content: String(video.width) }); | ||
| tags.push({ property: "article:expiration_time", content: og.article.expirationTime }); | ||
| if (og.article.section) | ||
| tags.push({ property: "article:section", content: og.article.section }); | ||
| if (og.article.section) tags.push({ property: "article:section", content: og.article.section }); | ||
| if (og.article.authors) { | ||
@@ -725,4 +723,3 @@ for (const author of og.article.authors) { | ||
| if (twitter.title) tags.push({ name: "twitter:title", content: twitter.title }); | ||
| if (twitter.description) | ||
| tags.push({ name: "twitter:description", content: twitter.description }); | ||
| if (twitter.description) tags.push({ name: "twitter:description", content: twitter.description }); | ||
| if (twitter.image) tags.push({ name: "twitter:image", content: twitter.image }); | ||
@@ -741,4 +738,3 @@ if (twitter.imageAlt) tags.push({ name: "twitter:image:alt", content: twitter.imageAlt }); | ||
| tags.push({ name: "twitter:app:id:iphone", content: twitter.appIdIphone }); | ||
| if (twitter.appIdIpad) | ||
| tags.push({ name: "twitter:app:id:ipad", content: twitter.appIdIpad }); | ||
| if (twitter.appIdIpad) tags.push({ name: "twitter:app:id:ipad", content: twitter.appIdIpad }); | ||
| if (twitter.appIdGooglePlay) | ||
@@ -748,4 +744,3 @@ tags.push({ name: "twitter:app:id:googleplay", content: twitter.appIdGooglePlay }); | ||
| tags.push({ name: "twitter:app:url:iphone", content: twitter.appUrlIphone }); | ||
| if (twitter.appUrlIpad) | ||
| tags.push({ name: "twitter:app:url:ipad", content: twitter.appUrlIpad }); | ||
| if (twitter.appUrlIpad) tags.push({ name: "twitter:app:url:ipad", content: twitter.appUrlIpad }); | ||
| if (twitter.appUrlGooglePlay) | ||
@@ -752,0 +747,0 @@ tags.push({ name: "twitter:app:url:googleplay", content: twitter.appUrlGooglePlay }); |
+1
-1
| { | ||
| "name": "@power-seo/core", | ||
| "version": "1.0.1", | ||
| "version": "1.0.2", | ||
| "description": "Framework-agnostic SEO analysis engines, types, and utilities", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
245627
0.13%2191
-0.45%