Socket
Socket
Sign inDemoInstall

eslint-module-utils

Package Overview
Dependencies
9
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.5.2 to 2.6.0

7

CHANGELOG.md

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

## v2.6.0 - 2020-03-28
### Added
[New] Print more helpful info if parsing fails ([#1671], thanks [@kaiyoma])
## v2.5.2 - 2020-01-12

@@ -74,2 +79,3 @@

[#1671]: https://github.com/benmosher/eslint-plugin-import/pull/1671
[#1606]: https://github.com/benmosher/eslint-plugin-import/pull/1606

@@ -99,1 +105,2 @@ [#1602]: https://github.com/benmosher/eslint-plugin-import/pull/1602

[@iamnapo]: https://github.com/iamnapo
[@kaiyoma]: https://github.com/kaiyoma

2

ModuleCache.js

@@ -25,3 +25,3 @@ 'use strict'

const f = this.map.get(cacheKey)
// check fresness
// check freshness
if (process.hrtime(f.lastSeen)[0] < settings.lifetime) return f.result

@@ -28,0 +28,0 @@ } else log('cache miss for', cacheKey)

{
"name": "eslint-module-utils",
"version": "2.5.2",
"version": "2.6.0",
"description": "Core utilities to support eslint-plugin-import and other module-related plugins.",

@@ -5,0 +5,0 @@ "engines": {

@@ -50,3 +50,5 @@ 'use strict'

} catch (e) {
//
console.warn()
console.warn('Error while parsing ' + parserOptions.filePath)
console.warn('Line ' + e.lineNumber + ', column ' + e.column + ': ' + e.message)
}

@@ -53,0 +55,0 @@ if (!ast || typeof ast !== 'object') {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc