@netlify/angular-runtime
Advanced tools
Comparing version 2.0.6 to 2.0.7
{ | ||
"name": "@netlify/angular-runtime", | ||
"version": "2.0.6", | ||
"version": "2.0.7", | ||
"description": "Netlify Angular Runtime - Run Angular seamlessly on Netlify.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -1,4 +0,1 @@ | ||
const { rm } = require('fs/promises') | ||
const { join } = require('path') | ||
const ensureNoCompetingPlugin = require('./helpers/ensureNoCompetingPlugin') | ||
@@ -14,9 +11,2 @@ const fixOutputDir = require('./helpers/fixOutputDir') | ||
module.exports = { | ||
async onDev({ constants }) { | ||
// during local dev, the angular dev server will perform SSR, | ||
// and we won't have the server output to generate the edge function. | ||
// removing any edge function generated by a previous build ensures we don't try to use it. | ||
const edgeFunctionDir = join(constants.INTERNAL_EDGE_FUNCTIONS_SRC, 'angular-ssr') | ||
await rm(edgeFunctionDir, { recursive: true }) | ||
}, | ||
async onPreBuild({ netlifyConfig, utils, constants }) { | ||
@@ -23,0 +13,0 @@ const { failBuild, failPlugin } = utils.build |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
5
17553
257