Repository: nifi-fds
Updated Branches:
  refs/heads/gh-pages 6aea21ba4 -> 954e729fb


http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/954e729f/node_modules/socket.io/node_modules/debug/README.md
----------------------------------------------------------------------
diff --git a/node_modules/socket.io/node_modules/debug/README.md 
b/node_modules/socket.io/node_modules/debug/README.md
index f67be6b..8e754d1 100644
--- a/node_modules/socket.io/node_modules/debug/README.md
+++ b/node_modules/socket.io/node_modules/debug/README.md
@@ -1,12 +1,11 @@
 # debug
-[![Build 
Status](https://travis-ci.org/visionmedia/debug.svg?branch=master)](https://travis-ci.org/visionmedia/debug)
  [![Coverage 
Status](https://coveralls.io/repos/github/visionmedia/debug/badge.svg?branch=master)](https://coveralls.io/github/visionmedia/debug?branch=master)
  
[![Slack](https://visionmedia-community-slackin.now.sh/badge.svg)](https://visionmedia-community-slackin.now.sh/)
 
[![OpenCollective](https://opencollective.com/debug/backers/badge.svg)](#backers)
 
+[![Build 
Status](https://travis-ci.org/visionmedia/debug.svg?branch=master)](https://travis-ci.org/visionmedia/debug)
  [![Coverage 
Status](https://coveralls.io/repos/github/visionmedia/debug/badge.svg?branch=master)](https://coveralls.io/github/visionmedia/debug?branch=master)
  
[![Slack](https://visionmedia-community-slackin.now.sh/badge.svg)](https://visionmedia-community-slackin.now.sh/)
 
[![OpenCollective](https://opencollective.com/debug/backers/badge.svg)](#backers)
 
[![OpenCollective](https://opencollective.com/debug/sponsors/badge.svg)](#sponsors)
 
+<img width="647" 
src="https://user-images.githubusercontent.com/71256/29091486-fa38524c-7c37-11e7-895f-e7ec8e1039b6.png";>
 
-
-A tiny node.js debugging utility modelled after node core's debugging 
technique.
-
-**Discussion around the V3 API is under way 
[here](https://github.com/visionmedia/debug/issues/370)**
+A tiny JavaScript debugging utility modelled after Node.js core's debugging
+technique. Works in Node.js and web browsers.
 
 ## Installation
 
@@ -18,7 +17,7 @@ $ npm install debug
 
 `debug` exposes a function; simply pass this function the name of your module, 
and it will return a decorated version of `console.error` for you to pass debug 
statements to. This will allow you to toggle the debug output for different 
parts of your module as well as the module as a whole.
 
-Example _app.js_:
+Example [_app.js_](./examples/node/app.js):
 
 ```js
 var debug = require('debug')('http')
@@ -27,7 +26,7 @@ var debug = require('debug')('http')
 
 // fake app
 
-debug('booting %s', name);
+debug('booting %o', name);
 
 http.createServer(function(req, res){
   debug(req.method + ' ' + req.url);
@@ -41,81 +40,128 @@ http.createServer(function(req, res){
 require('./worker');
 ```
 
-Example _worker.js_:
+Example [_worker.js_](./examples/node/worker.js):
 
 ```js
-var debug = require('debug')('worker');
+var a = require('debug')('worker:a')
+  , b = require('debug')('worker:b');
 
-setInterval(function(){
-  debug('doing some work');
-}, 1000);
+function work() {
+  a('doing lots of uninteresting work');
+  setTimeout(work, Math.random() * 1000);
+}
+
+work();
+
+function workb() {
+  b('doing some work');
+  setTimeout(workb, Math.random() * 2000);
+}
+
+workb();
 ```
 
- The __DEBUG__ environment variable is then used to enable these based on 
space or comma-delimited names. Here are some examples:
+The `DEBUG` environment variable is then used to enable these based on space or
+comma-delimited names.
 
-  ![debug http and 
worker](http://f.cl.ly/items/18471z1H402O24072r1J/Screenshot.png)
+Here are some examples:
 
-  ![debug worker](http://f.cl.ly/items/1X413v1a3M0d3C2c1E0i/Screenshot.png)
+<img width="647" alt="screen shot 2017-08-08 at 12 53 04 pm" 
src="https://user-images.githubusercontent.com/71256/29091703-a6302cdc-7c38-11e7-8304-7c0b3bc600cd.png";>
+<img width="647" alt="screen shot 2017-08-08 at 12 53 38 pm" 
src="https://user-images.githubusercontent.com/71256/29091700-a62a6888-7c38-11e7-800b-db911291ca2b.png";>
+<img width="647" alt="screen shot 2017-08-08 at 12 53 25 pm" 
src="https://user-images.githubusercontent.com/71256/29091701-a62ea114-7c38-11e7-826a-2692bedca740.png";>
 
 #### Windows note
 
- On Windows the environment variable is set using the `set` command.
+On Windows the environment variable is set using the `set` command.
 
- ```cmd
- set DEBUG=*,-not_this
- ```
+```cmd
+set DEBUG=*,-not_this
+```
 
- Note that PowerShell uses different syntax to set environment variables.
+Note that PowerShell uses different syntax to set environment variables.
 
- ```cmd
- $env:DEBUG = "*,-not_this"
-  ```
+```cmd
+$env:DEBUG = "*,-not_this"
+```
 
 Then, run the program to be debugged as usual.
 
+
+## Namespace Colors
+
+Every debug instance has a color generated for it based on its namespace name.
+This helps when visually parsing the debug output to identify which debug 
instance
+a debug line belongs to.
+
+#### Node.js
+
+In Node.js, colors are enabled when stderr is a TTY. You also _should_ install
+the [`supports-color`](https://npmjs.org/supports-color) module alongside 
debug,
+otherwise debug will only use a small handful of basic colors.
+
+<img width="521" 
src="https://user-images.githubusercontent.com/71256/29092181-47f6a9e6-7c3a-11e7-9a14-1928d8a711cd.png";>
+
+#### Web Browser
+
+Colors are also enabled on "Web Inspectors" that understand the `%c` formatting
+option. These are WebKit web inspectors, Firefox ([since version
+31](https://hacks.mozilla.org/2014/05/editable-box-model-multiple-selection-sublime-text-keys-much-more-firefox-developer-tools-episode-31/))
+and the Firebug plugin for Firefox (any version).
+
+<img width="524" 
src="https://user-images.githubusercontent.com/71256/29092033-b65f9f2e-7c39-11e7-8e32-f6f0d8e865c1.png";>
+
+
 ## Millisecond diff
 
-  When actively developing an application it can be useful to see when the 
time spent between one `debug()` call and the next. Suppose for example you 
invoke `debug()` before requesting a resource, and after as well, the "+NNNms" 
will show you how much time was spent between calls.
+When actively developing an application it can be useful to see when the time 
spent between one `debug()` call and the next. Suppose for example you invoke 
`debug()` before requesting a resource, and after as well, the "+NNNms" will 
show you how much time was spent between calls.
+
+<img width="647" 
src="https://user-images.githubusercontent.com/71256/29091486-fa38524c-7c37-11e7-895f-e7ec8e1039b6.png";>
 
-  ![](http://f.cl.ly/items/2i3h1d3t121M2Z1A3Q0N/Screenshot.png)
+When stdout is not a TTY, `Date#toISOString()` is used, making it more useful 
for logging the debug information as shown below:
 
-  When stdout is not a TTY, `Date#toUTCString()` is used, making it more 
useful for logging the debug information as shown below:
+<img width="647" 
src="https://user-images.githubusercontent.com/71256/29091956-6bd78372-7c39-11e7-8c55-c948396d6edd.png";>
 
-  ![](http://f.cl.ly/items/112H3i0e0o0P0a2Q2r11/Screenshot.png)
 
 ## Conventions
 
-  If you're using this in one or more of your libraries, you _should_ use the 
name of your library so that developers may toggle debugging as desired without 
guessing names. If you have more than one debuggers you _should_ prefix them 
with your library name and use ":" to separate features. For example 
"bodyParser" from Connect would then be "connect:bodyParser".
+If you're using this in one or more of your libraries, you _should_ use the 
name of your library so that developers may toggle debugging as desired without 
guessing names. If you have more than one debuggers you _should_ prefix them 
with your library name and use ":" to separate features. For example 
"bodyParser" from Connect would then be "connect:bodyParser".  If you append a 
"*" to the end of your name, it will always be enabled regardless of the 
setting of the DEBUG environment variable.  You can then use it for normal 
output as well as debug output.
 
 ## Wildcards
 
-  The `*` character may be used as a wildcard. Suppose for example your 
library has debuggers named "connect:bodyParser", "connect:compress", 
"connect:session", instead of listing all three with 
`DEBUG=connect:bodyParser,connect:compress,connect:session`, you may simply do 
`DEBUG=connect:*`, or to run everything using this module simply use `DEBUG=*`.
+The `*` character may be used as a wildcard. Suppose for example your library 
has
+debuggers named "connect:bodyParser", "connect:compress", "connect:session",
+instead of listing all three with
+`DEBUG=connect:bodyParser,connect:compress,connect:session`, you may simply do
+`DEBUG=connect:*`, or to run everything using this module simply use `DEBUG=*`.
 
-  You can also exclude specific debuggers by prefixing them with a "-" 
character.  For example, `DEBUG=*,-connect:*` would include all debuggers 
except those starting with "connect:".
+You can also exclude specific debuggers by prefixing them with a "-" character.
+For example, `DEBUG=*,-connect:*` would include all debuggers except those
+starting with "connect:".
 
 ## Environment Variables
 
-  When running through Node.js, you can set a few environment variables that 
will
-  change the behavior of the debug logging:
+When running through Node.js, you can set a few environment variables that will
+change the behavior of the debug logging:
 
 | Name      | Purpose                                         |
 |-----------|-------------------------------------------------|
 | `DEBUG`   | Enables/disables specific debugging namespaces. |
+| `DEBUG_HIDE_DATE` | Hide date from debug output (non-TTY).  |
 | `DEBUG_COLORS`| Whether or not to use colors in the debug output. |
-| `DEBUG_DEPTH` | Object inspection depth. |
+| `DEBUG_DEPTH` | Object inspection depth.                    |
 | `DEBUG_SHOW_HIDDEN` | Shows hidden properties on inspected objects. |
 
 
-  __Note:__ The environment variables beginning with `DEBUG_` end up being
-  converted into an Options object that gets used with `%o`/`%O` formatters.
-  See the Node.js documentation for
-  
[`util.inspect()`](https://nodejs.org/api/util.html#util_util_inspect_object_options)
-  for the complete list.
+__Note:__ The environment variables beginning with `DEBUG_` end up being
+converted into an Options object that gets used with `%o`/`%O` formatters.
+See the Node.js documentation for
+[`util.inspect()`](https://nodejs.org/api/util.html#util_util_inspect_object_options)
+for the complete list.
 
 ## Formatters
 
-
-  Debug uses [printf-style](https://wikipedia.org/wiki/Printf_format_string) 
formatting. Below are the officially supported formatters:
+Debug uses [printf-style](https://wikipedia.org/wiki/Printf_format_string) 
formatting.
+Below are the officially supported formatters:
 
 | Formatter | Representation |
 |-----------|----------------|
@@ -126,9 +172,12 @@ Then, run the program to be debugged as usual.
 | `%j`      | JSON. Replaced with the string '[Circular]' if the argument 
contains circular references. |
 | `%%`      | Single percent sign ('%'). This does not consume an argument. |
 
+
 ### Custom formatters
 
-  You can add custom formatters by extending the `debug.formatters` object. 
For example, if you wanted to add support for rendering a Buffer as hex with 
`%h`, you could do something like:
+You can add custom formatters by extending the `debug.formatters` object.
+For example, if you wanted to add support for rendering a Buffer as hex with
+`%h`, you could do something like:
 
 ```js
 const createDebug = require('debug')
@@ -142,14 +191,16 @@ debug('this is hex: %h', new Buffer('hello world'))
 //   foo this is hex: 68656c6c6f20776f726c6421 +0ms
 ```
 
-## Browser support
-  You can build a browser-ready script using 
[browserify](https://github.com/substack/node-browserify),
-  or just use the [browserify-as-a-service](https://wzrd.in/) 
[build](https://wzrd.in/standalone/debug@latest),
-  if you don't want to build it yourself.
 
-  Debug's enable state is currently persisted by `localStorage`.
-  Consider the situation shown below where you have `worker:a` and `worker:b`,
-  and wish to debug both. You can enable this using `localStorage.debug`:
+## Browser Support
+
+You can build a browser-ready script using 
[browserify](https://github.com/substack/node-browserify),
+or just use the [browserify-as-a-service](https://wzrd.in/) 
[build](https://wzrd.in/standalone/debug@latest),
+if you don't want to build it yourself.
+
+Debug's enable state is currently persisted by `localStorage`.
+Consider the situation shown below where you have `worker:a` and `worker:b`,
+and wish to debug both. You can enable this using `localStorage.debug`:
 
 ```js
 localStorage.debug = 'worker:*'
@@ -170,23 +221,12 @@ setInterval(function(){
 }, 1200);
 ```
 
-#### Web Inspector Colors
-
-  Colors are also enabled on "Web Inspectors" that understand the `%c` 
formatting
-  option. These are WebKit web inspectors, Firefox ([since version
-  
31](https://hacks.mozilla.org/2014/05/editable-box-model-multiple-selection-sublime-text-keys-much-more-firefox-developer-tools-episode-31/))
-  and the Firebug plugin for Firefox (any version).
-
-  Colored output looks something like:
-
-  
![](https://cloud.githubusercontent.com/assets/71256/3139768/b98c5fd8-e8ef-11e3-862a-f7253b6f47c6.png)
-
 
 ## Output streams
 
   By default `debug` will log to stderr, however this can be configured 
per-namespace by overriding the `log` method:
 
-Example _stdout.js_:
+Example [_stdout.js_](./examples/node/stdout.js):
 
 ```js
 var debug = require('debug');
@@ -208,13 +248,29 @@ error('now goes to stdout via console.info');
 log('still goes to stdout, but via console.info now');
 ```
 
+## Checking whether a debug target is enabled
+
+After you've created a debug instance, you can determine whether or not it is
+enabled by checking the `enabled` property:
+
+```javascript
+const debug = require('debug')('http');
+
+if (debug.enabled) {
+  // do stuff...
+}
+```
+
+You can also manually toggle this property to force the debug instance to be
+enabled or disabled.
+
 
 ## Authors
 
  - TJ Holowaychuk
  - Nathan Rajlich
  - Andrew Rhyne
- 
+
 ## Backers
 
 Support us with a monthly donation and help us continue our activities. 
[[Become a backer](https://opencollective.com/debug#backer)]
@@ -290,7 +346,7 @@ Become a sponsor and get your logo on our README on Github 
with a link to your s
 
 (The MIT License)
 
-Copyright (c) 2014-2016 TJ Holowaychuk &lt;t...@vision-media.ca&gt;
+Copyright (c) 2014-2017 TJ Holowaychuk &lt;t...@vision-media.ca&gt;
 
 Permission is hereby granted, free of charge, to any person obtaining
 a copy of this software and associated documentation files (the

http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/954e729f/node_modules/socket.io/node_modules/debug/component.json
----------------------------------------------------------------------
diff --git a/node_modules/socket.io/node_modules/debug/component.json 
b/node_modules/socket.io/node_modules/debug/component.json
deleted file mode 100644
index 9de2641..0000000
--- a/node_modules/socket.io/node_modules/debug/component.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
-  "name": "debug",
-  "repo": "visionmedia/debug",
-  "description": "small debugging utility",
-  "version": "2.6.9",
-  "keywords": [
-    "debug",
-    "log",
-    "debugger"
-  ],
-  "main": "src/browser.js",
-  "scripts": [
-    "src/browser.js",
-    "src/debug.js"
-  ],
-  "dependencies": {
-    "rauchg/ms.js": "0.7.1"
-  }
-}

http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/954e729f/node_modules/socket.io/node_modules/debug/package.json
----------------------------------------------------------------------
diff --git a/node_modules/socket.io/node_modules/debug/package.json 
b/node_modules/socket.io/node_modules/debug/package.json
index 972e507..cfc62a6 100644
--- a/node_modules/socket.io/node_modules/debug/package.json
+++ b/node_modules/socket.io/node_modules/debug/package.json
@@ -1,32 +1,32 @@
 {
   "_args": [
     [
-      "debug@2.6.9",
+      "debug@3.1.0",
       "/Users/scottyaslan/Development/nifi-fds/target"
     ]
   ],
   "_development": true,
-  "_from": "debug@2.6.9",
-  "_id": "debug@2.6.9",
+  "_from": "debug@3.1.0",
+  "_id": "debug@3.1.0",
   "_inBundle": false,
-  "_integrity": 
"sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+  "_integrity": 
"sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==",
   "_location": "/socket.io/debug",
   "_phantomChildren": {},
   "_requested": {
     "type": "version",
     "registry": true,
-    "raw": "debug@2.6.9",
+    "raw": "debug@3.1.0",
     "name": "debug",
     "escapedName": "debug",
-    "rawSpec": "2.6.9",
+    "rawSpec": "3.1.0",
     "saveSpec": null,
-    "fetchSpec": "2.6.9"
+    "fetchSpec": "3.1.0"
   },
   "_requiredBy": [
     "/socket.io"
   ],
-  "_resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz";,
-  "_spec": "2.6.9",
+  "_resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz";,
+  "_spec": "3.1.0",
   "_where": "/Users/scottyaslan/Development/nifi-fds/target",
   "author": {
     "name": "TJ Holowaychuk",
@@ -36,12 +36,6 @@
   "bugs": {
     "url": "https://github.com/visionmedia/debug/issues";
   },
-  "component": {
-    "scripts": {
-      "debug/index.js": "browser.js",
-      "debug/debug.js": "debug.js"
-    }
-  },
   "contributors": [
     {
       "name": "Nathan Rajlich",
@@ -58,7 +52,7 @@
   },
   "description": "small debugging utility",
   "devDependencies": {
-    "browserify": "9.0.3",
+    "browserify": "14.4.0",
     "chai": "^3.5.0",
     "concurrently": "^3.1.0",
     "coveralls": "^2.11.15",
@@ -88,5 +82,5 @@
     "type": "git",
     "url": "git://github.com/visionmedia/debug.git"
   },
-  "version": "2.6.9"
+  "version": "3.1.0"
 }

http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/954e729f/node_modules/stringstream/.npmignore
----------------------------------------------------------------------
diff --git a/node_modules/stringstream/.npmignore 
b/node_modules/stringstream/.npmignore
deleted file mode 100644
index 7dccd97..0000000
--- a/node_modules/stringstream/.npmignore
+++ /dev/null
@@ -1,15 +0,0 @@
-lib-cov
-*.seed
-*.log
-*.csv
-*.dat
-*.out
-*.pid
-*.gz
-
-pids
-logs
-results
-
-node_modules
-npm-debug.log
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/954e729f/node_modules/stringstream/package.json
----------------------------------------------------------------------
diff --git a/node_modules/stringstream/package.json 
b/node_modules/stringstream/package.json
index ace4c34..4cfa52d 100644
--- a/node_modules/stringstream/package.json
+++ b/node_modules/stringstream/package.json
@@ -1,34 +1,34 @@
 {
   "_args": [
     [
-      "stringstream@0.0.5",
+      "stringstream@0.0.6",
       "/Users/scottyaslan/Development/nifi-fds/target"
     ]
   ],
   "_development": true,
-  "_from": "stringstream@0.0.5",
-  "_id": "stringstream@0.0.5",
+  "_from": "stringstream@0.0.6",
+  "_id": "stringstream@0.0.6",
   "_inBundle": false,
-  "_integrity": "sha1-TkhM1N5aC7vuGORjB3EKioFiGHg=",
+  "_integrity": 
"sha512-87GEBAkegbBcweToUrdzf3eLhWNg06FJTebl4BVJz/JgWy8CvEr9dRtX5qWphiynMSQlxxi+QqN0z5T32SLlhA==",
   "_location": "/stringstream",
   "_phantomChildren": {},
   "_requested": {
     "type": "version",
     "registry": true,
-    "raw": "stringstream@0.0.5",
+    "raw": "stringstream@0.0.6",
     "name": "stringstream",
     "escapedName": "stringstream",
-    "rawSpec": "0.0.5",
+    "rawSpec": "0.0.6",
     "saveSpec": null,
-    "fetchSpec": "0.0.5"
+    "fetchSpec": "0.0.6"
   },
   "_requiredBy": [
     "/loggly/request",
     "/node-sass/request",
     "/request"
   ],
-  "_resolved": 
"https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz";,
-  "_spec": "0.0.5",
+  "_resolved": 
"https://registry.npmjs.org/stringstream/-/stringstream-0.0.6.tgz";,
+  "_spec": "0.0.6",
   "_where": "/Users/scottyaslan/Development/nifi-fds/target",
   "author": {
     "name": "Michael Hart",
@@ -53,5 +53,5 @@
     "type": "git",
     "url": "git+https://github.com/mhart/StringStream.git";
   },
-  "version": "0.0.5"
+  "version": "0.0.6"
 }

http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/954e729f/node_modules/stringstream/stringstream.js
----------------------------------------------------------------------
diff --git a/node_modules/stringstream/stringstream.js 
b/node_modules/stringstream/stringstream.js
index 4ece127..6732b9d 100644
--- a/node_modules/stringstream/stringstream.js
+++ b/node_modules/stringstream/stringstream.js
@@ -28,7 +28,7 @@ StringStream.prototype.write = function(data) {
     return false
   }
   if (this.fromEncoding) {
-    if (Buffer.isBuffer(data)) data = data.toString()
+    if (Buffer.isBuffer(data) || typeof data === 'number') data = 
data.toString()
     data = new Buffer(data, this.fromEncoding)
   }
   var string = this.decoder.write(data)

Reply via email to