<commit_before>/**
 * Search latest version of the given keyword 
 * matching package
 */
'use strict';

var name = 'node-sass';
var url = 'http://registry.npmjs.org';

var util = require('util');
var nano = require('nano');

if (process.argv.length === 3) {
	name = process.argv.pop();
}

var server = nano(url)
var registry = server.use(name);

//util.puts(util.inspect(registry));
	
registry.get('latest', function(err, body) {
	if (err) {
		util.error(err);
	}
	//util.puts(util.inspect(body));
	
	util.puts('Latest version of ' + name + ' is ' + body.version);
});<commit_msg>Missing semicolon<commit_after>/**
 * Search latest version of the given keyword
 * matching package
 */
'use strict';

var name = 'node-sass';
var url = 'http://registry.npmjs.org';

var util = require('util');
var nano = require('nano');

if (process.argv.length === 3) {
	name = process.argv.pop();
}

var server = nano(url);
var registry = server.use(name);

//util.puts(util.inspect(registry));

registry.get('latest', function(err, body) {
	if (err) {
		util.error(err);
	}
	//util.puts(util.inspect(body));

	util.puts('Latest version of ' + name + ' is ' + body.version);
});
{'fraction_non_alphanumeric': 0.19329896907216496, 'fraction_numerical': 0.001718213058419244, 'mean_word_length': 4.0873362445414845, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7513763', 'n_tokens_mistral': 427, 'n_tokens_neox': 409, 'n_words': 99}