@nx/eslint-plugin
Advanced tools
Comparing version 0.0.0-pr-28808-6acf6c6 to 0.0.0-pr-28808-ae8ea8d
{ | ||
"name": "@nx/eslint-plugin", | ||
"version": "0.0.0-pr-28808-6acf6c6", | ||
"version": "0.0.0-pr-28808-ae8ea8d", | ||
"private": false, | ||
@@ -37,4 +37,4 @@ "description": "The eslint-plugin package is an ESLint plugin that contains a collection of recommended ESLint rule configurations which you can extend from in your own ESLint configs, as well as an Nx-specific lint rule called enforce-module-boundaries.", | ||
"dependencies": { | ||
"@nx/devkit": "0.0.0-pr-28808-6acf6c6", | ||
"@nx/js": "0.0.0-pr-28808-6acf6c6", | ||
"@nx/devkit": "0.0.0-pr-28808-ae8ea8d", | ||
"@nx/js": "0.0.0-pr-28808-ae8ea8d", | ||
"@typescript-eslint/type-utils": "^8.0.0", | ||
@@ -41,0 +41,0 @@ "@typescript-eslint/utils": "^8.0.0", |
@@ -199,3 +199,3 @@ "use strict"; | ||
for (const importMember of imports) { | ||
const importPath = (0, ast_utils_1.getRelativeImportPath)(importMember, (0, path_1.join)(devkit_1.workspaceRoot, entryPointPath.path), sourceProject.data.sourceRoot); | ||
const importPath = (0, ast_utils_1.getRelativeImportPath)(importMember, (0, path_1.join)(devkit_1.workspaceRoot, entryPointPath.path)); | ||
// we cannot remap, so leave it as is | ||
@@ -277,3 +277,3 @@ if (importPath) { | ||
for (const importMember of imports) { | ||
const importPath = (0, ast_utils_1.getRelativeImportPath)(importMember, (0, path_1.join)(devkit_1.workspaceRoot, entryPointPath), sourceProject.data.sourceRoot); | ||
const importPath = (0, ast_utils_1.getRelativeImportPath)(importMember, (0, path_1.join)(devkit_1.workspaceRoot, entryPointPath)); | ||
if (importPath) { | ||
@@ -280,0 +280,0 @@ // resolve the import path |
@@ -12,2 +12,2 @@ import { ProjectGraphProjectNode } from '@nx/devkit'; | ||
}[] | null; | ||
export declare function getRelativeImportPath(exportedMember: any, filePath: any, basePath: any): any; | ||
export declare function getRelativeImportPath(exportedMember: any, filePath: any): any; |
@@ -81,3 +81,3 @@ "use strict"; | ||
} | ||
function getRelativeImportPath(exportedMember, filePath, basePath) { | ||
function getRelativeImportPath(exportedMember, filePath) { | ||
const status = (0, fs_1.lstatSync)(filePath, { | ||
@@ -212,3 +212,3 @@ throwIfNoEntry: false, | ||
if (hasMemberExport(exportedMember, moduleFilePath)) { | ||
const foundFilePath = getRelativeImportPath(exportedMember, moduleFilePath, basePath); | ||
const foundFilePath = getRelativeImportPath(exportedMember, moduleFilePath); | ||
if (foundFilePath) { | ||
@@ -215,0 +215,0 @@ return foundFilePath; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
183375
+ Added@nx/devkit@0.0.0-pr-28808-ae8ea8d(transitive)
+ Added@nx/js@0.0.0-pr-28808-ae8ea8d(transitive)
+ Added@nx/nx-darwin-arm64@0.0.0-pr-28808-ae8ea8d(transitive)
+ Added@nx/nx-darwin-x64@0.0.0-pr-28808-ae8ea8d(transitive)
+ Added@nx/nx-freebsd-x64@0.0.0-pr-28808-ae8ea8d(transitive)
+ Added@nx/nx-linux-arm-gnueabihf@0.0.0-pr-28808-ae8ea8d(transitive)
+ Added@nx/nx-linux-arm64-gnu@0.0.0-pr-28808-ae8ea8d(transitive)
+ Added@nx/nx-linux-arm64-musl@0.0.0-pr-28808-ae8ea8d(transitive)
+ Added@nx/nx-linux-x64-gnu@0.0.0-pr-28808-ae8ea8d(transitive)
+ Added@nx/nx-linux-x64-musl@0.0.0-pr-28808-ae8ea8d(transitive)
+ Added@nx/nx-win32-arm64-msvc@0.0.0-pr-28808-ae8ea8d(transitive)
+ Added@nx/nx-win32-x64-msvc@0.0.0-pr-28808-ae8ea8d(transitive)
+ Added@nx/workspace@0.0.0-pr-28808-ae8ea8d(transitive)
+ Addednx@0.0.0-pr-28808-ae8ea8d(transitive)
- Removed@nx/devkit@0.0.0-pr-28808-6acf6c6(transitive)
- Removed@nx/js@0.0.0-pr-28808-6acf6c6(transitive)
- Removed@nx/nx-darwin-arm64@0.0.0-pr-28808-6acf6c6(transitive)
- Removed@nx/nx-darwin-x64@0.0.0-pr-28808-6acf6c6(transitive)
- Removed@nx/nx-freebsd-x64@0.0.0-pr-28808-6acf6c6(transitive)
- Removed@nx/nx-linux-arm-gnueabihf@0.0.0-pr-28808-6acf6c6(transitive)
- Removed@nx/nx-linux-arm64-gnu@0.0.0-pr-28808-6acf6c6(transitive)
- Removed@nx/nx-linux-arm64-musl@0.0.0-pr-28808-6acf6c6(transitive)
- Removed@nx/nx-linux-x64-gnu@0.0.0-pr-28808-6acf6c6(transitive)
- Removed@nx/nx-linux-x64-musl@0.0.0-pr-28808-6acf6c6(transitive)
- Removed@nx/nx-win32-arm64-msvc@0.0.0-pr-28808-6acf6c6(transitive)
- Removed@nx/nx-win32-x64-msvc@0.0.0-pr-28808-6acf6c6(transitive)
- Removed@nx/workspace@0.0.0-pr-28808-6acf6c6(transitive)
- Removednx@0.0.0-pr-28808-6acf6c6(transitive)