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

babel-resolver

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-resolver - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

test/test-app/app.js

7

History.md
v0.0.8 / 2015-11-11
===================
* bump version
* move test-app bootstrapper
* changes
v0.0.7 / 2015-11-11

@@ -3,0 +10,0 @@ ===================

2

package.json
{
"name": "babel-resolver",
"version": "0.0.7",
"version": "0.0.8",
"description": "Resolve modules from any directory.",

@@ -5,0 +5,0 @@ "main": "lib/createBabelResolver.js",

describe('babelResolver()', function () {
it('works', function () {
require('./testAppBootstrapper');
require('./test-app');
});
});

@@ -1,4 +0,11 @@

import assert from 'assert';
import { User } from 'controllers';
var resolve = require('path').resolve;
var localModulesDir = __dirname;
var anotherDirToCheck = resolve(__dirname, 'lib');
var resolver = require('../../')(localModulesDir, anotherDirToCheck);
assert(User === 'UserController');
require('babel-core/register')({
presets: ['es2015'],
resolveModuleSource: resolver
});
require('./app');
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