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

@ms-cloudpack/config

Package Overview
Dependencies
Maintainers
3
Versions
168
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ms-cloudpack/config - npm Package Compare versions

Comparing version 0.29.2 to 0.30.0

15

lib/readAppConfig.js

@@ -87,7 +87,14 @@ import { readJson } from '@ms-cloudpack/json-utilities';

/* eslint-disable etc/no-deprecated */
const { devServer, packageSettings = [] } = config;
if (devServer?.routes) {
config.routes = devServer.routes;
delete devServer.routes;
const { devServer, server, packageSettings = [] } = config;
if (devServer) {
if (server) {
throw new Error('Cannot have both "devServer" and "server" in the config file. Use "server" only.');
}
config.server = devServer;
delete config.devServer;
}
if (server?.routes) {
config.routes = server.routes;
delete server.routes;
}
for (const setting of packageSettings) {

@@ -94,0 +101,0 @@ if (setting.bundlerType) {

@@ -8,5 +8,5 @@ // This file is read by tools that parse documentation comments conforming to the TSDoc standard.

"packageName": "@microsoft/api-extractor",
"packageVersion": "7.47.7"
"packageVersion": "7.47.9"
}
]
}
{
"name": "@ms-cloudpack/config",
"version": "0.29.2",
"version": "0.30.0",
"description": "Configuration handling for cloudpack.",

@@ -17,7 +17,7 @@ "license": "MIT",

"dependencies": {
"@ms-cloudpack/common-types": "^0.20.0",
"@ms-cloudpack/common-types": "^0.21.0",
"@ms-cloudpack/json-utilities": "^0.1.7",
"@ms-cloudpack/package-utilities": "^10.1.2",
"@ms-cloudpack/package-utilities": "^10.1.3",
"@ms-cloudpack/path-string-parsing": "^1.2.4",
"@ms-cloudpack/path-utilities": "^2.7.45",
"@ms-cloudpack/path-utilities": "^2.7.46",
"semver": "^7.6.0"

@@ -24,0 +24,0 @@ },

Sorry, the diff of this file is not supported yet

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