Socket
Socket
Sign inDemoInstall

eslint-module-utils

Package Overview
Dependencies
Maintainers
1
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.0.0 to 2.1.1

19

CHANGELOG.md

@@ -6,3 +6,18 @@ # Change Log

## v2 - 2016-11-07
## Unreleased
## v2.1.1 - 2017-06-22
Re-releasing v2.1.0 after vetting (again) and unable to reproduce issue.
## v2.1.0 - 2017-06-02 [YANKED]
Yanked due to critical issue with cache key resulting from #839.
### Added
- `parse` now additionally passes `filePath` to `parser` in `parserOptions` like `eslint` core does
## v2.0.0 - 2016-11-07
### Changed

@@ -12,2 +27,2 @@ - `unambiguous` no longer exposes fast test regex

### Fixed
- `unambiguous.test()` regex is now properly in multiline mode
- `unambiguous.test()` regex is now properly in multiline mode

4

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

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

"dependencies": {
"debug": "2.2.0",
"debug": "^2.6.8",
"pkg-dir": "^1.0.0"
}
}

@@ -25,2 +25,6 @@ "use strict"

// provide the `filePath` like eslint itself does, in `parserOptions`
// https://github.com/eslint/eslint/blob/3ec436ee/lib/linter.js#L637
parserOptions.filePath = path
// require the parser relative to the main module (i.e., ESLint)

@@ -27,0 +31,0 @@ const parser = moduleRequire(parserPath)

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