🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@kingt/kt-tool

Package Overview
Dependencies
Maintainers
2
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kingt/kt-tool - npm Package Compare versions

Comparing version
1.6.7
to
1.6.8
+1
-1
package.json
{
"name": "@kingt/kt-tool",
"version": "1.6.7",
"version": "1.6.8",
"description": "初始化公共方法,引用测试,_kt_引入",

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

@@ -45,3 +45,3 @@ // export const tool = {

/**
* 清除以 'kt-init' 开头的 localStorage 数据
* 清除以 'kt-int' 开头的 localStorage 数据
* @returns 无返回值

@@ -51,3 +51,3 @@ */

Object.keys(localStorage).forEach((key) => {
if (key.startsWith('kt-init')) {
if (key.startsWith('kt-int')) {
localStorage.removeItem(key)

@@ -101,3 +101,3 @@ }

/**
* 清除以 'kt-init' 开头的 sessionStorage 数据
* 清除以 'kt-int' 开头的 sessionStorage 数据
* @returns 无返回值

@@ -107,3 +107,3 @@ */

Object.keys(sessionStorage).forEach((key) => {
if (key.startsWith('kt-init')) {
if (key.startsWith('kt-int')) {
sessionStorage.removeItem(key)

@@ -110,0 +110,0 @@ }