Socket
Socket
Sign inDemoInstall

hexo-butterfly-categories-card

Package Overview
Dependencies
55
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.9 to 0.0.10

12

index.js

@@ -20,7 +20,11 @@ 'use strict'

var categories_message= config.message;
//声明一个空数组用来存放合并后的对象
var new_categories_list = [];
for(i=0,i<categories_list.length,i++){
new_categories_list.push(categories_list[i].push(categories_message[i]))
}
console.log(new_categories_list)
// 合并分类属性和新添加的封面描述属性
for(var i=0;i<categories_list.length;i++){
var a = categories_list[i]
var b = categories_message[i]
new_categories_list[i] = Object.assign(a,b)
}
// console.log(new_categories_list)
// 集体声明配置项

@@ -27,0 +31,0 @@ const data = {

{
"name": "hexo-butterfly-categories-card",
"version": "0.0.9",
"version": "0.0.10",
"description": "A categories card plugin for theme-butterfly",

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc