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.12.0 to 3.12.1

build/vendor.d.ts

6

CHANGELOG_CN.md
[English](./CHANGELOG.md) | 简体中文
## 3.12.1 (2022-02-25)
- `Fix(Core)` 修复当 VConsole 作为新模块 `import` 时 `VConsole.instance` 为空的问题。
- `Chore(Core)` 修复由外部依赖库引起的 TypeScript 类型声明错误问题。
## 3.12.0 (2022-02-17)

@@ -4,0 +10,0 @@

English | [简体中文](./CHANGELOG_CN.md)
## 3.12.1 (2022-02-25)
- `Fix(Core)` Fix bug that `VConsole.instance` is empty when VConsole `import` as a new module.
- `Chore(Core)` Fix type declaration errors caused by vendors.
## 3.12.0 (2022-02-17)

@@ -4,0 +10,0 @@

51

dist/vconsole.min.d.ts

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

/// <reference path="../build/vendor.d.ts" />
declare module "core/options.interface" {

@@ -264,3 +266,3 @@ export interface VConsoleLogOptions {

import VConsolePlugin from "lib/plugin";
import { SvelteComponent } from 'svelte';
import { SvelteComponent } from "vendor/svelte";
export class VConsoleSveltePlugin<T extends {} = {}> extends VConsolePlugin {

@@ -278,11 +280,11 @@ CompClass: typeof SvelteComponent;

export const contentStore: {
subscribe: (this: void, run: import("svelte/store").Subscriber<{
subscribe: (this: void, run: import("vendor/svelte/store").Subscriber<{
updateTime: number;
}>, invalidate?: (value?: {
updateTime: number;
}) => void) => import("svelte/store").Unsubscriber;
}) => void) => import("vendor/svelte/store").Unsubscriber;
set: (this: void, value: {
updateTime: number;
}) => void;
update: (this: void, updater: import("svelte/store").Updater<{
update: (this: void, updater: import("vendor/svelte/store").Updater<{
updateTime: number;

@@ -332,3 +334,3 @@ }>) => void;

declare module "log/log.store" {
import type { Writable } from 'svelte/store';
import type { Writable } from "vendor/svelte/store";
import type { IVConsoleLog } from "log/log.model";

@@ -593,3 +595,3 @@ export interface IVConsoleLogStore {

*/
export const requestList: import("svelte/store").Writable<{
export const requestList: import("vendor/svelte/store").Writable<{
[id: string]: VConsoleNetworkRequestItem;

@@ -680,7 +682,7 @@ }>;

*/
export const rootNode: import("svelte/store").Writable<IVConsoleNode>;
export const activedNode: import("svelte/store").Writable<IVConsoleNode>;
export const rootNode: import("vendor/svelte/store").Writable<IVConsoleNode>;
export const activedNode: import("vendor/svelte/store").Writable<IVConsoleNode>;
}
declare module "element/element" {
import MutationObserver from 'mutation-observer';
import MutationObserver from "vendor/mutation-observer";
import { VConsoleSveltePlugin } from "lib/sveltePlugin";

@@ -809,3 +811,3 @@ import type { IVConsoleNode } from "element/element.model";

*/
import type { SvelteComponent } from 'svelte';
import type { SvelteComponent } from "vendor/svelte";
import type { VConsoleOptions } from "core/options.interface";

@@ -832,3 +834,2 @@ import { VConsolePlugin } from "lib/plugin";

network: VConsoleNetworkExporter;
static instance: VConsole;
static VConsolePlugin: typeof VConsolePlugin;

@@ -843,2 +844,10 @@ static VConsoleLogPlugin: typeof VConsoleLogPlugin;

/**
* Get singleton instance.
**/
static get instance(): VConsole | undefined;
/**
* Set singleton instance.
**/
static set instance(value: VConsole | undefined);
/**
* Add built-in plugins.

@@ -924,23 +933,5 @@ */

*/
import 'core-js/stable/symbol';
import "vendor/core-js/stable/symbol";
import { VConsole } from "core/core";
export default VConsole;
}
declare module "lib/mito" {
/**
* Mito.js
* A simple template engine
*
* @author Maiz
*/
export default class Mito {
/**
* Render `tpl` with `data` into a HTML string.
*/
render<T extends true>(tpl: string, data: any, toString: T): string;
/**
* Render `tpl` with `data` into a HTML element.
*/
render<T extends false>(tpl: string, data: any, toString?: T): Element;
}
}
{
"name": "vconsole",
"version": "3.12.0",
"version": "3.12.1",
"description": "A lightweight, extendable front-end developer tool for mobile web page.",

@@ -8,2 +8,3 @@ "homepage": "https://github.com/Tencent/vConsole",

"dist/*",
"build/vendor.d.ts",
"CHANGELOG*",

@@ -16,3 +17,3 @@ "README*"

"build": "webpack --mode=production --progress",
"build:typings": "tsc --build tsconfig.type.json",
"build:typings": "node ./build/build.typings.js",
"build:dev": "webpack --mode=development --progress",

@@ -19,0 +20,0 @@ "watch": "webpack --mode=development --watch --progress",

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

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