Comparing version 0.18.1 to 0.19.0
#!/usr/bin/env node | ||
/** | ||
* Copyright (c) 2015-present, Facebook, Inc. | ||
* All rights reserved. | ||
* | ||
* This source code is licensed under the BSD-style license found in the | ||
* LICENSE file in the root directory of this source tree. An additional grant | ||
* of patent rights can be found in the PATENTS file in the same directory. | ||
*/ | ||
'use strict'; | ||
@@ -3,0 +11,0 @@ var spawn = require('child_process').spawn; |
@@ -0,3 +1,11 @@ | ||
/** | ||
* Copyright (c) 2015-present, Facebook, Inc. | ||
* All rights reserved. | ||
* | ||
* This source code is licensed under the BSD-style license found in the | ||
* LICENSE file in the root directory of this source tree. An additional grant | ||
* of patent rights can be found in the PATENTS file in the same directory. | ||
*/ | ||
'use strict'; | ||
var bin = require('./lib'); | ||
module.exports = bin.path(); |
@@ -0,1 +1,9 @@ | ||
/** | ||
* Copyright (c) 2015-present, Facebook, Inc. | ||
* All rights reserved. | ||
* | ||
* This source code is licensed under the BSD-style license found in the | ||
* LICENSE file in the root directory of this source tree. An additional grant | ||
* of patent rights can be found in the PATENTS file in the same directory. | ||
*/ | ||
'use strict'; | ||
@@ -5,3 +13,3 @@ var path = require('path'); | ||
var VERSION = '0.18.1'; | ||
var VERSION = '0.19.0'; | ||
var BASE = 'https://github.com/facebook/flow/releases/download/v' + VERSION + '/'; | ||
@@ -8,0 +16,0 @@ |
@@ -0,1 +1,9 @@ | ||
/** | ||
* Copyright (c) 2015-present, Facebook, Inc. | ||
* All rights reserved. | ||
* | ||
* This source code is licensed under the BSD-style license found in the | ||
* LICENSE file in the root directory of this source tree. An additional grant | ||
* of patent rights can be found in the PATENTS file in the same directory. | ||
*/ | ||
'use strict'; | ||
@@ -2,0 +10,0 @@ var log = require('logalot'); |
{ | ||
"name": "flow-bin", | ||
"version": "0.18.1", | ||
"description": "Binary wrapper for Flow - a static type checker for JavaScript", | ||
"version": "0.19.0", | ||
"description": "Binary wrapper for Flow - A static type checker for JavaScript", | ||
"license": "MIT", | ||
@@ -16,3 +16,3 @@ "repository": "sindresorhus/flow-bin", | ||
"scripts": { | ||
"test": "npm run postinstall && node test.js", | ||
"test": "npm run postinstall && xo && ava", | ||
"postinstall": "node lib/install.js" | ||
@@ -48,5 +48,11 @@ }, | ||
"devDependencies": { | ||
"ava": "0.0.4", | ||
"bin-check": "^1.0.0" | ||
"ava": "*", | ||
"bin-check": "^3.0.0", | ||
"xo": "*" | ||
}, | ||
"xo": { | ||
"ignores": [ | ||
"test.js" | ||
] | ||
} | ||
} |
@@ -1,4 +0,4 @@ | ||
# flow-bin [![Build Status](https://travis-ci.org/sindresorhus/flow-bin.svg?branch=master)](https://travis-ci.org/sindresorhus/flow-bin) | ||
# flow-bin [![Build Status](https://travis-ci.org/flowtype/flow-bin.svg?branch=master)](https://travis-ci.org/flowtype/flow-bin) | ||
> Binary wrapper for [Flow](http://flowtype.org) - a static type checker for JavaScript | ||
> Binary wrapper for [Flow](http://flowtype.org) - A static type checker for JavaScript | ||
@@ -10,7 +10,7 @@ Only OS X and Linux (64-bit) binaries are currently [provided](http://flowtype.org/docs/getting-started.html#_). | ||
```sh | ||
``` | ||
$ npm install --global flow-bin | ||
``` | ||
```sh | ||
``` | ||
$ flow --help | ||
@@ -22,3 +22,3 @@ ``` | ||
```sh | ||
``` | ||
$ npm install --save flow-bin | ||
@@ -28,6 +28,6 @@ ``` | ||
```js | ||
var execFile = require('child_process').execFile; | ||
var flow = require('flow-bin'); | ||
const execFile = require('child_process').execFile; | ||
const flow = require('flow-bin'); | ||
execFile(flow, ['check'], function (err, stdout, stderr) { | ||
execFile(flow, ['check'], (err, stdout) => { | ||
console.log(stdout); | ||
@@ -40,2 +40,2 @@ }); | ||
MIT © [Sindre Sorhus](http://sindresorhus.com) | ||
flow-bin is BSD-licensed. We also provide an additional patent grant. |
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
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
5384
7
63
3
2
80