Socket
Socket
Sign inDemoInstall

netlify-purge-cloudflare-on-deploy

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.3 to 1.0.4

5

index.js

@@ -8,2 +8,7 @@ const fetch = require('node-fetch');

module.exports = {
onPreBuild: ({utils}) =>
if(!CLOUDFLARE_API_KEY || !CLOUDFLARE_ZONE_ID || !CLOUDFLARE_EMAIL) {
return utils.build.failBuild('You need to add CLOUDFLARE_API_KEY, CLOUDFLARE_ZONE_ID and CLOUDFLARE_EMAIL to your Netlify environment variables.')
}
}
async onEnd({

@@ -10,0 +15,0 @@ inputs,

2

package.json
{
"name": "netlify-purge-cloudflare-on-deploy",
"version": "1.0.3",
"version": "1.0.4",
"description": "Automatically purge Cloudflare cache on Netlify deploy.",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc