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

@ms-cloudpack/common-types

Package Overview
Dependencies
Maintainers
3
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ms-cloudpack/common-types - npm Package Compare versions

Comparing version 0.20.0 to 0.21.0

lib/ServerConfig.d.ts

8

lib/AppConfig.d.ts

@@ -1,2 +0,2 @@

import type { DevServer } from './DevServer.js';
import type { ServerConfig } from './ServerConfig.js';
import type { Features } from './Features.js';

@@ -25,5 +25,9 @@ import type { PackageSettings } from './PackageSettings.js';

/**
* @deprecated - use "server" instead.
*/
devServer?: ServerConfig;
/**
* Configuration for the dev server.
*/
devServer?: DevServer;
server?: ServerConfig;
/**

@@ -30,0 +34,0 @@ * Configuration for telemetry.

@@ -5,7 +5,7 @@ import type { GeneratedConfig } from './GeneratedConfig.js';

import type { Route } from './Route.js';
import type { DevServer } from './DevServer.js';
import type { ServerConfig } from './ServerConfig.js';
/**
* The merged result of user-provided and generated configuration for Cloudpack.
*/
export type CloudpackConfig = Omit<AppConfig, 'routes' | 'devServer'> & {
export type CloudpackConfig = Omit<AppConfig, 'routes' | 'server'> & {
/**

@@ -18,3 +18,3 @@ * The path to the app's package.

*/
devServer?: Omit<DevServer, 'routes'>;
server?: Omit<ServerConfig, 'routes'>;
/**

@@ -21,0 +21,0 @@ * Mode to run the app in.

@@ -15,3 +15,3 @@ export { allFeatures } from './allFeatures.js';

export type { CloudpackConfig } from './CloudpackConfig.js';
export type { DevServer } from './DevServer.js';
export type { ServerConfig } from './ServerConfig.js';
export type { ExpandedSourcePath } from './ExpandedSourcePath.js';

@@ -18,0 +18,0 @@ export type { Feature } from './Feature.js';

@@ -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/common-types",
"version": "0.20.0",
"version": "0.21.0",
"description": "Common types for Cloudpack.",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -20,3 +20,7 @@ {

"devServer": {
"$ref": "#/definitions/DevServer",
"$ref": "#/definitions/ServerConfig",
"deprecated": "- use \"server\" instead."
},
"server": {
"$ref": "#/definitions/ServerConfig",
"description": "Configuration for the dev server."

@@ -100,3 +104,3 @@ },

"definitions": {
"DevServer": {
"ServerConfig": {
"type": "object",

@@ -103,0 +107,0 @@ "properties": {

@@ -24,3 +24,7 @@ {

"devServer": {
"$ref": "#/definitions/DevServer",
"$ref": "#/definitions/ServerConfig",
"deprecated": "- use \"server\" instead."
},
"server": {
"$ref": "#/definitions/ServerConfig",
"description": "Configuration for the dev server."

@@ -101,3 +105,3 @@ },

},
"DevServer": {
"ServerConfig": {
"type": "object",

@@ -104,0 +108,0 @@ "properties": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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