New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@netlify/config

Package Overview
Dependencies
Maintainers
19
Versions
438
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@netlify/config - npm Package Compare versions

Comparing version 20.2.0 to 20.3.0

4

lib/mutations/update.js

@@ -13,3 +13,3 @@ import { promises as fs } from 'fs';

// If `netlify.toml` does not exist, creates it. Otherwise, merges the changes.
export const updateConfig = async function (configMutations, { buildDir, configPath, headersPath, redirectsPath, context, branch, logs, featureFlags }) {
export const updateConfig = async function (configMutations, { buildDir, configPath, headersPath, outputConfigPath = configPath, redirectsPath, context, branch, logs, featureFlags, }) {
if (configMutations.length === 0) {

@@ -26,3 +26,3 @@ return;

await Promise.all([
saveConfig(configPath, simplifiedConfig),
saveConfig(outputConfigPath, simplifiedConfig),
deleteSideFile(headersPath),

@@ -29,0 +29,0 @@ deleteSideFile(redirectsPath),

{
"name": "@netlify/config",
"version": "20.2.0",
"version": "20.3.0",
"description": "Netlify config module",

@@ -98,3 +98,3 @@ "type": "module",

},
"gitHead": "48bc6057d30ef3c5173629d4345f804271c0a426"
"gitHead": "87d6d9344ac37b4c40b70c582958347c0f7fd8eb"
}
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