Socket
Socket
Sign inDemoInstall

vconsole

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vconsole - npm Package Compare versions

Comparing version 3.9.0 to 3.9.1

7

CHANGELOG_CN.md
[English](./CHANGELOG.md) | 简体中文
#### 3.9.1 (2021-07-27)
- `Fix(Log)` 修正命令行输入框样式。 (PR #437 by @FredZeng)
- `Fix(Storage)` 修复由 `globalThis` 引起的报错。 (issue #438 #439)
- `Chore` 修复由 Svelte 引起的 `const` `let` 报错。 (PR #440 by @dellyoung)
#### 3.9.0 (2021-07-16)

@@ -4,0 +11,0 @@

English | [简体中文](./CHANGELOG_CN.md)
#### 3.9.1 (2021-07-27)
- `Fix(Log)` Fix command input style. (PR #437 by @FredZeng)
- `Fix(Storage)` Fix `globalThis` error. (issue #438 #439)
- `Chore` Fix `const` `let` error cause by Svelte. (PR #440 by @dellyoung)
#### 3.9.0 (2021-07-16)

@@ -4,0 +11,0 @@

2

package.json
{
"name": "vconsole",
"version": "3.9.0",
"version": "3.9.1",
"description": "A lightweight, extendable front-end developer tool for mobile web page.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/Tencent/vConsole",

@@ -10,9 +10,10 @@ import { cookiesStorage } from '../../lib/cookiesStorage';

const storages: IStorageItem[] = [];
const that = globalThis || window;
if (document.cookie !== undefined) {
storages.push({ name: 'cookies', storage: cookiesStorage });
}
if (globalThis.localStorage) {
if (that.localStorage) {
storages.push({ name: 'localStorage', storage: localStorage });
}
if (globalThis.sessionStorage) {
if (that.sessionStorage) {
storages.push({ name: 'sessionStorage', storage: sessionStorage });

@@ -19,0 +20,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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