anchor.diff:        then
             # Figure out what directory has been unpacked
             packageDir="$(find . -maxdepth 1 -type d | tail -1)"
  -          
  +
             # Restore write permissions to make building work
             find "$packageDir" -type d -print0 | xargs -0 chmod u+x
             chmod -R u+w "$packageDir"
  -          
  +
             # Move the extracted tarball into the output folder
             mv "$packageDir" "$DIR/${packageName}"
         elif [ -d "${src}" ]
  
positive.code:               else
                    return versionSpec;
            }
        
            var packageObj = JSON.parse(fs.readFileSync('./package.json'));
        
            /* Replace dependencies */
            if(packageObj.dependencies !== undefined) {
                for(var dependency in packageObj.dependencies) {
  
negative.code:         text = ''
            var fs = require('fs');
            var url = require('url');
  
            /*
             * Replaces an impure version specification by *
             */
            function replaceImpureVersionSpec(versionSpec) {
                var parsedUrl = url.parse(versionSpec);
  
                if(versionSpec == "latest" || versionSpec == "unstable" ||
                    versionSpec.substr(0, 2) == ".." || dependency.substr(0, 2) == "./" || dependency.substr(0, 2) == "~/" || dependency.substr(0, 1) == '/')
                    return '*';
  