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

hexo-magnet

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-magnet - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

8

index.js

@@ -41,6 +41,6 @@ /**

data_list = categories_list
load_more_href = '/categories'
load_more_href = hexo.config.url + '/categories'
}else if (hexo.config.magnet.type ==='tags'){
data_list = tag_list
load_more_href = '/tags'
load_more_href = hexo.config.url+ '/tags'
}

@@ -62,3 +62,3 @@ var categories_new_list = [];

categories_new_list.push(item_group)
temple_html_item += `<div class="magnet_item"><a class="magnet_link" href="${item.path}"><div class="magnet_link_context" style=""><span style="font-weight:500;flex:1">${j.icon} ${j.display_name}${br_devide}(${item.length})</span><span style="padding:0px 4px;border-radius: 8px;"><i class="fas fa-arrow-circle-right"></i></span></div></a></div>`;
temple_html_item += `<div class="magnet_item"><a class="magnet_link" href="${hexo.config.url}/${item.path}"><div class="magnet_link_context" style=""><span style="font-weight:500;flex:1">${j.icon} ${j.display_name}${br_devide}(${item.length})</span><span style="padding:0px 4px;border-radius: 8px;"><i class="fas fa-arrow-circle-right"></i></span></div></a></div>`;
}

@@ -85,3 +85,3 @@ }

var temple_html =`${temple[0]}${temple_html_item}${temple[1]}`;
var script_text = ` <script data-pjax>if(${get_layout} && location.pathname =='${hexo.config.magnet.enable_page}'){
var script_text = ` <script data-pjax>if(${get_layout} && (location.pathname ==='${hexo.config.magnet.enable_page}'|| '${hexo.config.magnet.enable_page}' ==='all')){
var parent = ${get_layout};

@@ -88,0 +88,0 @@ var child = '${temple_html}';

{
"name": "hexo-magnet",
"version": "1.0.8",
"version": "1.0.9",
"description": "",

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

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