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.57 to 0.0.58

4

assets/lock.js

@@ -12,4 +12,4 @@ require(['gitbook', 'jQuery'], function(gitbook, $) {

function insertPageLock(e) {
let s = e.page.context.toString().search("%pageLock%")
console.log(s,e.page.toString())
let s = e.context.toString().search("%pageLock%")
console.log(s,e.toString())
let authToken= localStorage.getItem(lockTokenKey)

@@ -16,0 +16,0 @@ if (authToken!==isNaN(0)||authToken!==""||authToken!==undefined) {

{
"name": "gitbook-plugin-lock",
"version": "0.0.57",
"version": "0.0.58",
"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