@sveltejs/vite-plugin-svelte
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "@sveltejs/vite-plugin-svelte", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"license": "MIT", | ||
@@ -62,11 +62,10 @@ "author": "dominikg", | ||
"devDependencies": { | ||
"@sveltejs/kit": "^1.0.0-next.370", | ||
"@types/debug": "^4.1.7", | ||
"@types/diff-match-patch": "^1.0.32", | ||
"diff-match-patch": "^1.0.5", | ||
"esbuild": "^0.14.49", | ||
"rollup": "^2.76.0", | ||
"esbuild": "^0.15.3", | ||
"rollup": "^2.78.0", | ||
"svelte": "^3.49.0", | ||
"tsup": "^6.1.3", | ||
"vite": "^3.0.0" | ||
"tsup": "^6.2.2", | ||
"vite": "^3.0.8" | ||
}, | ||
@@ -73,0 +72,0 @@ "scripts": { |
@@ -108,3 +108,3 @@ import { ModuleNode, HmrContext } from 'vite'; | ||
* | ||
* 1) add_location() calls. These add location metadata to elements, only useful for tooling like sapper studio | ||
* 1) add_location() calls. These add location metadata to elements, only used by some dev tools | ||
* 2) ... maybe more (or less) in the future | ||
@@ -111,0 +111,0 @@ * @param code |
@@ -47,3 +47,3 @@ import { Plugin, normalizePath } from 'vite'; | ||
const out_dir = path.basename(vps.api.options.kit.outDir || '.svelte-kit'); | ||
inspectorOptions.appendTo = `${out_dir}/runtime/client/start.js`; | ||
inspectorOptions.appendTo = `${out_dir}/generated/root.svelte`; | ||
} | ||
@@ -50,0 +50,0 @@ appendTo = inspectorOptions.appendTo; |
Sorry, the diff of this file is not supported yet
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
Uses eval
Supply chain riskPackage uses eval() which is a dangerous function. This prevents the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses eval() which is a dangerous function. This prevents the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
523047
8
6914