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

hexo-theme-shokax

Package Overview
Dependencies
Maintainers
1
Versions
101
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.1.0 to 0.1.1

2

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

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

@@ -45,3 +45,4 @@ /* global hexo */

priority: theme.quicklink.priority
}
},
playerAPI: theme.playerAPI
}

@@ -48,0 +49,0 @@

const getDocHeight = () => $dom('main > .inner').offsetHeight;
const $dom = (selector, element = document) => {
if (selector.indexOf('#') === 0) {
return element.getElementById(selector.replace('#', ''));
if (selector[0] === '#') {
return element.getElementById(selector.substring(1));
}

@@ -6,0 +6,0 @@ return element.querySelector(selector);

@@ -391,3 +391,3 @@ let NOWPLAYING = null;

else {
fetch('https://api.i-meto.com/meting/api?server=' + meta[0] + '&type=' + meta[1] + '&id=' + meta[2] + '&r=' + Math.random())
fetch(`${CONFIG.playerAPI}/meting/api?server=` + meta[0] + '&type=' + meta[1] + '&id=' + meta[2] + '&r=' + Math.random())
.then(function (response) {

@@ -394,0 +394,0 @@ return response.json();

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