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

@sveltejs/vite-plugin-svelte-inspector

Package Overview
Dependencies
Maintainers
4
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sveltejs/vite-plugin-svelte-inspector - npm Package Compare versions

Comparing version 2.0.0-next.0 to 2.0.0-next.1

src/public.d.ts

26

package.json
{
"name": "@sveltejs/vite-plugin-svelte-inspector",
"version": "2.0.0-next.0",
"version": "2.0.0-next.1",
"license": "MIT",
"author": "dominikg",
"files": [
"src"
"src",
"types"
],
"type": "module",
"types": "src/index.d.ts",
"types": "types/index.d.ts",
"exports": {
".": {
"types": "./src/index.d.ts",
"import": "./src/index.js"
"import": {
"types": "./types/index.d.ts",
"default": "./src/index.js"
}
}

@@ -39,15 +42,16 @@ },

"peerDependencies": {
"@sveltejs/vite-plugin-svelte": "^3.0.0-next.0 || ^3.0.0",
"svelte": "^4.0.0",
"vite": "^5.0.0-beta.1 || ^5.0.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0-next.0"
"vite": "^5.0.0-beta.1 || ^5.0.0"
},
"devDependencies": {
"@types/debug": "^4.1.8",
"svelte": "^4.2.0",
"vite": "^5.0.0-beta.1"
"@types/debug": "^4.1.10",
"svelte": "^4.2.2",
"vite": "^5.0.0-beta.12"
},
"scripts": {
"check:publint": "publint --strict",
"check:types": "tsc --noEmit"
"check:types": "tsc --noEmit",
"generate:types": "dts-buddy -m \"@sveltejs/vite-plugin-svelte-inspector:src/public.d.ts\""
}
}

@@ -17,3 +17,6 @@ import { normalizePath } from 'vite';

/** @type {import('.').svelteInspector} */
/**
* @param {Partial<import('./public.d.ts').Options>} [options]
* @returns {import('vite').Plugin}
*/
export function svelteInspector(options) {

@@ -25,3 +28,3 @@ const inspectorPath = getInspectorPath();

let viteConfig;
/** @type {import('.').Options} */
/** @type {import('./public.d.ts').Options} */
let inspectorOptions;

@@ -28,0 +31,0 @@ let disabled = false;

import { loadEnv } from 'vite';
import { debug } from './debug.js';
/** @type {import('.').Options} */
/** @type {import('./public.d.ts').Options} */
export const defaultInspectorOptions = {

@@ -17,3 +17,3 @@ toggleKeyCombo: process.platform === 'darwin' ? 'meta-shift' : 'control-shift',

* @param {import('vite').ResolvedConfig} config
* @returns {Partial<import('.').Options> | boolean | void}
* @returns {Partial<import('./public.d.ts').Options> | boolean | void}
*/

@@ -20,0 +20,0 @@ export function parseEnvironmentOptions(config) {

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