Comparing version 5.7.0 to 5.7.1
@@ -87,7 +87,7 @@ /* jshint node: true */ | ||
} | ||
fetchImports(obj.protocol, obj.imports, cb); | ||
fetchImports(obj.protocol, obj.imports, path.dirname(fpath), cb); | ||
}); | ||
} | ||
function fetchImports(protocol, imports, cb) { | ||
function fetchImports(protocol, imports, dpath, cb) { | ||
var importedProtocols = []; | ||
@@ -113,3 +113,3 @@ next(); | ||
} | ||
var importPath = path.join(path.dirname(fpath), info.name); | ||
var importPath = path.join(dpath, info.name); | ||
if (info.kind === 'idl') { | ||
@@ -116,0 +116,0 @@ importFile(importPath, function (err, imported) { |
{ | ||
"name": "avsc", | ||
"version": "5.7.0", | ||
"version": "5.7.1", | ||
"description": "Avro for JavaScript", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/mtth/avsc", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
262389