fb-watchman
Advanced tools
Comparing version 1.6.0 to 1.7.0
10
index.js
/* Copyright 2014-present Facebook, Inc. | ||
* Licensed under the Apache License, Version 2.0 */ | ||
'use strict'; | ||
var net = require('net'); | ||
@@ -234,3 +236,3 @@ var EE = require('events').EventEmitter; | ||
cap_versions = { | ||
var cap_versions = { | ||
"cmd-watch-del-all": "3.1.1", | ||
@@ -248,4 +250,4 @@ "cmd-watch-project": "3.1", | ||
b = b.split('.'); | ||
for (i = 0; i < 3; i++) { | ||
d = parseInt(a[i] || '0') - parseInt(b[i] || '0'); | ||
for (var i = 0; i < 3; i++) { | ||
var d = parseInt(a[i] || '0') - parseInt(b[i] || '0'); | ||
if (d != 0) { | ||
@@ -269,3 +271,3 @@ return d; | ||
resp.capabilities = {} | ||
version = resp.version; | ||
var version = resp.version; | ||
optional.forEach(function (name) { | ||
@@ -272,0 +274,0 @@ resp.capabilities[name] = have_cap(version, name); |
{ | ||
"name": "fb-watchman", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"description": "Bindings for the Watchman file watching service", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
10734
284