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

hexo-theme-shokax

Package Overview
Dependencies
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-theme-shokax - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

20

package.json
{
"name": "hexo-theme-shokax",
"version": "0.3.0",
"version": "0.3.1",
"description": "a hexo theme based on shoka",

@@ -19,17 +19,17 @@ "main": "index.js",

"@types/lozad": "^1.16.1",
"@types/node": "^20.2.3",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^5.59.7",
"eslint": "^8.41.0",
"@types/node": "^20.4.4",
"@typescript-eslint/eslint-plugin": "^6.2.0",
"@typescript-eslint/parser": "^6.2.0",
"eslint": "^8.45.0",
"eslint-config-standard": "*",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^16.0.0",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-vue": "^9.14.0",
"eslint-plugin-vue": "^9.15.1",
"hexo-fs": "^4.1.1",
"hexo-util": "^3.0.1",
"instantsearch.js": "^4.56.0",
"hexo-util": "^3.1.0",
"instantsearch.js": "^4.56.7",
"theme-shokax-anime": "^0.0.4",
"theme-shokax-pjax": "^0.0.2",
"typescript": "^5.0.4",
"typescript": "^5.1.6",
"vue": "^3.3.4"

@@ -36,0 +36,0 @@ },

@@ -0,1 +1,4 @@

# 📣 公告
* [ShokaX 正在寻找社区维护者](https://github.com/theme-shoka-x/hexo-theme-shokaX/discussions/137)
# hexo-theme-shokaX

@@ -50,2 +53,9 @@ [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fzkz098%2Fhexo-theme-shokaX.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fzkz098%2Fhexo-theme-shokaX?ref=badge_shield)

## 📚子项目
- [ShokaX docs](https://github.com/theme-shoka-x/shokaX-docs) ShokaX 主题文档 (正在编写中,欢迎加入!)
- [HRMNMI](https://github.com/theme-shoka-x/hexo-renderer-multi-next-markdown-it) ShokaX 正在使用的 markdown 渲染器 (等待重构)
- [ShokaX CLI](https://github.com/theme-shoka-x/shokaX-CLI) ShokaX 命令行安装程序
- [ShokaX Pjax](https://github.com/theme-shoka-x/theme-shokax-pjax) ShokaX 提供的高效 Pjax 实现
- [ShokaX Anime](https://github.com/theme-shoka-x/theme-shokax-anime) ShokaX 提供的精简版 Anime.js 实现
## 🛠️二次开发

@@ -62,4 +72,3 @@ [ShokaX官方开发文档](https://docs.kaitaku.xyz/develop/basic/)

# 许可证
许可证: AGPL 3 or later \
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fzkz098%2Fhexo-theme-shokaX.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fzkz098%2Fhexo-theme-shokaX?ref=badge_large)
许可证: AGPL 3 or later

@@ -66,0 +75,0 @@ ## 特别说明

@@ -10,6 +10,4 @@ "use strict";

function findJsFile(path) {
console.log(path);
let result = [];
fs.readdirSync(path).forEach((item) => {
console.log(item);
if (!item.endsWith('js')) {

@@ -20,3 +18,2 @@ result = result.concat(findJsFile(node_path_1.default.join(path, item)));

if (item.indexOf('player') === -1 && item.indexOf('fireworks') === -1) {
console.log('push');
result.push(node_path_1.default.join(path, item));

@@ -29,3 +26,2 @@ }

hexo.extend.generator.register('script', function (locals) {
const log = hexo.log || console.log;
const config = hexo.config;

@@ -83,3 +79,3 @@ const theme = hexo.theme.config;

let text = '';
let path = '';
let path;
if (fs.existsSync('themes/shokaX/source/js/_app/library/dom.js')) {

@@ -96,3 +92,2 @@ path = 'themes/shokaX/source/js/_app';

files = files.concat(findJsFile(node_path_1.default.join(path, 'components')));
console.log(files);
files.forEach(function (item) {

@@ -99,0 +94,0 @@ text += fs.readFileSync(item).toString();

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

db[path][dbPath] ??= '';
console.log(db[path]);
db[path][dbPath] = summary;

@@ -53,0 +52,0 @@ }

"use strict";
/*!
index.js in next-theme/hexo-theme-next by theme-next
under GNU AFFERO GENERAL PUBLIC LICENSE v3.0
index.js in next-theme/hexo-theme-next by next-theme
under GNU AFFERO GENERAL PUBLIC LICENSE v3.0 OR LATER
https://github.com/next-theme/hexo-theme-next/blob/master/LICENSE.md

@@ -6,0 +6,0 @@ */

@@ -1,2 +0,2 @@

const resizeHandle = (event) => {
const resizeHandle = () => {
siteNavHeight = siteNav.changeOrGetHeight();

@@ -11,3 +11,3 @@ headerHightInner = siteHeader.changeOrGetHeight();

};
const scrollHandle = (event) => {
const scrollHandle = () => {
const winHeight = window.innerHeight;

@@ -14,0 +14,0 @@ const docHeight = getDocHeight();

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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