We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eeb615f commit 551c707Copy full SHA for 551c707
packages/schematics/update/update/npm.ts
@@ -91,6 +91,7 @@ export function getNpmPackageJson(
91
return concat(
92
getNpmConfigOption('proxy'),
93
getNpmConfigOption('https-proxy'),
94
+ getNpmConfigOption('strict-ssl'),
95
).pipe(
96
toArray(),
97
concatMap(options => {
@@ -101,6 +102,13 @@ export function getNpmPackageJson(
101
102
http: options[0],
103
https: options[1],
104
},
105
+ ssl: {
106
+ ...(options[2] === 'false'
107
+ ? { strict: false }
108
+ : (options[2] === 'true'
109
+ ? { strict: true }
110
+ : {})),
111
+ },
112
});
113
client.log.level = 'silent';
114
const params = {
0 commit comments