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

hexo-theme-stun

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-theme-stun - npm Package Compare versions

Comparing version 2.6.0 to 2.6.1

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [2.6.1](https://github.com/liuyib/hexo-theme-stun/compare/v2.6.0...v2.6.1) (2021-01-06)
### Bug Fixes
* **#149:** can't run when languages folder not exist ([f3956ff](https://github.com/liuyib/hexo-theme-stun/commit/f3956fffe81f0de4d7f4a455ce69b265fb474198)), closes [#149](https://github.com/liuyib/hexo-theme-stun/issues/149)
## [2.6.0](https://github.com/liuyib/hexo-theme-stun/compare/v2.5.0...v2.6.0) (2021-01-05)

@@ -7,0 +14,0 @@

2

package.json
{
"name": "hexo-theme-stun",
"version": "2.6.0",
"version": "2.6.1",
"description": "A beautiful & simple theme for Hexo",

@@ -5,0 +5,0 @@ "homepage": "https://liuyib.github.io",

@@ -46,6 +46,9 @@ 'use strict'

var targetLangData = data[`languages/${usingLang}`]
var flattenData = flatten(targetLangData)
if (Object.keys(flattenData).length) {
hexo.theme.i18n.data[usingLang] = flattenData
if (targetLangData) {
var flattenData = flatten(targetLangData)
if (Object.keys(flattenData).length) {
hexo.theme.i18n.data[usingLang] = flattenData
}
}

@@ -52,0 +55,0 @@ }

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