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.1.0 to 20.2.0

7

lib/files.js

@@ -17,3 +17,8 @@ import { resolve, relative, parse } from 'path';

// (if `baseRelDir` is `true`).
const FILE_PATH_CONFIG_PROPS = ['functionsDirectory', 'build.publish', 'build.edge_functions'];
const FILE_PATH_CONFIG_PROPS = [
'functionsDirectory',
'functions.*.deno_import_map',
'build.publish',
'build.edge_functions',
];
const resolvePaths = function (config, propNames, baseRel, repositoryRoot) {

@@ -20,0 +25,0 @@ return propNames.reduce((configA, propName) => resolvePathProp(configA, propName, baseRel, repositoryRoot), config);

@@ -39,2 +39,3 @@ import isPlainObj from 'is-plain-obj';

export const FUNCTION_CONFIG_PROPERTIES = new Set([
'deno_import_map',
'directory',

@@ -41,0 +42,0 @@ 'external_node_modules',

@@ -185,2 +185,10 @@ import CronParser from 'cron-parser';

{
property: 'functions.*.deno_import_map',
check: isString,
message: 'must be a string.',
example: (value, key, prevPath) => ({
functions: { [prevPath[1]]: { deno_import_map: 'path/to/import_map.json' } },
}),
},
{
property: 'functions.*.external_node_modules',

@@ -187,0 +195,0 @@ check: isArrayOfStrings,

4

package.json
{
"name": "@netlify/config",
"version": "20.1.0",
"version": "20.2.0",
"description": "Netlify config module",

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

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