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

eslint-plugin-path

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-path - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

lib/utils/config.js

4

CHANGELOG.md

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

## [v1.1.0] - 2022-12-11
- Added support for jsconfig and tsconfig files
## [v0.1.0] - 2022-03-28

@@ -2,0 +6,0 @@

6

lib/rules/no-relative-imports.js

@@ -7,5 +7,5 @@ "use strict";

/**
* @typedef {import("../utils/tsconfig").AliasItem} AliasItem
* @typedef {import("../utils/config").AliasItem} AliasItem
*/
const { getTSconfigSettings } = require("../utils/tsconfig");
const { getConfigSettings } = require("../utils/config");

@@ -93,3 +93,3 @@ /**

const settings = { maxDepth, suggested };
const tsconfigSettings = getTSconfigSettings();
const tsconfigSettings = getConfigSettings();

@@ -96,0 +96,0 @@ return getImport(filename, ({ node, start, value: current, end, path }) => {

@@ -6,2 +6,3 @@ "use strict";

tsconfig: "tsconfig.json",
jsconfig: "jsconfig.json",
};

@@ -8,0 +9,0 @@

{
"name": "eslint-plugin-path",
"version": "1.0.1",
"version": "1.1.0",
"main": "lib/index.js",

@@ -5,0 +5,0 @@ "author": "qDanik <qdanik@yandex.ru>",

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