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

@xiee/utils

Package Overview
Dependencies
Maintainers
1
Versions
203
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xiee/utils - npm Package Compare versions

Comparing version 1.3.9 to 1.3.10

2

js/toggle-notes.js
(function(d) {
if (!d.body.classList.contains('has-notes')) return;
const h = d.querySelector('.title > hr');
const h = d.querySelector('.author');
if (!h) return;

@@ -5,0 +5,0 @@ let s = sessionStorage.getItem('hide-notes');

@@ -1,1 +0,1 @@

!function(t){if(!t.body.classList.contains("has-notes"))return;const e=t.querySelector(".title > hr");if(!e)return;let s=sessionStorage.getItem("hide-notes");e.classList.add("toggle-notes"),e.onclick=function(e){null===s&&!/^(localhost|[0-9.]+)$/.test(location.hostname)&&alert("你好像点了个神秘开关……请勿公开,自行阅读即可(再次点击可关闭),谢谢!"),s=t.body.classList.toggle("hide-notes");try{sessionStorage.setItem("hide-notes",s)}catch(e){}},null!==s&&t.body.classList.toggle("hide-notes","true"===s)}(document);
!function(t){if(!t.body.classList.contains("has-notes"))return;const e=t.querySelector(".author");if(!e)return;let s=sessionStorage.getItem("hide-notes");e.classList.add("toggle-notes"),e.onclick=function(e){null===s&&!/^(localhost|[0-9.]+)$/.test(location.hostname)&&alert("你好像点了个神秘开关……请勿公开,自行阅读即可(再次点击可关闭),谢谢!"),s=t.body.classList.toggle("hide-notes");try{sessionStorage.setItem("hide-notes",s)}catch(e){}},null!==s&&t.body.classList.toggle("hide-notes","true"===s)}(document);
{
"name": "@xiee/utils",
"version": "1.3.9",
"version": "1.3.10",
"description": "Miscellaneous tools and utilities to manipulate HTML pages",

@@ -5,0 +5,0 @@ "scripts": {

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