You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

check-flow-annotation

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

check-flow-annotation - npm Package Compare versions

Comparing version

to
1.0.2

2

package.json
{
"name": "check-flow-annotation",
"version": "1.0.1",
"version": "1.0.2",
"description": "A basic flow type annotation checker",

@@ -5,0 +5,0 @@ "keywords": [

@@ -46,25 +46,29 @@ [![Build Status](https://travis-ci.org/DavidBabel/check-flow-annotation.svg?branch=master)](https://travis-ci.org/DavidBabel/check-flow-annotation)

By default it checks every ".js" and ".jsx" in your project, but you can filter it with exclude option
By default it checks every ".js", ".jsx" and ".mjs" in your project,
but you can filter it with exclude option
Note that options are written "--option=value" but short version are written "-o value"
Note that options are written "--option=value"
but short versions are written "-o value"
--help, -h
Displays help information about this script
'index.js -h' or 'index.js --help'
--help, -h
Displays help information about this script
'index.js -h' or 'index.js --help'
--version
Displays version info
index.js --version
--version
Displays version info
index.js --version
--strict, -s
Force to check for "@flow strict"
--strict, -s
Force to check "@flow strict"
--exclude, -x
Allow to exclude certain paths or extensions, it‘s a comma separated value
example: 'build*','.src/static/*'
will be merged with default array: ['node_modules*', '.git*', 'flow-typed*', '.*', '!*.+(js|jsx|mjs)']
--exclude, -x
Allow to exclude certain paths or extensions, it‘s a comma separated value
example: 'build*','.src/static/*'
will be merged with default array:
['node_modules*', '.git*', 'flow-typed*', '.*', '!*.+(js|jsx|mjs)']
--check, -c
Set a custom check
'@flow weak' or '@no flow'
--check, -c
Set a custom check
'@flow weak' or '@no flow'
```

@@ -15,5 +15,7 @@ #!/usr/bin/env node

By default it checks every ".js" and ".jsx" in your project, but you can filter it with exclude option
By default it checks every ".js", ".jsx" and ".mjs" in your project,
but you can filter it with exclude option
Note that options are written "--option=value" but short versions are written "-o value"`
Note that options are written "--option=value"
but short versions are written "-o value"`
)

@@ -26,3 +28,3 @@ .version('v1.0')

type: 'boolean',
description: 'Force to check for "@flow strict"'
description: 'Force to check "@flow strict"'
},

@@ -36,3 +38,4 @@ {

example: `example: 'build*','.src/static/*'
will be merged with default array: ['node_modules*', '.git*', 'flow-typed*', '.*', '!*.+(js|jsx|mjs)']`
will be merged with default array:
['node_modules*', '.git*', 'flow-typed*', '.*', '!*.+(js|jsx|mjs)']`
},

@@ -39,0 +42,0 @@ {