Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit bb4b7b1

Browse files
committed
fix(@schematics/update): Allow usage strict SSL configuration
fixes #10596
1 parent 8603338 commit bb4b7b1

File tree

1 file changed

+4
-0
lines changed
  • packages/schematics/update/update

1 file changed

+4
-0
lines changed

packages/schematics/update/update/npm.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ export function getNpmPackageJson(
8585
return concat(
8686
getNpmConfigOption('proxy'),
8787
getNpmConfigOption('https-proxy'),
88+
getNpmConfigOption('strict-ssl'),
8889
).pipe(
8990
toArray(),
9091
concatMap(options => {
@@ -95,6 +96,9 @@ export function getNpmPackageJson(
9596
http: options[0],
9697
https: options[1],
9798
},
99+
ssl: {
100+
strict: options[2],
101+
},
98102
});
99103
client.log.level = 'silent';
100104
const params = {

0 commit comments

Comments
 (0)