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

@nx-dotnet/utils

Package Overview
Dependencies
Maintainers
1
Versions
189
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nx-dotnet/utils - npm Package Compare versions

Comparing version 1.16.1 to 1.16.2

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [1.16.2](https://github.com/nx-dotnet/nx-dotnet/compare/v1.16.1...v1.16.2) (2022-11-11)
### Bug Fixes
- **core:** check-module-boundaries should work if single quotes not consumed by shell ([3870b55](https://github.com/nx-dotnet/nx-dotnet/commit/3870b5500761a12aaaf77f18e6ea975802a9ce7f))
- **core:** normalize paths in Directory.Build.targets ([e8bf1bc](https://github.com/nx-dotnet/nx-dotnet/commit/e8bf1bc44adc144e16173085d42c4b5aefe41a81))
## [1.16.1](https://github.com/nx-dotnet/nx-dotnet/compare/v1.16.0...v1.16.1) (2022-11-11)

@@ -2,0 +9,0 @@

2

package.json

@@ -21,3 +21,3 @@ {

"homepage": "https://nx-dotnet.com/",
"version": "1.16.1",
"version": "1.16.2",
"types": "./src/index.d.ts",

@@ -24,0 +24,0 @@ "peerDependencies": {

@@ -1,5 +0,5 @@

import { ProjectConfiguration, Tree, WorkspaceJsonConfiguration } from '@nrwl/devkit';
import { ProjectConfiguration, ProjectsConfigurations, Tree } from '@nrwl/devkit';
export declare function getProjectFileForNxProject(project: ProjectConfiguration): Promise<string>;
export declare function getProjectFileForNxProjectSync(project: ProjectConfiguration): string;
export declare function getDependantProjectsForNxProject(targetProject: string, workspaceConfiguration: WorkspaceJsonConfiguration, forEachCallback?: (project: ProjectConfiguration & {
export declare function getDependantProjectsForNxProject(targetProject: string, projectsConfiguration: ProjectsConfigurations, forEachCallback?: (project: ProjectConfiguration & {
projectFile: string;

@@ -6,0 +6,0 @@ }, projectName: string, implicit: boolean) => void): {

@@ -22,9 +22,9 @@ "use strict";

exports.getProjectFileForNxProjectSync = getProjectFileForNxProjectSync;
function getDependantProjectsForNxProject(targetProject, workspaceConfiguration, forEachCallback) {
function getDependantProjectsForNxProject(targetProject, projectsConfiguration, forEachCallback) {
const projectRoots = {};
const dependantProjects = {};
Object.entries(workspaceConfiguration.projects).forEach(([name, project]) => {
Object.entries(projectsConfiguration.projects).forEach(([name, project]) => {
projectRoots[name] = normalizePath((0, path_1.resolve)(project.root));
});
const absoluteNetProjectFilePath = (0, path_1.resolve)(devkit_1.workspaceRoot, getProjectFileForNxProjectSync(workspaceConfiguration.projects[targetProject]));
const absoluteNetProjectFilePath = (0, path_1.resolve)(devkit_1.workspaceRoot, getProjectFileForNxProjectSync(projectsConfiguration.projects[targetProject]));
const netProjectFilePath = (0, path_1.relative)(devkit_1.workspaceRoot, absoluteNetProjectFilePath);

@@ -42,6 +42,6 @@ const hostProjectDirectory = normalizePath((0, path_1.dirname)(netProjectFilePath));

if (forEachCallback) {
forEachCallback(Object.assign(Object.assign({}, workspaceConfiguration.projects[dependency]), { projectFile: workspaceFilePath }), dependency, implicit);
forEachCallback(Object.assign(Object.assign({}, projectsConfiguration.projects[dependency]), { projectFile: workspaceFilePath }), dependency, implicit);
}
dependantProjects[dependency] =
workspaceConfiguration.projects[dependency];
projectsConfiguration.projects[dependency];
}

@@ -48,0 +48,0 @@ });

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