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

gitbook-plugin-lock

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitbook-plugin-lock - npm Package Compare versions

Comparing version 0.0.69 to 0.0.70

18

index.js

@@ -40,10 +40,10 @@

let authToken= window.localStorage.getItem(lockTokenKey)
if (authToken!==isNaN(0)||authToken!==""||authToken!==undefined) {
for (let i in verificationCode) {
if (verificationCode[i]["value"] === authToken) {
return true;
}
}
}
// let authToken= window.localStorage.getItem(lockTokenKey)
// if (authToken!==isNaN(0)||authToken!==""||authToken!==undefined) {
// for (let i in verificationCode) {
// if (verificationCode[i]["value"] === authToken) {
// return true;
// }
// }
// }

@@ -92,3 +92,3 @@ const cla = document.getElementById("book-search-results");

rm.parentNode.removeChild(rm)
window.localStorage.setItem(lockTokenKey,thisValue)
// window.localStorage.setItem(lockTokenKey,thisValue)
} else {

@@ -95,0 +95,0 @@ alert("验证码不正确!")

{
"name": "gitbook-plugin-lock",
"version": "0.0.69",
"version": "0.0.70",
"description": "Gitbook 页面加锁",

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

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