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.3 to 2.0.4

14

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

@@ -20,9 +20,7 @@ "main": "src/index.js",

"format:fix:prettier": "cross-env-shell prettier --write $npm_package_config_prettier",
"prepublishOnly": "run-s prepublishOnly:*",
"prepublishOnly:checkout": "git checkout main",
"prepublishOnly:pull": "git pull",
"prepublishOnly:install": "npm ci",
"prepublishOnly:test": "npm test",
"pretest:demo": "cd demo && npm ci && netlify build --cwd . --offline && cd ..",
"pretest:fixtures": "cd tests/fixtures/non-angular-project && npm ci",
"prepublishOnly": "npm ci && npm test",
"pretest:demo": "cd demo && npm ci && netlify build --cwd . --offline",
"pretest:fixtures": "run-s pretest:fixtures:*",
"pretest:fixtures:non-angular-project": "cd tests/fixtures/non-angular-project && npm ci",
"pretest:fixtures:missing-angular-deps": "cd tests/fixtures/missing-angular-deps && npm ci",
"pretest": "run-s pretest:*",

@@ -29,0 +27,0 @@ "test": "node --test"

@@ -10,5 +10,8 @@ const { readJSON } = require('fs-extra')

const validateAngularVersion = async function (root) {
// eslint-disable-next-line n/no-missing-require
const packagePath = require.resolve('@angular/core/package.json', { paths: [root] })
if (!packagePath) {
let packagePath
try {
// eslint-disable-next-line n/no-missing-require
packagePath = require.resolve('@angular/core/package.json', { paths: [root] })
} catch {
// module not found
console.warn('This site does not seem to be using Angular.')

@@ -15,0 +18,0 @@ return false

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