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

vite-plugin-symfony

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-symfony - npm Package Compare versions

Comparing version 6.4.0 to 6.4.1

4

dist/index.js

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

const availableKeys = Object.keys(allVars).filter((key) => exposedEnvVars.indexOf(key) !== -1);
const extraDefine = Object.fromEntries(availableKeys.map((key) => [key, JSON.stringify(allVars[key])]));
const extraDefine = Object.fromEntries(
availableKeys.map((key) => [`import.meta.env.${key}`, JSON.stringify(allVars[key])])
);
return {

@@ -266,0 +268,0 @@ ...extraDefine,

@@ -80,3 +80,3 @@ var __create = Object.create;

const app = import_stimulus.Application.start();
app.debug = true;
app.debug = process.env.NODE_ENV === "development";
for (const controllerName in import_controllers.default) {

@@ -83,0 +83,0 @@ if (!import_controllers.default.hasOwnProperty(controllerName)) {

{
"name": "vite-plugin-symfony",
"version": "6.4.0",
"version": "6.4.1",
"description": "A Vite plugin to integrate easily Vite in your Symfony application",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -283,3 +283,5 @@ import { loadEnv, type ResolvedConfig } from "vite";

const availableKeys = Object.keys(allVars).filter((key) => exposedEnvVars.indexOf(key) !== -1);
const extraDefine = Object.fromEntries(availableKeys.map((key) => [key, JSON.stringify(allVars[key])]));
const extraDefine = Object.fromEntries(
availableKeys.map((key) => [`import.meta.env.${key}`, JSON.stringify(allVars[key])]),
);

@@ -286,0 +288,0 @@ return {

@@ -35,4 +35,5 @@ import { Application, Controller } from "@hotwired/stimulus";

const app = Application.start();
app.debug = true;
app.debug = process.env.NODE_ENV === "development";
for (const controllerName in thirdPartyControllers) {

@@ -39,0 +40,0 @@ // eslint-disable-next-line no-prototype-builtins

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