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

@konsumation/frontend-svelte

Package Overview
Dependencies
Maintainers
2
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@konsumation/frontend-svelte - npm Package Compare versions

Comparing version 1.31.19 to 1.31.20

14

package.json
{
"name": "@konsumation/frontend-svelte",
"version": "1.31.19",
"version": "1.31.20",
"publishConfig": {

@@ -41,5 +41,5 @@ "access": "public"

"streamsaver": "^2.0.6",
"svelte-command": "^1.1.16",
"svelte-common": "^4.6.1",
"svelte-guard-history-router": "^4.6.16",
"svelte-command": "^1.1.17",
"svelte-common": "^4.6.3",
"svelte-guard-history-router": "^4.6.17",
"svelte-session-manager": "^2.0.10",

@@ -61,6 +61,6 @@ "the-new-css-reset": "^1.7.2"

"testcafe": "^1.19.0",
"vite": "^2.9.12"
"vite": "^2.9.13"
},
"optionalDependencies": {
"mf-hosting": "^1.6.3"
"mf-hosting": "^1.7.0"
},

@@ -90,3 +90,3 @@ "repository": {

"http.api.path": "{{http.path}}/api",
"http.path": "/services/konsum",
"http.path": "${http.base.path}/konsum",
"install.dir": "${install.base.dir}konsum/frontend/",

@@ -93,0 +93,0 @@ "name": "konsum-frontend-svelte"

@@ -1,2 +0,1 @@

import { readFile } from "fs/promises";
import { mkdirSync, readFileSync } from "fs";

@@ -10,8 +9,13 @@ import { execFile } from "child_process";

export default defineConfig(async ({ command, mode }) => {
const pkg = JSON.parse(
await readFile(
new URL("package.json", import.meta.url).pathname,
encodingOptions
)
const { extractFromPackage } = await import(
new URL("node_modules/npm-pkgbuild/src/module.mjs", import.meta.url)
);
const res = extractFromPackage({
dir: new URL("./", import.meta.url).pathname
});
const first = await res.next();
const pkg = first.value;
const properties = pkg.properties;
const base = properties["http.path"] + "/";
const api = properties['http.api.path'];

@@ -41,5 +45,2 @@ const production = mode === "production";

const base = pkg.pkgbuild['http.base.path'] + '/';
const api = pkg.pkgbuild['http.api.path'];
process.env["VITE_API"] = api;

@@ -46,0 +47,0 @@ process.env["VITE_NAME"] = pkg.name;

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