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

hexo-theme-next

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-theme-next - npm Package Compare versions

Comparing version 8.2.0 to 8.2.1

17

package.json
{
"name": "hexo-theme-next",
"version": "8.2.0",
"version": "8.2.1",
"description": "Elegant and powerful theme for Hexo.",
"main": "package.json",
"files": [
"docs",
"languages",
"layout",
"scripts",
"source",
"_config.yml",
"_vendors.yml"
],
"scripts": {

@@ -26,7 +35,7 @@ "eslint": "eslint scripts/ source/js test/",

"chai": "4.2.0",
"eslint": "7.16.0",
"eslint": "7.19.0",
"hexo": "5.3.0",
"hexo-renderer-marked": "3.3.0",
"husky": "4.3.6",
"js-yaml": "3.14.1",
"husky": "4.3.8",
"js-yaml": "4.0.0",
"mocha": "8.2.1",

@@ -33,0 +42,0 @@ "stylint": "2.0.0"

@@ -13,3 +13,3 @@ 'use strict';

const vendorsFile = fs.readFileSync(path.join(__dirname, '../../../_vendors.yml'));
const dependencies = yaml.safeLoad(vendorsFile);
const dependencies = yaml.load(vendorsFile);

@@ -29,5 +29,5 @@ module.exports = hexo => {

local : url_for.call(hexo, `lib/${name}/${file}`),
jsdelivr: `//cdn.jsdelivr.net/npm/${name}@${version}/${file}`,
unpkg : `//unpkg.com/${name}@${version}/${file}`,
cdnjs : `//cdnjs.cloudflare.com/ajax/libs/${alias || name}/${version}/${file.replace(/^(dist|lib|)\/(browser\/|)/, '')}`
jsdelivr: `https://cdn.jsdelivr.net/npm/${name}@${version}/${file}`,
unpkg : `https://unpkg.com/${name}@${version}/${file}`,
cdnjs : `https://cdnjs.cloudflare.com/ajax/libs/${alias || name}/${version}/${file.replace(/^(dist|lib|)\/(browser\/|)/, '')}`
};

@@ -34,0 +34,0 @@ let { plugins = 'jsdelivr' } = vendors;

@@ -21,2 +21,3 @@ /* global hexo */

locals.languages.splice(locals.languages.indexOf('default'), 1);
// See https://github.com/hexojs/hexo/pull/4614
page.lang = page.lang || page.language;

@@ -23,0 +24,0 @@ // Creative Commons

@@ -23,5 +23,5 @@ /* global hexo */

local : this.url_for(`${this.theme.js}/${file}`),
jsdelivr: `//cdn.jsdelivr.net/npm/hexo-theme-next@${next_version}/source/js/${file}`,
unpkg : `//unpkg.com/hexo-theme-next@${next_version}/source/js/${file}`,
cdnjs : `//cdnjs.cloudflare.com/ajax/libs/hexo-theme-next/${next_version}/${file}`
jsdelivr: `https://cdn.jsdelivr.net/npm/hexo-theme-next@${next_version}/source/js/${file}`,
unpkg : `https://unpkg.com/hexo-theme-next@${next_version}/source/js/${file}`,
cdnjs : `https://cdnjs.cloudflare.com/ajax/libs/hexo-theme-next/${next_version}/${file}`
};

@@ -28,0 +28,0 @@ const src = links[internal] || links.local;

@@ -10,3 +10,3 @@ 'use strict';

const fontStyles = ':300,300italic,400,400italic,700,700italic';
const fontHost = config.host || '//fonts.googleapis.com';
const fontHost = config.host || 'https://fonts.googleapis.com';

@@ -13,0 +13,0 @@ // Get a font list from config

@@ -89,2 +89,3 @@ /* global NexT, CONFIG */

if (navigator.clipboard) {
// https://caniuse.com/mdn-api_clipboard_writetext
navigator.clipboard.writeText(code).then(() => {

@@ -91,0 +92,0 @@ button.querySelector('i').className = 'fa fa-check-circle fa-fw';

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

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