Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@netlify/angular-runtime

Package Overview
Dependencies
Maintainers
19
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@netlify/angular-runtime - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

8

package.json
{
"name": "@netlify/angular-runtime",
"version": "2.0.2",
"version": "2.0.3",
"description": "Netlify Angular Runtime - Run Angular seamlessly on Netlify.",

@@ -25,3 +25,6 @@ "main": "src/index.js",

"prepublishOnly:test": "npm test",
"test": "cd demo && npm ci && netlify build --cwd . --offline && cd .. && node --test"
"pretest:demo": "cd demo && npm ci && netlify build --cwd . --offline && cd ..",
"pretest:fixtures": "cd tests/fixtures/non-angular-project && npm ci",
"pretest": "run-s pretest:*",
"test": "node --test"
},

@@ -61,2 +64,3 @@ "repository": {

"netlify-cli": "^17.2.0",
"@netlify/build": "^29.28.2",
"npm-run-all": "^4.1.5",

@@ -63,0 +67,0 @@ "prettier": "^2.1.2"

@@ -6,4 +6,4 @@ const { join } = require('path')

const fixOutputDir = async function ({ failBuild, siteRoot, PUBLISH_DIR, IS_LOCAL, netlifyConfig }) {
const angularJson = getAngularJson({ failBuild, siteRoot })
const fixOutputDir = async function ({ failBuild, failPlugin, siteRoot, PUBLISH_DIR, IS_LOCAL, netlifyConfig }) {
const angularJson = getAngularJson({ failPlugin, siteRoot })
const project = getProject(angularJson)

@@ -10,0 +10,0 @@

@@ -22,3 +22,4 @@ const { rm } = require('fs/promises')

async onPreBuild({ netlifyConfig, utils, constants }) {
const siteRoot = getAngularRoot({ netlifyConfig })
const { failBuild, failPlugin } = utils.build
const siteRoot = getAngularRoot({ failBuild, netlifyConfig })
isValidAngularProject = await validateAngularVersion(siteRoot)

@@ -30,3 +31,3 @@ if (!isValidAngularProject) {

ensureNoCompetingPlugin(siteRoot, utils.build.failBuild)
ensureNoCompetingPlugin(siteRoot, failBuild)

@@ -37,3 +38,4 @@ netlifyConfig.build.command ??= 'npm run build'

siteRoot,
failBuild: utils.build.failBuild,
failBuild,
failPlugin,
PUBLISH_DIR: constants.PUBLISH_DIR,

@@ -49,6 +51,6 @@ IS_LOCAL: constants.IS_LOCAL,

const { failBuild } = utils.build
const { failBuild, failPlugin } = utils.build
const siteRoot = getAngularRoot({ netlifyConfig })
const angularJson = getAngularJson({ failBuild, siteRoot })
const siteRoot = getAngularRoot({ failBuild, netlifyConfig })
const angularJson = getAngularJson({ failPlugin, siteRoot })

@@ -55,0 +57,0 @@ await setUpEdgeFunction({

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