svelte-entitlement
Advanced tools
Comparing version 1.2.25 to 1.2.26
{ | ||
"name": "svelte-entitlement", | ||
"version": "1.2.25", | ||
"version": "1.2.26", | ||
"svelte": "./src/index.svelte", | ||
@@ -13,6 +13,6 @@ "keywords": [ | ||
"prepare": "vite build", | ||
"start": "vite dev", | ||
"start": "vite", | ||
"test": "npm run test:ava && npm run test:cafe", | ||
"test:ava": "ava --timeout 2m tests/*.mjs", | ||
"test:cafe": "testcafe $BROWSER:headless tests/cafe/*.js -s build/test --page-request-timeout 9000 --app-init-delay 3000 --app \"vite\"", | ||
"test:cafe": "testcafe $BROWSER:headless tests/cafe/*.js -s build/test --page-request-timeout 9000 --app-init-delay 3000 --app vite", | ||
"cover": "c8 -x 'tests/**/*' --temp-directory build/tmp ava --timeout 2m tests/*.mjs && c8 report -r lcov -o build/coverage --temp-directory build/tmp", | ||
@@ -36,3 +36,3 @@ "docs": "documentation readme --section=API ./src/**/*.mjs", | ||
"mf-styling": "^1.2.26", | ||
"npm-pkgbuild": "^10.11.2", | ||
"npm-pkgbuild": "^10.11.3", | ||
"semantic-release": "^19.0.3", | ||
@@ -39,0 +39,0 @@ "svelte": "^3.49.0", |
import { svelte } from "@sveltejs/vite-plugin-svelte"; | ||
//import { extractFromPackage } from "npm-pkgbuild/src/module.mjs"; | ||
import { defineConfig } from "vite"; | ||
@@ -22,2 +21,4 @@ | ||
const open = process.env.CI ? {} : { open: base }; | ||
return { | ||
@@ -34,8 +35,3 @@ base, | ||
], | ||
optimizeDeps: { | ||
exclude: [ | ||
...Object.keys(pkg.dependencies).filter(d => d.startsWith("svelte")) | ||
] | ||
}, | ||
server: { host: true }, | ||
server: { host: true, ...open }, | ||
build: { | ||
@@ -42,0 +38,0 @@ outDir: "../../../build", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8424
65
4