Socket
Socket
Sign inDemoInstall

eslint-module-utils

Package Overview
Dependencies
Maintainers
3
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-module-utils - npm Package Compare versions

Comparing version 2.9.0 to 2.10.0

contextCompat.d.ts

6

CHANGELOG.md

@@ -8,2 +8,7 @@ # Change Log

## v2.10.0 - 2024-09-05
### New
- add context compatibility helpers ([#3049], thanks [@michaelfaith])
## v2.9.0 - 2024-09-02

@@ -159,2 +164,3 @@

[#3049]: https://github.com/import-js/eslint-plugin-import/pull/3049
[#3039]: https://github.com/import-js/eslint-plugin-import/pull/3039

@@ -161,0 +167,0 @@ [#3018]: https://github.com/import-js/eslint-plugin-import/pull/3018

3

package.json
{
"name": "eslint-module-utils",
"version": "2.9.0",
"version": "2.10.0",
"description": "Core utilities to support eslint-plugin-import and other module-related plugins.",

@@ -10,2 +10,3 @@ "engines": {

"exports": {
"./contextCompat": "./contextCompat.js",
"./ModuleCache": "./ModuleCache.js",

@@ -12,0 +13,0 @@ "./ModuleCache.js": "./ModuleCache.js",

@@ -8,2 +8,3 @@ 'use strict';

const path = require('path');
const { getPhysicalFilename } = require('./contextCompat');

@@ -233,3 +234,3 @@ const hashObject = require('./hash').hashObject;

try {
return relative(p, context.getPhysicalFilename ? context.getPhysicalFilename() : context.getFilename(), context.settings);
return relative(p, getPhysicalFilename(context), context.settings);
} catch (err) {

@@ -236,0 +237,0 @@ if (!erroredContexts.has(context)) {

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