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

babel-preset-metal-resolve-source

Package Overview
Dependencies
Maintainers
5
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-preset-metal-resolve-source - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

6

lib/resolve.js

@@ -6,7 +6,3 @@ 'use strict';

module.exports = function(module) {
try {
return require.resolve(module);
} catch (e) {
return resolve.sync(module, {basedir: process.cwd()});
}
return resolve.sync(module, {basedir: process.cwd()});
};

2

package.json
{
"name": "babel-preset-metal-resolve-source",
"version": "1.0.1",
"version": "1.0.2",
"description": "A babel preset for building Metal.js projects that automatically resolves imports into full paths",

@@ -5,0 +5,0 @@ "license": "MIT",

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