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

autoresolve

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

autoresolve - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

4

CHANGELOG.md

@@ -0,1 +1,5 @@

0.0.3 / 2012-07-17
------------------
* Bug fix: error if a relative directory was passed in starting with '.'.
0.0.2 / 2012-07-17

@@ -2,0 +6,0 @@ ------------------

3

lib/autoresolve.js

@@ -9,4 +9,5 @@ var fs = require('fs'),

module.exports = function(packagePath) {
if (packagePath.indexOf('.') === 0 || packagePath.indexOf('/') === 0)
if (packagePath.indexOf('/') === 0) {
return packagePath;
}
var DIR = process.cwd();

@@ -13,0 +14,0 @@ var found = false;

{
"name" : "autoresolve",
"version" : "0.0.2",
"version" : "0.0.3",
"description" : "A simple module to auto resolve module paths.",

@@ -5,0 +5,0 @@ "homepage" : [

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