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

@nx/eslint-plugin

Package Overview
Dependencies
Maintainers
4
Versions
737
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nx/eslint-plugin - npm Package Compare versions

Comparing version 0.0.0-pr-28808-6acf6c6 to 0.0.0-pr-28808-ae8ea8d

6

package.json
{
"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;

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