Socket
Socket
Sign inDemoInstall

@commercetools/frontend-netlify-plugin

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commercetools/frontend-netlify-plugin - npm Package Compare versions

Comparing version 0.0.5 to 0.1.0

2

package.json
{
"name": "@commercetools/frontend-netlify-plugin",
"version": "0.0.5",
"version": "0.1.0",
"description": "Netlify Build plugin - Commercetools Frontend build extension",

@@ -5,0 +5,0 @@ "type": "module",

@@ -24,2 +24,9 @@ import fetch from "node-fetch";

if (response) {
const repliedVersion = response.headers.get('Commercetools-Frontend-Extension-Version')
if (repliedVersion !== version) {
console.log(`Version mismatch, got answer from ${repliedVersion} instead of ${version}`)
return {up: false}
}
return await response.json()

@@ -30,3 +37,3 @@ }

}
return { up: false }
return {up: false}
}

@@ -47,3 +54,3 @@

console.log('Checking if extension is up, attempt: ', attempt)
const { up } = await checkBackend(shortCommitHash)
const {up} = await checkBackend(shortCommitHash)
if (!up) {

@@ -50,0 +57,0 @@ console.error(

@@ -33,3 +33,3 @@ import * as dotenv from 'dotenv'

if (process.env.NETLIFY_PLUGIN_COMMERCETOOLS_FRONTEND_WAIT_DISABLE !== "1") {
await waitForBackend(shortCommitHash, 35)
await waitForBackend(shortCommitHash, 40)
}

@@ -36,0 +36,0 @@ } catch (error) {

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