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
20
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.6.2 to 20.6.3

11

lib/api/site_info.js

@@ -14,7 +14,12 @@ import fetch from 'node-fetch';

const { env: testEnv = true } = testOpts;
const fetchIntegrations = featureFlags.buildbot_fetch_integrations;
if (api === undefined || mode === 'buildbot' || !testEnv) {
const siteInfo = siteId === undefined ? {} : { id: siteId };
return { siteInfo, accounts: [], addons: [] };
let integrations = [];
if (fetchIntegrations && api !== undefined && !testEnv) {
// we still want to fetch integrations within buildbot
integrations = await getIntegrations({ api, ownerType: 'site', ownerId: siteId, testOpts });
}
return { siteInfo, accounts: [], addons: [], integrations };
}
const fetchIntegrations = featureFlags.buildbot_fetch_integrations;
const promises = [getSite(api, siteId, siteFeatureFlagPrefix), getAccounts(api), getAddons(api, siteId)];

@@ -29,3 +34,3 @@ if (fetchIntegrations) {

}
return { siteInfo, accounts, addons, integrations: integrations };
return { siteInfo, accounts, addons, integrations };
};

@@ -32,0 +37,0 @@ const getSite = async function (api, siteId, siteFeatureFlagPrefix = null) {

{
"name": "@netlify/config",
"version": "20.6.2",
"version": "20.6.3",
"description": "Netlify config module",

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

},
"gitHead": "487f1b282fed53beeb3ea17db151a741535ba8fc"
"gitHead": "28f104de3b83def70a633289c72c70c9c7360ce0"
}
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