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

babel-plugin-resolver

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-resolver - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

8

History.md
v0.0.6 / 2016-01-05
===================
* update babel-resolver dep
v0.0.5 / 2016-01-05
==================
===================
* changelog
* v0.0.5

@@ -6,0 +12,0 @@ * rename main to ResolverPlugin

6

lib/ResolverPlugin.js
var resolve = require('path').resolve;
var createBabelResolver = require('babel-resolver');
var findNodeModulesPath = require('babel-resolver/lib/findNodeModulesPath');
var findNodeModulesPaths = require('babel-resolver/lib/findNodeModulesPaths');
var getPluginOptsFromBabelOpts = require('./getPluginOptsFromBabelOpts');

@@ -8,4 +8,4 @@ var getAbsoluteDirsFromInputDirs = require('./getAbsoluteDirsFromInputDirs');

module.exports = function ResolverPlugin() {
var nodeModulesPath = findNodeModulesPath(__dirname);
var appRootPath = resolve(nodeModulesPath, '..');
var nodeModulesPaths = findNodeModulesPaths(__dirname);
var appRootPath = resolve(nodeModulesPaths[0], '..');
var resolver;

@@ -12,0 +12,0 @@ return {

{
"name": "babel-plugin-resolver",
"version": "0.0.5",
"version": "0.0.6",
"description": "Resolve modules from any directory.",

@@ -36,3 +36,3 @@ "main": "lib/ResolverPlugin.js",

"dependencies": {
"babel-resolver": "^0.0.16",
"babel-resolver": "^0.0.18",
"lodash": "^3.10.1"

@@ -39,0 +39,0 @@ },

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