New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@angular-devkit/build-angular

Package Overview
Dependencies
Maintainers
2
Versions
756
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular-devkit/build-angular - npm Package Compare versions

Comparing version 17.3.11 to 17.3.12

12

package.json
{
"name": "@angular-devkit/build-angular",
"version": "17.3.11",
"version": "17.3.12",
"description": "Angular Webpack Build Facade",

@@ -10,5 +10,5 @@ "main": "src/index.js",

"@ampproject/remapping": "2.3.0",
"@angular-devkit/architect": "0.1703.11",
"@angular-devkit/build-webpack": "0.1703.11",
"@angular-devkit/core": "17.3.11",
"@angular-devkit/architect": "0.1703.12",
"@angular-devkit/build-webpack": "0.1703.12",
"@angular-devkit/core": "17.3.12",
"@babel/core": "7.24.0",

@@ -24,3 +24,3 @@ "@babel/generator": "7.23.6",

"@discoveryjs/json-ext": "0.5.7",
"@ngtools/webpack": "17.3.11",
"@ngtools/webpack": "17.3.12",
"@vitejs/plugin-basic-ssl": "1.1.0",

@@ -67,3 +67,3 @@ "ansi-colors": "4.1.3",

"undici": "6.11.1",
"vite": "5.1.8",
"vite": "5.4.14",
"watchpack": "2.4.0",

@@ -70,0 +70,0 @@ "webpack": "5.94.0",

@@ -70,5 +70,2 @@ "use strict";

}
if (options.allowedHosts?.length) {
context.logger.warn(`The "allowedHosts" option will not be used because it is not supported by the "${builderName}" builder.`);
}
if (options.publicHost) {

@@ -75,0 +72,0 @@ context.logger.warn(`The "publicHost" option will not be used because it is not supported by the "${builderName}" builder.`);

@@ -6,4 +6,3 @@ /**

/**
* List of hosts that are allowed to access the dev server. This option has no effect when
* using the 'application' or other esbuild-based builders.
* List of hosts that are allowed to access the dev server.
*/

@@ -10,0 +9,0 @@ allowedHosts?: string[];

@@ -76,3 +76,3 @@ {

"type": "array",
"description": "List of hosts that are allowed to access the dev server. This option has no effect when using the 'application' or other esbuild-based builders.",
"description": "List of hosts that are allowed to access the dev server.",
"default": [],

@@ -79,0 +79,0 @@ "items": {

@@ -362,2 +362,3 @@ "use strict";

open: serverOptions.open,
allowedHosts: serverOptions.allowedHosts,
headers: serverOptions.headers,

@@ -364,0 +365,0 @@ proxy,

@@ -51,6 +51,3 @@ "use strict";

if (relativeFile.endsWith('/node_modules/vite/dist/client/client.mjs')) {
return {
code: await loadViteClientCode(file),
map: await (0, promises_1.readFile)(file + '.map', 'utf-8'),
};
return await loadViteClientCode(file);
}

@@ -236,9 +233,11 @@ return;

const originalContents = await (0, promises_1.readFile)(file, 'utf-8');
const firstUpdate = originalContents.replace('You can also disable this overlay by setting', '');
(0, node_assert_1.default)(originalContents !== firstUpdate, 'Failed to update Vite client error overlay text. (1)');
const secondUpdate = firstUpdate.replace(
// eslint-disable-next-line max-len
'<code part="config-option-name">server.hmr.overlay</code> to <code part="config-option-value">false</code> in <code part="config-file-name">${hmrConfigName}.</code>', '');
(0, node_assert_1.default)(firstUpdate !== secondUpdate, 'Failed to update Vite client error overlay text. (2)');
return secondUpdate;
const updatedContents = originalContents.replace(`"You can also disable this overlay by setting ",
h("code", { part: "config-option-name" }, "server.hmr.overlay"),
" to ",
h("code", { part: "config-option-value" }, "false"),
" in ",
h("code", { part: "config-file-name" }, hmrConfigName),
"."`, '');
(0, node_assert_1.default)(originalContents !== updatedContents, 'Failed to update Vite client error overlay text.');
return updatedContents;
}

@@ -245,0 +244,0 @@ function pathnameWithoutBasePath(url, basePath) {

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