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

eslint-import-resolver-node

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-import-resolver-node - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

17

index.js

@@ -12,7 +12,16 @@ var resolve = require('resolve')

function opts(basedir, config) {
return assign( {}
, config
, { basedir: basedir }
)
return assign({},
config,
{
basedir: basedir,
packageFilter: packageFilter,
})
}
function packageFilter(pkg) {
if (pkg['jsnext:main']) {
pkg['main'] = pkg['jsnext:main']
}
return pkg
}
{
"name": "eslint-import-resolver-node",
"version": "0.1.0",
"version": "0.1.1",
"description": "Node default behavior import resolution plugin for eslint-plugin-import.",

@@ -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