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.63 to 0.0.0-canary.64

17

CHANGELOG.json

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

{
"date": "Tue, 23 Feb 2021 05:06:00 GMT",
"date": "Fri, 12 Mar 2021 05:07:08 GMT",
"tag": "@react-native-windows/cli_v0.0.0-canary.64",
"version": "0.0.0-canary.64",
"comments": {
"prerelease": [
{
"comment": "Include Hermes NuGet Package By Default",
"author": "ngerlem@microsoft.com",
"commit": "89ceb6d7c2e76bd43b8c2264a2b5243dab1f6e51",
"package": "@react-native-windows/cli"
}
]
}
},
{
"date": "Tue, 23 Feb 2021 05:06:42 GMT",
"tag": "@react-native-windows/cli_v0.0.0-canary.63",

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

# Change Log - @react-native-windows/cli
This log was last generated on Tue, 23 Feb 2021 05:06:00 GMT and should not be manually modified.
This log was last generated on Fri, 12 Mar 2021 05:07:08 GMT and should not be manually modified.
<!-- Start content -->
## 0.0.0-canary.64
Fri, 12 Mar 2021 05:07:08 GMT
### Changes
- Include Hermes NuGet Package By Default (ngerlem@microsoft.com)
## 0.0.0-canary.63
Tue, 23 Feb 2021 05:06:00 GMT
Tue, 23 Feb 2021 05:06:42 GMT

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

3

lib-commonjs/e2etest/projectConfig.test.js

@@ -103,3 +103,3 @@ "use strict";

});
test('useWinUI3=true in react-native.config.js, useWinUI3=false in ExperimentalFeatures.props', async (done) => {
test('useWinUI3=true in react-native.config.js, useWinUI3=false in ExperimentalFeatures.props', async () => {
const folder = path.resolve('src/e2etest/projects/WithWinUI3');

@@ -118,4 +118,3 @@ const rnc = require(path.join(folder, 'react-native.config.js'));

expect(experimentalFeatures.replace(/\r/g, '')).toMatchSnapshot();
done();
});
//# sourceMappingURL=projectConfig.test.js.map

@@ -19,3 +19,3 @@ "use strict";

if (fs.existsSync(windowsDir)) {
await fs.promises.rm(windowsDir, { recursive: true });
await fs.promises.rmdir(windowsDir, { recursive: true });
}

@@ -22,0 +22,0 @@ await tryMkdir(windowsDir);

@@ -52,2 +52,7 @@ "use strict";

}
function resolveRnwPath(subpath) {
return require.resolve(path.join('react-native-windows', subpath), {
paths: [process.cwd()],
});
}
// Existing high cyclomatic complexity

@@ -96,3 +101,3 @@ // eslint-disable-next-line complexity

const projectGuid = uuid.v4();
const rnwVersion = require('react-native-windows/package.json').version;
const rnwVersion = require(resolveRnwPath('package.json')).version;
const nugetVersion = options.nuGetTestVersion || rnwVersion;

@@ -108,6 +113,8 @@ const packageGuid = uuid.v4();

const xamlNamespaceCpp = toCppNamespace(xamlNamespace);
const winuiPropsPath = require.resolve('react-native-windows/PropertySheets/WinUI.props', { paths: [process.cwd()] });
const winuiPropsPath = resolveRnwPath('PropertySheets/WinUI.props');
const winuiProps = configUtils_1.readProjectFile(winuiPropsPath);
const winui3Version = configUtils_1.findPropertyValue(winuiProps, 'WinUI3Version', winuiPropsPath);
const winui2xVersion = configUtils_1.findPropertyValue(winuiProps, 'WinUI2xVersion', winuiPropsPath);
const jsEnginePropsPath = resolveRnwPath('PropertySheets/JSengine.props');
const hermesVersion = configUtils_1.findPropertyValue(configUtils_1.readProjectFile(jsEnginePropsPath), 'HermesVersion', jsEnginePropsPath);
const csNugetPackages = [

@@ -127,2 +134,8 @@ {

},
{
id: 'ReactNative.Hermes.Windows',
version: hermesVersion,
hasProps: false,
hasTargets: true,
},
];

@@ -147,10 +160,2 @@ if (options.experimentalNuGetDependency) {

}
if (options.useHermes) {
cppNugetPackages.push({
id: 'ReactNative.Hermes.Windows',
version: '0.7.2',
hasProps: false,
hasTargets: true,
});
}
const packagesConfigCppNugetPackages = [

@@ -157,0 +162,0 @@ ...cppNugetPackages,

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

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

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