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

@react-native-windows/cli

Package Overview
Dependencies
Maintainers
2
Versions
417
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native-windows/cli - npm Package Compare versions

Comparing version 0.0.0-canary.41 to 0.0.0-canary.42

17

CHANGELOG.json

@@ -5,3 +5,18 @@ {

{
"date": "Tue, 24 Nov 2020 05:06:33 GMT",
"date": "Thu, 03 Dec 2020 05:05:50 GMT",
"tag": "@react-native-windows/cli_v0.0.0-canary.42",
"version": "0.0.0-canary.42",
"comments": {
"prerelease": [
{
"comment": "Remove the timeout from self-signed certificate generating",
"author": "Bartosz.Klonowski@callstack.com",
"commit": "63d5e9fdecb5dd009fb839899f04747c63251e36",
"package": "@react-native-windows/cli"
}
]
}
},
{
"date": "Tue, 24 Nov 2020 05:08:17 GMT",
"tag": "@react-native-windows/cli_v0.0.0-canary.41",

@@ -8,0 +23,0 @@ "version": "0.0.0-canary.41",

# Change Log - @react-native-windows/cli
This log was last generated on Tue, 24 Nov 2020 05:06:33 GMT and should not be manually modified.
This log was last generated on Thu, 03 Dec 2020 05:05:50 GMT and should not be manually modified.
<!-- Start content -->
## 0.0.0-canary.42
Thu, 03 Dec 2020 05:05:50 GMT
### Changes
- Remove the timeout from self-signed certificate generating (Bartosz.Klonowski@callstack.com)
## 0.0.0-canary.41
Tue, 24 Nov 2020 05:06:33 GMT
Tue, 24 Nov 2020 05:08:17 GMT

@@ -11,0 +19,0 @@ ### Changes

8

lib-commonjs/generator-windows/index.js

@@ -26,5 +26,4 @@ "use strict";

try {
const timeout = 10000; // 10 seconds;
const thumbprint = childProcess
.execSync(`powershell -NoProfile -Command "Write-Output (New-SelfSignedCertificate -KeyUsage DigitalSignature -KeyExportPolicy Exportable -Subject 'CN=${currentUser}' -TextExtension @('2.5.29.37={text}1.3.6.1.5.5.7.3.3', '2.5.29.19={text}Subject Type:End Entity') -CertStoreLocation 'Cert:\\CurrentUser\\My').Thumbprint"`, { timeout })
.execSync(`powershell -NoProfile -Command "Write-Output (New-SelfSignedCertificate -KeyUsage DigitalSignature -KeyExportPolicy Exportable -Subject 'CN=${currentUser}' -TextExtension @('2.5.29.37={text}1.3.6.1.5.5.7.3.3', '2.5.29.19={text}Subject Type:End Entity') -CertStoreLocation 'Cert:\\CurrentUser\\My').Thumbprint"`)
.toString()

@@ -35,3 +34,3 @@ .trim();

}
childProcess.execSync(`powershell -NoProfile -Command "$pwd = (ConvertTo-SecureString -String password -Force -AsPlainText); Export-PfxCertificate -Cert 'cert:\\CurrentUser\\My\\${thumbprint}' -FilePath ${path.join(windowsDir, newProjectName, newProjectName)}_TemporaryKey.pfx -Password $pwd"`, { timeout });
childProcess.execSync(`powershell -NoProfile -Command "$pwd = (ConvertTo-SecureString -String password -Force -AsPlainText); Export-PfxCertificate -Cert 'cert:\\CurrentUser\\My\\${thumbprint}' -FilePath ${path.join(windowsDir, newProjectName, newProjectName)}_TemporaryKey.pfx -Password $pwd"`);
console.log(chalk.green('Self-signed certificate generated successfully.'));

@@ -41,3 +40,4 @@ return thumbprint;

catch (err) {
console.log(chalk.yellow('Failed to generate Self-signed certificate.'));
console.log(chalk.yellow('Unable to generate the self-signed certificate:'));
console.log(chalk.red(err));
}

@@ -44,0 +44,0 @@ }

{
"name": "@react-native-windows/cli",
"version": "0.0.0-canary.41",
"version": "0.0.0-canary.42",
"license": "MIT",

@@ -5,0 +5,0 @@ "main": "lib-commonjs/index.js",

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