Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vue/devtools-shared

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/devtools-shared - npm Package Compare versions

Comparing version 7.0.27 to 7.1.0

11

dist/index.d.ts

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

import * as _vueuse_core from '@vueuse/core';
import { UseColorModeOptions } from '@vueuse/core';
declare const isBrowser: boolean;

@@ -31,3 +34,9 @@ declare const target: typeof globalThis;

declare const BROADCAST_CHANNEL_NAME = "__vue-devtools-broadcast-channel__";
declare const THEME_KEY = "__vue-devtools-theme__";
export { BROADCAST_CHANNEL_NAME, NOOP, VIEW_MODE_STORAGE_KEY, VITE_PLUGIN_CLIENT_URL_STORAGE_KEY, VITE_PLUGIN_DETECTED_STORAGE_KEY, basename, camelize, classify, deepClone, isArray, isBrowser, isInChromePanel, isInElectron, isInIframe, isMacOS, isMap, isNumeric, isNuxtApp, isObject, isSet, kebabize, randomStr, sortByKey, target };
declare function useDevToolsColorMode(options?: Omit<UseColorModeOptions, 'storageKey'>): {
colorMode: _vueuse_core.UseColorModeReturn<_vueuse_core.BasicColorMode>;
isDark: globalThis.ComputedRef<boolean>;
};
export { BROADCAST_CHANNEL_NAME, NOOP, THEME_KEY, VIEW_MODE_STORAGE_KEY, VITE_PLUGIN_CLIENT_URL_STORAGE_KEY, VITE_PLUGIN_DETECTED_STORAGE_KEY, basename, camelize, classify, deepClone, isArray, isBrowser, isInChromePanel, isInElectron, isInIframe, isMacOS, isMap, isNumeric, isNuxtApp, isObject, isSet, kebabize, randomStr, sortByKey, target, useDevToolsColorMode };

@@ -30,5 +30,5 @@ var __create = Object.create;

// ../../node_modules/.pnpm/tsup@8.0.2_postcss@8.4.38_typescript@5.4.4/node_modules/tsup/assets/esm_shims.js
// ../../node_modules/.pnpm/tsup@8.0.2_postcss@8.4.38_typescript@5.4.5/node_modules/tsup/assets/esm_shims.js
var init_esm_shims = __esm({
"../../node_modules/.pnpm/tsup@8.0.2_postcss@8.4.38_typescript@5.4.4/node_modules/tsup/assets/esm_shims.js"() {
"../../node_modules/.pnpm/tsup@8.0.2_postcss@8.4.38_typescript@5.4.5/node_modules/tsup/assets/esm_shims.js"() {
"use strict";

@@ -325,5 +325,22 @@ }

var BROADCAST_CHANNEL_NAME = "__vue-devtools-broadcast-channel__";
var THEME_KEY = "__vue-devtools-theme__";
// src/theme.ts
init_esm_shims();
import { useColorMode } from "@vueuse/core";
import { computed } from "vue";
function useDevToolsColorMode(options = {}) {
const colorMode = useColorMode({
...options,
storageKey: THEME_KEY
});
return {
colorMode,
isDark: computed(() => colorMode.value === "dark")
};
}
export {
BROADCAST_CHANNEL_NAME,
NOOP,
THEME_KEY,
VIEW_MODE_STORAGE_KEY,

@@ -350,3 +367,4 @@ VITE_PLUGIN_CLIENT_URL_STORAGE_KEY,

sortByKey,
target
target,
useDevToolsColorMode
};
{
"name": "@vue/devtools-shared",
"type": "module",
"version": "7.0.27",
"version": "7.1.0",
"author": "webfansplz",

@@ -18,2 +18,14 @@ "license": "MIT",

],
"peerDependencies": {
"@vueuse/core": ">=10.0.0",
"vue": ">=3.2.0"
},
"peerDependenciesMeta": {
"@vueuse/core": {
"optional": true
},
"vue": {
"optional": true
}
},
"dependencies": {

@@ -23,3 +35,3 @@ "rfdc": "^1.3.1"

"devDependencies": {
"@types/node": "^20.12.5"
"@types/node": "^20.12.7"
},

@@ -26,0 +38,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

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