Socket
Socket
Sign inDemoInstall

@nx/react

Package Overview
Dependencies
Maintainers
5
Versions
597
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nx/react - npm Package Compare versions

Comparing version 16.5.0 to 16.5.1

9

migrations.json

@@ -953,4 +953,13 @@ {

}
},
"16.5.0-beta.4": {
"version": "16.5.0-beta.4",
"packages": {
"@types/react": {
"version": "18.2.14",
"alwaysAddToPackageJson": false
}
}
}
}
}

14

package.json
{
"name": "@nx/react",
"version": "16.5.0",
"version": "16.5.1",
"private": false,

@@ -34,7 +34,7 @@ "description": "The React plugin for Nx contains executors and generators for managing React applications and libraries within an Nx workspace. It provides:\n\n\n- Integration with libraries such as Jest, Cypress, and Storybook.\n\n- Generators for applications, libraries, components, hooks, and more.\n\n- Library build support for publishing packages to npm or other registries.\n\n- Utilities for automatic workspace refactoring.",

"dependencies": {
"@nrwl/react": "16.5.0",
"@nx/devkit": "16.5.0",
"@nx/js": "16.5.0",
"@nx/linter": "16.5.0",
"@nx/web": "16.5.0",
"@nrwl/react": "16.5.1",
"@nx/devkit": "16.5.1",
"@nx/js": "16.5.1",
"@nx/linter": "16.5.1",
"@nx/web": "16.5.1",
"@phenomnomnominal/tsquery": "~5.0.1",

@@ -50,3 +50,3 @@ "@svgr/webpack": "^8.0.1",

"types": "./index.d.ts",
"gitHead": "eaebcc34f92db2200dab0bde2e2e1dde107a47bf"
"gitHead": "7b7f1e7f72a34cb31cff43ea0ebb80d0eab1ac79"
}

@@ -25,7 +25,23 @@ "use strict";

}
const remotesToSkip = new Set((0, find_matching_projects_1.findMatchingProjects)((_a = options.skipRemotes) !== null && _a !== void 0 ? _a : [], context.projectGraph.nodes));
const remotesToSkip = new Set((_a = (0, find_matching_projects_1.findMatchingProjects)(options.skipRemotes, context.projectGraph.nodes)) !== null && _a !== void 0 ? _a : []);
if (remotesToSkip.size > 0) {
devkit_1.logger.info(`Remotes not served automatically: ${[...remotesToSkip.values()].join(', ')}`);
}
const remotesNotInWorkspace = [];
const knownRemotes = ((_b = moduleFederationConfig.remotes) !== null && _b !== void 0 ? _b : []).filter((r) => {
const validRemote = Array.isArray(r) ? r[0] : r;
return !remotesToSkip.has(validRemote);
if (remotesToSkip.has(validRemote)) {
return false;
}
else if (!context.projectGraph.nodes[validRemote]) {
remotesNotInWorkspace.push(validRemote);
return false;
}
else {
return true;
}
});
if (remotesNotInWorkspace.length > 0) {
devkit_1.logger.warn(`Skipping serving ${remotesNotInWorkspace.join(', ')} as they could not be found in the workspace. Ensure they are served correctly.`);
}
const remotePorts = knownRemotes.map((r) => context.projectGraph.nodes[r].data.targets['serve'].options.port);

@@ -32,0 +48,0 @@ const devServeApps = !options.devRemotes

@@ -22,3 +22,3 @@ {

},
"description": "List of remote applications to not automatically serve, either statically or in development mode. This can be useful for multi-repository module federation setups where the host application uses a remote application from an external repository.",
"description": "List of remote applications to not automatically serve, either statically or in development mode.",
"x-priority": "important"

@@ -25,0 +25,0 @@ },

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

const remotesToSkip = new Set((_a = options.skipRemotes) !== null && _a !== void 0 ? _a : []);
const knownRemotes = ((_b = moduleFederationConfig.remotes) !== null && _b !== void 0 ? _b : []).filter((r) => !remotesToSkip.has(r));
const remotesNotInWorkspace = [];
const knownRemotes = ((_b = moduleFederationConfig.remotes) !== null && _b !== void 0 ? _b : []).filter((r) => {
const validRemote = Array.isArray(r) ? r[0] : r;
if (remotesToSkip.has(validRemote)) {
return false;
}
else if (!context.projectGraph.nodes[validRemote]) {
remotesNotInWorkspace.push(validRemote);
return false;
}
else {
return true;
}
});
if (remotesNotInWorkspace.length > 0) {
devkit_1.logger.warn(`Skipping serving ${remotesNotInWorkspace.join(', ')} as they could not be found in the workspace. Ensure they are served correctly.`);
}
const devServeApps = !options.devRemotes

@@ -28,0 +44,0 @@ ? []

@@ -38,3 +38,3 @@ {

},
"description": "List of remote applications to not automatically serve, either statically or in development mode. This can be useful for multi-repository module federation setups where the host application uses a remote application from an external repository.",
"description": "List of remote applications to not automatically serve, either statically or in development mode.",
"x-priority": "important"

@@ -41,0 +41,0 @@ },

@@ -8,3 +8,3 @@ export declare const nxVersion: any;

export declare const babelLoaderVersion = "^9.1.2";
export declare const typesReactVersion = "18.2.13";
export declare const typesReactVersion = "18.2.14";
export declare const typesReactDomVersion = "18.2.6";

@@ -11,0 +11,0 @@ export declare const typesReactIsVersion = "18.2.1";

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

exports.babelLoaderVersion = '^9.1.2';
exports.typesReactVersion = '18.2.13';
exports.typesReactVersion = '18.2.14';
exports.typesReactDomVersion = '18.2.6';

@@ -15,0 +15,0 @@ exports.typesReactIsVersion = '18.2.1';

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