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

eslint-plugin-no-relative-import-paths

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-no-relative-import-paths - npm Package Compare versions

Comparing version 1.3.2 to 1.3.3

6

index.js

@@ -7,3 +7,7 @@ const path = require("path");

return relativeFilePath.startsWith("../") && (rootDir === '' || absoluteFilePath.startsWith(absoluteRootPath));
return relativeFilePath.startsWith("../") && (
rootDir === '' ||
(absoluteFilePath.startsWith(absoluteRootPath) &&
context.getFilename().startsWith(absoluteRootPath))
);
}

@@ -10,0 +14,0 @@

2

package.json
{
"name": "eslint-plugin-no-relative-import-paths",
"version": "1.3.2",
"version": "1.3.3",
"description": "",

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

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