single-spa-angular
Advanced tools
Comparing version 6.0.0 to 6.0.1
@@ -11,3 +11,3 @@ "use strict"; | ||
exports.default = (config, options, extraOptions) => { | ||
var _a, _b, _c; | ||
var _a, _b, _c, _d; | ||
const libraryName = getLibraryName(options); | ||
@@ -44,2 +44,11 @@ extraOptions = Object.assign(Object.assign({}, defaultExtraOptions), extraOptions); | ||
}; | ||
// Do not set the `client.webSocketURL` configuration if there's no host and port. | ||
if (((_d = config.devServer) === null || _d === void 0 ? void 0 : _d.host) && config.devServer.port) { | ||
singleSpaConfig.devServer.client = { | ||
webSocketURL: { | ||
hostname: config.devServer.host, | ||
port: config.devServer.port, | ||
}, | ||
}; | ||
} | ||
const mergedConfig = mergeConfigs(config, singleSpaConfig); | ||
@@ -46,0 +55,0 @@ if (mergedConfig.output.libraryTarget === 'system') { |
{ | ||
"$schema": "../node_modules/ng-packagr/ng-package.schema.json", | ||
"name": "single-spa-angular", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"description": "Helpers for building single-spa applications which use Angular 2", | ||
@@ -32,9 +32,6 @@ "schematics": "./schematics/schematics.json", | ||
}, | ||
"module": "fesm2015/single-spa-angular.mjs", | ||
"es2020": "fesm2020/single-spa-angular.mjs", | ||
"esm2020": "esm2020/single-spa-angular.mjs", | ||
"fesm2020": "fesm2020/single-spa-angular.mjs", | ||
"fesm2015": "fesm2015/single-spa-angular.mjs", | ||
"typings": "single-spa-angular.d.ts", | ||
"exports": { | ||
"./lib/webpack": { | ||
"default": "./lib/webpack/index.js" | ||
}, | ||
"./package.json": { | ||
@@ -76,2 +73,8 @@ "default": "./package.json" | ||
}, | ||
"module": "fesm2015/single-spa-angular.mjs", | ||
"es2020": "fesm2020/single-spa-angular.mjs", | ||
"esm2020": "esm2020/single-spa-angular.mjs", | ||
"fesm2020": "fesm2020/single-spa-angular.mjs", | ||
"fesm2015": "fesm2015/single-spa-angular.mjs", | ||
"typings": "single-spa-angular.d.ts", | ||
"dependencies": { | ||
@@ -78,0 +81,0 @@ "tslib": "^2.3.0" |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2229
231139
93