From 449a3f54737a44ce8dea731ab77fdb547e95a388 Mon Sep 17 00:00:00 2001 From: Arda Seremet Date: Fri, 17 Jul 2020 18:39:22 +0300 Subject: [PATCH] Eased the installation process --- .gitignore | 3 +- app.js | 81 +- app.rockpis.js | 920 - conf.json | 51 - node_modules/.bin/jshint | 1 - node_modules/.bin/mime | 1 - node_modules/.bin/shjs | 1 - node_modules/.bin/strip-json-comments | 1 - node_modules/accepts/HISTORY.md | 236 - node_modules/accepts/LICENSE | 23 - node_modules/accepts/README.md | 142 - node_modules/accepts/index.js | 238 - node_modules/accepts/package.json | 87 - node_modules/after/.npmignore | 2 - node_modules/after/.travis.yml | 12 - node_modules/after/LICENCE | 19 - node_modules/after/README.md | 115 - node_modules/after/index.js | 28 - node_modules/after/package.json | 63 - node_modules/after/test/after-test.js | 120 - node_modules/array-flatten/LICENSE | 21 - node_modules/array-flatten/README.md | 43 - node_modules/array-flatten/array-flatten.js | 64 - node_modules/array-flatten/package.json | 64 - node_modules/arraybuffer.slice/.npmignore | 17 - node_modules/arraybuffer.slice/LICENCE | 18 - node_modules/arraybuffer.slice/Makefile | 8 - node_modules/arraybuffer.slice/README.md | 17 - node_modules/arraybuffer.slice/index.js | 29 - node_modules/arraybuffer.slice/package.json | 44 - .../arraybuffer.slice/test/slice-buffer.js | 227 - node_modules/async-limiter/.eslintignore | 2 - node_modules/async-limiter/.nycrc | 10 - node_modules/async-limiter/.travis.yml | 9 - node_modules/async-limiter/LICENSE | 8 - node_modules/async-limiter/index.js | 67 - node_modules/async-limiter/package.json | 69 - node_modules/async-limiter/readme.md | 132 - node_modules/backo2/.npmignore | 1 - node_modules/backo2/History.md | 12 - node_modules/backo2/Makefile | 8 - node_modules/backo2/Readme.md | 34 - node_modules/backo2/component.json | 11 - node_modules/backo2/index.js | 85 - node_modules/backo2/package.json | 47 - node_modules/backo2/test/index.js | 18 - node_modules/balanced-match/.npmignore | 5 - node_modules/balanced-match/LICENSE.md | 21 - node_modules/balanced-match/README.md | 91 - node_modules/balanced-match/index.js | 59 - node_modules/balanced-match/package.json | 77 - node_modules/base64-arraybuffer/.npmignore | 3 - node_modules/base64-arraybuffer/.travis.yml | 19 - node_modules/base64-arraybuffer/LICENSE-MIT | 22 - node_modules/base64-arraybuffer/README.md | 20 - .../lib/base64-arraybuffer.js | 67 - node_modules/base64-arraybuffer/package.json | 65 - node_modules/base64id/CHANGELOG.md | 16 - node_modules/base64id/LICENSE | 22 - node_modules/base64id/README.md | 18 - node_modules/base64id/lib/base64id.js | 103 - node_modules/base64id/package.json | 47 - node_modules/better-assert/.npmignore | 4 - node_modules/better-assert/History.md | 15 - node_modules/better-assert/Makefile | 5 - node_modules/better-assert/Readme.md | 61 - node_modules/better-assert/example.js | 10 - node_modules/better-assert/index.js | 38 - node_modules/better-assert/package.json | 65 - node_modules/blob/.idea/blob.iml | 12 - .../inspectionProfiles/profiles_settings.xml | 5 - .../blob/.idea/markdown-navigator.xml | 78 - .../markdown-navigator/profiles_settings.xml | 3 - node_modules/blob/.idea/modules.xml | 8 - node_modules/blob/.idea/vcs.xml | 6 - node_modules/blob/.idea/workspace.xml | 390 - node_modules/blob/.zuul.yml | 14 - node_modules/blob/LICENSE | 21 - node_modules/blob/Makefile | 14 - node_modules/blob/README.md | 21 - node_modules/blob/component.json | 11 - node_modules/blob/index.js | 100 - node_modules/blob/package.json | 49 - node_modules/blob/test/index.js | 100 - node_modules/body-parser/HISTORY.md | 609 - node_modules/body-parser/LICENSE | 23 - node_modules/body-parser/README.md | 443 - node_modules/body-parser/index.js | 157 - node_modules/body-parser/lib/read.js | 181 - node_modules/body-parser/lib/types/json.js | 230 - node_modules/body-parser/lib/types/raw.js | 101 - node_modules/body-parser/lib/types/text.js | 121 - .../body-parser/lib/types/urlencoded.js | 284 - node_modules/body-parser/package.json | 91 - node_modules/brace-expansion/LICENSE | 21 - node_modules/brace-expansion/README.md | 129 - node_modules/brace-expansion/index.js | 201 - node_modules/brace-expansion/package.json | 75 - node_modules/bytes/History.md | 87 - node_modules/bytes/LICENSE | 23 - node_modules/bytes/Readme.md | 126 - node_modules/bytes/index.js | 162 - node_modules/bytes/package.json | 84 - node_modules/callsite/.npmignore | 4 - node_modules/callsite/History.md | 10 - node_modules/callsite/Makefile | 6 - node_modules/callsite/Readme.md | 44 - node_modules/callsite/index.js | 10 - node_modules/callsite/package.json | 48 - node_modules/cli/.npmignore | 1 - node_modules/cli/README.md | 201 - node_modules/cli/cli.js | 1112 - node_modules/cli/examples/cat.js | 17 - node_modules/cli/examples/command.js | 16 - node_modules/cli/examples/echo.js | 54 - node_modules/cli/examples/glob.js | 6 - node_modules/cli/examples/long_desc.js | 20 - node_modules/cli/examples/progress.js | 11 - node_modules/cli/examples/sort.js | 18 - node_modules/cli/examples/spinner.js | 9 - node_modules/cli/index.js | 1 - node_modules/cli/package.json | 70 - node_modules/component-bind/.npmignore | 4 - node_modules/component-bind/History.md | 13 - node_modules/component-bind/Makefile | 7 - node_modules/component-bind/Readme.md | 64 - node_modules/component-bind/component.json | 13 - node_modules/component-bind/index.js | 23 - node_modules/component-bind/package.json | 51 - node_modules/component-emitter/History.md | 68 - node_modules/component-emitter/LICENSE | 24 - node_modules/component-emitter/Readme.md | 74 - node_modules/component-emitter/index.js | 163 - node_modules/component-emitter/package.json | 58 - node_modules/component-inherit/.npmignore | 3 - node_modules/component-inherit/History.md | 5 - node_modules/component-inherit/Makefile | 16 - node_modules/component-inherit/Readme.md | 24 - node_modules/component-inherit/component.json | 10 - node_modules/component-inherit/index.js | 7 - node_modules/component-inherit/package.json | 48 - .../component-inherit/test/inherit.js | 21 - node_modules/concat-map/.travis.yml | 4 - node_modules/concat-map/LICENSE | 18 - node_modules/concat-map/README.markdown | 62 - node_modules/concat-map/example/map.js | 6 - node_modules/concat-map/index.js | 13 - node_modules/concat-map/package.json | 88 - node_modules/concat-map/test/map.js | 39 - node_modules/console-browserify/.npmignore | 14 - node_modules/console-browserify/.testem.json | 14 - node_modules/console-browserify/.travis.yml | 4 - node_modules/console-browserify/LICENCE | 19 - node_modules/console-browserify/README.md | 33 - node_modules/console-browserify/index.js | 86 - node_modules/console-browserify/package.json | 93 - node_modules/console-browserify/test/index.js | 67 - .../console-browserify/test/static/index.html | 12 - .../test/static/test-adapter.js | 53 - node_modules/content-disposition/HISTORY.md | 55 - node_modules/content-disposition/LICENSE | 22 - node_modules/content-disposition/README.md | 148 - node_modules/content-disposition/index.js | 458 - node_modules/content-disposition/package.json | 79 - node_modules/content-type/HISTORY.md | 24 - node_modules/content-type/LICENSE | 22 - node_modules/content-type/README.md | 92 - node_modules/content-type/index.js | 222 - node_modules/content-type/package.json | 76 - node_modules/cookie-signature/.npmignore | 4 - node_modules/cookie-signature/History.md | 38 - node_modules/cookie-signature/Readme.md | 42 - node_modules/cookie-signature/index.js | 51 - node_modules/cookie-signature/package.json | 57 - node_modules/cookie/HISTORY.md | 123 - node_modules/cookie/LICENSE | 24 - node_modules/cookie/README.md | 253 - node_modules/cookie/index.js | 198 - node_modules/cookie/package.json | 78 - node_modules/core-util-is/LICENSE | 19 - node_modules/core-util-is/README.md | 3 - node_modules/core-util-is/float.patch | 604 - node_modules/core-util-is/lib/util.js | 107 - node_modules/core-util-is/package.json | 62 - node_modules/core-util-is/test.js | 68 - node_modules/cron/.eslintrc | 28 - node_modules/cron/.prettierrc | 4 - node_modules/cron/.travis.yml | 11 - node_modules/cron/CHANGELOG.md | 15 - node_modules/cron/LICENSE | 8 - node_modules/cron/README.md | 196 - node_modules/cron/bower.json | 29 - node_modules/cron/examples/at_10_minutes.js | 9 - node_modules/cron/examples/at_midnight.js | 9 - node_modules/cron/examples/basic.js | 9 - node_modules/cron/examples/complex_expr.js | 9 - .../cron/examples/every_10_minutes.js | 9 - .../every_30_minutes_between_9_and_5.js | 9 - node_modules/cron/examples/get_next_runs.js | 24 - node_modules/cron/examples/in_the_past.js | 19 - .../cron/examples/is_crontime_valid.js | 9 - node_modules/cron/examples/is_job_running.js | 10 - .../cron/examples/long_running_on_tick.js | 20 - .../cron/examples/mon_to_fri_at_11_30.js | 9 - node_modules/cron/examples/multiple_jobs.js | 15 - node_modules/cron/examples/object_param.js | 23 - .../cron/examples/run_at_specific_date.js | 11 - .../cron/examples/time_dom_syntax_with_tz.js | 13 - node_modules/cron/lib/cron.js | 742 - node_modules/cron/package.json | 147 - node_modules/cron/tests/cron.test.js | 843 - node_modules/cron/tests/crontime.test.js | 406 - node_modules/date-now/.npmignore | 14 - node_modules/date-now/.testem.json | 14 - node_modules/date-now/.travis.yml | 4 - node_modules/date-now/LICENCE | 19 - node_modules/date-now/README.md | 45 - node_modules/date-now/index.js | 5 - node_modules/date-now/package.json | 94 - node_modules/date-now/seed.js | 16 - node_modules/date-now/test/index.js | 28 - node_modules/date-now/test/static/index.html | 10 - node_modules/debug/.coveralls.yml | 1 - node_modules/debug/.eslintrc | 11 - node_modules/debug/.npmignore | 9 - node_modules/debug/.travis.yml | 14 - node_modules/debug/CHANGELOG.md | 362 - node_modules/debug/LICENSE | 19 - node_modules/debug/Makefile | 50 - node_modules/debug/README.md | 312 - node_modules/debug/component.json | 19 - node_modules/debug/karma.conf.js | 70 - node_modules/debug/node.js | 1 - node_modules/debug/package.json | 91 - node_modules/debug/src/browser.js | 185 - node_modules/debug/src/debug.js | 202 - node_modules/debug/src/index.js | 10 - node_modules/debug/src/inspector-log.js | 15 - node_modules/debug/src/node.js | 248 - node_modules/depd/History.md | 96 - node_modules/depd/LICENSE | 22 - node_modules/depd/Readme.md | 280 - node_modules/depd/index.js | 522 - node_modules/depd/lib/browser/index.js | 77 - .../depd/lib/compat/callsite-tostring.js | 103 - .../depd/lib/compat/event-listener-count.js | 22 - node_modules/depd/lib/compat/index.js | 79 - node_modules/depd/package.json | 79 - node_modules/destroy/LICENSE | 22 - node_modules/destroy/README.md | 60 - node_modules/destroy/index.js | 75 - node_modules/destroy/package.json | 71 - node_modules/dom-serializer/LICENSE | 11 - node_modules/dom-serializer/README.md | 1 - node_modules/dom-serializer/foreignNames.json | 102 - node_modules/dom-serializer/index.d.ts | 17 - node_modules/dom-serializer/index.js | 183 - .../node_modules/domelementtype/LICENSE | 11 - .../node_modules/domelementtype/README.md | 1 - .../domelementtype/lib/index.d.ts | 28 - .../domelementtype/lib/index.d.ts.map | 1 - .../node_modules/domelementtype/lib/index.js | 22 - .../node_modules/domelementtype/package.json | 70 - .../node_modules/entities/LICENSE | 11 - .../node_modules/entities/lib/decode.d.ts | 7 - .../node_modules/entities/lib/decode.d.ts.map | 1 - .../node_modules/entities/lib/decode.js | 54 - .../entities/lib/decode_codepoint.d.ts | 2 - .../entities/lib/decode_codepoint.d.ts.map | 1 - .../entities/lib/decode_codepoint.js | 24 - .../node_modules/entities/lib/encode.d.ts | 4 - .../node_modules/entities/lib/encode.d.ts.map | 1 - .../node_modules/entities/lib/encode.js | 73 - .../node_modules/entities/lib/index.d.ts | 24 - .../node_modules/entities/lib/index.d.ts.map | 1 - .../node_modules/entities/lib/index.js | 52 - .../entities/lib/maps/decode.json | 30 - .../entities/lib/maps/entities.json | 1 - .../entities/lib/maps/legacy.json | 1 - .../node_modules/entities/lib/maps/xml.json | 1 - .../node_modules/entities/package.json | 88 - .../node_modules/entities/readme.md | 50 - node_modules/dom-serializer/package.json | 72 - node_modules/domelementtype/LICENSE | 11 - node_modules/domelementtype/index.js | 15 - node_modules/domelementtype/package.json | 50 - node_modules/domelementtype/readme.md | 1 - node_modules/domhandler/.travis.yml | 7 - node_modules/domhandler/LICENSE | 11 - node_modules/domhandler/index.js | 182 - node_modules/domhandler/lib/element.js | 20 - node_modules/domhandler/lib/node.js | 44 - node_modules/domhandler/package.json | 72 - node_modules/domhandler/readme.md | 105 - .../domhandler/test/cases/01-basic.json | 57 - .../test/cases/02-single_tag_1.json | 21 - .../test/cases/03-single_tag_2.json | 21 - .../test/cases/04-unescaped_in_script.json | 27 - .../test/cases/05-tags_in_comment.json | 18 - .../test/cases/06-comment_in_script.json | 18 - .../test/cases/07-unescaped_in_style.json | 20 - .../test/cases/08-extra_spaces_in_tag.json | 20 - .../test/cases/09-unquoted_attrib.json | 20 - .../test/cases/10-singular_attribute.json | 15 - .../test/cases/11-text_outside_tags.json | 40 - .../domhandler/test/cases/12-text_only.json | 11 - .../test/cases/13-comment_in_text.json | 19 - .../cases/14-comment_in_text_in_script.json | 18 - .../domhandler/test/cases/15-non-verbose.json | 22 - .../test/cases/16-normalize_whitespace.json | 47 - .../test/cases/17-xml_namespace.json | 18 - .../test/cases/18-enforce_empty_tags.json | 16 - .../test/cases/19-ignore_empty_tags.json | 20 - .../test/cases/20-template_script_tags.json | 20 - .../test/cases/21-conditional_comments.json | 15 - .../test/cases/22-lowercase_tags.json | 41 - .../domhandler/test/cases/23-dom-lvl1.json | 131 - .../test/cases/24-with-start-indices.json | 85 - node_modules/domhandler/test/tests.js | 60 - node_modules/domutils/.npmignore | 1 - node_modules/domutils/LICENSE | 11 - node_modules/domutils/index.js | 14 - node_modules/domutils/lib/helpers.js | 141 - node_modules/domutils/lib/legacy.js | 87 - node_modules/domutils/lib/manipulation.js | 77 - node_modules/domutils/lib/querying.js | 94 - node_modules/domutils/lib/stringify.js | 22 - node_modules/domutils/lib/traversal.js | 24 - node_modules/domutils/package.json | 78 - node_modules/domutils/readme.md | 1 - node_modules/domutils/test/fixture.js | 6 - node_modules/domutils/test/tests/helpers.js | 89 - node_modules/domutils/test/tests/legacy.js | 119 - node_modules/domutils/test/tests/traversal.js | 17 - node_modules/domutils/test/utils.js | 9 - node_modules/ee-first/LICENSE | 22 - node_modules/ee-first/README.md | 80 - node_modules/ee-first/index.js | 95 - node_modules/ee-first/package.json | 63 - node_modules/encodeurl/HISTORY.md | 14 - node_modules/encodeurl/LICENSE | 22 - node_modules/encodeurl/README.md | 128 - node_modules/encodeurl/index.js | 60 - node_modules/encodeurl/package.json | 78 - node_modules/engine.io-client/CHANGELOG.md | 22 - node_modules/engine.io-client/LICENSE | 22 - node_modules/engine.io-client/README.md | 300 - node_modules/engine.io-client/engine.io.js | 4732 --- .../lib/globalThis.browser.js | 9 - .../engine.io-client/lib/globalThis.js | 1 - node_modules/engine.io-client/lib/index.js | 10 - node_modules/engine.io-client/lib/socket.js | 748 - .../engine.io-client/lib/transport.js | 161 - .../engine.io-client/lib/transports/index.js | 53 - .../lib/transports/polling-jsonp.js | 230 - .../lib/transports/polling-xhr.js | 418 - .../lib/transports/polling.js | 245 - .../lib/transports/websocket.js | 299 - .../engine.io-client/lib/xmlhttprequest.js | 38 - .../node_modules/component-emitter/History.md | 75 - .../node_modules/component-emitter/LICENSE | 24 - .../node_modules/component-emitter/Readme.md | 74 - .../node_modules/component-emitter/index.js | 175 - .../component-emitter/package.json | 56 - .../node_modules/debug/CHANGELOG.md | 395 - .../node_modules/debug/LICENSE | 19 - .../node_modules/debug/README.md | 455 - .../node_modules/debug/dist/debug.js | 912 - .../node_modules/debug/package.json | 102 - .../node_modules/debug/src/browser.js | 264 - .../node_modules/debug/src/common.js | 266 - .../node_modules/debug/src/index.js | 10 - .../node_modules/debug/src/node.js | 257 - .../engine.io-client/node_modules/ms/index.js | 162 - .../node_modules/ms/license.md | 21 - .../node_modules/ms/package.json | 69 - .../node_modules/ms/readme.md | 60 - .../engine.io-client/node_modules/ws/LICENSE | 21 - .../node_modules/ws/README.md | 449 - .../node_modules/ws/browser.js | 8 - .../engine.io-client/node_modules/ws/index.js | 9 - .../node_modules/ws/lib/buffer-util.js | 72 - .../node_modules/ws/lib/constants.js | 10 - .../node_modules/ws/lib/event-target.js | 170 - .../node_modules/ws/lib/extension.js | 222 - .../node_modules/ws/lib/permessage-deflate.js | 502 - .../node_modules/ws/lib/receiver.js | 515 - .../node_modules/ws/lib/sender.js | 416 - .../node_modules/ws/lib/validation.js | 30 - .../node_modules/ws/lib/websocket-server.js | 389 - .../node_modules/ws/lib/websocket.js | 852 - .../node_modules/ws/package.json | 79 - node_modules/engine.io-client/package.json | 114 - node_modules/engine.io-parser/LICENSE | 22 - node_modules/engine.io-parser/Readme.md | 202 - node_modules/engine.io-parser/lib/browser.js | 605 - node_modules/engine.io-parser/lib/index.js | 473 - node_modules/engine.io-parser/lib/keys.js | 19 - node_modules/engine.io-parser/lib/utf8.js | 210 - node_modules/engine.io-parser/package.json | 63 - node_modules/engine.io/CHANGELOG.md | 19 - node_modules/engine.io/LICENSE | 19 - node_modules/engine.io/README.md | 564 - node_modules/engine.io/lib/engine.io.js | 126 - node_modules/engine.io/lib/server.js | 587 - node_modules/engine.io/lib/socket.js | 486 - node_modules/engine.io/lib/transport.js | 128 - .../engine.io/lib/transports/index.js | 36 - .../engine.io/lib/transports/polling-jsonp.js | 75 - .../engine.io/lib/transports/polling-xhr.js | 69 - .../engine.io/lib/transports/polling.js | 407 - .../engine.io/lib/transports/websocket.js | 134 - .../engine.io/node_modules/cookie/HISTORY.md | 118 - .../engine.io/node_modules/cookie/LICENSE | 24 - .../engine.io/node_modules/cookie/README.md | 220 - .../engine.io/node_modules/cookie/index.js | 195 - .../node_modules/cookie/package.json | 71 - .../engine.io/node_modules/debug/CHANGELOG.md | 395 - .../engine.io/node_modules/debug/LICENSE | 19 - .../engine.io/node_modules/debug/README.md | 455 - .../node_modules/debug/dist/debug.js | 912 - .../engine.io/node_modules/debug/package.json | 102 - .../node_modules/debug/src/browser.js | 264 - .../node_modules/debug/src/common.js | 266 - .../engine.io/node_modules/debug/src/index.js | 10 - .../engine.io/node_modules/debug/src/node.js | 257 - .../engine.io/node_modules/ms/index.js | 162 - .../engine.io/node_modules/ms/license.md | 21 - .../engine.io/node_modules/ms/package.json | 69 - .../engine.io/node_modules/ms/readme.md | 60 - node_modules/engine.io/package.json | 96 - node_modules/entities/.travis.yml | 7 - node_modules/entities/LICENSE | 11 - node_modules/entities/index.js | 31 - node_modules/entities/lib/decode.js | 72 - node_modules/entities/lib/decode_codepoint.js | 26 - node_modules/entities/lib/encode.js | 48 - node_modules/entities/maps/decode.json | 1 - node_modules/entities/maps/entities.json | 1 - node_modules/entities/maps/legacy.json | 1 - node_modules/entities/maps/xml.json | 1 - node_modules/entities/package.json | 85 - node_modules/entities/readme.md | 31 - node_modules/entities/test/mocha.opts | 2 - node_modules/entities/test/test.js | 150 - node_modules/escape-html/LICENSE | 24 - node_modules/escape-html/Readme.md | 43 - node_modules/escape-html/index.js | 78 - node_modules/escape-html/package.json | 59 - node_modules/etag/HISTORY.md | 83 - node_modules/etag/LICENSE | 22 - node_modules/etag/README.md | 159 - node_modules/etag/index.js | 131 - node_modules/etag/package.json | 86 - node_modules/exit/.jshintrc | 14 - node_modules/exit/.npmignore | 0 node_modules/exit/.travis.yml | 6 - node_modules/exit/Gruntfile.js | 48 - node_modules/exit/LICENSE-MIT | 22 - node_modules/exit/README.md | 75 - node_modules/exit/lib/exit.js | 41 - node_modules/exit/package.json | 73 - node_modules/exit/test/exit_test.js | 121 - node_modules/exit/test/fixtures/10-stderr.txt | 10 - .../exit/test/fixtures/10-stdout-stderr.txt | 20 - node_modules/exit/test/fixtures/10-stdout.txt | 10 - .../exit/test/fixtures/100-stderr.txt | 100 - .../exit/test/fixtures/100-stdout-stderr.txt | 200 - .../exit/test/fixtures/100-stdout.txt | 100 - .../exit/test/fixtures/1000-stderr.txt | 1000 - .../exit/test/fixtures/1000-stdout-stderr.txt | 2000 - .../exit/test/fixtures/1000-stdout.txt | 1000 - .../exit/test/fixtures/create-files.sh | 8 - node_modules/exit/test/fixtures/log-broken.js | 23 - node_modules/exit/test/fixtures/log.js | 25 - node_modules/express/History.md | 3477 -- node_modules/express/LICENSE | 24 - node_modules/express/Readme.md | 155 - node_modules/express/index.js | 11 - node_modules/express/lib/application.js | 644 - node_modules/express/lib/express.js | 116 - node_modules/express/lib/middleware/init.js | 43 - node_modules/express/lib/middleware/query.js | 47 - node_modules/express/lib/request.js | 525 - node_modules/express/lib/response.js | 1142 - node_modules/express/lib/router/index.js | 662 - node_modules/express/lib/router/layer.js | 181 - node_modules/express/lib/router/route.js | 216 - node_modules/express/lib/utils.js | 306 - node_modules/express/lib/view.js | 182 - node_modules/express/package.json | 154 - node_modules/finalhandler/HISTORY.md | 187 - node_modules/finalhandler/LICENSE | 22 - node_modules/finalhandler/README.md | 148 - node_modules/finalhandler/index.js | 331 - node_modules/finalhandler/package.json | 80 - node_modules/forwarded/HISTORY.md | 16 - node_modules/forwarded/LICENSE | 22 - node_modules/forwarded/README.md | 57 - node_modules/forwarded/index.js | 76 - node_modules/forwarded/package.json | 78 - node_modules/fresh/HISTORY.md | 70 - node_modules/fresh/LICENSE | 23 - node_modules/fresh/README.md | 119 - node_modules/fresh/index.js | 137 - node_modules/fresh/package.json | 90 - node_modules/fs.realpath/LICENSE | 43 - node_modules/fs.realpath/README.md | 33 - node_modules/fs.realpath/index.js | 66 - node_modules/fs.realpath/old.js | 303 - node_modules/fs.realpath/package.json | 59 - node_modules/glob/LICENSE | 21 - node_modules/glob/README.md | 375 - node_modules/glob/changelog.md | 67 - node_modules/glob/common.js | 240 - node_modules/glob/glob.js | 790 - node_modules/glob/package.json | 79 - node_modules/glob/sync.js | 486 - node_modules/has-binary2/History.md | 57 - node_modules/has-binary2/LICENSE | 20 - node_modules/has-binary2/README.md | 4 - node_modules/has-binary2/index.js | 64 - node_modules/has-binary2/package.json | 51 - node_modules/has-cors/.npmignore | 3 - node_modules/has-cors/History.md | 21 - node_modules/has-cors/Makefile | 11 - node_modules/has-cors/Readme.md | 24 - node_modules/has-cors/component.json | 13 - node_modules/has-cors/index.js | 17 - node_modules/has-cors/package.json | 66 - node_modules/has-cors/test.js | 24 - node_modules/htmlparser2/.gitattributes | 2 - node_modules/htmlparser2/.jscsrc | 30 - node_modules/htmlparser2/.travis.yml | 8 - node_modules/htmlparser2/LICENSE | 18 - node_modules/htmlparser2/README.md | 91 - .../htmlparser2/lib/CollectingHandler.js | 55 - node_modules/htmlparser2/lib/FeedHandler.js | 95 - node_modules/htmlparser2/lib/Parser.js | 350 - node_modules/htmlparser2/lib/ProxyHandler.js | 27 - node_modules/htmlparser2/lib/Stream.js | 35 - node_modules/htmlparser2/lib/Tokenizer.js | 906 - .../htmlparser2/lib/WritableStream.js | 21 - node_modules/htmlparser2/lib/index.js | 68 - node_modules/htmlparser2/package.json | 100 - node_modules/htmlparser2/test/01-events.js | 9 - node_modules/htmlparser2/test/02-stream.js | 23 - node_modules/htmlparser2/test/03-feed.js | 19 - .../test/Documents/Atom_Example.xml | 25 - .../test/Documents/Attributes.html | 16 - .../htmlparser2/test/Documents/Basic.html | 1 - .../test/Documents/RDF_Example.xml | 63 - .../test/Documents/RSS_Example.xml | 48 - .../htmlparser2/test/Events/01-simple.json | 44 - .../htmlparser2/test/Events/02-template.json | 63 - .../test/Events/03-lowercase_tags.json | 46 - .../htmlparser2/test/Events/04-cdata.json | 50 - .../test/Events/05-cdata-special.json | 35 - .../test/Events/06-leading-lt.json | 16 - .../test/Events/07-self-closing.json | 67 - .../test/Events/08-implicit-close-tags.json | 71 - .../test/Events/09-attributes.json | 68 - .../test/Events/10-crazy-attrib.json | 52 - .../test/Events/11-script_in_script.json | 54 - .../test/Events/12-long-comment-end.json | 20 - .../test/Events/13-long-cdata-end.json | 22 - .../test/Events/14-implicit-open-tags.json | 27 - .../test/Events/15-lt-whitespace.json | 16 - .../test/Events/16-double_attribs.json | 45 - .../test/Events/17-numeric_entities.json | 16 - .../test/Events/18-legacy_entities.json | 16 - .../test/Events/19-named_entities.json | 16 - .../test/Events/20-xml_entities.json | 16 - .../test/Events/21-entity_in_attribute.json | 38 - .../test/Events/22-double_brackets.json | 41 - .../test/Events/23-legacy_entity_fail.json | 16 - .../test/Events/24-special_special.json | 133 - .../test/Events/25-empty_tag_name.json | 13 - .../test/Events/26-not-quite-closed.json | 35 - .../Events/27-entities_in_attributes.json | 62 - .../test/Events/28-cdata_in_html.json | 9 - .../test/Events/29-comment_edge-cases.json | 18 - .../test/Events/30-cdata_edge-cases.json | 22 - .../test/Events/31-comment_false-ending.json | 9 - node_modules/htmlparser2/test/Feeds/01-rss.js | 34 - .../htmlparser2/test/Feeds/02-atom.js | 18 - node_modules/htmlparser2/test/Feeds/03-rdf.js | 20 - .../htmlparser2/test/Stream/01-basic.json | 83 - .../htmlparser2/test/Stream/02-RSS.json | 1093 - .../htmlparser2/test/Stream/03-Atom.json | 678 - .../htmlparser2/test/Stream/04-RDF.json | 1399 - .../test/Stream/05-Attributes.json | 354 - node_modules/htmlparser2/test/api.js | 75 - node_modules/htmlparser2/test/test-helper.js | 83 - node_modules/http-errors/HISTORY.md | 149 - node_modules/http-errors/LICENSE | 23 - node_modules/http-errors/README.md | 163 - node_modules/http-errors/index.js | 266 - node_modules/http-errors/package.json | 93 - node_modules/iconv-lite/Changelog.md | 162 - node_modules/iconv-lite/LICENSE | 21 - node_modules/iconv-lite/README.md | 156 - .../iconv-lite/encodings/dbcs-codec.js | 555 - .../iconv-lite/encodings/dbcs-data.js | 176 - node_modules/iconv-lite/encodings/index.js | 22 - node_modules/iconv-lite/encodings/internal.js | 188 - .../iconv-lite/encodings/sbcs-codec.js | 72 - .../encodings/sbcs-data-generated.js | 451 - .../iconv-lite/encodings/sbcs-data.js | 174 - .../encodings/tables/big5-added.json | 122 - .../iconv-lite/encodings/tables/cp936.json | 264 - .../iconv-lite/encodings/tables/cp949.json | 273 - .../iconv-lite/encodings/tables/cp950.json | 177 - .../iconv-lite/encodings/tables/eucjp.json | 182 - .../encodings/tables/gb18030-ranges.json | 1 - .../encodings/tables/gbk-added.json | 55 - .../iconv-lite/encodings/tables/shiftjis.json | 125 - node_modules/iconv-lite/encodings/utf16.js | 177 - node_modules/iconv-lite/encodings/utf7.js | 290 - node_modules/iconv-lite/lib/bom-handling.js | 52 - node_modules/iconv-lite/lib/extend-node.js | 217 - node_modules/iconv-lite/lib/index.d.ts | 24 - node_modules/iconv-lite/lib/index.js | 153 - node_modules/iconv-lite/lib/streams.js | 121 - node_modules/iconv-lite/package.json | 77 - node_modules/indexof/.npmignore | 2 - node_modules/indexof/Makefile | 11 - node_modules/indexof/Readme.md | 15 - node_modules/indexof/component.json | 10 - node_modules/indexof/index.js | 10 - node_modules/indexof/package.json | 42 - node_modules/inflight/LICENSE | 15 - node_modules/inflight/README.md | 37 - node_modules/inflight/inflight.js | 54 - node_modules/inflight/package.json | 58 - node_modules/inherits/LICENSE | 16 - node_modules/inherits/README.md | 42 - node_modules/inherits/inherits.js | 7 - node_modules/inherits/inherits_browser.js | 23 - node_modules/inherits/package.json | 61 - node_modules/ipaddr.js/LICENSE | 19 - node_modules/ipaddr.js/README.md | 233 - node_modules/ipaddr.js/ipaddr.min.js | 1 - node_modules/ipaddr.js/lib/ipaddr.js | 673 - node_modules/ipaddr.js/lib/ipaddr.js.d.ts | 68 - node_modules/ipaddr.js/package.json | 70 - node_modules/isarray/README.md | 54 - node_modules/isarray/index.js | 5 - node_modules/isarray/package.json | 78 - node_modules/jshint/CHANGELOG.md | 1347 - node_modules/jshint/LICENSE | 20 - node_modules/jshint/README.md | 113 - node_modules/jshint/bin/apply | 6 - node_modules/jshint/bin/build | 38 - node_modules/jshint/bin/jshint | 3 - node_modules/jshint/bin/land | 36 - .../jshint/data/ascii-identifier-data.js | 22 - .../jshint/data/es5-identifier-names.js | 1 - .../data/non-ascii-identifier-part-only.js | 5 - .../jshint/data/non-ascii-identifier-start.js | 5 - node_modules/jshint/dist/jshint-rhino.js | 31227 ---------------- node_modules/jshint/dist/jshint.js | 31225 --------------- node_modules/jshint/package.json | 104 - node_modules/jshint/src/.lex.js.swp | Bin 86016 -> 0 bytes node_modules/jshint/src/.messages.js.swp | Bin 28672 -> 0 bytes node_modules/jshint/src/.options.js.swp | Bin 16384 -> 0 bytes node_modules/jshint/src/.prod-params.js.swp | Bin 12288 -> 0 bytes node_modules/jshint/src/.reg.js.swp | Bin 12288 -> 0 bytes node_modules/jshint/src/.vars.js.swp | Bin 40960 -> 0 bytes node_modules/jshint/src/cli.js | 780 - node_modules/jshint/src/jshint.js | 6617 ---- node_modules/jshint/src/lex.js | 2209 -- node_modules/jshint/src/messages.js | 266 - node_modules/jshint/src/name-stack.js | 94 - node_modules/jshint/src/options.js | 1126 - node_modules/jshint/src/platforms/rhino.js | 115 - node_modules/jshint/src/prod-params.js | 48 - node_modules/jshint/src/reg.js | 57 - .../jshint/src/reporters/checkstyle.js | 94 - node_modules/jshint/src/reporters/default.js | 34 - .../jshint/src/reporters/jslint_xml.js | 56 - .../jshint/src/reporters/non_error.js | 52 - node_modules/jshint/src/reporters/unix.js | 37 - node_modules/jshint/src/scope-manager.js | 1037 - node_modules/jshint/src/state.js | 192 - node_modules/jshint/src/style.js | 144 - node_modules/jshint/src/vars.js | 805 - node_modules/lodash/LICENSE | 47 - node_modules/lodash/README.md | 39 - node_modules/lodash/_DataView.js | 7 - node_modules/lodash/_Hash.js | 32 - node_modules/lodash/_LazyWrapper.js | 28 - node_modules/lodash/_ListCache.js | 32 - node_modules/lodash/_LodashWrapper.js | 22 - node_modules/lodash/_Map.js | 7 - node_modules/lodash/_MapCache.js | 32 - node_modules/lodash/_Promise.js | 7 - node_modules/lodash/_Set.js | 7 - node_modules/lodash/_SetCache.js | 27 - node_modules/lodash/_Stack.js | 27 - node_modules/lodash/_Symbol.js | 6 - node_modules/lodash/_Uint8Array.js | 6 - node_modules/lodash/_WeakMap.js | 7 - node_modules/lodash/_apply.js | 21 - node_modules/lodash/_arrayAggregator.js | 22 - node_modules/lodash/_arrayEach.js | 22 - node_modules/lodash/_arrayEachRight.js | 21 - node_modules/lodash/_arrayEvery.js | 23 - node_modules/lodash/_arrayFilter.js | 25 - node_modules/lodash/_arrayIncludes.js | 17 - node_modules/lodash/_arrayIncludesWith.js | 22 - node_modules/lodash/_arrayLikeKeys.js | 49 - node_modules/lodash/_arrayMap.js | 21 - node_modules/lodash/_arrayPush.js | 20 - node_modules/lodash/_arrayReduce.js | 26 - node_modules/lodash/_arrayReduceRight.js | 24 - node_modules/lodash/_arraySample.js | 15 - node_modules/lodash/_arraySampleSize.js | 17 - node_modules/lodash/_arrayShuffle.js | 15 - node_modules/lodash/_arraySome.js | 23 - node_modules/lodash/_asciiSize.js | 12 - node_modules/lodash/_asciiToArray.js | 12 - node_modules/lodash/_asciiWords.js | 15 - node_modules/lodash/_assignMergeValue.js | 20 - node_modules/lodash/_assignValue.js | 28 - node_modules/lodash/_assocIndexOf.js | 21 - node_modules/lodash/_baseAggregator.js | 21 - node_modules/lodash/_baseAssign.js | 17 - node_modules/lodash/_baseAssignIn.js | 17 - node_modules/lodash/_baseAssignValue.js | 25 - node_modules/lodash/_baseAt.js | 23 - node_modules/lodash/_baseClamp.js | 22 - node_modules/lodash/_baseClone.js | 165 - node_modules/lodash/_baseConforms.js | 18 - node_modules/lodash/_baseConformsTo.js | 27 - node_modules/lodash/_baseCreate.js | 30 - node_modules/lodash/_baseDelay.js | 21 - node_modules/lodash/_baseDifference.js | 67 - node_modules/lodash/_baseEach.js | 14 - node_modules/lodash/_baseEachRight.js | 14 - node_modules/lodash/_baseEvery.js | 21 - node_modules/lodash/_baseExtremum.js | 32 - node_modules/lodash/_baseFill.js | 32 - node_modules/lodash/_baseFilter.js | 21 - node_modules/lodash/_baseFindIndex.js | 24 - node_modules/lodash/_baseFindKey.js | 23 - node_modules/lodash/_baseFlatten.js | 38 - node_modules/lodash/_baseFor.js | 16 - node_modules/lodash/_baseForOwn.js | 16 - node_modules/lodash/_baseForOwnRight.js | 16 - node_modules/lodash/_baseForRight.js | 15 - node_modules/lodash/_baseFunctions.js | 19 - node_modules/lodash/_baseGet.js | 24 - node_modules/lodash/_baseGetAllKeys.js | 20 - node_modules/lodash/_baseGetTag.js | 28 - node_modules/lodash/_baseGt.js | 14 - node_modules/lodash/_baseHas.js | 19 - node_modules/lodash/_baseHasIn.js | 13 - node_modules/lodash/_baseInRange.js | 18 - node_modules/lodash/_baseIndexOf.js | 20 - node_modules/lodash/_baseIndexOfWith.js | 23 - node_modules/lodash/_baseIntersection.js | 74 - node_modules/lodash/_baseInverter.js | 21 - node_modules/lodash/_baseInvoke.js | 24 - node_modules/lodash/_baseIsArguments.js | 18 - node_modules/lodash/_baseIsArrayBuffer.js | 17 - node_modules/lodash/_baseIsDate.js | 18 - node_modules/lodash/_baseIsEqual.js | 28 - node_modules/lodash/_baseIsEqualDeep.js | 83 - node_modules/lodash/_baseIsMap.js | 18 - node_modules/lodash/_baseIsMatch.js | 62 - node_modules/lodash/_baseIsNaN.js | 12 - node_modules/lodash/_baseIsNative.js | 47 - node_modules/lodash/_baseIsRegExp.js | 18 - node_modules/lodash/_baseIsSet.js | 18 - node_modules/lodash/_baseIsTypedArray.js | 60 - node_modules/lodash/_baseIteratee.js | 31 - node_modules/lodash/_baseKeys.js | 30 - node_modules/lodash/_baseKeysIn.js | 33 - node_modules/lodash/_baseLodash.js | 10 - node_modules/lodash/_baseLt.js | 14 - node_modules/lodash/_baseMap.js | 22 - node_modules/lodash/_baseMatches.js | 22 - node_modules/lodash/_baseMatchesProperty.js | 33 - node_modules/lodash/_baseMean.js | 20 - node_modules/lodash/_baseMerge.js | 42 - node_modules/lodash/_baseMergeDeep.js | 94 - node_modules/lodash/_baseNth.js | 20 - node_modules/lodash/_baseOrderBy.js | 34 - node_modules/lodash/_basePick.js | 19 - node_modules/lodash/_basePickBy.js | 30 - node_modules/lodash/_baseProperty.js | 14 - node_modules/lodash/_basePropertyDeep.js | 16 - node_modules/lodash/_basePropertyOf.js | 14 - node_modules/lodash/_basePullAll.js | 51 - node_modules/lodash/_basePullAt.js | 37 - node_modules/lodash/_baseRandom.js | 18 - node_modules/lodash/_baseRange.js | 28 - node_modules/lodash/_baseReduce.js | 23 - node_modules/lodash/_baseRepeat.js | 35 - node_modules/lodash/_baseRest.js | 17 - node_modules/lodash/_baseSample.js | 15 - node_modules/lodash/_baseSampleSize.js | 18 - node_modules/lodash/_baseSet.js | 47 - node_modules/lodash/_baseSetData.js | 17 - node_modules/lodash/_baseSetToString.js | 22 - node_modules/lodash/_baseShuffle.js | 15 - node_modules/lodash/_baseSlice.js | 31 - node_modules/lodash/_baseSome.js | 22 - node_modules/lodash/_baseSortBy.js | 21 - node_modules/lodash/_baseSortedIndex.js | 42 - node_modules/lodash/_baseSortedIndexBy.js | 64 - node_modules/lodash/_baseSortedUniq.js | 30 - node_modules/lodash/_baseSum.js | 24 - node_modules/lodash/_baseTimes.js | 20 - node_modules/lodash/_baseToNumber.js | 24 - node_modules/lodash/_baseToPairs.js | 18 - node_modules/lodash/_baseToString.js | 37 - node_modules/lodash/_baseUnary.js | 14 - node_modules/lodash/_baseUniq.js | 72 - node_modules/lodash/_baseUnset.js | 20 - node_modules/lodash/_baseUpdate.js | 18 - node_modules/lodash/_baseValues.js | 19 - node_modules/lodash/_baseWhile.js | 26 - node_modules/lodash/_baseWrapperValue.js | 25 - node_modules/lodash/_baseXor.js | 36 - node_modules/lodash/_baseZipObject.js | 23 - node_modules/lodash/_cacheHas.js | 13 - node_modules/lodash/_castArrayLikeObject.js | 14 - node_modules/lodash/_castFunction.js | 14 - node_modules/lodash/_castPath.js | 21 - node_modules/lodash/_castRest.js | 14 - node_modules/lodash/_castSlice.js | 18 - node_modules/lodash/_charsEndIndex.js | 19 - node_modules/lodash/_charsStartIndex.js | 20 - node_modules/lodash/_cloneArrayBuffer.js | 16 - node_modules/lodash/_cloneBuffer.js | 35 - node_modules/lodash/_cloneDataView.js | 16 - node_modules/lodash/_cloneRegExp.js | 17 - node_modules/lodash/_cloneSymbol.js | 18 - node_modules/lodash/_cloneTypedArray.js | 16 - node_modules/lodash/_compareAscending.js | 41 - node_modules/lodash/_compareMultiple.js | 44 - node_modules/lodash/_composeArgs.js | 39 - node_modules/lodash/_composeArgsRight.js | 41 - node_modules/lodash/_copyArray.js | 20 - node_modules/lodash/_copyObject.js | 40 - node_modules/lodash/_copySymbols.js | 16 - node_modules/lodash/_copySymbolsIn.js | 16 - node_modules/lodash/_coreJsData.js | 6 - node_modules/lodash/_countHolders.js | 21 - node_modules/lodash/_createAggregator.js | 23 - node_modules/lodash/_createAssigner.js | 37 - node_modules/lodash/_createBaseEach.js | 32 - node_modules/lodash/_createBaseFor.js | 25 - node_modules/lodash/_createBind.js | 28 - node_modules/lodash/_createCaseFirst.js | 33 - node_modules/lodash/_createCompounder.js | 24 - node_modules/lodash/_createCtor.js | 37 - node_modules/lodash/_createCurry.js | 46 - node_modules/lodash/_createFind.js | 25 - node_modules/lodash/_createFlow.js | 78 - node_modules/lodash/_createHybrid.js | 92 - node_modules/lodash/_createInverter.js | 17 - node_modules/lodash/_createMathOperation.js | 38 - node_modules/lodash/_createOver.js | 27 - node_modules/lodash/_createPadding.js | 33 - node_modules/lodash/_createPartial.js | 43 - node_modules/lodash/_createRange.js | 30 - node_modules/lodash/_createRecurry.js | 56 - .../lodash/_createRelationalOperation.js | 20 - node_modules/lodash/_createRound.js | 35 - node_modules/lodash/_createSet.js | 19 - node_modules/lodash/_createToPairs.js | 30 - node_modules/lodash/_createWrap.js | 106 - .../lodash/_customDefaultsAssignIn.js | 29 - node_modules/lodash/_customDefaultsMerge.js | 28 - node_modules/lodash/_customOmitClone.js | 16 - node_modules/lodash/_deburrLetter.js | 71 - node_modules/lodash/_defineProperty.js | 11 - node_modules/lodash/_equalArrays.js | 83 - node_modules/lodash/_equalByTag.js | 112 - node_modules/lodash/_equalObjects.js | 89 - node_modules/lodash/_escapeHtmlChar.js | 21 - node_modules/lodash/_escapeStringChar.js | 22 - node_modules/lodash/_flatRest.js | 16 - node_modules/lodash/_freeGlobal.js | 4 - node_modules/lodash/_getAllKeys.js | 16 - node_modules/lodash/_getAllKeysIn.js | 17 - node_modules/lodash/_getData.js | 15 - node_modules/lodash/_getFuncName.js | 31 - node_modules/lodash/_getHolder.js | 13 - node_modules/lodash/_getMapData.js | 18 - node_modules/lodash/_getMatchData.js | 24 - node_modules/lodash/_getNative.js | 17 - node_modules/lodash/_getPrototype.js | 6 - node_modules/lodash/_getRawTag.js | 46 - node_modules/lodash/_getSymbols.js | 30 - node_modules/lodash/_getSymbolsIn.js | 25 - node_modules/lodash/_getTag.js | 58 - node_modules/lodash/_getValue.js | 13 - node_modules/lodash/_getView.js | 33 - node_modules/lodash/_getWrapDetails.js | 17 - node_modules/lodash/_hasPath.js | 39 - node_modules/lodash/_hasUnicode.js | 26 - node_modules/lodash/_hasUnicodeWord.js | 15 - node_modules/lodash/_hashClear.js | 15 - node_modules/lodash/_hashDelete.js | 17 - node_modules/lodash/_hashGet.js | 30 - node_modules/lodash/_hashHas.js | 23 - node_modules/lodash/_hashSet.js | 23 - node_modules/lodash/_initCloneArray.js | 26 - node_modules/lodash/_initCloneByTag.js | 77 - node_modules/lodash/_initCloneObject.js | 18 - node_modules/lodash/_insertWrapDetails.js | 23 - node_modules/lodash/_isFlattenable.js | 20 - node_modules/lodash/_isIndex.js | 25 - node_modules/lodash/_isIterateeCall.js | 30 - node_modules/lodash/_isKey.js | 29 - node_modules/lodash/_isKeyable.js | 15 - node_modules/lodash/_isLaziable.js | 28 - node_modules/lodash/_isMaskable.js | 14 - node_modules/lodash/_isMasked.js | 20 - node_modules/lodash/_isPrototype.js | 18 - node_modules/lodash/_isStrictComparable.js | 15 - node_modules/lodash/_iteratorToArray.js | 18 - node_modules/lodash/_lazyClone.js | 23 - node_modules/lodash/_lazyReverse.js | 23 - node_modules/lodash/_lazyValue.js | 69 - node_modules/lodash/_listCacheClear.js | 13 - node_modules/lodash/_listCacheDelete.js | 35 - node_modules/lodash/_listCacheGet.js | 19 - node_modules/lodash/_listCacheHas.js | 16 - node_modules/lodash/_listCacheSet.js | 26 - node_modules/lodash/_mapCacheClear.js | 21 - node_modules/lodash/_mapCacheDelete.js | 18 - node_modules/lodash/_mapCacheGet.js | 16 - node_modules/lodash/_mapCacheHas.js | 16 - node_modules/lodash/_mapCacheSet.js | 22 - node_modules/lodash/_mapToArray.js | 18 - .../lodash/_matchesStrictComparable.js | 20 - node_modules/lodash/_memoizeCapped.js | 26 - node_modules/lodash/_mergeData.js | 90 - node_modules/lodash/_metaMap.js | 6 - node_modules/lodash/_nativeCreate.js | 6 - node_modules/lodash/_nativeKeys.js | 6 - node_modules/lodash/_nativeKeysIn.js | 20 - node_modules/lodash/_nodeUtil.js | 30 - node_modules/lodash/_objectToString.js | 22 - node_modules/lodash/_overArg.js | 15 - node_modules/lodash/_overRest.js | 36 - node_modules/lodash/_parent.js | 16 - node_modules/lodash/_reEscape.js | 4 - node_modules/lodash/_reEvaluate.js | 4 - node_modules/lodash/_reInterpolate.js | 4 - node_modules/lodash/_realNames.js | 4 - node_modules/lodash/_reorder.js | 29 - node_modules/lodash/_replaceHolders.js | 29 - node_modules/lodash/_root.js | 9 - node_modules/lodash/_safeGet.js | 21 - node_modules/lodash/_setCacheAdd.js | 19 - node_modules/lodash/_setCacheHas.js | 14 - node_modules/lodash/_setData.js | 20 - node_modules/lodash/_setToArray.js | 18 - node_modules/lodash/_setToPairs.js | 18 - node_modules/lodash/_setToString.js | 14 - node_modules/lodash/_setWrapToString.js | 21 - node_modules/lodash/_shortOut.js | 37 - node_modules/lodash/_shuffleSelf.js | 28 - node_modules/lodash/_stackClear.js | 15 - node_modules/lodash/_stackDelete.js | 18 - node_modules/lodash/_stackGet.js | 14 - node_modules/lodash/_stackHas.js | 14 - node_modules/lodash/_stackSet.js | 34 - node_modules/lodash/_strictIndexOf.js | 23 - node_modules/lodash/_strictLastIndexOf.js | 21 - node_modules/lodash/_stringSize.js | 18 - node_modules/lodash/_stringToArray.js | 18 - node_modules/lodash/_stringToPath.js | 27 - node_modules/lodash/_toKey.js | 21 - node_modules/lodash/_toSource.js | 26 - node_modules/lodash/_unescapeHtmlChar.js | 21 - node_modules/lodash/_unicodeSize.js | 44 - node_modules/lodash/_unicodeToArray.js | 40 - node_modules/lodash/_unicodeWords.js | 69 - node_modules/lodash/_updateWrapDetails.js | 46 - node_modules/lodash/_wrapperClone.js | 23 - node_modules/lodash/add.js | 22 - node_modules/lodash/after.js | 42 - node_modules/lodash/array.js | 67 - node_modules/lodash/ary.js | 29 - node_modules/lodash/assign.js | 58 - node_modules/lodash/assignIn.js | 40 - node_modules/lodash/assignInWith.js | 38 - node_modules/lodash/assignWith.js | 37 - node_modules/lodash/at.js | 23 - node_modules/lodash/attempt.js | 35 - node_modules/lodash/before.js | 40 - node_modules/lodash/bind.js | 57 - node_modules/lodash/bindAll.js | 41 - node_modules/lodash/bindKey.js | 68 - node_modules/lodash/camelCase.js | 29 - node_modules/lodash/capitalize.js | 23 - node_modules/lodash/castArray.js | 44 - node_modules/lodash/ceil.js | 26 - node_modules/lodash/chain.js | 38 - node_modules/lodash/chunk.js | 50 - node_modules/lodash/clamp.js | 39 - node_modules/lodash/clone.js | 36 - node_modules/lodash/cloneDeep.js | 29 - node_modules/lodash/cloneDeepWith.js | 40 - node_modules/lodash/cloneWith.js | 42 - node_modules/lodash/collection.js | 30 - node_modules/lodash/commit.js | 33 - node_modules/lodash/compact.js | 31 - node_modules/lodash/concat.js | 43 - node_modules/lodash/cond.js | 60 - node_modules/lodash/conforms.js | 35 - node_modules/lodash/conformsTo.js | 32 - node_modules/lodash/constant.js | 26 - node_modules/lodash/core.js | 3835 -- node_modules/lodash/core.min.js | 29 - node_modules/lodash/countBy.js | 40 - node_modules/lodash/create.js | 43 - node_modules/lodash/curry.js | 57 - node_modules/lodash/curryRight.js | 54 - node_modules/lodash/date.js | 3 - node_modules/lodash/debounce.js | 191 - node_modules/lodash/deburr.js | 45 - node_modules/lodash/defaultTo.js | 25 - node_modules/lodash/defaults.js | 64 - node_modules/lodash/defaultsDeep.js | 30 - node_modules/lodash/defer.js | 26 - node_modules/lodash/delay.js | 28 - node_modules/lodash/difference.js | 33 - node_modules/lodash/differenceBy.js | 44 - node_modules/lodash/differenceWith.js | 40 - node_modules/lodash/divide.js | 22 - node_modules/lodash/drop.js | 38 - node_modules/lodash/dropRight.js | 39 - node_modules/lodash/dropRightWhile.js | 45 - node_modules/lodash/dropWhile.js | 45 - node_modules/lodash/each.js | 1 - node_modules/lodash/eachRight.js | 1 - node_modules/lodash/endsWith.js | 43 - node_modules/lodash/entries.js | 1 - node_modules/lodash/entriesIn.js | 1 - node_modules/lodash/eq.js | 37 - node_modules/lodash/escape.js | 43 - node_modules/lodash/escapeRegExp.js | 32 - node_modules/lodash/every.js | 56 - node_modules/lodash/extend.js | 1 - node_modules/lodash/extendWith.js | 1 - node_modules/lodash/fill.js | 45 - node_modules/lodash/filter.js | 48 - node_modules/lodash/find.js | 42 - node_modules/lodash/findIndex.js | 55 - node_modules/lodash/findKey.js | 44 - node_modules/lodash/findLast.js | 25 - node_modules/lodash/findLastIndex.js | 59 - node_modules/lodash/findLastKey.js | 44 - node_modules/lodash/first.js | 1 - node_modules/lodash/flatMap.js | 29 - node_modules/lodash/flatMapDeep.js | 31 - node_modules/lodash/flatMapDepth.js | 31 - node_modules/lodash/flatten.js | 22 - node_modules/lodash/flattenDeep.js | 25 - node_modules/lodash/flattenDepth.js | 33 - node_modules/lodash/flip.js | 28 - node_modules/lodash/floor.js | 26 - node_modules/lodash/flow.js | 27 - node_modules/lodash/flowRight.js | 26 - node_modules/lodash/forEach.js | 41 - node_modules/lodash/forEachRight.js | 31 - node_modules/lodash/forIn.js | 39 - node_modules/lodash/forInRight.js | 37 - node_modules/lodash/forOwn.js | 36 - node_modules/lodash/forOwnRight.js | 34 - node_modules/lodash/fp.js | 2 - node_modules/lodash/fp/F.js | 1 - node_modules/lodash/fp/T.js | 1 - node_modules/lodash/fp/__.js | 1 - node_modules/lodash/fp/_baseConvert.js | 569 - node_modules/lodash/fp/_convertBrowser.js | 18 - node_modules/lodash/fp/_falseOptions.js | 7 - node_modules/lodash/fp/_mapping.js | 358 - node_modules/lodash/fp/_util.js | 16 - node_modules/lodash/fp/add.js | 5 - node_modules/lodash/fp/after.js | 5 - node_modules/lodash/fp/all.js | 1 - node_modules/lodash/fp/allPass.js | 1 - node_modules/lodash/fp/always.js | 1 - node_modules/lodash/fp/any.js | 1 - node_modules/lodash/fp/anyPass.js | 1 - node_modules/lodash/fp/apply.js | 1 - node_modules/lodash/fp/array.js | 2 - node_modules/lodash/fp/ary.js | 5 - node_modules/lodash/fp/assign.js | 5 - node_modules/lodash/fp/assignAll.js | 5 - node_modules/lodash/fp/assignAllWith.js | 5 - node_modules/lodash/fp/assignIn.js | 5 - node_modules/lodash/fp/assignInAll.js | 5 - node_modules/lodash/fp/assignInAllWith.js | 5 - node_modules/lodash/fp/assignInWith.js | 5 - node_modules/lodash/fp/assignWith.js | 5 - node_modules/lodash/fp/assoc.js | 1 - node_modules/lodash/fp/assocPath.js | 1 - node_modules/lodash/fp/at.js | 5 - node_modules/lodash/fp/attempt.js | 5 - node_modules/lodash/fp/before.js | 5 - node_modules/lodash/fp/bind.js | 5 - node_modules/lodash/fp/bindAll.js | 5 - node_modules/lodash/fp/bindKey.js | 5 - node_modules/lodash/fp/camelCase.js | 5 - node_modules/lodash/fp/capitalize.js | 5 - node_modules/lodash/fp/castArray.js | 5 - node_modules/lodash/fp/ceil.js | 5 - node_modules/lodash/fp/chain.js | 5 - node_modules/lodash/fp/chunk.js | 5 - node_modules/lodash/fp/clamp.js | 5 - node_modules/lodash/fp/clone.js | 5 - node_modules/lodash/fp/cloneDeep.js | 5 - node_modules/lodash/fp/cloneDeepWith.js | 5 - node_modules/lodash/fp/cloneWith.js | 5 - node_modules/lodash/fp/collection.js | 2 - node_modules/lodash/fp/commit.js | 5 - node_modules/lodash/fp/compact.js | 5 - node_modules/lodash/fp/complement.js | 1 - node_modules/lodash/fp/compose.js | 1 - node_modules/lodash/fp/concat.js | 5 - node_modules/lodash/fp/cond.js | 5 - node_modules/lodash/fp/conforms.js | 1 - node_modules/lodash/fp/conformsTo.js | 5 - node_modules/lodash/fp/constant.js | 5 - node_modules/lodash/fp/contains.js | 1 - node_modules/lodash/fp/convert.js | 18 - node_modules/lodash/fp/countBy.js | 5 - node_modules/lodash/fp/create.js | 5 - node_modules/lodash/fp/curry.js | 5 - node_modules/lodash/fp/curryN.js | 5 - node_modules/lodash/fp/curryRight.js | 5 - node_modules/lodash/fp/curryRightN.js | 5 - node_modules/lodash/fp/date.js | 2 - node_modules/lodash/fp/debounce.js | 5 - node_modules/lodash/fp/deburr.js | 5 - node_modules/lodash/fp/defaultTo.js | 5 - node_modules/lodash/fp/defaults.js | 5 - node_modules/lodash/fp/defaultsAll.js | 5 - node_modules/lodash/fp/defaultsDeep.js | 5 - node_modules/lodash/fp/defaultsDeepAll.js | 5 - node_modules/lodash/fp/defer.js | 5 - node_modules/lodash/fp/delay.js | 5 - node_modules/lodash/fp/difference.js | 5 - node_modules/lodash/fp/differenceBy.js | 5 - node_modules/lodash/fp/differenceWith.js | 5 - node_modules/lodash/fp/dissoc.js | 1 - node_modules/lodash/fp/dissocPath.js | 1 - node_modules/lodash/fp/divide.js | 5 - node_modules/lodash/fp/drop.js | 5 - node_modules/lodash/fp/dropLast.js | 1 - node_modules/lodash/fp/dropLastWhile.js | 1 - node_modules/lodash/fp/dropRight.js | 5 - node_modules/lodash/fp/dropRightWhile.js | 5 - node_modules/lodash/fp/dropWhile.js | 5 - node_modules/lodash/fp/each.js | 1 - node_modules/lodash/fp/eachRight.js | 1 - node_modules/lodash/fp/endsWith.js | 5 - node_modules/lodash/fp/entries.js | 1 - node_modules/lodash/fp/entriesIn.js | 1 - node_modules/lodash/fp/eq.js | 5 - node_modules/lodash/fp/equals.js | 1 - node_modules/lodash/fp/escape.js | 5 - node_modules/lodash/fp/escapeRegExp.js | 5 - node_modules/lodash/fp/every.js | 5 - node_modules/lodash/fp/extend.js | 1 - node_modules/lodash/fp/extendAll.js | 1 - node_modules/lodash/fp/extendAllWith.js | 1 - node_modules/lodash/fp/extendWith.js | 1 - node_modules/lodash/fp/fill.js | 5 - node_modules/lodash/fp/filter.js | 5 - node_modules/lodash/fp/find.js | 5 - node_modules/lodash/fp/findFrom.js | 5 - node_modules/lodash/fp/findIndex.js | 5 - node_modules/lodash/fp/findIndexFrom.js | 5 - node_modules/lodash/fp/findKey.js | 5 - node_modules/lodash/fp/findLast.js | 5 - node_modules/lodash/fp/findLastFrom.js | 5 - node_modules/lodash/fp/findLastIndex.js | 5 - node_modules/lodash/fp/findLastIndexFrom.js | 5 - node_modules/lodash/fp/findLastKey.js | 5 - node_modules/lodash/fp/first.js | 1 - node_modules/lodash/fp/flatMap.js | 5 - node_modules/lodash/fp/flatMapDeep.js | 5 - node_modules/lodash/fp/flatMapDepth.js | 5 - node_modules/lodash/fp/flatten.js | 5 - node_modules/lodash/fp/flattenDeep.js | 5 - node_modules/lodash/fp/flattenDepth.js | 5 - node_modules/lodash/fp/flip.js | 5 - node_modules/lodash/fp/floor.js | 5 - node_modules/lodash/fp/flow.js | 5 - node_modules/lodash/fp/flowRight.js | 5 - node_modules/lodash/fp/forEach.js | 5 - node_modules/lodash/fp/forEachRight.js | 5 - node_modules/lodash/fp/forIn.js | 5 - node_modules/lodash/fp/forInRight.js | 5 - node_modules/lodash/fp/forOwn.js | 5 - node_modules/lodash/fp/forOwnRight.js | 5 - node_modules/lodash/fp/fromPairs.js | 5 - node_modules/lodash/fp/function.js | 2 - node_modules/lodash/fp/functions.js | 5 - node_modules/lodash/fp/functionsIn.js | 5 - node_modules/lodash/fp/get.js | 5 - node_modules/lodash/fp/getOr.js | 5 - node_modules/lodash/fp/groupBy.js | 5 - node_modules/lodash/fp/gt.js | 5 - node_modules/lodash/fp/gte.js | 5 - node_modules/lodash/fp/has.js | 5 - node_modules/lodash/fp/hasIn.js | 5 - node_modules/lodash/fp/head.js | 5 - node_modules/lodash/fp/identical.js | 1 - node_modules/lodash/fp/identity.js | 5 - node_modules/lodash/fp/inRange.js | 5 - node_modules/lodash/fp/includes.js | 5 - node_modules/lodash/fp/includesFrom.js | 5 - node_modules/lodash/fp/indexBy.js | 1 - node_modules/lodash/fp/indexOf.js | 5 - node_modules/lodash/fp/indexOfFrom.js | 5 - node_modules/lodash/fp/init.js | 1 - node_modules/lodash/fp/initial.js | 5 - node_modules/lodash/fp/intersection.js | 5 - node_modules/lodash/fp/intersectionBy.js | 5 - node_modules/lodash/fp/intersectionWith.js | 5 - node_modules/lodash/fp/invert.js | 5 - node_modules/lodash/fp/invertBy.js | 5 - node_modules/lodash/fp/invertObj.js | 1 - node_modules/lodash/fp/invoke.js | 5 - node_modules/lodash/fp/invokeArgs.js | 5 - node_modules/lodash/fp/invokeArgsMap.js | 5 - node_modules/lodash/fp/invokeMap.js | 5 - node_modules/lodash/fp/isArguments.js | 5 - node_modules/lodash/fp/isArray.js | 5 - node_modules/lodash/fp/isArrayBuffer.js | 5 - node_modules/lodash/fp/isArrayLike.js | 5 - node_modules/lodash/fp/isArrayLikeObject.js | 5 - node_modules/lodash/fp/isBoolean.js | 5 - node_modules/lodash/fp/isBuffer.js | 5 - node_modules/lodash/fp/isDate.js | 5 - node_modules/lodash/fp/isElement.js | 5 - node_modules/lodash/fp/isEmpty.js | 5 - node_modules/lodash/fp/isEqual.js | 5 - node_modules/lodash/fp/isEqualWith.js | 5 - node_modules/lodash/fp/isError.js | 5 - node_modules/lodash/fp/isFinite.js | 5 - node_modules/lodash/fp/isFunction.js | 5 - node_modules/lodash/fp/isInteger.js | 5 - node_modules/lodash/fp/isLength.js | 5 - node_modules/lodash/fp/isMap.js | 5 - node_modules/lodash/fp/isMatch.js | 5 - node_modules/lodash/fp/isMatchWith.js | 5 - node_modules/lodash/fp/isNaN.js | 5 - node_modules/lodash/fp/isNative.js | 5 - node_modules/lodash/fp/isNil.js | 5 - node_modules/lodash/fp/isNull.js | 5 - node_modules/lodash/fp/isNumber.js | 5 - node_modules/lodash/fp/isObject.js | 5 - node_modules/lodash/fp/isObjectLike.js | 5 - node_modules/lodash/fp/isPlainObject.js | 5 - node_modules/lodash/fp/isRegExp.js | 5 - node_modules/lodash/fp/isSafeInteger.js | 5 - node_modules/lodash/fp/isSet.js | 5 - node_modules/lodash/fp/isString.js | 5 - node_modules/lodash/fp/isSymbol.js | 5 - node_modules/lodash/fp/isTypedArray.js | 5 - node_modules/lodash/fp/isUndefined.js | 5 - node_modules/lodash/fp/isWeakMap.js | 5 - node_modules/lodash/fp/isWeakSet.js | 5 - node_modules/lodash/fp/iteratee.js | 5 - node_modules/lodash/fp/join.js | 5 - node_modules/lodash/fp/juxt.js | 1 - node_modules/lodash/fp/kebabCase.js | 5 - node_modules/lodash/fp/keyBy.js | 5 - node_modules/lodash/fp/keys.js | 5 - node_modules/lodash/fp/keysIn.js | 5 - node_modules/lodash/fp/lang.js | 2 - node_modules/lodash/fp/last.js | 5 - node_modules/lodash/fp/lastIndexOf.js | 5 - node_modules/lodash/fp/lastIndexOfFrom.js | 5 - node_modules/lodash/fp/lowerCase.js | 5 - node_modules/lodash/fp/lowerFirst.js | 5 - node_modules/lodash/fp/lt.js | 5 - node_modules/lodash/fp/lte.js | 5 - node_modules/lodash/fp/map.js | 5 - node_modules/lodash/fp/mapKeys.js | 5 - node_modules/lodash/fp/mapValues.js | 5 - node_modules/lodash/fp/matches.js | 1 - node_modules/lodash/fp/matchesProperty.js | 5 - node_modules/lodash/fp/math.js | 2 - node_modules/lodash/fp/max.js | 5 - node_modules/lodash/fp/maxBy.js | 5 - node_modules/lodash/fp/mean.js | 5 - node_modules/lodash/fp/meanBy.js | 5 - node_modules/lodash/fp/memoize.js | 5 - node_modules/lodash/fp/merge.js | 5 - node_modules/lodash/fp/mergeAll.js | 5 - node_modules/lodash/fp/mergeAllWith.js | 5 - node_modules/lodash/fp/mergeWith.js | 5 - node_modules/lodash/fp/method.js | 5 - node_modules/lodash/fp/methodOf.js | 5 - node_modules/lodash/fp/min.js | 5 - node_modules/lodash/fp/minBy.js | 5 - node_modules/lodash/fp/mixin.js | 5 - node_modules/lodash/fp/multiply.js | 5 - node_modules/lodash/fp/nAry.js | 1 - node_modules/lodash/fp/negate.js | 5 - node_modules/lodash/fp/next.js | 5 - node_modules/lodash/fp/noop.js | 5 - node_modules/lodash/fp/now.js | 5 - node_modules/lodash/fp/nth.js | 5 - node_modules/lodash/fp/nthArg.js | 5 - node_modules/lodash/fp/number.js | 2 - node_modules/lodash/fp/object.js | 2 - node_modules/lodash/fp/omit.js | 5 - node_modules/lodash/fp/omitAll.js | 1 - node_modules/lodash/fp/omitBy.js | 5 - node_modules/lodash/fp/once.js | 5 - node_modules/lodash/fp/orderBy.js | 5 - node_modules/lodash/fp/over.js | 5 - node_modules/lodash/fp/overArgs.js | 5 - node_modules/lodash/fp/overEvery.js | 5 - node_modules/lodash/fp/overSome.js | 5 - node_modules/lodash/fp/pad.js | 5 - node_modules/lodash/fp/padChars.js | 5 - node_modules/lodash/fp/padCharsEnd.js | 5 - node_modules/lodash/fp/padCharsStart.js | 5 - node_modules/lodash/fp/padEnd.js | 5 - node_modules/lodash/fp/padStart.js | 5 - node_modules/lodash/fp/parseInt.js | 5 - node_modules/lodash/fp/partial.js | 5 - node_modules/lodash/fp/partialRight.js | 5 - node_modules/lodash/fp/partition.js | 5 - node_modules/lodash/fp/path.js | 1 - node_modules/lodash/fp/pathEq.js | 1 - node_modules/lodash/fp/pathOr.js | 1 - node_modules/lodash/fp/paths.js | 1 - node_modules/lodash/fp/pick.js | 5 - node_modules/lodash/fp/pickAll.js | 1 - node_modules/lodash/fp/pickBy.js | 5 - node_modules/lodash/fp/pipe.js | 1 - node_modules/lodash/fp/placeholder.js | 6 - node_modules/lodash/fp/plant.js | 5 - node_modules/lodash/fp/pluck.js | 1 - node_modules/lodash/fp/prop.js | 1 - node_modules/lodash/fp/propEq.js | 1 - node_modules/lodash/fp/propOr.js | 1 - node_modules/lodash/fp/property.js | 1 - node_modules/lodash/fp/propertyOf.js | 5 - node_modules/lodash/fp/props.js | 1 - node_modules/lodash/fp/pull.js | 5 - node_modules/lodash/fp/pullAll.js | 5 - node_modules/lodash/fp/pullAllBy.js | 5 - node_modules/lodash/fp/pullAllWith.js | 5 - node_modules/lodash/fp/pullAt.js | 5 - node_modules/lodash/fp/random.js | 5 - node_modules/lodash/fp/range.js | 5 - node_modules/lodash/fp/rangeRight.js | 5 - node_modules/lodash/fp/rangeStep.js | 5 - node_modules/lodash/fp/rangeStepRight.js | 5 - node_modules/lodash/fp/rearg.js | 5 - node_modules/lodash/fp/reduce.js | 5 - node_modules/lodash/fp/reduceRight.js | 5 - node_modules/lodash/fp/reject.js | 5 - node_modules/lodash/fp/remove.js | 5 - node_modules/lodash/fp/repeat.js | 5 - node_modules/lodash/fp/replace.js | 5 - node_modules/lodash/fp/rest.js | 5 - node_modules/lodash/fp/restFrom.js | 5 - node_modules/lodash/fp/result.js | 5 - node_modules/lodash/fp/reverse.js | 5 - node_modules/lodash/fp/round.js | 5 - node_modules/lodash/fp/sample.js | 5 - node_modules/lodash/fp/sampleSize.js | 5 - node_modules/lodash/fp/seq.js | 2 - node_modules/lodash/fp/set.js | 5 - node_modules/lodash/fp/setWith.js | 5 - node_modules/lodash/fp/shuffle.js | 5 - node_modules/lodash/fp/size.js | 5 - node_modules/lodash/fp/slice.js | 5 - node_modules/lodash/fp/snakeCase.js | 5 - node_modules/lodash/fp/some.js | 5 - node_modules/lodash/fp/sortBy.js | 5 - node_modules/lodash/fp/sortedIndex.js | 5 - node_modules/lodash/fp/sortedIndexBy.js | 5 - node_modules/lodash/fp/sortedIndexOf.js | 5 - node_modules/lodash/fp/sortedLastIndex.js | 5 - node_modules/lodash/fp/sortedLastIndexBy.js | 5 - node_modules/lodash/fp/sortedLastIndexOf.js | 5 - node_modules/lodash/fp/sortedUniq.js | 5 - node_modules/lodash/fp/sortedUniqBy.js | 5 - node_modules/lodash/fp/split.js | 5 - node_modules/lodash/fp/spread.js | 5 - node_modules/lodash/fp/spreadFrom.js | 5 - node_modules/lodash/fp/startCase.js | 5 - node_modules/lodash/fp/startsWith.js | 5 - node_modules/lodash/fp/string.js | 2 - node_modules/lodash/fp/stubArray.js | 5 - node_modules/lodash/fp/stubFalse.js | 5 - node_modules/lodash/fp/stubObject.js | 5 - node_modules/lodash/fp/stubString.js | 5 - node_modules/lodash/fp/stubTrue.js | 5 - node_modules/lodash/fp/subtract.js | 5 - node_modules/lodash/fp/sum.js | 5 - node_modules/lodash/fp/sumBy.js | 5 - node_modules/lodash/fp/symmetricDifference.js | 1 - .../lodash/fp/symmetricDifferenceBy.js | 1 - .../lodash/fp/symmetricDifferenceWith.js | 1 - node_modules/lodash/fp/tail.js | 5 - node_modules/lodash/fp/take.js | 5 - node_modules/lodash/fp/takeLast.js | 1 - node_modules/lodash/fp/takeLastWhile.js | 1 - node_modules/lodash/fp/takeRight.js | 5 - node_modules/lodash/fp/takeRightWhile.js | 5 - node_modules/lodash/fp/takeWhile.js | 5 - node_modules/lodash/fp/tap.js | 5 - node_modules/lodash/fp/template.js | 5 - node_modules/lodash/fp/templateSettings.js | 5 - node_modules/lodash/fp/throttle.js | 5 - node_modules/lodash/fp/thru.js | 5 - node_modules/lodash/fp/times.js | 5 - node_modules/lodash/fp/toArray.js | 5 - node_modules/lodash/fp/toFinite.js | 5 - node_modules/lodash/fp/toInteger.js | 5 - node_modules/lodash/fp/toIterator.js | 5 - node_modules/lodash/fp/toJSON.js | 5 - node_modules/lodash/fp/toLength.js | 5 - node_modules/lodash/fp/toLower.js | 5 - node_modules/lodash/fp/toNumber.js | 5 - node_modules/lodash/fp/toPairs.js | 5 - node_modules/lodash/fp/toPairsIn.js | 5 - node_modules/lodash/fp/toPath.js | 5 - node_modules/lodash/fp/toPlainObject.js | 5 - node_modules/lodash/fp/toSafeInteger.js | 5 - node_modules/lodash/fp/toString.js | 5 - node_modules/lodash/fp/toUpper.js | 5 - node_modules/lodash/fp/transform.js | 5 - node_modules/lodash/fp/trim.js | 5 - node_modules/lodash/fp/trimChars.js | 5 - node_modules/lodash/fp/trimCharsEnd.js | 5 - node_modules/lodash/fp/trimCharsStart.js | 5 - node_modules/lodash/fp/trimEnd.js | 5 - node_modules/lodash/fp/trimStart.js | 5 - node_modules/lodash/fp/truncate.js | 5 - node_modules/lodash/fp/unapply.js | 1 - node_modules/lodash/fp/unary.js | 5 - node_modules/lodash/fp/unescape.js | 5 - node_modules/lodash/fp/union.js | 5 - node_modules/lodash/fp/unionBy.js | 5 - node_modules/lodash/fp/unionWith.js | 5 - node_modules/lodash/fp/uniq.js | 5 - node_modules/lodash/fp/uniqBy.js | 5 - node_modules/lodash/fp/uniqWith.js | 5 - node_modules/lodash/fp/uniqueId.js | 5 - node_modules/lodash/fp/unnest.js | 1 - node_modules/lodash/fp/unset.js | 5 - node_modules/lodash/fp/unzip.js | 5 - node_modules/lodash/fp/unzipWith.js | 5 - node_modules/lodash/fp/update.js | 5 - node_modules/lodash/fp/updateWith.js | 5 - node_modules/lodash/fp/upperCase.js | 5 - node_modules/lodash/fp/upperFirst.js | 5 - node_modules/lodash/fp/useWith.js | 1 - node_modules/lodash/fp/util.js | 2 - node_modules/lodash/fp/value.js | 5 - node_modules/lodash/fp/valueOf.js | 5 - node_modules/lodash/fp/values.js | 5 - node_modules/lodash/fp/valuesIn.js | 5 - node_modules/lodash/fp/where.js | 1 - node_modules/lodash/fp/whereEq.js | 1 - node_modules/lodash/fp/without.js | 5 - node_modules/lodash/fp/words.js | 5 - node_modules/lodash/fp/wrap.js | 5 - node_modules/lodash/fp/wrapperAt.js | 5 - node_modules/lodash/fp/wrapperChain.js | 5 - node_modules/lodash/fp/wrapperLodash.js | 5 - node_modules/lodash/fp/wrapperReverse.js | 5 - node_modules/lodash/fp/wrapperValue.js | 5 - node_modules/lodash/fp/xor.js | 5 - node_modules/lodash/fp/xorBy.js | 5 - node_modules/lodash/fp/xorWith.js | 5 - node_modules/lodash/fp/zip.js | 5 - node_modules/lodash/fp/zipAll.js | 5 - node_modules/lodash/fp/zipObj.js | 1 - node_modules/lodash/fp/zipObject.js | 5 - node_modules/lodash/fp/zipObjectDeep.js | 5 - node_modules/lodash/fp/zipWith.js | 5 - node_modules/lodash/fromPairs.js | 28 - node_modules/lodash/function.js | 25 - node_modules/lodash/functions.js | 31 - node_modules/lodash/functionsIn.js | 31 - node_modules/lodash/get.js | 33 - node_modules/lodash/groupBy.js | 41 - node_modules/lodash/gt.js | 29 - node_modules/lodash/gte.js | 30 - node_modules/lodash/has.js | 35 - node_modules/lodash/hasIn.js | 34 - node_modules/lodash/head.js | 23 - node_modules/lodash/identity.js | 21 - node_modules/lodash/inRange.js | 55 - node_modules/lodash/includes.js | 53 - node_modules/lodash/index.js | 1 - node_modules/lodash/indexOf.js | 42 - node_modules/lodash/initial.js | 22 - node_modules/lodash/intersection.js | 30 - node_modules/lodash/intersectionBy.js | 45 - node_modules/lodash/intersectionWith.js | 41 - node_modules/lodash/invert.js | 42 - node_modules/lodash/invertBy.js | 56 - node_modules/lodash/invoke.js | 24 - node_modules/lodash/invokeMap.js | 41 - node_modules/lodash/isArguments.js | 36 - node_modules/lodash/isArray.js | 26 - node_modules/lodash/isArrayBuffer.js | 27 - node_modules/lodash/isArrayLike.js | 33 - node_modules/lodash/isArrayLikeObject.js | 33 - node_modules/lodash/isBoolean.js | 29 - node_modules/lodash/isBuffer.js | 38 - node_modules/lodash/isDate.js | 27 - node_modules/lodash/isElement.js | 25 - node_modules/lodash/isEmpty.js | 77 - node_modules/lodash/isEqual.js | 35 - node_modules/lodash/isEqualWith.js | 41 - node_modules/lodash/isError.js | 36 - node_modules/lodash/isFinite.js | 36 - node_modules/lodash/isFunction.js | 37 - node_modules/lodash/isInteger.js | 33 - node_modules/lodash/isLength.js | 35 - node_modules/lodash/isMap.js | 27 - node_modules/lodash/isMatch.js | 36 - node_modules/lodash/isMatchWith.js | 41 - node_modules/lodash/isNaN.js | 38 - node_modules/lodash/isNative.js | 40 - node_modules/lodash/isNil.js | 25 - node_modules/lodash/isNull.js | 22 - node_modules/lodash/isNumber.js | 38 - node_modules/lodash/isObject.js | 31 - node_modules/lodash/isObjectLike.js | 29 - node_modules/lodash/isPlainObject.js | 62 - node_modules/lodash/isRegExp.js | 27 - node_modules/lodash/isSafeInteger.js | 37 - node_modules/lodash/isSet.js | 27 - node_modules/lodash/isString.js | 30 - node_modules/lodash/isSymbol.js | 29 - node_modules/lodash/isTypedArray.js | 27 - node_modules/lodash/isUndefined.js | 22 - node_modules/lodash/isWeakMap.js | 28 - node_modules/lodash/isWeakSet.js | 28 - node_modules/lodash/iteratee.js | 53 - node_modules/lodash/join.js | 26 - node_modules/lodash/kebabCase.js | 28 - node_modules/lodash/keyBy.js | 36 - node_modules/lodash/keys.js | 37 - node_modules/lodash/keysIn.js | 32 - node_modules/lodash/lang.js | 58 - node_modules/lodash/last.js | 20 - node_modules/lodash/lastIndexOf.js | 46 - node_modules/lodash/lodash.js | 17161 --------- node_modules/lodash/lodash.min.js | 139 - node_modules/lodash/lowerCase.js | 27 - node_modules/lodash/lowerFirst.js | 22 - node_modules/lodash/lt.js | 29 - node_modules/lodash/lte.js | 30 - node_modules/lodash/map.js | 53 - node_modules/lodash/mapKeys.js | 36 - node_modules/lodash/mapValues.js | 43 - node_modules/lodash/matches.js | 39 - node_modules/lodash/matchesProperty.js | 37 - node_modules/lodash/math.js | 17 - node_modules/lodash/max.js | 29 - node_modules/lodash/maxBy.js | 34 - node_modules/lodash/mean.js | 22 - node_modules/lodash/meanBy.js | 31 - node_modules/lodash/memoize.js | 73 - node_modules/lodash/merge.js | 39 - node_modules/lodash/mergeWith.js | 39 - node_modules/lodash/method.js | 34 - node_modules/lodash/methodOf.js | 33 - node_modules/lodash/min.js | 29 - node_modules/lodash/minBy.js | 34 - node_modules/lodash/mixin.js | 74 - node_modules/lodash/multiply.js | 22 - node_modules/lodash/negate.js | 40 - node_modules/lodash/next.js | 35 - node_modules/lodash/noop.js | 17 - node_modules/lodash/now.js | 23 - node_modules/lodash/nth.js | 29 - node_modules/lodash/nthArg.js | 32 - node_modules/lodash/number.js | 5 - node_modules/lodash/object.js | 49 - node_modules/lodash/omit.js | 57 - node_modules/lodash/omitBy.js | 29 - node_modules/lodash/once.js | 25 - node_modules/lodash/orderBy.js | 47 - node_modules/lodash/over.js | 24 - node_modules/lodash/overArgs.js | 61 - node_modules/lodash/overEvery.js | 30 - node_modules/lodash/overSome.js | 30 - node_modules/lodash/package.json | 63 - node_modules/lodash/pad.js | 49 - node_modules/lodash/padEnd.js | 39 - node_modules/lodash/padStart.js | 39 - node_modules/lodash/parseInt.js | 43 - node_modules/lodash/partial.js | 50 - node_modules/lodash/partialRight.js | 49 - node_modules/lodash/partition.js | 43 - node_modules/lodash/pick.js | 25 - node_modules/lodash/pickBy.js | 37 - node_modules/lodash/plant.js | 48 - node_modules/lodash/property.js | 32 - node_modules/lodash/propertyOf.js | 30 - node_modules/lodash/pull.js | 29 - node_modules/lodash/pullAll.js | 29 - node_modules/lodash/pullAllBy.js | 33 - node_modules/lodash/pullAllWith.js | 32 - node_modules/lodash/pullAt.js | 43 - node_modules/lodash/random.js | 82 - node_modules/lodash/range.js | 46 - node_modules/lodash/rangeRight.js | 41 - node_modules/lodash/rearg.js | 33 - node_modules/lodash/reduce.js | 51 - node_modules/lodash/reduceRight.js | 36 - node_modules/lodash/reject.js | 46 - node_modules/lodash/remove.js | 53 - node_modules/lodash/repeat.js | 37 - node_modules/lodash/replace.js | 29 - node_modules/lodash/rest.js | 40 - node_modules/lodash/result.js | 56 - node_modules/lodash/reverse.js | 34 - node_modules/lodash/round.js | 26 - node_modules/lodash/sample.js | 24 - node_modules/lodash/sampleSize.js | 37 - node_modules/lodash/seq.js | 16 - node_modules/lodash/set.js | 35 - node_modules/lodash/setWith.js | 32 - node_modules/lodash/shuffle.js | 25 - node_modules/lodash/size.js | 46 - node_modules/lodash/slice.js | 37 - node_modules/lodash/snakeCase.js | 28 - node_modules/lodash/some.js | 51 - node_modules/lodash/sortBy.js | 48 - node_modules/lodash/sortedIndex.js | 24 - node_modules/lodash/sortedIndexBy.js | 33 - node_modules/lodash/sortedIndexOf.js | 31 - node_modules/lodash/sortedLastIndex.js | 25 - node_modules/lodash/sortedLastIndexBy.js | 33 - node_modules/lodash/sortedLastIndexOf.js | 31 - node_modules/lodash/sortedUniq.js | 24 - node_modules/lodash/sortedUniqBy.js | 26 - node_modules/lodash/split.js | 52 - node_modules/lodash/spread.js | 63 - node_modules/lodash/startCase.js | 29 - node_modules/lodash/startsWith.js | 39 - node_modules/lodash/string.js | 33 - node_modules/lodash/stubArray.js | 23 - node_modules/lodash/stubFalse.js | 18 - node_modules/lodash/stubObject.js | 23 - node_modules/lodash/stubString.js | 18 - node_modules/lodash/stubTrue.js | 18 - node_modules/lodash/subtract.js | 22 - node_modules/lodash/sum.js | 24 - node_modules/lodash/sumBy.js | 33 - node_modules/lodash/tail.js | 22 - node_modules/lodash/take.js | 37 - node_modules/lodash/takeRight.js | 39 - node_modules/lodash/takeRightWhile.js | 45 - node_modules/lodash/takeWhile.js | 45 - node_modules/lodash/tap.js | 29 - node_modules/lodash/template.js | 253 - node_modules/lodash/templateSettings.js | 67 - node_modules/lodash/throttle.js | 69 - node_modules/lodash/thru.js | 28 - node_modules/lodash/times.js | 51 - node_modules/lodash/toArray.js | 58 - node_modules/lodash/toFinite.js | 42 - node_modules/lodash/toInteger.js | 36 - node_modules/lodash/toIterator.js | 23 - node_modules/lodash/toJSON.js | 1 - node_modules/lodash/toLength.js | 38 - node_modules/lodash/toLower.js | 28 - node_modules/lodash/toNumber.js | 66 - node_modules/lodash/toPairs.js | 30 - node_modules/lodash/toPairsIn.js | 30 - node_modules/lodash/toPath.js | 33 - node_modules/lodash/toPlainObject.js | 32 - node_modules/lodash/toSafeInteger.js | 37 - node_modules/lodash/toString.js | 28 - node_modules/lodash/toUpper.js | 28 - node_modules/lodash/transform.js | 65 - node_modules/lodash/trim.js | 49 - node_modules/lodash/trimEnd.js | 43 - node_modules/lodash/trimStart.js | 43 - node_modules/lodash/truncate.js | 111 - node_modules/lodash/unary.js | 22 - node_modules/lodash/unescape.js | 34 - node_modules/lodash/union.js | 26 - node_modules/lodash/unionBy.js | 39 - node_modules/lodash/unionWith.js | 34 - node_modules/lodash/uniq.js | 25 - node_modules/lodash/uniqBy.js | 31 - node_modules/lodash/uniqWith.js | 28 - node_modules/lodash/uniqueId.js | 28 - node_modules/lodash/unset.js | 34 - node_modules/lodash/unzip.js | 45 - node_modules/lodash/unzipWith.js | 39 - node_modules/lodash/update.js | 35 - node_modules/lodash/updateWith.js | 33 - node_modules/lodash/upperCase.js | 27 - node_modules/lodash/upperFirst.js | 22 - node_modules/lodash/util.js | 34 - node_modules/lodash/value.js | 1 - node_modules/lodash/valueOf.js | 1 - node_modules/lodash/values.js | 34 - node_modules/lodash/valuesIn.js | 32 - node_modules/lodash/without.js | 31 - node_modules/lodash/words.js | 35 - node_modules/lodash/wrap.js | 30 - node_modules/lodash/wrapperAt.js | 48 - node_modules/lodash/wrapperChain.js | 34 - node_modules/lodash/wrapperLodash.js | 147 - node_modules/lodash/wrapperReverse.js | 44 - node_modules/lodash/wrapperValue.js | 21 - node_modules/lodash/xor.js | 28 - node_modules/lodash/xorBy.js | 39 - node_modules/lodash/xorWith.js | 34 - node_modules/lodash/zip.js | 22 - node_modules/lodash/zipObject.js | 24 - node_modules/lodash/zipObjectDeep.js | 23 - node_modules/lodash/zipWith.js | 32 - node_modules/media-typer/HISTORY.md | 22 - node_modules/media-typer/LICENSE | 22 - node_modules/media-typer/README.md | 81 - node_modules/media-typer/index.js | 270 - node_modules/media-typer/package.json | 61 - node_modules/merge-descriptors/HISTORY.md | 21 - node_modules/merge-descriptors/LICENSE | 23 - node_modules/merge-descriptors/README.md | 48 - node_modules/merge-descriptors/index.js | 60 - node_modules/merge-descriptors/package.json | 69 - node_modules/methods/HISTORY.md | 29 - node_modules/methods/LICENSE | 24 - node_modules/methods/README.md | 51 - node_modules/methods/index.js | 69 - node_modules/methods/package.json | 79 - node_modules/mime-db/HISTORY.md | 446 - node_modules/mime-db/LICENSE | 22 - node_modules/mime-db/README.md | 102 - node_modules/mime-db/db.json | 8176 ---- node_modules/mime-db/index.js | 11 - node_modules/mime-db/package.json | 102 - node_modules/mime-types/HISTORY.md | 333 - node_modules/mime-types/LICENSE | 23 - node_modules/mime-types/README.md | 123 - node_modules/mime-types/index.js | 188 - node_modules/mime-types/package.json | 88 - node_modules/mime/.npmignore | 0 node_modules/mime/CHANGELOG.md | 164 - node_modules/mime/LICENSE | 21 - node_modules/mime/README.md | 90 - node_modules/mime/cli.js | 8 - node_modules/mime/mime.js | 108 - node_modules/mime/package.json | 73 - node_modules/mime/src/build.js | 53 - node_modules/mime/src/test.js | 60 - node_modules/mime/types.json | 1 - node_modules/minimatch/LICENSE | 15 - node_modules/minimatch/README.md | 209 - node_modules/minimatch/minimatch.js | 923 - node_modules/minimatch/package.json | 64 - node_modules/moment-timezone/.npmignore | 22 - node_modules/moment-timezone/LICENSE | 20 - node_modules/moment-timezone/README.md | 36 - ...moment-timezone-with-data-10-year-range.js | 1546 - ...nt-timezone-with-data-10-year-range.min.js | 1 - .../moment-timezone-with-data-1970-2030.js | 1546 - ...moment-timezone-with-data-1970-2030.min.js | 1 - .../moment-timezone-with-data-2012-2022.js | 1546 - ...moment-timezone-with-data-2012-2022.min.js | 1 - .../builds/moment-timezone-with-data.js | 1546 - .../builds/moment-timezone-with-data.min.js | 1 - .../builds/moment-timezone.min.js | 1 - node_modules/moment-timezone/changelog.md | 213 - node_modules/moment-timezone/composer.json | 43 - .../moment-timezone/data/meta/latest.json | 5900 --- .../moment-timezone/data/packed/latest.json | 850 - node_modules/moment-timezone/index.d.ts | 67 - node_modules/moment-timezone/index.js | 2 - .../moment-timezone-utils.d.ts | 70 - .../moment-timezone/moment-timezone-utils.js | 339 - .../moment-timezone/moment-timezone.js | 696 - .../moment-timezone/package-lock.json | 3181 -- node_modules/moment-timezone/package.json | 84 - node_modules/moment/CHANGELOG.md | 942 - node_modules/moment/LICENSE | 22 - node_modules/moment/README.md | 69 - node_modules/moment/dist/locale/af.js | 71 - node_modules/moment/dist/locale/ar-dz.js | 156 - node_modules/moment/dist/locale/ar-kw.js | 54 - node_modules/moment/dist/locale/ar-ly.js | 171 - node_modules/moment/dist/locale/ar-ma.js | 55 - node_modules/moment/dist/locale/ar-sa.js | 104 - node_modules/moment/dist/locale/ar-tn.js | 54 - node_modules/moment/dist/locale/ar.js | 189 - node_modules/moment/dist/locale/az.js | 101 - node_modules/moment/dist/locale/be.js | 141 - node_modules/moment/dist/locale/bg.js | 85 - node_modules/moment/dist/locale/bm.js | 52 - node_modules/moment/dist/locale/bn.js | 118 - node_modules/moment/dist/locale/bo.js | 122 - node_modules/moment/dist/locale/br.js | 165 - node_modules/moment/dist/locale/bs.js | 149 - node_modules/moment/dist/locale/ca.js | 97 - node_modules/moment/dist/locale/cs.js | 171 - node_modules/moment/dist/locale/cv.js | 62 - node_modules/moment/dist/locale/cy.js | 97 - node_modules/moment/dist/locale/da.js | 53 - node_modules/moment/dist/locale/de-at.js | 76 - node_modules/moment/dist/locale/de-ch.js | 75 - node_modules/moment/dist/locale/de.js | 75 - node_modules/moment/dist/locale/dv.js | 90 - node_modules/moment/dist/locale/el.js | 104 - node_modules/moment/dist/locale/en-au.js | 68 - node_modules/moment/dist/locale/en-ca.js | 64 - node_modules/moment/dist/locale/en-gb.js | 68 - node_modules/moment/dist/locale/en-ie.js | 68 - node_modules/moment/dist/locale/en-il.js | 64 - node_modules/moment/dist/locale/en-in.js | 68 - node_modules/moment/dist/locale/en-nz.js | 68 - node_modules/moment/dist/locale/en-sg.js | 68 - node_modules/moment/dist/locale/eo.js | 68 - node_modules/moment/dist/locale/es-do.js | 102 - node_modules/moment/dist/locale/es-us.js | 104 - node_modules/moment/dist/locale/es.js | 104 - node_modules/moment/dist/locale/et.js | 78 - node_modules/moment/dist/locale/eu.js | 63 - node_modules/moment/dist/locale/fa.js | 110 - node_modules/moment/dist/locale/fi.js | 120 - node_modules/moment/dist/locale/fil.js | 58 - node_modules/moment/dist/locale/fo.js | 56 - node_modules/moment/dist/locale/fr-ca.js | 69 - node_modules/moment/dist/locale/fr-ch.js | 73 - node_modules/moment/dist/locale/fr.js | 78 - node_modules/moment/dist/locale/fy.js | 77 - node_modules/moment/dist/locale/ga.js | 95 - node_modules/moment/dist/locale/gd.js | 95 - node_modules/moment/dist/locale/gl.js | 74 - node_modules/moment/dist/locale/gom-deva.js | 124 - node_modules/moment/dist/locale/gom-latn.js | 124 - node_modules/moment/dist/locale/gu.js | 121 - node_modules/moment/dist/locale/he.js | 94 - node_modules/moment/dist/locale/hi.js | 119 - node_modules/moment/dist/locale/hr.js | 154 - node_modules/moment/dist/locale/hu.js | 116 - node_modules/moment/dist/locale/hy-am.js | 92 - node_modules/moment/dist/locale/id.js | 76 - node_modules/moment/dist/locale/is.js | 139 - node_modules/moment/dist/locale/it-ch.js | 64 - node_modules/moment/dist/locale/it.js | 106 - node_modules/moment/dist/locale/ja.js | 148 - node_modules/moment/dist/locale/jv.js | 76 - node_modules/moment/dist/locale/ka.js | 92 - node_modules/moment/dist/locale/kk.js | 82 - node_modules/moment/dist/locale/km.js | 102 - node_modules/moment/dist/locale/kn.js | 123 - node_modules/moment/dist/locale/ko.js | 75 - node_modules/moment/dist/locale/ku.js | 118 - node_modules/moment/dist/locale/ky.js | 84 - node_modules/moment/dist/locale/lb.js | 135 - node_modules/moment/dist/locale/lo.js | 65 - node_modules/moment/dist/locale/lt.js | 123 - node_modules/moment/dist/locale/lv.js | 93 - node_modules/moment/dist/locale/me.js | 118 - node_modules/moment/dist/locale/mi.js | 59 - node_modules/moment/dist/locale/mk.js | 85 - node_modules/moment/dist/locale/ml.js | 80 - node_modules/moment/dist/locale/mn.js | 99 - node_modules/moment/dist/locale/mr.js | 202 - node_modules/moment/dist/locale/ms-my.js | 76 - node_modules/moment/dist/locale/ms.js | 75 - node_modules/moment/dist/locale/mt.js | 55 - node_modules/moment/dist/locale/my.js | 91 - node_modules/moment/dist/locale/nb.js | 59 - node_modules/moment/dist/locale/ne.js | 120 - node_modules/moment/dist/locale/nl-be.js | 102 - node_modules/moment/dist/locale/nl.js | 102 - node_modules/moment/dist/locale/nn.js | 58 - node_modules/moment/dist/locale/oc-lnc.js | 83 - node_modules/moment/dist/locale/pa-in.js | 121 - node_modules/moment/dist/locale/pl.js | 129 - node_modules/moment/dist/locale/pt-br.js | 56 - node_modules/moment/dist/locale/pt.js | 60 - node_modules/moment/dist/locale/ro.js | 72 - node_modules/moment/dist/locale/ru.js | 203 - node_modules/moment/dist/locale/sd.js | 81 - node_modules/moment/dist/locale/se.js | 57 - node_modules/moment/dist/locale/si.js | 68 - node_modules/moment/dist/locale/sk.js | 144 - node_modules/moment/dist/locale/sl.js | 170 - node_modules/moment/dist/locale/sq.js | 65 - node_modules/moment/dist/locale/sr-cyrl.js | 115 - node_modules/moment/dist/locale/sr.js | 117 - node_modules/moment/dist/locale/ss.js | 83 - node_modules/moment/dist/locale/sv.js | 68 - node_modules/moment/dist/locale/sw.js | 54 - node_modules/moment/dist/locale/ta.js | 129 - node_modules/moment/dist/locale/te.js | 86 - node_modules/moment/dist/locale/tet.js | 68 - node_modules/moment/dist/locale/tg.js | 111 - node_modules/moment/dist/locale/th.js | 62 - node_modules/moment/dist/locale/tl-ph.js | 57 - node_modules/moment/dist/locale/tlh.js | 125 - node_modules/moment/dist/locale/tr.js | 104 - node_modules/moment/dist/locale/tzl.js | 89 - node_modules/moment/dist/locale/tzm-latn.js | 53 - node_modules/moment/dist/locale/tzm.js | 53 - node_modules/moment/dist/locale/ug-cn.js | 110 - node_modules/moment/dist/locale/uk.js | 163 - node_modules/moment/dist/locale/ur.js | 82 - node_modules/moment/dist/locale/uz-latn.js | 53 - node_modules/moment/dist/locale/uz.js | 51 - node_modules/moment/dist/locale/vi.js | 77 - node_modules/moment/dist/locale/x-pseudo.js | 71 - node_modules/moment/dist/locale/yo.js | 53 - node_modules/moment/dist/locale/zh-cn.js | 118 - node_modules/moment/dist/locale/zh-hk.js | 101 - node_modules/moment/dist/locale/zh-mo.js | 100 - node_modules/moment/dist/locale/zh-tw.js | 99 - node_modules/moment/dist/moment.js | 5660 --- node_modules/moment/ender.js | 1 - node_modules/moment/locale/af.js | 82 - node_modules/moment/locale/ar-dz.js | 167 - node_modules/moment/locale/ar-kw.js | 65 - node_modules/moment/locale/ar-ly.js | 182 - node_modules/moment/locale/ar-ma.js | 66 - node_modules/moment/locale/ar-sa.js | 115 - node_modules/moment/locale/ar-tn.js | 65 - node_modules/moment/locale/ar.js | 200 - node_modules/moment/locale/az.js | 112 - node_modules/moment/locale/be.js | 152 - node_modules/moment/locale/bg.js | 96 - node_modules/moment/locale/bm.js | 62 - node_modules/moment/locale/bn.js | 129 - node_modules/moment/locale/bo.js | 133 - node_modules/moment/locale/br.js | 176 - node_modules/moment/locale/bs.js | 160 - node_modules/moment/locale/ca.js | 108 - node_modules/moment/locale/cs.js | 182 - node_modules/moment/locale/cv.js | 73 - node_modules/moment/locale/cy.js | 108 - node_modules/moment/locale/da.js | 64 - node_modules/moment/locale/de-at.js | 87 - node_modules/moment/locale/de-ch.js | 84 - node_modules/moment/locale/de.js | 86 - node_modules/moment/locale/dv.js | 101 - node_modules/moment/locale/el.js | 115 - node_modules/moment/locale/en-au.js | 79 - node_modules/moment/locale/en-ca.js | 75 - node_modules/moment/locale/en-gb.js | 79 - node_modules/moment/locale/en-ie.js | 79 - node_modules/moment/locale/en-il.js | 75 - node_modules/moment/locale/en-in.js | 79 - node_modules/moment/locale/en-nz.js | 79 - node_modules/moment/locale/en-sg.js | 79 - node_modules/moment/locale/eo.js | 79 - node_modules/moment/locale/es-do.js | 113 - node_modules/moment/locale/es-us.js | 115 - node_modules/moment/locale/es.js | 115 - node_modules/moment/locale/et.js | 89 - node_modules/moment/locale/eu.js | 74 - node_modules/moment/locale/fa.js | 121 - node_modules/moment/locale/fi.js | 131 - node_modules/moment/locale/fil.js | 69 - node_modules/moment/locale/fo.js | 67 - node_modules/moment/locale/fr-ca.js | 80 - node_modules/moment/locale/fr-ch.js | 84 - node_modules/moment/locale/fr.js | 89 - node_modules/moment/locale/fy.js | 88 - node_modules/moment/locale/ga.js | 106 - node_modules/moment/locale/gd.js | 106 - node_modules/moment/locale/gl.js | 85 - node_modules/moment/locale/gom-deva.js | 135 - node_modules/moment/locale/gom-latn.js | 135 - node_modules/moment/locale/gu.js | 132 - node_modules/moment/locale/he.js | 105 - node_modules/moment/locale/hi.js | 130 - node_modules/moment/locale/hr.js | 165 - node_modules/moment/locale/hu.js | 127 - node_modules/moment/locale/hy-am.js | 103 - node_modules/moment/locale/id.js | 87 - node_modules/moment/locale/is.js | 150 - node_modules/moment/locale/it-ch.js | 75 - node_modules/moment/locale/it.js | 117 - node_modules/moment/locale/ja.js | 159 - node_modules/moment/locale/jv.js | 87 - node_modules/moment/locale/ka.js | 103 - node_modules/moment/locale/kk.js | 93 - node_modules/moment/locale/km.js | 113 - node_modules/moment/locale/kn.js | 134 - node_modules/moment/locale/ko.js | 86 - node_modules/moment/locale/ku.js | 129 - node_modules/moment/locale/ky.js | 95 - node_modules/moment/locale/lb.js | 146 - node_modules/moment/locale/lo.js | 76 - node_modules/moment/locale/lt.js | 134 - node_modules/moment/locale/lv.js | 104 - node_modules/moment/locale/me.js | 129 - node_modules/moment/locale/mi.js | 70 - node_modules/moment/locale/mk.js | 97 - node_modules/moment/locale/ml.js | 91 - node_modules/moment/locale/mn.js | 110 - node_modules/moment/locale/mr.js | 213 - node_modules/moment/locale/ms-my.js | 87 - node_modules/moment/locale/ms.js | 86 - node_modules/moment/locale/mt.js | 66 - node_modules/moment/locale/my.js | 102 - node_modules/moment/locale/nb.js | 70 - node_modules/moment/locale/ne.js | 131 - node_modules/moment/locale/nl-be.js | 113 - node_modules/moment/locale/nl.js | 113 - node_modules/moment/locale/nn.js | 69 - node_modules/moment/locale/oc-lnc.js | 94 - node_modules/moment/locale/pa-in.js | 132 - node_modules/moment/locale/pl.js | 140 - node_modules/moment/locale/pt-br.js | 67 - node_modules/moment/locale/pt.js | 71 - node_modules/moment/locale/ro.js | 83 - node_modules/moment/locale/ru.js | 214 - node_modules/moment/locale/sd.js | 92 - node_modules/moment/locale/se.js | 68 - node_modules/moment/locale/si.js | 79 - node_modules/moment/locale/sk.js | 155 - node_modules/moment/locale/sl.js | 181 - node_modules/moment/locale/sq.js | 76 - node_modules/moment/locale/sr-cyrl.js | 126 - node_modules/moment/locale/sr.js | 128 - node_modules/moment/locale/ss.js | 94 - node_modules/moment/locale/sv.js | 79 - node_modules/moment/locale/sw.js | 65 - node_modules/moment/locale/ta.js | 140 - node_modules/moment/locale/te.js | 97 - node_modules/moment/locale/tet.js | 79 - node_modules/moment/locale/tg.js | 122 - node_modules/moment/locale/th.js | 73 - node_modules/moment/locale/tl-ph.js | 68 - node_modules/moment/locale/tlh.js | 136 - node_modules/moment/locale/tr.js | 115 - node_modules/moment/locale/tzl.js | 100 - node_modules/moment/locale/tzm-latn.js | 64 - node_modules/moment/locale/tzm.js | 64 - node_modules/moment/locale/ug-cn.js | 121 - node_modules/moment/locale/uk.js | 174 - node_modules/moment/locale/ur.js | 93 - node_modules/moment/locale/uz-latn.js | 64 - node_modules/moment/locale/uz.js | 62 - node_modules/moment/locale/vi.js | 88 - node_modules/moment/locale/x-pseudo.js | 82 - node_modules/moment/locale/yo.js | 64 - node_modules/moment/locale/zh-cn.js | 129 - node_modules/moment/locale/zh-hk.js | 112 - node_modules/moment/locale/zh-mo.js | 111 - node_modules/moment/locale/zh-tw.js | 110 - node_modules/moment/min/locales.js | 11985 ------ node_modules/moment/min/locales.min.js | 2 - node_modules/moment/min/locales.min.js.map | 1 - .../moment/min/moment-with-locales.js | 17637 --------- .../moment/min/moment-with-locales.min.js | 2 - .../moment/min/moment-with-locales.min.js.map | 1 - node_modules/moment/min/moment.min.js | 2 - node_modules/moment/min/moment.min.js.map | 1 - node_modules/moment/moment.d.ts | 778 - node_modules/moment/moment.js | 5668 --- node_modules/moment/package.js | 11 - node_modules/moment/package.json | 158 - .../moment/src/lib/create/check-overflow.js | 57 - .../moment/src/lib/create/date-from-array.js | 35 - .../moment/src/lib/create/from-anything.js | 117 - .../moment/src/lib/create/from-array.js | 187 - .../moment/src/lib/create/from-object.js | 20 - .../src/lib/create/from-string-and-array.js | 66 - .../src/lib/create/from-string-and-format.js | 134 - .../moment/src/lib/create/from-string.js | 255 - node_modules/moment/src/lib/create/local.js | 5 - .../moment/src/lib/create/parsing-flags.js | 28 - node_modules/moment/src/lib/create/utc.js | 5 - node_modules/moment/src/lib/create/valid.js | 51 - node_modules/moment/src/lib/duration/abs.js | 18 - .../moment/src/lib/duration/add-subtract.js | 21 - node_modules/moment/src/lib/duration/as.js | 88 - .../moment/src/lib/duration/bubble.js | 68 - node_modules/moment/src/lib/duration/clone.js | 5 - .../moment/src/lib/duration/constructor.js | 42 - .../moment/src/lib/duration/create.js | 132 - .../moment/src/lib/duration/duration.js | 16 - node_modules/moment/src/lib/duration/get.js | 27 - .../moment/src/lib/duration/humanize.js | 114 - .../moment/src/lib/duration/iso-string.js | 68 - .../moment/src/lib/duration/prototype.js | 78 - node_modules/moment/src/lib/duration/valid.js | 54 - node_modules/moment/src/lib/format/format.js | 103 - .../moment/src/lib/locale/base-config.js | 41 - .../moment/src/lib/locale/calendar.js | 15 - .../moment/src/lib/locale/constructor.js | 5 - node_modules/moment/src/lib/locale/en.js | 39 - node_modules/moment/src/lib/locale/formats.js | 36 - node_modules/moment/src/lib/locale/invalid.js | 5 - node_modules/moment/src/lib/locale/lists.js | 93 - node_modules/moment/src/lib/locale/locale.js | 45 - node_modules/moment/src/lib/locale/locales.js | 242 - node_modules/moment/src/lib/locale/ordinal.js | 8 - .../moment/src/lib/locale/pre-post-format.js | 3 - .../moment/src/lib/locale/prototype.js | 88 - .../moment/src/lib/locale/relative.js | 32 - node_modules/moment/src/lib/locale/set.js | 56 - .../moment/src/lib/moment/add-subtract.js | 61 - .../moment/src/lib/moment/calendar.js | 50 - node_modules/moment/src/lib/moment/clone.js | 5 - node_modules/moment/src/lib/moment/compare.js | 72 - .../moment/src/lib/moment/constructor.js | 77 - .../moment/src/lib/moment/creation-data.js | 9 - node_modules/moment/src/lib/moment/diff.js | 79 - node_modules/moment/src/lib/moment/format.js | 78 - node_modules/moment/src/lib/moment/from.js | 20 - node_modules/moment/src/lib/moment/get-set.js | 72 - node_modules/moment/src/lib/moment/locale.js | 34 - node_modules/moment/src/lib/moment/min-max.js | 62 - node_modules/moment/src/lib/moment/moment.js | 28 - node_modules/moment/src/lib/moment/now.js | 3 - .../moment/src/lib/moment/prototype.js | 197 - .../moment/src/lib/moment/start-end-of.js | 164 - node_modules/moment/src/lib/moment/to-type.js | 42 - node_modules/moment/src/lib/moment/to.js | 20 - node_modules/moment/src/lib/moment/valid.js | 15 - node_modules/moment/src/lib/parse/regex.js | 82 - node_modules/moment/src/lib/parse/token.js | 34 - node_modules/moment/src/lib/units/aliases.js | 31 - .../moment/src/lib/units/constants.js | 9 - .../moment/src/lib/units/day-of-month.js | 39 - .../moment/src/lib/units/day-of-week.js | 444 - .../moment/src/lib/units/day-of-year.js | 37 - node_modules/moment/src/lib/units/era.js | 289 - node_modules/moment/src/lib/units/hour.js | 159 - .../moment/src/lib/units/millisecond.js | 76 - node_modules/moment/src/lib/units/minute.js | 29 - node_modules/moment/src/lib/units/month.js | 349 - node_modules/moment/src/lib/units/offset.js | 249 - .../moment/src/lib/units/priorities.js | 21 - node_modules/moment/src/lib/units/quarter.js | 34 - node_modules/moment/src/lib/units/second.js | 29 - .../moment/src/lib/units/timestamp.js | 20 - node_modules/moment/src/lib/units/timezone.js | 16 - node_modules/moment/src/lib/units/units.js | 20 - .../src/lib/units/week-calendar-utils.js | 66 - .../moment/src/lib/units/week-year.js | 140 - node_modules/moment/src/lib/units/week.js | 71 - node_modules/moment/src/lib/units/year.js | 85 - node_modules/moment/src/lib/utils/abs-ceil.js | 7 - .../moment/src/lib/utils/abs-floor.js | 8 - .../moment/src/lib/utils/abs-round.js | 7 - .../moment/src/lib/utils/compare-arrays.js | 18 - node_modules/moment/src/lib/utils/defaults.js | 10 - .../moment/src/lib/utils/deprecate.js | 68 - node_modules/moment/src/lib/utils/extend.js | 19 - .../moment/src/lib/utils/has-own-prop.js | 3 - node_modules/moment/src/lib/utils/hooks.js | 13 - node_modules/moment/src/lib/utils/index-of.js | 18 - node_modules/moment/src/lib/utils/is-array.js | 6 - .../moment/src/lib/utils/is-calendar-spec.js | 25 - node_modules/moment/src/lib/utils/is-date.js | 6 - .../moment/src/lib/utils/is-function.js | 6 - .../moment/src/lib/utils/is-leap-year.js | 3 - .../moment/src/lib/utils/is-moment-input.js | 74 - .../moment/src/lib/utils/is-number.js | 6 - .../moment/src/lib/utils/is-object-empty.js | 15 - .../moment/src/lib/utils/is-object.js | 8 - .../moment/src/lib/utils/is-string.js | 3 - .../moment/src/lib/utils/is-undefined.js | 3 - node_modules/moment/src/lib/utils/keys.js | 20 - node_modules/moment/src/lib/utils/map.js | 8 - node_modules/moment/src/lib/utils/mod.js | 3 - node_modules/moment/src/lib/utils/some.js | 20 - node_modules/moment/src/lib/utils/to-int.js | 12 - .../moment/src/lib/utils/zero-fill.js | 10 - node_modules/moment/src/locale/af.js | 71 - node_modules/moment/src/locale/ar-dz.js | 156 - node_modules/moment/src/locale/ar-kw.js | 54 - node_modules/moment/src/locale/ar-ly.js | 171 - node_modules/moment/src/locale/ar-ma.js | 55 - node_modules/moment/src/locale/ar-sa.js | 104 - node_modules/moment/src/locale/ar-tn.js | 54 - node_modules/moment/src/locale/ar.js | 189 - node_modules/moment/src/locale/az.js | 101 - node_modules/moment/src/locale/be.js | 141 - node_modules/moment/src/locale/bg.js | 85 - node_modules/moment/src/locale/bm.js | 52 - node_modules/moment/src/locale/bn.js | 118 - node_modules/moment/src/locale/bo.js | 122 - node_modules/moment/src/locale/br.js | 165 - node_modules/moment/src/locale/bs.js | 149 - node_modules/moment/src/locale/ca.js | 97 - node_modules/moment/src/locale/cs.js | 171 - node_modules/moment/src/locale/cv.js | 62 - node_modules/moment/src/locale/cy.js | 97 - node_modules/moment/src/locale/da.js | 53 - node_modules/moment/src/locale/de-at.js | 76 - node_modules/moment/src/locale/de-ch.js | 75 - node_modules/moment/src/locale/de.js | 75 - node_modules/moment/src/locale/dv.js | 90 - node_modules/moment/src/locale/el.js | 104 - node_modules/moment/src/locale/en-au.js | 68 - node_modules/moment/src/locale/en-ca.js | 64 - node_modules/moment/src/locale/en-gb.js | 68 - node_modules/moment/src/locale/en-ie.js | 68 - node_modules/moment/src/locale/en-il.js | 64 - node_modules/moment/src/locale/en-in.js | 68 - node_modules/moment/src/locale/en-nz.js | 68 - node_modules/moment/src/locale/en-sg.js | 68 - node_modules/moment/src/locale/eo.js | 68 - node_modules/moment/src/locale/es-do.js | 102 - node_modules/moment/src/locale/es-us.js | 104 - node_modules/moment/src/locale/es.js | 104 - node_modules/moment/src/locale/et.js | 78 - node_modules/moment/src/locale/eu.js | 63 - node_modules/moment/src/locale/fa.js | 110 - node_modules/moment/src/locale/fi.js | 120 - node_modules/moment/src/locale/fil.js | 58 - node_modules/moment/src/locale/fo.js | 56 - node_modules/moment/src/locale/fr-ca.js | 69 - node_modules/moment/src/locale/fr-ch.js | 73 - node_modules/moment/src/locale/fr.js | 78 - node_modules/moment/src/locale/fy.js | 77 - node_modules/moment/src/locale/ga.js | 95 - node_modules/moment/src/locale/gd.js | 95 - node_modules/moment/src/locale/gl.js | 74 - node_modules/moment/src/locale/gom-deva.js | 124 - node_modules/moment/src/locale/gom-latn.js | 124 - node_modules/moment/src/locale/gu.js | 121 - node_modules/moment/src/locale/he.js | 94 - node_modules/moment/src/locale/hi.js | 119 - node_modules/moment/src/locale/hr.js | 154 - node_modules/moment/src/locale/hu.js | 116 - node_modules/moment/src/locale/hy-am.js | 92 - node_modules/moment/src/locale/id.js | 76 - node_modules/moment/src/locale/is.js | 139 - node_modules/moment/src/locale/it-ch.js | 64 - node_modules/moment/src/locale/it.js | 106 - node_modules/moment/src/locale/ja.js | 148 - node_modules/moment/src/locale/jv.js | 76 - node_modules/moment/src/locale/ka.js | 92 - node_modules/moment/src/locale/kk.js | 82 - node_modules/moment/src/locale/km.js | 102 - node_modules/moment/src/locale/kn.js | 123 - node_modules/moment/src/locale/ko.js | 75 - node_modules/moment/src/locale/ku.js | 118 - node_modules/moment/src/locale/ky.js | 84 - node_modules/moment/src/locale/lb.js | 135 - node_modules/moment/src/locale/lo.js | 65 - node_modules/moment/src/locale/lt.js | 123 - node_modules/moment/src/locale/lv.js | 93 - node_modules/moment/src/locale/me.js | 118 - node_modules/moment/src/locale/mi.js | 59 - node_modules/moment/src/locale/mk.js | 85 - node_modules/moment/src/locale/ml.js | 80 - node_modules/moment/src/locale/mn.js | 99 - node_modules/moment/src/locale/mr.js | 202 - node_modules/moment/src/locale/ms-my.js | 76 - node_modules/moment/src/locale/ms.js | 75 - node_modules/moment/src/locale/mt.js | 55 - node_modules/moment/src/locale/my.js | 91 - node_modules/moment/src/locale/nb.js | 59 - node_modules/moment/src/locale/ne.js | 120 - node_modules/moment/src/locale/nl-be.js | 102 - node_modules/moment/src/locale/nl.js | 102 - node_modules/moment/src/locale/nn.js | 58 - node_modules/moment/src/locale/oc-lnc.js | 83 - node_modules/moment/src/locale/pa-in.js | 121 - node_modules/moment/src/locale/pl.js | 129 - node_modules/moment/src/locale/pt-br.js | 56 - node_modules/moment/src/locale/pt.js | 60 - node_modules/moment/src/locale/ro.js | 72 - node_modules/moment/src/locale/ru.js | 203 - node_modules/moment/src/locale/sd.js | 81 - node_modules/moment/src/locale/se.js | 57 - node_modules/moment/src/locale/si.js | 68 - node_modules/moment/src/locale/sk.js | 144 - node_modules/moment/src/locale/sl.js | 170 - node_modules/moment/src/locale/sq.js | 65 - node_modules/moment/src/locale/sr-cyrl.js | 115 - node_modules/moment/src/locale/sr.js | 117 - node_modules/moment/src/locale/ss.js | 83 - node_modules/moment/src/locale/sv.js | 68 - node_modules/moment/src/locale/sw.js | 54 - node_modules/moment/src/locale/ta.js | 129 - node_modules/moment/src/locale/te.js | 86 - node_modules/moment/src/locale/tet.js | 68 - node_modules/moment/src/locale/tg.js | 111 - node_modules/moment/src/locale/th.js | 62 - node_modules/moment/src/locale/tl-ph.js | 57 - node_modules/moment/src/locale/tlh.js | 125 - node_modules/moment/src/locale/tr.js | 104 - node_modules/moment/src/locale/tzl.js | 89 - node_modules/moment/src/locale/tzm-latn.js | 53 - node_modules/moment/src/locale/tzm.js | 53 - node_modules/moment/src/locale/ug-cn.js | 110 - node_modules/moment/src/locale/uk.js | 163 - node_modules/moment/src/locale/ur.js | 82 - node_modules/moment/src/locale/uz-latn.js | 53 - node_modules/moment/src/locale/uz.js | 51 - node_modules/moment/src/locale/vi.js | 77 - node_modules/moment/src/locale/x-pseudo.js | 71 - node_modules/moment/src/locale/yo.js | 53 - node_modules/moment/src/locale/zh-cn.js | 118 - node_modules/moment/src/locale/zh-hk.js | 101 - node_modules/moment/src/locale/zh-mo.js | 100 - node_modules/moment/src/locale/zh-tw.js | 99 - node_modules/moment/src/moment.js | 93 - node_modules/moment/ts3.1-typings/moment.d.ts | 749 - node_modules/ms/index.js | 152 - node_modules/ms/license.md | 21 - node_modules/ms/package.json | 69 - node_modules/ms/readme.md | 51 - node_modules/negotiator/HISTORY.md | 103 - node_modules/negotiator/LICENSE | 24 - node_modules/negotiator/README.md | 203 - node_modules/negotiator/index.js | 124 - node_modules/negotiator/lib/charset.js | 169 - node_modules/negotiator/lib/encoding.js | 184 - node_modules/negotiator/lib/language.js | 179 - node_modules/negotiator/lib/mediaType.js | 294 - node_modules/negotiator/package.json | 84 - node_modules/object-component/.npmignore | 3 - node_modules/object-component/History.md | 10 - node_modules/object-component/Makefile | 16 - node_modules/object-component/Readme.md | 31 - node_modules/object-component/component.json | 10 - node_modules/object-component/index.js | 84 - node_modules/object-component/package.json | 39 - node_modules/object-component/test/object.js | 48 - node_modules/on-finished/HISTORY.md | 88 - node_modules/on-finished/LICENSE | 23 - node_modules/on-finished/README.md | 154 - node_modules/on-finished/index.js | 196 - node_modules/on-finished/package.json | 73 - node_modules/once/LICENSE | 15 - node_modules/once/README.md | 79 - node_modules/once/once.js | 42 - node_modules/once/package.json | 67 - node_modules/parseqs/.npmignore | 3 - node_modules/parseqs/LICENSE | 21 - node_modules/parseqs/Makefile | 3 - node_modules/parseqs/README.md | 1 - node_modules/parseqs/index.js | 37 - node_modules/parseqs/package.json | 53 - node_modules/parseqs/test.js | 27 - node_modules/parseuri/.npmignore | 2 - node_modules/parseuri/History.md | 5 - node_modules/parseuri/LICENSE | 21 - node_modules/parseuri/Makefile | 3 - node_modules/parseuri/README.md | 2 - node_modules/parseuri/index.js | 39 - node_modules/parseuri/package.json | 51 - node_modules/parseuri/test.js | 51 - node_modules/parseurl/HISTORY.md | 58 - node_modules/parseurl/LICENSE | 24 - node_modules/parseurl/README.md | 133 - node_modules/parseurl/index.js | 158 - node_modules/parseurl/package.json | 81 - node_modules/path-is-absolute/index.js | 20 - node_modules/path-is-absolute/license | 21 - node_modules/path-is-absolute/package.json | 75 - node_modules/path-is-absolute/readme.md | 59 - node_modules/path-to-regexp/History.md | 36 - node_modules/path-to-regexp/LICENSE | 21 - node_modules/path-to-regexp/Readme.md | 35 - node_modules/path-to-regexp/index.js | 129 - node_modules/path-to-regexp/package.json | 59 - node_modules/proxy-addr/HISTORY.md | 155 - node_modules/proxy-addr/LICENSE | 22 - node_modules/proxy-addr/README.md | 155 - node_modules/proxy-addr/index.js | 327 - node_modules/proxy-addr/package.json | 82 - node_modules/qs/.editorconfig | 30 - node_modules/qs/.eslintignore | 1 - node_modules/qs/.eslintrc | 21 - node_modules/qs/CHANGELOG.md | 256 - node_modules/qs/LICENSE | 28 - node_modules/qs/README.md | 570 - node_modules/qs/dist/qs.js | 782 - node_modules/qs/lib/formats.js | 18 - node_modules/qs/lib/index.js | 11 - node_modules/qs/lib/parse.js | 242 - node_modules/qs/lib/stringify.js | 269 - node_modules/qs/lib/utils.js | 230 - node_modules/qs/package.json | 87 - node_modules/qs/test/.eslintrc | 17 - node_modules/qs/test/index.js | 7 - node_modules/qs/test/parse.js | 676 - node_modules/qs/test/stringify.js | 679 - node_modules/qs/test/utils.js | 136 - node_modules/range-parser/HISTORY.md | 56 - node_modules/range-parser/LICENSE | 23 - node_modules/range-parser/README.md | 84 - node_modules/range-parser/index.js | 162 - node_modules/range-parser/package.json | 91 - node_modules/raw-body/HISTORY.md | 270 - node_modules/raw-body/LICENSE | 22 - node_modules/raw-body/README.md | 219 - node_modules/raw-body/index.d.ts | 87 - node_modules/raw-body/index.js | 286 - node_modules/raw-body/package.json | 90 - node_modules/readable-stream/.npmignore | 5 - node_modules/readable-stream/LICENSE | 18 - node_modules/readable-stream/README.md | 15 - node_modules/readable-stream/duplex.js | 1 - node_modules/readable-stream/float.patch | 923 - .../readable-stream/lib/_stream_duplex.js | 89 - .../lib/_stream_passthrough.js | 46 - .../readable-stream/lib/_stream_readable.js | 951 - .../readable-stream/lib/_stream_transform.js | 209 - .../readable-stream/lib/_stream_writable.js | 477 - .../node_modules/isarray/README.md | 54 - .../node_modules/isarray/build/build.js | 209 - .../node_modules/isarray/component.json | 19 - .../node_modules/isarray/index.js | 3 - .../node_modules/isarray/package.json | 57 - node_modules/readable-stream/package.json | 65 - node_modules/readable-stream/passthrough.js | 1 - node_modules/readable-stream/readable.js | 10 - node_modules/readable-stream/transform.js | 1 - node_modules/readable-stream/writable.js | 1 - node_modules/safe-buffer/LICENSE | 21 - node_modules/safe-buffer/README.md | 584 - node_modules/safe-buffer/index.d.ts | 187 - node_modules/safe-buffer/index.js | 62 - node_modules/safe-buffer/package.json | 63 - node_modules/safer-buffer/LICENSE | 21 - node_modules/safer-buffer/Porting-Buffer.md | 268 - node_modules/safer-buffer/Readme.md | 156 - node_modules/safer-buffer/dangerous.js | 58 - node_modules/safer-buffer/package.json | 60 - node_modules/safer-buffer/safer.js | 77 - node_modules/safer-buffer/tests.js | 406 - node_modules/send/HISTORY.md | 496 - node_modules/send/LICENSE | 23 - node_modules/send/README.md | 329 - node_modules/send/index.js | 1129 - node_modules/send/node_modules/ms/index.js | 162 - node_modules/send/node_modules/ms/license.md | 21 - .../send/node_modules/ms/package.json | 69 - node_modules/send/node_modules/ms/readme.md | 60 - node_modules/send/package.json | 106 - node_modules/serve-static/HISTORY.md | 451 - node_modules/serve-static/LICENSE | 25 - node_modules/serve-static/README.md | 259 - node_modules/serve-static/index.js | 210 - node_modules/serve-static/package.json | 77 - node_modules/setprototypeof/LICENSE | 13 - node_modules/setprototypeof/README.md | 31 - node_modules/setprototypeof/index.d.ts | 2 - node_modules/setprototypeof/index.js | 17 - node_modules/setprototypeof/package.json | 64 - node_modules/setprototypeof/test/index.js | 24 - node_modules/shelljs/.documentup.json | 6 - node_modules/shelljs/.jshintrc | 7 - node_modules/shelljs/.npmignore | 2 - node_modules/shelljs/.travis.yml | 5 - node_modules/shelljs/LICENSE | 26 - node_modules/shelljs/README.md | 569 - node_modules/shelljs/bin/shjs | 51 - node_modules/shelljs/global.js | 3 - node_modules/shelljs/make.js | 47 - node_modules/shelljs/package.json | 66 - node_modules/shelljs/scripts/generate-docs.js | 21 - node_modules/shelljs/scripts/run-tests.js | 50 - node_modules/shelljs/shell.js | 157 - node_modules/shelljs/src/cat.js | 43 - node_modules/shelljs/src/cd.js | 19 - node_modules/shelljs/src/chmod.js | 208 - node_modules/shelljs/src/common.js | 203 - node_modules/shelljs/src/cp.js | 201 - node_modules/shelljs/src/dirs.js | 191 - node_modules/shelljs/src/echo.js | 20 - node_modules/shelljs/src/error.js | 10 - node_modules/shelljs/src/exec.js | 181 - node_modules/shelljs/src/find.js | 51 - node_modules/shelljs/src/grep.js | 52 - node_modules/shelljs/src/ln.js | 53 - node_modules/shelljs/src/ls.js | 126 - node_modules/shelljs/src/mkdir.js | 68 - node_modules/shelljs/src/mv.js | 80 - node_modules/shelljs/src/popd.js | 1 - node_modules/shelljs/src/pushd.js | 1 - node_modules/shelljs/src/pwd.js | 11 - node_modules/shelljs/src/rm.js | 145 - node_modules/shelljs/src/sed.js | 43 - node_modules/shelljs/src/tempdir.js | 56 - node_modules/shelljs/src/test.js | 85 - node_modules/shelljs/src/to.js | 29 - node_modules/shelljs/src/toEnd.js | 29 - node_modules/shelljs/src/which.js | 83 - .../socket.io-adapter/.idea/$CACHE_FILE$ | 25 - .../inspectionProfiles/profiles_settings.xml | 5 - node_modules/socket.io-adapter/.idea/misc.xml | 6 - .../socket.io-adapter/.idea/modules.xml | 8 - .../.idea/socket.io-adapter.iml | 12 - node_modules/socket.io-adapter/.idea/vcs.xml | 6 - .../socket.io-adapter/.idea/workspace.xml | 71 - node_modules/socket.io-adapter/LICENSE | 20 - node_modules/socket.io-adapter/Readme.md | 16 - node_modules/socket.io-adapter/index.js | 263 - node_modules/socket.io-adapter/package.json | 39 - node_modules/socket.io-client/LICENSE | 22 - node_modules/socket.io-client/README.md | 57 - .../socket.io-client/dist/socket.io.dev.js | 7254 ---- .../dist/socket.io.dev.js.map | 1 - .../socket.io-client/dist/socket.io.js | 9 - .../socket.io-client/dist/socket.io.js.map | 1 - .../dist/socket.io.slim.dev.js | 5853 --- .../dist/socket.io.slim.dev.js.map | 1 - .../socket.io-client/dist/socket.io.slim.js | 9 - .../dist/socket.io.slim.js.map | 1 - node_modules/socket.io-client/lib/index.js | 94 - node_modules/socket.io-client/lib/manager.js | 573 - node_modules/socket.io-client/lib/on.js | 24 - node_modules/socket.io-client/lib/socket.js | 438 - node_modules/socket.io-client/lib/url.js | 75 - .../node_modules/debug/CHANGELOG.md | 395 - .../node_modules/debug/LICENSE | 19 - .../node_modules/debug/README.md | 455 - .../node_modules/debug/dist/debug.js | 912 - .../node_modules/debug/package.json | 102 - .../node_modules/debug/src/browser.js | 264 - .../node_modules/debug/src/common.js | 266 - .../node_modules/debug/src/index.js | 10 - .../node_modules/debug/src/node.js | 257 - .../socket.io-client/node_modules/ms/index.js | 162 - .../node_modules/ms/license.md | 21 - .../node_modules/ms/package.json | 69 - .../node_modules/ms/readme.md | 60 - .../node_modules/socket.io-parser/LICENSE | 20 - .../node_modules/socket.io-parser/Readme.md | 73 - .../node_modules/socket.io-parser/binary.js | 141 - .../node_modules/socket.io-parser/index.js | 415 - .../socket.io-parser/is-buffer.js | 20 - .../node_modules/debug/.coveralls.yml | 1 - .../node_modules/debug/.eslintrc | 14 - .../node_modules/debug/.npmignore | 9 - .../node_modules/debug/.travis.yml | 20 - .../node_modules/debug/CHANGELOG.md | 395 - .../node_modules/debug/LICENSE | 19 - .../node_modules/debug/Makefile | 58 - .../node_modules/debug/README.md | 368 - .../node_modules/debug/karma.conf.js | 70 - .../node_modules/debug/node.js | 1 - .../node_modules/debug/package.json | 82 - .../node_modules/debug/src/browser.js | 195 - .../node_modules/debug/src/debug.js | 225 - .../node_modules/debug/src/index.js | 10 - .../node_modules/debug/src/node.js | 186 - .../socket.io-parser/node_modules/ms/index.js | 152 - .../node_modules/ms/license.md | 21 - .../node_modules/ms/package.json | 69 - .../node_modules/ms/readme.md | 51 - .../socket.io-parser/package.json | 60 - node_modules/socket.io-client/package.json | 121 - node_modules/socket.io-parser/CHANGELOG.md | 6 - node_modules/socket.io-parser/LICENSE | 20 - node_modules/socket.io-parser/Readme.md | 73 - node_modules/socket.io-parser/binary.js | 141 - node_modules/socket.io-parser/index.js | 412 - node_modules/socket.io-parser/is-buffer.js | 20 - .../node_modules/debug/CHANGELOG.md | 395 - .../node_modules/debug/LICENSE | 19 - .../node_modules/debug/README.md | 455 - .../node_modules/debug/dist/debug.js | 912 - .../node_modules/debug/package.json | 102 - .../node_modules/debug/src/browser.js | 264 - .../node_modules/debug/src/common.js | 266 - .../node_modules/debug/src/index.js | 10 - .../node_modules/debug/src/node.js | 257 - .../socket.io-parser/node_modules/ms/index.js | 162 - .../node_modules/ms/license.md | 21 - .../node_modules/ms/package.json | 69 - .../node_modules/ms/readme.md | 60 - node_modules/socket.io-parser/package.json | 63 - node_modules/socket.io/LICENSE | 22 - node_modules/socket.io/Readme.md | 243 - node_modules/socket.io/lib/client.js | 273 - node_modules/socket.io/lib/index.js | 523 - node_modules/socket.io/lib/namespace.js | 299 - .../socket.io/lib/parent-namespace.js | 39 - node_modules/socket.io/lib/socket.js | 572 - .../socket.io/node_modules/debug/CHANGELOG.md | 395 - .../socket.io/node_modules/debug/LICENSE | 19 - .../socket.io/node_modules/debug/README.md | 455 - .../node_modules/debug/dist/debug.js | 912 - .../socket.io/node_modules/debug/package.json | 102 - .../node_modules/debug/src/browser.js | 264 - .../node_modules/debug/src/common.js | 266 - .../socket.io/node_modules/debug/src/index.js | 10 - .../socket.io/node_modules/debug/src/node.js | 257 - .../socket.io/node_modules/ms/index.js | 162 - .../socket.io/node_modules/ms/license.md | 21 - .../socket.io/node_modules/ms/package.json | 69 - .../socket.io/node_modules/ms/readme.md | 60 - node_modules/socket.io/package.json | 89 - node_modules/statuses/HISTORY.md | 65 - node_modules/statuses/LICENSE | 23 - node_modules/statuses/README.md | 127 - node_modules/statuses/codes.json | 66 - node_modules/statuses/index.js | 113 - node_modules/statuses/package.json | 90 - node_modules/string_decoder/.npmignore | 2 - node_modules/string_decoder/LICENSE | 20 - node_modules/string_decoder/README.md | 7 - node_modules/string_decoder/index.js | 221 - node_modules/string_decoder/package.json | 53 - node_modules/strip-json-comments/cli.js | 41 - node_modules/strip-json-comments/license | 21 - node_modules/strip-json-comments/package.json | 80 - node_modules/strip-json-comments/readme.md | 80 - .../strip-json-comments.js | 73 - node_modules/to-array/.npmignore | 3 - node_modules/to-array/LICENCE | 19 - node_modules/to-array/README.md | 22 - node_modules/to-array/index.js | 13 - node_modules/to-array/package.json | 68 - node_modules/toidentifier/LICENSE | 21 - node_modules/toidentifier/README.md | 61 - node_modules/toidentifier/index.js | 30 - node_modules/toidentifier/package.json | 76 - node_modules/type-is/HISTORY.md | 259 - node_modules/type-is/LICENSE | 23 - node_modules/type-is/README.md | 170 - node_modules/type-is/index.js | 266 - node_modules/type-is/package.json | 85 - node_modules/unpipe/HISTORY.md | 4 - node_modules/unpipe/LICENSE | 22 - node_modules/unpipe/README.md | 43 - node_modules/unpipe/index.js | 69 - node_modules/unpipe/package.json | 63 - node_modules/utils-merge/.npmignore | 9 - node_modules/utils-merge/LICENSE | 20 - node_modules/utils-merge/README.md | 34 - node_modules/utils-merge/index.js | 23 - node_modules/utils-merge/package.json | 66 - node_modules/vary/HISTORY.md | 39 - node_modules/vary/LICENSE | 22 - node_modules/vary/README.md | 101 - node_modules/vary/index.js | 149 - node_modules/vary/package.json | 78 - node_modules/wrappy/LICENSE | 15 - node_modules/wrappy/README.md | 36 - node_modules/wrappy/package.json | 59 - node_modules/wrappy/wrappy.js | 33 - node_modules/ws/LICENSE | 21 - node_modules/ws/README.md | 496 - node_modules/ws/browser.js | 8 - node_modules/ws/index.js | 10 - node_modules/ws/lib/buffer-util.js | 129 - node_modules/ws/lib/constants.js | 10 - node_modules/ws/lib/event-target.js | 177 - node_modules/ws/lib/extension.js | 223 - node_modules/ws/lib/limiter.js | 54 - node_modules/ws/lib/permessage-deflate.js | 512 - node_modules/ws/lib/receiver.js | 506 - node_modules/ws/lib/sender.js | 390 - node_modules/ws/lib/stream.js | 164 - node_modules/ws/lib/validation.js | 30 - node_modules/ws/lib/websocket-server.js | 404 - node_modules/ws/lib/websocket.js | 908 - node_modules/ws/package.json | 97 - node_modules/xmlhttprequest-ssl/LICENSE | 22 - node_modules/xmlhttprequest-ssl/README.md | 63 - .../xmlhttprequest-ssl/autotest.watchr | 8 - .../xmlhttprequest-ssl/example/demo.js | 16 - .../xmlhttprequest-ssl/lib/XMLHttpRequest.js | 651 - node_modules/xmlhttprequest-ssl/package.json | 63 - .../tests/test-constants.js | 13 - .../xmlhttprequest-ssl/tests/test-events.js | 50 - .../tests/test-exceptions.js | 59 - .../xmlhttprequest-ssl/tests/test-headers.js | 76 - .../tests/test-redirect-302.js | 41 - .../tests/test-redirect-303.js | 41 - .../tests/test-redirect-307.js | 43 - .../tests/test-request-methods.js | 62 - .../tests/test-request-protocols.js | 32 - .../xmlhttprequest-ssl/tests/testdata.txt | 1 - node_modules/yeast/LICENSE | 22 - node_modules/yeast/README.md | 82 - node_modules/yeast/index.js | 68 - node_modules/yeast/package.json | 64 - package.json | 2 +- security.txt | 1 - sys/suid | Bin 9384 -> 0 bytes sys/suid.c | 10 - 2702 files changed, 67 insertions(+), 378644 deletions(-) delete mode 100755 app.rockpis.js delete mode 100755 conf.json delete mode 120000 node_modules/.bin/jshint delete mode 120000 node_modules/.bin/mime delete mode 120000 node_modules/.bin/shjs delete mode 120000 node_modules/.bin/strip-json-comments delete mode 100644 node_modules/accepts/HISTORY.md delete mode 100644 node_modules/accepts/LICENSE delete mode 100644 node_modules/accepts/README.md delete mode 100644 node_modules/accepts/index.js delete mode 100644 node_modules/accepts/package.json delete mode 100644 node_modules/after/.npmignore delete mode 100644 node_modules/after/.travis.yml delete mode 100644 node_modules/after/LICENCE delete mode 100644 node_modules/after/README.md delete mode 100644 node_modules/after/index.js delete mode 100644 node_modules/after/package.json delete mode 100644 node_modules/after/test/after-test.js delete mode 100644 node_modules/array-flatten/LICENSE delete mode 100644 node_modules/array-flatten/README.md delete mode 100644 node_modules/array-flatten/array-flatten.js delete mode 100644 node_modules/array-flatten/package.json delete mode 100644 node_modules/arraybuffer.slice/.npmignore delete mode 100644 node_modules/arraybuffer.slice/LICENCE delete mode 100644 node_modules/arraybuffer.slice/Makefile delete mode 100644 node_modules/arraybuffer.slice/README.md delete mode 100644 node_modules/arraybuffer.slice/index.js delete mode 100644 node_modules/arraybuffer.slice/package.json delete mode 100644 node_modules/arraybuffer.slice/test/slice-buffer.js delete mode 100644 node_modules/async-limiter/.eslintignore delete mode 100644 node_modules/async-limiter/.nycrc delete mode 100644 node_modules/async-limiter/.travis.yml delete mode 100644 node_modules/async-limiter/LICENSE delete mode 100644 node_modules/async-limiter/index.js delete mode 100644 node_modules/async-limiter/package.json delete mode 100644 node_modules/async-limiter/readme.md delete mode 100644 node_modules/backo2/.npmignore delete mode 100644 node_modules/backo2/History.md delete mode 100644 node_modules/backo2/Makefile delete mode 100644 node_modules/backo2/Readme.md delete mode 100644 node_modules/backo2/component.json delete mode 100644 node_modules/backo2/index.js delete mode 100644 node_modules/backo2/package.json delete mode 100644 node_modules/backo2/test/index.js delete mode 100644 node_modules/balanced-match/.npmignore delete mode 100644 node_modules/balanced-match/LICENSE.md delete mode 100644 node_modules/balanced-match/README.md delete mode 100644 node_modules/balanced-match/index.js delete mode 100644 node_modules/balanced-match/package.json delete mode 100644 node_modules/base64-arraybuffer/.npmignore delete mode 100644 node_modules/base64-arraybuffer/.travis.yml delete mode 100644 node_modules/base64-arraybuffer/LICENSE-MIT delete mode 100644 node_modules/base64-arraybuffer/README.md delete mode 100644 node_modules/base64-arraybuffer/lib/base64-arraybuffer.js delete mode 100644 node_modules/base64-arraybuffer/package.json delete mode 100644 node_modules/base64id/CHANGELOG.md delete mode 100644 node_modules/base64id/LICENSE delete mode 100644 node_modules/base64id/README.md delete mode 100644 node_modules/base64id/lib/base64id.js delete mode 100644 node_modules/base64id/package.json delete mode 100644 node_modules/better-assert/.npmignore delete mode 100644 node_modules/better-assert/History.md delete mode 100644 node_modules/better-assert/Makefile delete mode 100644 node_modules/better-assert/Readme.md delete mode 100644 node_modules/better-assert/example.js delete mode 100644 node_modules/better-assert/index.js delete mode 100644 node_modules/better-assert/package.json delete mode 100644 node_modules/blob/.idea/blob.iml delete mode 100644 node_modules/blob/.idea/inspectionProfiles/profiles_settings.xml delete mode 100644 node_modules/blob/.idea/markdown-navigator.xml delete mode 100644 node_modules/blob/.idea/markdown-navigator/profiles_settings.xml delete mode 100644 node_modules/blob/.idea/modules.xml delete mode 100644 node_modules/blob/.idea/vcs.xml delete mode 100644 node_modules/blob/.idea/workspace.xml delete mode 100644 node_modules/blob/.zuul.yml delete mode 100644 node_modules/blob/LICENSE delete mode 100644 node_modules/blob/Makefile delete mode 100644 node_modules/blob/README.md delete mode 100644 node_modules/blob/component.json delete mode 100644 node_modules/blob/index.js delete mode 100644 node_modules/blob/package.json delete mode 100644 node_modules/blob/test/index.js delete mode 100644 node_modules/body-parser/HISTORY.md delete mode 100644 node_modules/body-parser/LICENSE delete mode 100644 node_modules/body-parser/README.md delete mode 100644 node_modules/body-parser/index.js delete mode 100644 node_modules/body-parser/lib/read.js delete mode 100644 node_modules/body-parser/lib/types/json.js delete mode 100644 node_modules/body-parser/lib/types/raw.js delete mode 100644 node_modules/body-parser/lib/types/text.js delete mode 100644 node_modules/body-parser/lib/types/urlencoded.js delete mode 100644 node_modules/body-parser/package.json delete mode 100644 node_modules/brace-expansion/LICENSE delete mode 100644 node_modules/brace-expansion/README.md delete mode 100644 node_modules/brace-expansion/index.js delete mode 100644 node_modules/brace-expansion/package.json delete mode 100644 node_modules/bytes/History.md delete mode 100644 node_modules/bytes/LICENSE delete mode 100644 node_modules/bytes/Readme.md delete mode 100644 node_modules/bytes/index.js delete mode 100644 node_modules/bytes/package.json delete mode 100644 node_modules/callsite/.npmignore delete mode 100644 node_modules/callsite/History.md delete mode 100644 node_modules/callsite/Makefile delete mode 100644 node_modules/callsite/Readme.md delete mode 100644 node_modules/callsite/index.js delete mode 100644 node_modules/callsite/package.json delete mode 100644 node_modules/cli/.npmignore delete mode 100644 node_modules/cli/README.md delete mode 100644 node_modules/cli/cli.js delete mode 100755 node_modules/cli/examples/cat.js delete mode 100755 node_modules/cli/examples/command.js delete mode 100755 node_modules/cli/examples/echo.js delete mode 100755 node_modules/cli/examples/glob.js delete mode 100755 node_modules/cli/examples/long_desc.js delete mode 100755 node_modules/cli/examples/progress.js delete mode 100755 node_modules/cli/examples/sort.js delete mode 100755 node_modules/cli/examples/spinner.js delete mode 100644 node_modules/cli/index.js delete mode 100755 node_modules/cli/package.json delete mode 100644 node_modules/component-bind/.npmignore delete mode 100644 node_modules/component-bind/History.md delete mode 100644 node_modules/component-bind/Makefile delete mode 100644 node_modules/component-bind/Readme.md delete mode 100644 node_modules/component-bind/component.json delete mode 100644 node_modules/component-bind/index.js delete mode 100644 node_modules/component-bind/package.json delete mode 100644 node_modules/component-emitter/History.md delete mode 100644 node_modules/component-emitter/LICENSE delete mode 100644 node_modules/component-emitter/Readme.md delete mode 100644 node_modules/component-emitter/index.js delete mode 100644 node_modules/component-emitter/package.json delete mode 100644 node_modules/component-inherit/.npmignore delete mode 100644 node_modules/component-inherit/History.md delete mode 100644 node_modules/component-inherit/Makefile delete mode 100644 node_modules/component-inherit/Readme.md delete mode 100644 node_modules/component-inherit/component.json delete mode 100644 node_modules/component-inherit/index.js delete mode 100644 node_modules/component-inherit/package.json delete mode 100644 node_modules/component-inherit/test/inherit.js delete mode 100644 node_modules/concat-map/.travis.yml delete mode 100644 node_modules/concat-map/LICENSE delete mode 100644 node_modules/concat-map/README.markdown delete mode 100644 node_modules/concat-map/example/map.js delete mode 100644 node_modules/concat-map/index.js delete mode 100644 node_modules/concat-map/package.json delete mode 100644 node_modules/concat-map/test/map.js delete mode 100644 node_modules/console-browserify/.npmignore delete mode 100644 node_modules/console-browserify/.testem.json delete mode 100644 node_modules/console-browserify/.travis.yml delete mode 100644 node_modules/console-browserify/LICENCE delete mode 100644 node_modules/console-browserify/README.md delete mode 100644 node_modules/console-browserify/index.js delete mode 100644 node_modules/console-browserify/package.json delete mode 100644 node_modules/console-browserify/test/index.js delete mode 100644 node_modules/console-browserify/test/static/index.html delete mode 100644 node_modules/console-browserify/test/static/test-adapter.js delete mode 100644 node_modules/content-disposition/HISTORY.md delete mode 100644 node_modules/content-disposition/LICENSE delete mode 100644 node_modules/content-disposition/README.md delete mode 100644 node_modules/content-disposition/index.js delete mode 100644 node_modules/content-disposition/package.json delete mode 100644 node_modules/content-type/HISTORY.md delete mode 100644 node_modules/content-type/LICENSE delete mode 100644 node_modules/content-type/README.md delete mode 100644 node_modules/content-type/index.js delete mode 100644 node_modules/content-type/package.json delete mode 100644 node_modules/cookie-signature/.npmignore delete mode 100644 node_modules/cookie-signature/History.md delete mode 100644 node_modules/cookie-signature/Readme.md delete mode 100644 node_modules/cookie-signature/index.js delete mode 100644 node_modules/cookie-signature/package.json delete mode 100644 node_modules/cookie/HISTORY.md delete mode 100644 node_modules/cookie/LICENSE delete mode 100644 node_modules/cookie/README.md delete mode 100644 node_modules/cookie/index.js delete mode 100644 node_modules/cookie/package.json delete mode 100644 node_modules/core-util-is/LICENSE delete mode 100644 node_modules/core-util-is/README.md delete mode 100644 node_modules/core-util-is/float.patch delete mode 100644 node_modules/core-util-is/lib/util.js delete mode 100644 node_modules/core-util-is/package.json delete mode 100644 node_modules/core-util-is/test.js delete mode 100644 node_modules/cron/.eslintrc delete mode 100644 node_modules/cron/.prettierrc delete mode 100644 node_modules/cron/.travis.yml delete mode 100644 node_modules/cron/CHANGELOG.md delete mode 100644 node_modules/cron/LICENSE delete mode 100644 node_modules/cron/README.md delete mode 100644 node_modules/cron/bower.json delete mode 100644 node_modules/cron/examples/at_10_minutes.js delete mode 100644 node_modules/cron/examples/at_midnight.js delete mode 100644 node_modules/cron/examples/basic.js delete mode 100644 node_modules/cron/examples/complex_expr.js delete mode 100644 node_modules/cron/examples/every_10_minutes.js delete mode 100644 node_modules/cron/examples/every_30_minutes_between_9_and_5.js delete mode 100644 node_modules/cron/examples/get_next_runs.js delete mode 100644 node_modules/cron/examples/in_the_past.js delete mode 100644 node_modules/cron/examples/is_crontime_valid.js delete mode 100644 node_modules/cron/examples/is_job_running.js delete mode 100644 node_modules/cron/examples/long_running_on_tick.js delete mode 100644 node_modules/cron/examples/mon_to_fri_at_11_30.js delete mode 100644 node_modules/cron/examples/multiple_jobs.js delete mode 100644 node_modules/cron/examples/object_param.js delete mode 100644 node_modules/cron/examples/run_at_specific_date.js delete mode 100644 node_modules/cron/examples/time_dom_syntax_with_tz.js delete mode 100644 node_modules/cron/lib/cron.js delete mode 100644 node_modules/cron/package.json delete mode 100644 node_modules/cron/tests/cron.test.js delete mode 100644 node_modules/cron/tests/crontime.test.js delete mode 100644 node_modules/date-now/.npmignore delete mode 100644 node_modules/date-now/.testem.json delete mode 100644 node_modules/date-now/.travis.yml delete mode 100644 node_modules/date-now/LICENCE delete mode 100644 node_modules/date-now/README.md delete mode 100644 node_modules/date-now/index.js delete mode 100644 node_modules/date-now/package.json delete mode 100644 node_modules/date-now/seed.js delete mode 100644 node_modules/date-now/test/index.js delete mode 100644 node_modules/date-now/test/static/index.html delete mode 100644 node_modules/debug/.coveralls.yml delete mode 100644 node_modules/debug/.eslintrc delete mode 100644 node_modules/debug/.npmignore delete mode 100644 node_modules/debug/.travis.yml delete mode 100644 node_modules/debug/CHANGELOG.md delete mode 100644 node_modules/debug/LICENSE delete mode 100644 node_modules/debug/Makefile delete mode 100644 node_modules/debug/README.md delete mode 100644 node_modules/debug/component.json delete mode 100644 node_modules/debug/karma.conf.js delete mode 100644 node_modules/debug/node.js delete mode 100644 node_modules/debug/package.json delete mode 100644 node_modules/debug/src/browser.js delete mode 100644 node_modules/debug/src/debug.js delete mode 100644 node_modules/debug/src/index.js delete mode 100644 node_modules/debug/src/inspector-log.js delete mode 100644 node_modules/debug/src/node.js delete mode 100644 node_modules/depd/History.md delete mode 100644 node_modules/depd/LICENSE delete mode 100644 node_modules/depd/Readme.md delete mode 100644 node_modules/depd/index.js delete mode 100644 node_modules/depd/lib/browser/index.js delete mode 100644 node_modules/depd/lib/compat/callsite-tostring.js delete mode 100644 node_modules/depd/lib/compat/event-listener-count.js delete mode 100644 node_modules/depd/lib/compat/index.js delete mode 100644 node_modules/depd/package.json delete mode 100644 node_modules/destroy/LICENSE delete mode 100644 node_modules/destroy/README.md delete mode 100644 node_modules/destroy/index.js delete mode 100644 node_modules/destroy/package.json delete mode 100644 node_modules/dom-serializer/LICENSE delete mode 100644 node_modules/dom-serializer/README.md delete mode 100644 node_modules/dom-serializer/foreignNames.json delete mode 100644 node_modules/dom-serializer/index.d.ts delete mode 100644 node_modules/dom-serializer/index.js delete mode 100644 node_modules/dom-serializer/node_modules/domelementtype/LICENSE delete mode 100644 node_modules/dom-serializer/node_modules/domelementtype/README.md delete mode 100644 node_modules/dom-serializer/node_modules/domelementtype/lib/index.d.ts delete mode 100644 node_modules/dom-serializer/node_modules/domelementtype/lib/index.d.ts.map delete mode 100644 node_modules/dom-serializer/node_modules/domelementtype/lib/index.js delete mode 100644 node_modules/dom-serializer/node_modules/domelementtype/package.json delete mode 100644 node_modules/dom-serializer/node_modules/entities/LICENSE delete mode 100644 node_modules/dom-serializer/node_modules/entities/lib/decode.d.ts delete mode 100644 node_modules/dom-serializer/node_modules/entities/lib/decode.d.ts.map delete mode 100644 node_modules/dom-serializer/node_modules/entities/lib/decode.js delete mode 100644 node_modules/dom-serializer/node_modules/entities/lib/decode_codepoint.d.ts delete mode 100644 node_modules/dom-serializer/node_modules/entities/lib/decode_codepoint.d.ts.map delete mode 100644 node_modules/dom-serializer/node_modules/entities/lib/decode_codepoint.js delete mode 100644 node_modules/dom-serializer/node_modules/entities/lib/encode.d.ts delete mode 100644 node_modules/dom-serializer/node_modules/entities/lib/encode.d.ts.map delete mode 100644 node_modules/dom-serializer/node_modules/entities/lib/encode.js delete mode 100644 node_modules/dom-serializer/node_modules/entities/lib/index.d.ts delete mode 100644 node_modules/dom-serializer/node_modules/entities/lib/index.d.ts.map delete mode 100644 node_modules/dom-serializer/node_modules/entities/lib/index.js delete mode 100644 node_modules/dom-serializer/node_modules/entities/lib/maps/decode.json delete mode 100644 node_modules/dom-serializer/node_modules/entities/lib/maps/entities.json delete mode 100644 node_modules/dom-serializer/node_modules/entities/lib/maps/legacy.json delete mode 100644 node_modules/dom-serializer/node_modules/entities/lib/maps/xml.json delete mode 100644 node_modules/dom-serializer/node_modules/entities/package.json delete mode 100644 node_modules/dom-serializer/node_modules/entities/readme.md delete mode 100644 node_modules/dom-serializer/package.json delete mode 100644 node_modules/domelementtype/LICENSE delete mode 100644 node_modules/domelementtype/index.js delete mode 100644 node_modules/domelementtype/package.json delete mode 100644 node_modules/domelementtype/readme.md delete mode 100644 node_modules/domhandler/.travis.yml delete mode 100644 node_modules/domhandler/LICENSE delete mode 100644 node_modules/domhandler/index.js delete mode 100644 node_modules/domhandler/lib/element.js delete mode 100644 node_modules/domhandler/lib/node.js delete mode 100644 node_modules/domhandler/package.json delete mode 100644 node_modules/domhandler/readme.md delete mode 100644 node_modules/domhandler/test/cases/01-basic.json delete mode 100644 node_modules/domhandler/test/cases/02-single_tag_1.json delete mode 100644 node_modules/domhandler/test/cases/03-single_tag_2.json delete mode 100644 node_modules/domhandler/test/cases/04-unescaped_in_script.json delete mode 100644 node_modules/domhandler/test/cases/05-tags_in_comment.json delete mode 100644 node_modules/domhandler/test/cases/06-comment_in_script.json delete mode 100644 node_modules/domhandler/test/cases/07-unescaped_in_style.json delete mode 100644 node_modules/domhandler/test/cases/08-extra_spaces_in_tag.json delete mode 100644 node_modules/domhandler/test/cases/09-unquoted_attrib.json delete mode 100644 node_modules/domhandler/test/cases/10-singular_attribute.json delete mode 100644 node_modules/domhandler/test/cases/11-text_outside_tags.json delete mode 100644 node_modules/domhandler/test/cases/12-text_only.json delete mode 100644 node_modules/domhandler/test/cases/13-comment_in_text.json delete mode 100644 node_modules/domhandler/test/cases/14-comment_in_text_in_script.json delete mode 100644 node_modules/domhandler/test/cases/15-non-verbose.json delete mode 100644 node_modules/domhandler/test/cases/16-normalize_whitespace.json delete mode 100644 node_modules/domhandler/test/cases/17-xml_namespace.json delete mode 100644 node_modules/domhandler/test/cases/18-enforce_empty_tags.json delete mode 100644 node_modules/domhandler/test/cases/19-ignore_empty_tags.json delete mode 100644 node_modules/domhandler/test/cases/20-template_script_tags.json delete mode 100644 node_modules/domhandler/test/cases/21-conditional_comments.json delete mode 100644 node_modules/domhandler/test/cases/22-lowercase_tags.json delete mode 100644 node_modules/domhandler/test/cases/23-dom-lvl1.json delete mode 100644 node_modules/domhandler/test/cases/24-with-start-indices.json delete mode 100644 node_modules/domhandler/test/tests.js delete mode 100644 node_modules/domutils/.npmignore delete mode 100644 node_modules/domutils/LICENSE delete mode 100644 node_modules/domutils/index.js delete mode 100644 node_modules/domutils/lib/helpers.js delete mode 100644 node_modules/domutils/lib/legacy.js delete mode 100644 node_modules/domutils/lib/manipulation.js delete mode 100644 node_modules/domutils/lib/querying.js delete mode 100644 node_modules/domutils/lib/stringify.js delete mode 100644 node_modules/domutils/lib/traversal.js delete mode 100644 node_modules/domutils/package.json delete mode 100644 node_modules/domutils/readme.md delete mode 100644 node_modules/domutils/test/fixture.js delete mode 100644 node_modules/domutils/test/tests/helpers.js delete mode 100644 node_modules/domutils/test/tests/legacy.js delete mode 100644 node_modules/domutils/test/tests/traversal.js delete mode 100644 node_modules/domutils/test/utils.js delete mode 100644 node_modules/ee-first/LICENSE delete mode 100644 node_modules/ee-first/README.md delete mode 100644 node_modules/ee-first/index.js delete mode 100644 node_modules/ee-first/package.json delete mode 100644 node_modules/encodeurl/HISTORY.md delete mode 100644 node_modules/encodeurl/LICENSE delete mode 100644 node_modules/encodeurl/README.md delete mode 100644 node_modules/encodeurl/index.js delete mode 100644 node_modules/encodeurl/package.json delete mode 100644 node_modules/engine.io-client/CHANGELOG.md delete mode 100644 node_modules/engine.io-client/LICENSE delete mode 100644 node_modules/engine.io-client/README.md delete mode 100644 node_modules/engine.io-client/engine.io.js delete mode 100644 node_modules/engine.io-client/lib/globalThis.browser.js delete mode 100644 node_modules/engine.io-client/lib/globalThis.js delete mode 100644 node_modules/engine.io-client/lib/index.js delete mode 100644 node_modules/engine.io-client/lib/socket.js delete mode 100644 node_modules/engine.io-client/lib/transport.js delete mode 100755 node_modules/engine.io-client/lib/transports/index.js delete mode 100644 node_modules/engine.io-client/lib/transports/polling-jsonp.js delete mode 100755 node_modules/engine.io-client/lib/transports/polling-xhr.js delete mode 100644 node_modules/engine.io-client/lib/transports/polling.js delete mode 100644 node_modules/engine.io-client/lib/transports/websocket.js delete mode 100644 node_modules/engine.io-client/lib/xmlhttprequest.js delete mode 100644 node_modules/engine.io-client/node_modules/component-emitter/History.md delete mode 100644 node_modules/engine.io-client/node_modules/component-emitter/LICENSE delete mode 100644 node_modules/engine.io-client/node_modules/component-emitter/Readme.md delete mode 100644 node_modules/engine.io-client/node_modules/component-emitter/index.js delete mode 100644 node_modules/engine.io-client/node_modules/component-emitter/package.json delete mode 100644 node_modules/engine.io-client/node_modules/debug/CHANGELOG.md delete mode 100644 node_modules/engine.io-client/node_modules/debug/LICENSE delete mode 100644 node_modules/engine.io-client/node_modules/debug/README.md delete mode 100644 node_modules/engine.io-client/node_modules/debug/dist/debug.js delete mode 100644 node_modules/engine.io-client/node_modules/debug/package.json delete mode 100644 node_modules/engine.io-client/node_modules/debug/src/browser.js delete mode 100644 node_modules/engine.io-client/node_modules/debug/src/common.js delete mode 100644 node_modules/engine.io-client/node_modules/debug/src/index.js delete mode 100644 node_modules/engine.io-client/node_modules/debug/src/node.js delete mode 100644 node_modules/engine.io-client/node_modules/ms/index.js delete mode 100644 node_modules/engine.io-client/node_modules/ms/license.md delete mode 100644 node_modules/engine.io-client/node_modules/ms/package.json delete mode 100644 node_modules/engine.io-client/node_modules/ms/readme.md delete mode 100644 node_modules/engine.io-client/node_modules/ws/LICENSE delete mode 100644 node_modules/engine.io-client/node_modules/ws/README.md delete mode 100644 node_modules/engine.io-client/node_modules/ws/browser.js delete mode 100644 node_modules/engine.io-client/node_modules/ws/index.js delete mode 100644 node_modules/engine.io-client/node_modules/ws/lib/buffer-util.js delete mode 100644 node_modules/engine.io-client/node_modules/ws/lib/constants.js delete mode 100644 node_modules/engine.io-client/node_modules/ws/lib/event-target.js delete mode 100644 node_modules/engine.io-client/node_modules/ws/lib/extension.js delete mode 100644 node_modules/engine.io-client/node_modules/ws/lib/permessage-deflate.js delete mode 100644 node_modules/engine.io-client/node_modules/ws/lib/receiver.js delete mode 100644 node_modules/engine.io-client/node_modules/ws/lib/sender.js delete mode 100644 node_modules/engine.io-client/node_modules/ws/lib/validation.js delete mode 100644 node_modules/engine.io-client/node_modules/ws/lib/websocket-server.js delete mode 100644 node_modules/engine.io-client/node_modules/ws/lib/websocket.js delete mode 100644 node_modules/engine.io-client/node_modules/ws/package.json delete mode 100644 node_modules/engine.io-client/package.json delete mode 100644 node_modules/engine.io-parser/LICENSE delete mode 100644 node_modules/engine.io-parser/Readme.md delete mode 100644 node_modules/engine.io-parser/lib/browser.js delete mode 100644 node_modules/engine.io-parser/lib/index.js delete mode 100644 node_modules/engine.io-parser/lib/keys.js delete mode 100644 node_modules/engine.io-parser/lib/utf8.js delete mode 100644 node_modules/engine.io-parser/package.json delete mode 100644 node_modules/engine.io/CHANGELOG.md delete mode 100644 node_modules/engine.io/LICENSE delete mode 100644 node_modules/engine.io/README.md delete mode 100644 node_modules/engine.io/lib/engine.io.js delete mode 100644 node_modules/engine.io/lib/server.js delete mode 100644 node_modules/engine.io/lib/socket.js delete mode 100644 node_modules/engine.io/lib/transport.js delete mode 100644 node_modules/engine.io/lib/transports/index.js delete mode 100644 node_modules/engine.io/lib/transports/polling-jsonp.js delete mode 100644 node_modules/engine.io/lib/transports/polling-xhr.js delete mode 100644 node_modules/engine.io/lib/transports/polling.js delete mode 100644 node_modules/engine.io/lib/transports/websocket.js delete mode 100644 node_modules/engine.io/node_modules/cookie/HISTORY.md delete mode 100644 node_modules/engine.io/node_modules/cookie/LICENSE delete mode 100644 node_modules/engine.io/node_modules/cookie/README.md delete mode 100644 node_modules/engine.io/node_modules/cookie/index.js delete mode 100644 node_modules/engine.io/node_modules/cookie/package.json delete mode 100644 node_modules/engine.io/node_modules/debug/CHANGELOG.md delete mode 100644 node_modules/engine.io/node_modules/debug/LICENSE delete mode 100644 node_modules/engine.io/node_modules/debug/README.md delete mode 100644 node_modules/engine.io/node_modules/debug/dist/debug.js delete mode 100644 node_modules/engine.io/node_modules/debug/package.json delete mode 100644 node_modules/engine.io/node_modules/debug/src/browser.js delete mode 100644 node_modules/engine.io/node_modules/debug/src/common.js delete mode 100644 node_modules/engine.io/node_modules/debug/src/index.js delete mode 100644 node_modules/engine.io/node_modules/debug/src/node.js delete mode 100644 node_modules/engine.io/node_modules/ms/index.js delete mode 100644 node_modules/engine.io/node_modules/ms/license.md delete mode 100644 node_modules/engine.io/node_modules/ms/package.json delete mode 100644 node_modules/engine.io/node_modules/ms/readme.md delete mode 100644 node_modules/engine.io/package.json delete mode 100644 node_modules/entities/.travis.yml delete mode 100644 node_modules/entities/LICENSE delete mode 100644 node_modules/entities/index.js delete mode 100644 node_modules/entities/lib/decode.js delete mode 100644 node_modules/entities/lib/decode_codepoint.js delete mode 100644 node_modules/entities/lib/encode.js delete mode 100644 node_modules/entities/maps/decode.json delete mode 100644 node_modules/entities/maps/entities.json delete mode 100644 node_modules/entities/maps/legacy.json delete mode 100644 node_modules/entities/maps/xml.json delete mode 100644 node_modules/entities/package.json delete mode 100644 node_modules/entities/readme.md delete mode 100644 node_modules/entities/test/mocha.opts delete mode 100644 node_modules/entities/test/test.js delete mode 100644 node_modules/escape-html/LICENSE delete mode 100644 node_modules/escape-html/Readme.md delete mode 100644 node_modules/escape-html/index.js delete mode 100644 node_modules/escape-html/package.json delete mode 100644 node_modules/etag/HISTORY.md delete mode 100644 node_modules/etag/LICENSE delete mode 100644 node_modules/etag/README.md delete mode 100644 node_modules/etag/index.js delete mode 100644 node_modules/etag/package.json delete mode 100644 node_modules/exit/.jshintrc delete mode 100644 node_modules/exit/.npmignore delete mode 100644 node_modules/exit/.travis.yml delete mode 100644 node_modules/exit/Gruntfile.js delete mode 100644 node_modules/exit/LICENSE-MIT delete mode 100644 node_modules/exit/README.md delete mode 100644 node_modules/exit/lib/exit.js delete mode 100644 node_modules/exit/package.json delete mode 100644 node_modules/exit/test/exit_test.js delete mode 100644 node_modules/exit/test/fixtures/10-stderr.txt delete mode 100644 node_modules/exit/test/fixtures/10-stdout-stderr.txt delete mode 100644 node_modules/exit/test/fixtures/10-stdout.txt delete mode 100644 node_modules/exit/test/fixtures/100-stderr.txt delete mode 100644 node_modules/exit/test/fixtures/100-stdout-stderr.txt delete mode 100644 node_modules/exit/test/fixtures/100-stdout.txt delete mode 100644 node_modules/exit/test/fixtures/1000-stderr.txt delete mode 100644 node_modules/exit/test/fixtures/1000-stdout-stderr.txt delete mode 100644 node_modules/exit/test/fixtures/1000-stdout.txt delete mode 100755 node_modules/exit/test/fixtures/create-files.sh delete mode 100644 node_modules/exit/test/fixtures/log-broken.js delete mode 100644 node_modules/exit/test/fixtures/log.js delete mode 100644 node_modules/express/History.md delete mode 100644 node_modules/express/LICENSE delete mode 100644 node_modules/express/Readme.md delete mode 100644 node_modules/express/index.js delete mode 100644 node_modules/express/lib/application.js delete mode 100644 node_modules/express/lib/express.js delete mode 100644 node_modules/express/lib/middleware/init.js delete mode 100644 node_modules/express/lib/middleware/query.js delete mode 100644 node_modules/express/lib/request.js delete mode 100644 node_modules/express/lib/response.js delete mode 100644 node_modules/express/lib/router/index.js delete mode 100644 node_modules/express/lib/router/layer.js delete mode 100644 node_modules/express/lib/router/route.js delete mode 100644 node_modules/express/lib/utils.js delete mode 100644 node_modules/express/lib/view.js delete mode 100644 node_modules/express/package.json delete mode 100644 node_modules/finalhandler/HISTORY.md delete mode 100644 node_modules/finalhandler/LICENSE delete mode 100644 node_modules/finalhandler/README.md delete mode 100644 node_modules/finalhandler/index.js delete mode 100644 node_modules/finalhandler/package.json delete mode 100644 node_modules/forwarded/HISTORY.md delete mode 100644 node_modules/forwarded/LICENSE delete mode 100644 node_modules/forwarded/README.md delete mode 100644 node_modules/forwarded/index.js delete mode 100644 node_modules/forwarded/package.json delete mode 100644 node_modules/fresh/HISTORY.md delete mode 100644 node_modules/fresh/LICENSE delete mode 100644 node_modules/fresh/README.md delete mode 100644 node_modules/fresh/index.js delete mode 100644 node_modules/fresh/package.json delete mode 100644 node_modules/fs.realpath/LICENSE delete mode 100644 node_modules/fs.realpath/README.md delete mode 100644 node_modules/fs.realpath/index.js delete mode 100644 node_modules/fs.realpath/old.js delete mode 100644 node_modules/fs.realpath/package.json delete mode 100644 node_modules/glob/LICENSE delete mode 100644 node_modules/glob/README.md delete mode 100644 node_modules/glob/changelog.md delete mode 100644 node_modules/glob/common.js delete mode 100644 node_modules/glob/glob.js delete mode 100644 node_modules/glob/package.json delete mode 100644 node_modules/glob/sync.js delete mode 100644 node_modules/has-binary2/History.md delete mode 100644 node_modules/has-binary2/LICENSE delete mode 100644 node_modules/has-binary2/README.md delete mode 100644 node_modules/has-binary2/index.js delete mode 100644 node_modules/has-binary2/package.json delete mode 100644 node_modules/has-cors/.npmignore delete mode 100644 node_modules/has-cors/History.md delete mode 100644 node_modules/has-cors/Makefile delete mode 100644 node_modules/has-cors/Readme.md delete mode 100644 node_modules/has-cors/component.json delete mode 100644 node_modules/has-cors/index.js delete mode 100644 node_modules/has-cors/package.json delete mode 100644 node_modules/has-cors/test.js delete mode 100644 node_modules/htmlparser2/.gitattributes delete mode 100644 node_modules/htmlparser2/.jscsrc delete mode 100644 node_modules/htmlparser2/.travis.yml delete mode 100644 node_modules/htmlparser2/LICENSE delete mode 100644 node_modules/htmlparser2/README.md delete mode 100644 node_modules/htmlparser2/lib/CollectingHandler.js delete mode 100644 node_modules/htmlparser2/lib/FeedHandler.js delete mode 100644 node_modules/htmlparser2/lib/Parser.js delete mode 100644 node_modules/htmlparser2/lib/ProxyHandler.js delete mode 100644 node_modules/htmlparser2/lib/Stream.js delete mode 100644 node_modules/htmlparser2/lib/Tokenizer.js delete mode 100644 node_modules/htmlparser2/lib/WritableStream.js delete mode 100644 node_modules/htmlparser2/lib/index.js delete mode 100644 node_modules/htmlparser2/package.json delete mode 100644 node_modules/htmlparser2/test/01-events.js delete mode 100644 node_modules/htmlparser2/test/02-stream.js delete mode 100644 node_modules/htmlparser2/test/03-feed.js delete mode 100644 node_modules/htmlparser2/test/Documents/Atom_Example.xml delete mode 100644 node_modules/htmlparser2/test/Documents/Attributes.html delete mode 100644 node_modules/htmlparser2/test/Documents/Basic.html delete mode 100644 node_modules/htmlparser2/test/Documents/RDF_Example.xml delete mode 100644 node_modules/htmlparser2/test/Documents/RSS_Example.xml delete mode 100644 node_modules/htmlparser2/test/Events/01-simple.json delete mode 100644 node_modules/htmlparser2/test/Events/02-template.json delete mode 100644 node_modules/htmlparser2/test/Events/03-lowercase_tags.json delete mode 100644 node_modules/htmlparser2/test/Events/04-cdata.json delete mode 100644 node_modules/htmlparser2/test/Events/05-cdata-special.json delete mode 100644 node_modules/htmlparser2/test/Events/06-leading-lt.json delete mode 100644 node_modules/htmlparser2/test/Events/07-self-closing.json delete mode 100644 node_modules/htmlparser2/test/Events/08-implicit-close-tags.json delete mode 100644 node_modules/htmlparser2/test/Events/09-attributes.json delete mode 100644 node_modules/htmlparser2/test/Events/10-crazy-attrib.json delete mode 100644 node_modules/htmlparser2/test/Events/11-script_in_script.json delete mode 100644 node_modules/htmlparser2/test/Events/12-long-comment-end.json delete mode 100644 node_modules/htmlparser2/test/Events/13-long-cdata-end.json delete mode 100644 node_modules/htmlparser2/test/Events/14-implicit-open-tags.json delete mode 100644 node_modules/htmlparser2/test/Events/15-lt-whitespace.json delete mode 100644 node_modules/htmlparser2/test/Events/16-double_attribs.json delete mode 100644 node_modules/htmlparser2/test/Events/17-numeric_entities.json delete mode 100644 node_modules/htmlparser2/test/Events/18-legacy_entities.json delete mode 100644 node_modules/htmlparser2/test/Events/19-named_entities.json delete mode 100644 node_modules/htmlparser2/test/Events/20-xml_entities.json delete mode 100644 node_modules/htmlparser2/test/Events/21-entity_in_attribute.json delete mode 100644 node_modules/htmlparser2/test/Events/22-double_brackets.json delete mode 100644 node_modules/htmlparser2/test/Events/23-legacy_entity_fail.json delete mode 100644 node_modules/htmlparser2/test/Events/24-special_special.json delete mode 100644 node_modules/htmlparser2/test/Events/25-empty_tag_name.json delete mode 100644 node_modules/htmlparser2/test/Events/26-not-quite-closed.json delete mode 100644 node_modules/htmlparser2/test/Events/27-entities_in_attributes.json delete mode 100644 node_modules/htmlparser2/test/Events/28-cdata_in_html.json delete mode 100644 node_modules/htmlparser2/test/Events/29-comment_edge-cases.json delete mode 100644 node_modules/htmlparser2/test/Events/30-cdata_edge-cases.json delete mode 100644 node_modules/htmlparser2/test/Events/31-comment_false-ending.json delete mode 100644 node_modules/htmlparser2/test/Feeds/01-rss.js delete mode 100644 node_modules/htmlparser2/test/Feeds/02-atom.js delete mode 100644 node_modules/htmlparser2/test/Feeds/03-rdf.js delete mode 100644 node_modules/htmlparser2/test/Stream/01-basic.json delete mode 100644 node_modules/htmlparser2/test/Stream/02-RSS.json delete mode 100644 node_modules/htmlparser2/test/Stream/03-Atom.json delete mode 100644 node_modules/htmlparser2/test/Stream/04-RDF.json delete mode 100644 node_modules/htmlparser2/test/Stream/05-Attributes.json delete mode 100644 node_modules/htmlparser2/test/api.js delete mode 100644 node_modules/htmlparser2/test/test-helper.js delete mode 100644 node_modules/http-errors/HISTORY.md delete mode 100644 node_modules/http-errors/LICENSE delete mode 100644 node_modules/http-errors/README.md delete mode 100644 node_modules/http-errors/index.js delete mode 100644 node_modules/http-errors/package.json delete mode 100644 node_modules/iconv-lite/Changelog.md delete mode 100644 node_modules/iconv-lite/LICENSE delete mode 100644 node_modules/iconv-lite/README.md delete mode 100644 node_modules/iconv-lite/encodings/dbcs-codec.js delete mode 100644 node_modules/iconv-lite/encodings/dbcs-data.js delete mode 100644 node_modules/iconv-lite/encodings/index.js delete mode 100644 node_modules/iconv-lite/encodings/internal.js delete mode 100644 node_modules/iconv-lite/encodings/sbcs-codec.js delete mode 100644 node_modules/iconv-lite/encodings/sbcs-data-generated.js delete mode 100644 node_modules/iconv-lite/encodings/sbcs-data.js delete mode 100644 node_modules/iconv-lite/encodings/tables/big5-added.json delete mode 100644 node_modules/iconv-lite/encodings/tables/cp936.json delete mode 100644 node_modules/iconv-lite/encodings/tables/cp949.json delete mode 100644 node_modules/iconv-lite/encodings/tables/cp950.json delete mode 100644 node_modules/iconv-lite/encodings/tables/eucjp.json delete mode 100644 node_modules/iconv-lite/encodings/tables/gb18030-ranges.json delete mode 100644 node_modules/iconv-lite/encodings/tables/gbk-added.json delete mode 100644 node_modules/iconv-lite/encodings/tables/shiftjis.json delete mode 100644 node_modules/iconv-lite/encodings/utf16.js delete mode 100644 node_modules/iconv-lite/encodings/utf7.js delete mode 100644 node_modules/iconv-lite/lib/bom-handling.js delete mode 100644 node_modules/iconv-lite/lib/extend-node.js delete mode 100644 node_modules/iconv-lite/lib/index.d.ts delete mode 100644 node_modules/iconv-lite/lib/index.js delete mode 100644 node_modules/iconv-lite/lib/streams.js delete mode 100644 node_modules/iconv-lite/package.json delete mode 100644 node_modules/indexof/.npmignore delete mode 100644 node_modules/indexof/Makefile delete mode 100644 node_modules/indexof/Readme.md delete mode 100644 node_modules/indexof/component.json delete mode 100644 node_modules/indexof/index.js delete mode 100644 node_modules/indexof/package.json delete mode 100644 node_modules/inflight/LICENSE delete mode 100644 node_modules/inflight/README.md delete mode 100644 node_modules/inflight/inflight.js delete mode 100644 node_modules/inflight/package.json delete mode 100644 node_modules/inherits/LICENSE delete mode 100644 node_modules/inherits/README.md delete mode 100644 node_modules/inherits/inherits.js delete mode 100644 node_modules/inherits/inherits_browser.js delete mode 100644 node_modules/inherits/package.json delete mode 100644 node_modules/ipaddr.js/LICENSE delete mode 100644 node_modules/ipaddr.js/README.md delete mode 100644 node_modules/ipaddr.js/ipaddr.min.js delete mode 100644 node_modules/ipaddr.js/lib/ipaddr.js delete mode 100644 node_modules/ipaddr.js/lib/ipaddr.js.d.ts delete mode 100644 node_modules/ipaddr.js/package.json delete mode 100644 node_modules/isarray/README.md delete mode 100644 node_modules/isarray/index.js delete mode 100644 node_modules/isarray/package.json delete mode 100644 node_modules/jshint/CHANGELOG.md delete mode 100644 node_modules/jshint/LICENSE delete mode 100644 node_modules/jshint/README.md delete mode 100755 node_modules/jshint/bin/apply delete mode 100755 node_modules/jshint/bin/build delete mode 100755 node_modules/jshint/bin/jshint delete mode 100755 node_modules/jshint/bin/land delete mode 100644 node_modules/jshint/data/ascii-identifier-data.js delete mode 100644 node_modules/jshint/data/es5-identifier-names.js delete mode 100644 node_modules/jshint/data/non-ascii-identifier-part-only.js delete mode 100644 node_modules/jshint/data/non-ascii-identifier-start.js delete mode 100755 node_modules/jshint/dist/jshint-rhino.js delete mode 100644 node_modules/jshint/dist/jshint.js delete mode 100644 node_modules/jshint/package.json delete mode 100644 node_modules/jshint/src/.lex.js.swp delete mode 100644 node_modules/jshint/src/.messages.js.swp delete mode 100644 node_modules/jshint/src/.options.js.swp delete mode 100644 node_modules/jshint/src/.prod-params.js.swp delete mode 100644 node_modules/jshint/src/.reg.js.swp delete mode 100644 node_modules/jshint/src/.vars.js.swp delete mode 100644 node_modules/jshint/src/cli.js delete mode 100644 node_modules/jshint/src/jshint.js delete mode 100644 node_modules/jshint/src/lex.js delete mode 100644 node_modules/jshint/src/messages.js delete mode 100644 node_modules/jshint/src/name-stack.js delete mode 100644 node_modules/jshint/src/options.js delete mode 100644 node_modules/jshint/src/platforms/rhino.js delete mode 100644 node_modules/jshint/src/prod-params.js delete mode 100644 node_modules/jshint/src/reg.js delete mode 100644 node_modules/jshint/src/reporters/checkstyle.js delete mode 100644 node_modules/jshint/src/reporters/default.js delete mode 100644 node_modules/jshint/src/reporters/jslint_xml.js delete mode 100644 node_modules/jshint/src/reporters/non_error.js delete mode 100644 node_modules/jshint/src/reporters/unix.js delete mode 100644 node_modules/jshint/src/scope-manager.js delete mode 100644 node_modules/jshint/src/state.js delete mode 100644 node_modules/jshint/src/style.js delete mode 100644 node_modules/jshint/src/vars.js delete mode 100644 node_modules/lodash/LICENSE delete mode 100644 node_modules/lodash/README.md delete mode 100644 node_modules/lodash/_DataView.js delete mode 100644 node_modules/lodash/_Hash.js delete mode 100644 node_modules/lodash/_LazyWrapper.js delete mode 100644 node_modules/lodash/_ListCache.js delete mode 100644 node_modules/lodash/_LodashWrapper.js delete mode 100644 node_modules/lodash/_Map.js delete mode 100644 node_modules/lodash/_MapCache.js delete mode 100644 node_modules/lodash/_Promise.js delete mode 100644 node_modules/lodash/_Set.js delete mode 100644 node_modules/lodash/_SetCache.js delete mode 100644 node_modules/lodash/_Stack.js delete mode 100644 node_modules/lodash/_Symbol.js delete mode 100644 node_modules/lodash/_Uint8Array.js delete mode 100644 node_modules/lodash/_WeakMap.js delete mode 100644 node_modules/lodash/_apply.js delete mode 100644 node_modules/lodash/_arrayAggregator.js delete mode 100644 node_modules/lodash/_arrayEach.js delete mode 100644 node_modules/lodash/_arrayEachRight.js delete mode 100644 node_modules/lodash/_arrayEvery.js delete mode 100644 node_modules/lodash/_arrayFilter.js delete mode 100644 node_modules/lodash/_arrayIncludes.js delete mode 100644 node_modules/lodash/_arrayIncludesWith.js delete mode 100644 node_modules/lodash/_arrayLikeKeys.js delete mode 100644 node_modules/lodash/_arrayMap.js delete mode 100644 node_modules/lodash/_arrayPush.js delete mode 100644 node_modules/lodash/_arrayReduce.js delete mode 100644 node_modules/lodash/_arrayReduceRight.js delete mode 100644 node_modules/lodash/_arraySample.js delete mode 100644 node_modules/lodash/_arraySampleSize.js delete mode 100644 node_modules/lodash/_arrayShuffle.js delete mode 100644 node_modules/lodash/_arraySome.js delete mode 100644 node_modules/lodash/_asciiSize.js delete mode 100644 node_modules/lodash/_asciiToArray.js delete mode 100644 node_modules/lodash/_asciiWords.js delete mode 100644 node_modules/lodash/_assignMergeValue.js delete mode 100644 node_modules/lodash/_assignValue.js delete mode 100644 node_modules/lodash/_assocIndexOf.js delete mode 100644 node_modules/lodash/_baseAggregator.js delete mode 100644 node_modules/lodash/_baseAssign.js delete mode 100644 node_modules/lodash/_baseAssignIn.js delete mode 100644 node_modules/lodash/_baseAssignValue.js delete mode 100644 node_modules/lodash/_baseAt.js delete mode 100644 node_modules/lodash/_baseClamp.js delete mode 100644 node_modules/lodash/_baseClone.js delete mode 100644 node_modules/lodash/_baseConforms.js delete mode 100644 node_modules/lodash/_baseConformsTo.js delete mode 100644 node_modules/lodash/_baseCreate.js delete mode 100644 node_modules/lodash/_baseDelay.js delete mode 100644 node_modules/lodash/_baseDifference.js delete mode 100644 node_modules/lodash/_baseEach.js delete mode 100644 node_modules/lodash/_baseEachRight.js delete mode 100644 node_modules/lodash/_baseEvery.js delete mode 100644 node_modules/lodash/_baseExtremum.js delete mode 100644 node_modules/lodash/_baseFill.js delete mode 100644 node_modules/lodash/_baseFilter.js delete mode 100644 node_modules/lodash/_baseFindIndex.js delete mode 100644 node_modules/lodash/_baseFindKey.js delete mode 100644 node_modules/lodash/_baseFlatten.js delete mode 100644 node_modules/lodash/_baseFor.js delete mode 100644 node_modules/lodash/_baseForOwn.js delete mode 100644 node_modules/lodash/_baseForOwnRight.js delete mode 100644 node_modules/lodash/_baseForRight.js delete mode 100644 node_modules/lodash/_baseFunctions.js delete mode 100644 node_modules/lodash/_baseGet.js delete mode 100644 node_modules/lodash/_baseGetAllKeys.js delete mode 100644 node_modules/lodash/_baseGetTag.js delete mode 100644 node_modules/lodash/_baseGt.js delete mode 100644 node_modules/lodash/_baseHas.js delete mode 100644 node_modules/lodash/_baseHasIn.js delete mode 100644 node_modules/lodash/_baseInRange.js delete mode 100644 node_modules/lodash/_baseIndexOf.js delete mode 100644 node_modules/lodash/_baseIndexOfWith.js delete mode 100644 node_modules/lodash/_baseIntersection.js delete mode 100644 node_modules/lodash/_baseInverter.js delete mode 100644 node_modules/lodash/_baseInvoke.js delete mode 100644 node_modules/lodash/_baseIsArguments.js delete mode 100644 node_modules/lodash/_baseIsArrayBuffer.js delete mode 100644 node_modules/lodash/_baseIsDate.js delete mode 100644 node_modules/lodash/_baseIsEqual.js delete mode 100644 node_modules/lodash/_baseIsEqualDeep.js delete mode 100644 node_modules/lodash/_baseIsMap.js delete mode 100644 node_modules/lodash/_baseIsMatch.js delete mode 100644 node_modules/lodash/_baseIsNaN.js delete mode 100644 node_modules/lodash/_baseIsNative.js delete mode 100644 node_modules/lodash/_baseIsRegExp.js delete mode 100644 node_modules/lodash/_baseIsSet.js delete mode 100644 node_modules/lodash/_baseIsTypedArray.js delete mode 100644 node_modules/lodash/_baseIteratee.js delete mode 100644 node_modules/lodash/_baseKeys.js delete mode 100644 node_modules/lodash/_baseKeysIn.js delete mode 100644 node_modules/lodash/_baseLodash.js delete mode 100644 node_modules/lodash/_baseLt.js delete mode 100644 node_modules/lodash/_baseMap.js delete mode 100644 node_modules/lodash/_baseMatches.js delete mode 100644 node_modules/lodash/_baseMatchesProperty.js delete mode 100644 node_modules/lodash/_baseMean.js delete mode 100644 node_modules/lodash/_baseMerge.js delete mode 100644 node_modules/lodash/_baseMergeDeep.js delete mode 100644 node_modules/lodash/_baseNth.js delete mode 100644 node_modules/lodash/_baseOrderBy.js delete mode 100644 node_modules/lodash/_basePick.js delete mode 100644 node_modules/lodash/_basePickBy.js delete mode 100644 node_modules/lodash/_baseProperty.js delete mode 100644 node_modules/lodash/_basePropertyDeep.js delete mode 100644 node_modules/lodash/_basePropertyOf.js delete mode 100644 node_modules/lodash/_basePullAll.js delete mode 100644 node_modules/lodash/_basePullAt.js delete mode 100644 node_modules/lodash/_baseRandom.js delete mode 100644 node_modules/lodash/_baseRange.js delete mode 100644 node_modules/lodash/_baseReduce.js delete mode 100644 node_modules/lodash/_baseRepeat.js delete mode 100644 node_modules/lodash/_baseRest.js delete mode 100644 node_modules/lodash/_baseSample.js delete mode 100644 node_modules/lodash/_baseSampleSize.js delete mode 100644 node_modules/lodash/_baseSet.js delete mode 100644 node_modules/lodash/_baseSetData.js delete mode 100644 node_modules/lodash/_baseSetToString.js delete mode 100644 node_modules/lodash/_baseShuffle.js delete mode 100644 node_modules/lodash/_baseSlice.js delete mode 100644 node_modules/lodash/_baseSome.js delete mode 100644 node_modules/lodash/_baseSortBy.js delete mode 100644 node_modules/lodash/_baseSortedIndex.js delete mode 100644 node_modules/lodash/_baseSortedIndexBy.js delete mode 100644 node_modules/lodash/_baseSortedUniq.js delete mode 100644 node_modules/lodash/_baseSum.js delete mode 100644 node_modules/lodash/_baseTimes.js delete mode 100644 node_modules/lodash/_baseToNumber.js delete mode 100644 node_modules/lodash/_baseToPairs.js delete mode 100644 node_modules/lodash/_baseToString.js delete mode 100644 node_modules/lodash/_baseUnary.js delete mode 100644 node_modules/lodash/_baseUniq.js delete mode 100644 node_modules/lodash/_baseUnset.js delete mode 100644 node_modules/lodash/_baseUpdate.js delete mode 100644 node_modules/lodash/_baseValues.js delete mode 100644 node_modules/lodash/_baseWhile.js delete mode 100644 node_modules/lodash/_baseWrapperValue.js delete mode 100644 node_modules/lodash/_baseXor.js delete mode 100644 node_modules/lodash/_baseZipObject.js delete mode 100644 node_modules/lodash/_cacheHas.js delete mode 100644 node_modules/lodash/_castArrayLikeObject.js delete mode 100644 node_modules/lodash/_castFunction.js delete mode 100644 node_modules/lodash/_castPath.js delete mode 100644 node_modules/lodash/_castRest.js delete mode 100644 node_modules/lodash/_castSlice.js delete mode 100644 node_modules/lodash/_charsEndIndex.js delete mode 100644 node_modules/lodash/_charsStartIndex.js delete mode 100644 node_modules/lodash/_cloneArrayBuffer.js delete mode 100644 node_modules/lodash/_cloneBuffer.js delete mode 100644 node_modules/lodash/_cloneDataView.js delete mode 100644 node_modules/lodash/_cloneRegExp.js delete mode 100644 node_modules/lodash/_cloneSymbol.js delete mode 100644 node_modules/lodash/_cloneTypedArray.js delete mode 100644 node_modules/lodash/_compareAscending.js delete mode 100644 node_modules/lodash/_compareMultiple.js delete mode 100644 node_modules/lodash/_composeArgs.js delete mode 100644 node_modules/lodash/_composeArgsRight.js delete mode 100644 node_modules/lodash/_copyArray.js delete mode 100644 node_modules/lodash/_copyObject.js delete mode 100644 node_modules/lodash/_copySymbols.js delete mode 100644 node_modules/lodash/_copySymbolsIn.js delete mode 100644 node_modules/lodash/_coreJsData.js delete mode 100644 node_modules/lodash/_countHolders.js delete mode 100644 node_modules/lodash/_createAggregator.js delete mode 100644 node_modules/lodash/_createAssigner.js delete mode 100644 node_modules/lodash/_createBaseEach.js delete mode 100644 node_modules/lodash/_createBaseFor.js delete mode 100644 node_modules/lodash/_createBind.js delete mode 100644 node_modules/lodash/_createCaseFirst.js delete mode 100644 node_modules/lodash/_createCompounder.js delete mode 100644 node_modules/lodash/_createCtor.js delete mode 100644 node_modules/lodash/_createCurry.js delete mode 100644 node_modules/lodash/_createFind.js delete mode 100644 node_modules/lodash/_createFlow.js delete mode 100644 node_modules/lodash/_createHybrid.js delete mode 100644 node_modules/lodash/_createInverter.js delete mode 100644 node_modules/lodash/_createMathOperation.js delete mode 100644 node_modules/lodash/_createOver.js delete mode 100644 node_modules/lodash/_createPadding.js delete mode 100644 node_modules/lodash/_createPartial.js delete mode 100644 node_modules/lodash/_createRange.js delete mode 100644 node_modules/lodash/_createRecurry.js delete mode 100644 node_modules/lodash/_createRelationalOperation.js delete mode 100644 node_modules/lodash/_createRound.js delete mode 100644 node_modules/lodash/_createSet.js delete mode 100644 node_modules/lodash/_createToPairs.js delete mode 100644 node_modules/lodash/_createWrap.js delete mode 100644 node_modules/lodash/_customDefaultsAssignIn.js delete mode 100644 node_modules/lodash/_customDefaultsMerge.js delete mode 100644 node_modules/lodash/_customOmitClone.js delete mode 100644 node_modules/lodash/_deburrLetter.js delete mode 100644 node_modules/lodash/_defineProperty.js delete mode 100644 node_modules/lodash/_equalArrays.js delete mode 100644 node_modules/lodash/_equalByTag.js delete mode 100644 node_modules/lodash/_equalObjects.js delete mode 100644 node_modules/lodash/_escapeHtmlChar.js delete mode 100644 node_modules/lodash/_escapeStringChar.js delete mode 100644 node_modules/lodash/_flatRest.js delete mode 100644 node_modules/lodash/_freeGlobal.js delete mode 100644 node_modules/lodash/_getAllKeys.js delete mode 100644 node_modules/lodash/_getAllKeysIn.js delete mode 100644 node_modules/lodash/_getData.js delete mode 100644 node_modules/lodash/_getFuncName.js delete mode 100644 node_modules/lodash/_getHolder.js delete mode 100644 node_modules/lodash/_getMapData.js delete mode 100644 node_modules/lodash/_getMatchData.js delete mode 100644 node_modules/lodash/_getNative.js delete mode 100644 node_modules/lodash/_getPrototype.js delete mode 100644 node_modules/lodash/_getRawTag.js delete mode 100644 node_modules/lodash/_getSymbols.js delete mode 100644 node_modules/lodash/_getSymbolsIn.js delete mode 100644 node_modules/lodash/_getTag.js delete mode 100644 node_modules/lodash/_getValue.js delete mode 100644 node_modules/lodash/_getView.js delete mode 100644 node_modules/lodash/_getWrapDetails.js delete mode 100644 node_modules/lodash/_hasPath.js delete mode 100644 node_modules/lodash/_hasUnicode.js delete mode 100644 node_modules/lodash/_hasUnicodeWord.js delete mode 100644 node_modules/lodash/_hashClear.js delete mode 100644 node_modules/lodash/_hashDelete.js delete mode 100644 node_modules/lodash/_hashGet.js delete mode 100644 node_modules/lodash/_hashHas.js delete mode 100644 node_modules/lodash/_hashSet.js delete mode 100644 node_modules/lodash/_initCloneArray.js delete mode 100644 node_modules/lodash/_initCloneByTag.js delete mode 100644 node_modules/lodash/_initCloneObject.js delete mode 100644 node_modules/lodash/_insertWrapDetails.js delete mode 100644 node_modules/lodash/_isFlattenable.js delete mode 100644 node_modules/lodash/_isIndex.js delete mode 100644 node_modules/lodash/_isIterateeCall.js delete mode 100644 node_modules/lodash/_isKey.js delete mode 100644 node_modules/lodash/_isKeyable.js delete mode 100644 node_modules/lodash/_isLaziable.js delete mode 100644 node_modules/lodash/_isMaskable.js delete mode 100644 node_modules/lodash/_isMasked.js delete mode 100644 node_modules/lodash/_isPrototype.js delete mode 100644 node_modules/lodash/_isStrictComparable.js delete mode 100644 node_modules/lodash/_iteratorToArray.js delete mode 100644 node_modules/lodash/_lazyClone.js delete mode 100644 node_modules/lodash/_lazyReverse.js delete mode 100644 node_modules/lodash/_lazyValue.js delete mode 100644 node_modules/lodash/_listCacheClear.js delete mode 100644 node_modules/lodash/_listCacheDelete.js delete mode 100644 node_modules/lodash/_listCacheGet.js delete mode 100644 node_modules/lodash/_listCacheHas.js delete mode 100644 node_modules/lodash/_listCacheSet.js delete mode 100644 node_modules/lodash/_mapCacheClear.js delete mode 100644 node_modules/lodash/_mapCacheDelete.js delete mode 100644 node_modules/lodash/_mapCacheGet.js delete mode 100644 node_modules/lodash/_mapCacheHas.js delete mode 100644 node_modules/lodash/_mapCacheSet.js delete mode 100644 node_modules/lodash/_mapToArray.js delete mode 100644 node_modules/lodash/_matchesStrictComparable.js delete mode 100644 node_modules/lodash/_memoizeCapped.js delete mode 100644 node_modules/lodash/_mergeData.js delete mode 100644 node_modules/lodash/_metaMap.js delete mode 100644 node_modules/lodash/_nativeCreate.js delete mode 100644 node_modules/lodash/_nativeKeys.js delete mode 100644 node_modules/lodash/_nativeKeysIn.js delete mode 100644 node_modules/lodash/_nodeUtil.js delete mode 100644 node_modules/lodash/_objectToString.js delete mode 100644 node_modules/lodash/_overArg.js delete mode 100644 node_modules/lodash/_overRest.js delete mode 100644 node_modules/lodash/_parent.js delete mode 100644 node_modules/lodash/_reEscape.js delete mode 100644 node_modules/lodash/_reEvaluate.js delete mode 100644 node_modules/lodash/_reInterpolate.js delete mode 100644 node_modules/lodash/_realNames.js delete mode 100644 node_modules/lodash/_reorder.js delete mode 100644 node_modules/lodash/_replaceHolders.js delete mode 100644 node_modules/lodash/_root.js delete mode 100644 node_modules/lodash/_safeGet.js delete mode 100644 node_modules/lodash/_setCacheAdd.js delete mode 100644 node_modules/lodash/_setCacheHas.js delete mode 100644 node_modules/lodash/_setData.js delete mode 100644 node_modules/lodash/_setToArray.js delete mode 100644 node_modules/lodash/_setToPairs.js delete mode 100644 node_modules/lodash/_setToString.js delete mode 100644 node_modules/lodash/_setWrapToString.js delete mode 100644 node_modules/lodash/_shortOut.js delete mode 100644 node_modules/lodash/_shuffleSelf.js delete mode 100644 node_modules/lodash/_stackClear.js delete mode 100644 node_modules/lodash/_stackDelete.js delete mode 100644 node_modules/lodash/_stackGet.js delete mode 100644 node_modules/lodash/_stackHas.js delete mode 100644 node_modules/lodash/_stackSet.js delete mode 100644 node_modules/lodash/_strictIndexOf.js delete mode 100644 node_modules/lodash/_strictLastIndexOf.js delete mode 100644 node_modules/lodash/_stringSize.js delete mode 100644 node_modules/lodash/_stringToArray.js delete mode 100644 node_modules/lodash/_stringToPath.js delete mode 100644 node_modules/lodash/_toKey.js delete mode 100644 node_modules/lodash/_toSource.js delete mode 100644 node_modules/lodash/_unescapeHtmlChar.js delete mode 100644 node_modules/lodash/_unicodeSize.js delete mode 100644 node_modules/lodash/_unicodeToArray.js delete mode 100644 node_modules/lodash/_unicodeWords.js delete mode 100644 node_modules/lodash/_updateWrapDetails.js delete mode 100644 node_modules/lodash/_wrapperClone.js delete mode 100644 node_modules/lodash/add.js delete mode 100644 node_modules/lodash/after.js delete mode 100644 node_modules/lodash/array.js delete mode 100644 node_modules/lodash/ary.js delete mode 100644 node_modules/lodash/assign.js delete mode 100644 node_modules/lodash/assignIn.js delete mode 100644 node_modules/lodash/assignInWith.js delete mode 100644 node_modules/lodash/assignWith.js delete mode 100644 node_modules/lodash/at.js delete mode 100644 node_modules/lodash/attempt.js delete mode 100644 node_modules/lodash/before.js delete mode 100644 node_modules/lodash/bind.js delete mode 100644 node_modules/lodash/bindAll.js delete mode 100644 node_modules/lodash/bindKey.js delete mode 100644 node_modules/lodash/camelCase.js delete mode 100644 node_modules/lodash/capitalize.js delete mode 100644 node_modules/lodash/castArray.js delete mode 100644 node_modules/lodash/ceil.js delete mode 100644 node_modules/lodash/chain.js delete mode 100644 node_modules/lodash/chunk.js delete mode 100644 node_modules/lodash/clamp.js delete mode 100644 node_modules/lodash/clone.js delete mode 100644 node_modules/lodash/cloneDeep.js delete mode 100644 node_modules/lodash/cloneDeepWith.js delete mode 100644 node_modules/lodash/cloneWith.js delete mode 100644 node_modules/lodash/collection.js delete mode 100644 node_modules/lodash/commit.js delete mode 100644 node_modules/lodash/compact.js delete mode 100644 node_modules/lodash/concat.js delete mode 100644 node_modules/lodash/cond.js delete mode 100644 node_modules/lodash/conforms.js delete mode 100644 node_modules/lodash/conformsTo.js delete mode 100644 node_modules/lodash/constant.js delete mode 100644 node_modules/lodash/core.js delete mode 100644 node_modules/lodash/core.min.js delete mode 100644 node_modules/lodash/countBy.js delete mode 100644 node_modules/lodash/create.js delete mode 100644 node_modules/lodash/curry.js delete mode 100644 node_modules/lodash/curryRight.js delete mode 100644 node_modules/lodash/date.js delete mode 100644 node_modules/lodash/debounce.js delete mode 100644 node_modules/lodash/deburr.js delete mode 100644 node_modules/lodash/defaultTo.js delete mode 100644 node_modules/lodash/defaults.js delete mode 100644 node_modules/lodash/defaultsDeep.js delete mode 100644 node_modules/lodash/defer.js delete mode 100644 node_modules/lodash/delay.js delete mode 100644 node_modules/lodash/difference.js delete mode 100644 node_modules/lodash/differenceBy.js delete mode 100644 node_modules/lodash/differenceWith.js delete mode 100644 node_modules/lodash/divide.js delete mode 100644 node_modules/lodash/drop.js delete mode 100644 node_modules/lodash/dropRight.js delete mode 100644 node_modules/lodash/dropRightWhile.js delete mode 100644 node_modules/lodash/dropWhile.js delete mode 100644 node_modules/lodash/each.js delete mode 100644 node_modules/lodash/eachRight.js delete mode 100644 node_modules/lodash/endsWith.js delete mode 100644 node_modules/lodash/entries.js delete mode 100644 node_modules/lodash/entriesIn.js delete mode 100644 node_modules/lodash/eq.js delete mode 100644 node_modules/lodash/escape.js delete mode 100644 node_modules/lodash/escapeRegExp.js delete mode 100644 node_modules/lodash/every.js delete mode 100644 node_modules/lodash/extend.js delete mode 100644 node_modules/lodash/extendWith.js delete mode 100644 node_modules/lodash/fill.js delete mode 100644 node_modules/lodash/filter.js delete mode 100644 node_modules/lodash/find.js delete mode 100644 node_modules/lodash/findIndex.js delete mode 100644 node_modules/lodash/findKey.js delete mode 100644 node_modules/lodash/findLast.js delete mode 100644 node_modules/lodash/findLastIndex.js delete mode 100644 node_modules/lodash/findLastKey.js delete mode 100644 node_modules/lodash/first.js delete mode 100644 node_modules/lodash/flatMap.js delete mode 100644 node_modules/lodash/flatMapDeep.js delete mode 100644 node_modules/lodash/flatMapDepth.js delete mode 100644 node_modules/lodash/flatten.js delete mode 100644 node_modules/lodash/flattenDeep.js delete mode 100644 node_modules/lodash/flattenDepth.js delete mode 100644 node_modules/lodash/flip.js delete mode 100644 node_modules/lodash/floor.js delete mode 100644 node_modules/lodash/flow.js delete mode 100644 node_modules/lodash/flowRight.js delete mode 100644 node_modules/lodash/forEach.js delete mode 100644 node_modules/lodash/forEachRight.js delete mode 100644 node_modules/lodash/forIn.js delete mode 100644 node_modules/lodash/forInRight.js delete mode 100644 node_modules/lodash/forOwn.js delete mode 100644 node_modules/lodash/forOwnRight.js delete mode 100644 node_modules/lodash/fp.js delete mode 100644 node_modules/lodash/fp/F.js delete mode 100644 node_modules/lodash/fp/T.js delete mode 100644 node_modules/lodash/fp/__.js delete mode 100644 node_modules/lodash/fp/_baseConvert.js delete mode 100644 node_modules/lodash/fp/_convertBrowser.js delete mode 100644 node_modules/lodash/fp/_falseOptions.js delete mode 100644 node_modules/lodash/fp/_mapping.js delete mode 100644 node_modules/lodash/fp/_util.js delete mode 100644 node_modules/lodash/fp/add.js delete mode 100644 node_modules/lodash/fp/after.js delete mode 100644 node_modules/lodash/fp/all.js delete mode 100644 node_modules/lodash/fp/allPass.js delete mode 100644 node_modules/lodash/fp/always.js delete mode 100644 node_modules/lodash/fp/any.js delete mode 100644 node_modules/lodash/fp/anyPass.js delete mode 100644 node_modules/lodash/fp/apply.js delete mode 100644 node_modules/lodash/fp/array.js delete mode 100644 node_modules/lodash/fp/ary.js delete mode 100644 node_modules/lodash/fp/assign.js delete mode 100644 node_modules/lodash/fp/assignAll.js delete mode 100644 node_modules/lodash/fp/assignAllWith.js delete mode 100644 node_modules/lodash/fp/assignIn.js delete mode 100644 node_modules/lodash/fp/assignInAll.js delete mode 100644 node_modules/lodash/fp/assignInAllWith.js delete mode 100644 node_modules/lodash/fp/assignInWith.js delete mode 100644 node_modules/lodash/fp/assignWith.js delete mode 100644 node_modules/lodash/fp/assoc.js delete mode 100644 node_modules/lodash/fp/assocPath.js delete mode 100644 node_modules/lodash/fp/at.js delete mode 100644 node_modules/lodash/fp/attempt.js delete mode 100644 node_modules/lodash/fp/before.js delete mode 100644 node_modules/lodash/fp/bind.js delete mode 100644 node_modules/lodash/fp/bindAll.js delete mode 100644 node_modules/lodash/fp/bindKey.js delete mode 100644 node_modules/lodash/fp/camelCase.js delete mode 100644 node_modules/lodash/fp/capitalize.js delete mode 100644 node_modules/lodash/fp/castArray.js delete mode 100644 node_modules/lodash/fp/ceil.js delete mode 100644 node_modules/lodash/fp/chain.js delete mode 100644 node_modules/lodash/fp/chunk.js delete mode 100644 node_modules/lodash/fp/clamp.js delete mode 100644 node_modules/lodash/fp/clone.js delete mode 100644 node_modules/lodash/fp/cloneDeep.js delete mode 100644 node_modules/lodash/fp/cloneDeepWith.js delete mode 100644 node_modules/lodash/fp/cloneWith.js delete mode 100644 node_modules/lodash/fp/collection.js delete mode 100644 node_modules/lodash/fp/commit.js delete mode 100644 node_modules/lodash/fp/compact.js delete mode 100644 node_modules/lodash/fp/complement.js delete mode 100644 node_modules/lodash/fp/compose.js delete mode 100644 node_modules/lodash/fp/concat.js delete mode 100644 node_modules/lodash/fp/cond.js delete mode 100644 node_modules/lodash/fp/conforms.js delete mode 100644 node_modules/lodash/fp/conformsTo.js delete mode 100644 node_modules/lodash/fp/constant.js delete mode 100644 node_modules/lodash/fp/contains.js delete mode 100644 node_modules/lodash/fp/convert.js delete mode 100644 node_modules/lodash/fp/countBy.js delete mode 100644 node_modules/lodash/fp/create.js delete mode 100644 node_modules/lodash/fp/curry.js delete mode 100644 node_modules/lodash/fp/curryN.js delete mode 100644 node_modules/lodash/fp/curryRight.js delete mode 100644 node_modules/lodash/fp/curryRightN.js delete mode 100644 node_modules/lodash/fp/date.js delete mode 100644 node_modules/lodash/fp/debounce.js delete mode 100644 node_modules/lodash/fp/deburr.js delete mode 100644 node_modules/lodash/fp/defaultTo.js delete mode 100644 node_modules/lodash/fp/defaults.js delete mode 100644 node_modules/lodash/fp/defaultsAll.js delete mode 100644 node_modules/lodash/fp/defaultsDeep.js delete mode 100644 node_modules/lodash/fp/defaultsDeepAll.js delete mode 100644 node_modules/lodash/fp/defer.js delete mode 100644 node_modules/lodash/fp/delay.js delete mode 100644 node_modules/lodash/fp/difference.js delete mode 100644 node_modules/lodash/fp/differenceBy.js delete mode 100644 node_modules/lodash/fp/differenceWith.js delete mode 100644 node_modules/lodash/fp/dissoc.js delete mode 100644 node_modules/lodash/fp/dissocPath.js delete mode 100644 node_modules/lodash/fp/divide.js delete mode 100644 node_modules/lodash/fp/drop.js delete mode 100644 node_modules/lodash/fp/dropLast.js delete mode 100644 node_modules/lodash/fp/dropLastWhile.js delete mode 100644 node_modules/lodash/fp/dropRight.js delete mode 100644 node_modules/lodash/fp/dropRightWhile.js delete mode 100644 node_modules/lodash/fp/dropWhile.js delete mode 100644 node_modules/lodash/fp/each.js delete mode 100644 node_modules/lodash/fp/eachRight.js delete mode 100644 node_modules/lodash/fp/endsWith.js delete mode 100644 node_modules/lodash/fp/entries.js delete mode 100644 node_modules/lodash/fp/entriesIn.js delete mode 100644 node_modules/lodash/fp/eq.js delete mode 100644 node_modules/lodash/fp/equals.js delete mode 100644 node_modules/lodash/fp/escape.js delete mode 100644 node_modules/lodash/fp/escapeRegExp.js delete mode 100644 node_modules/lodash/fp/every.js delete mode 100644 node_modules/lodash/fp/extend.js delete mode 100644 node_modules/lodash/fp/extendAll.js delete mode 100644 node_modules/lodash/fp/extendAllWith.js delete mode 100644 node_modules/lodash/fp/extendWith.js delete mode 100644 node_modules/lodash/fp/fill.js delete mode 100644 node_modules/lodash/fp/filter.js delete mode 100644 node_modules/lodash/fp/find.js delete mode 100644 node_modules/lodash/fp/findFrom.js delete mode 100644 node_modules/lodash/fp/findIndex.js delete mode 100644 node_modules/lodash/fp/findIndexFrom.js delete mode 100644 node_modules/lodash/fp/findKey.js delete mode 100644 node_modules/lodash/fp/findLast.js delete mode 100644 node_modules/lodash/fp/findLastFrom.js delete mode 100644 node_modules/lodash/fp/findLastIndex.js delete mode 100644 node_modules/lodash/fp/findLastIndexFrom.js delete mode 100644 node_modules/lodash/fp/findLastKey.js delete mode 100644 node_modules/lodash/fp/first.js delete mode 100644 node_modules/lodash/fp/flatMap.js delete mode 100644 node_modules/lodash/fp/flatMapDeep.js delete mode 100644 node_modules/lodash/fp/flatMapDepth.js delete mode 100644 node_modules/lodash/fp/flatten.js delete mode 100644 node_modules/lodash/fp/flattenDeep.js delete mode 100644 node_modules/lodash/fp/flattenDepth.js delete mode 100644 node_modules/lodash/fp/flip.js delete mode 100644 node_modules/lodash/fp/floor.js delete mode 100644 node_modules/lodash/fp/flow.js delete mode 100644 node_modules/lodash/fp/flowRight.js delete mode 100644 node_modules/lodash/fp/forEach.js delete mode 100644 node_modules/lodash/fp/forEachRight.js delete mode 100644 node_modules/lodash/fp/forIn.js delete mode 100644 node_modules/lodash/fp/forInRight.js delete mode 100644 node_modules/lodash/fp/forOwn.js delete mode 100644 node_modules/lodash/fp/forOwnRight.js delete mode 100644 node_modules/lodash/fp/fromPairs.js delete mode 100644 node_modules/lodash/fp/function.js delete mode 100644 node_modules/lodash/fp/functions.js delete mode 100644 node_modules/lodash/fp/functionsIn.js delete mode 100644 node_modules/lodash/fp/get.js delete mode 100644 node_modules/lodash/fp/getOr.js delete mode 100644 node_modules/lodash/fp/groupBy.js delete mode 100644 node_modules/lodash/fp/gt.js delete mode 100644 node_modules/lodash/fp/gte.js delete mode 100644 node_modules/lodash/fp/has.js delete mode 100644 node_modules/lodash/fp/hasIn.js delete mode 100644 node_modules/lodash/fp/head.js delete mode 100644 node_modules/lodash/fp/identical.js delete mode 100644 node_modules/lodash/fp/identity.js delete mode 100644 node_modules/lodash/fp/inRange.js delete mode 100644 node_modules/lodash/fp/includes.js delete mode 100644 node_modules/lodash/fp/includesFrom.js delete mode 100644 node_modules/lodash/fp/indexBy.js delete mode 100644 node_modules/lodash/fp/indexOf.js delete mode 100644 node_modules/lodash/fp/indexOfFrom.js delete mode 100644 node_modules/lodash/fp/init.js delete mode 100644 node_modules/lodash/fp/initial.js delete mode 100644 node_modules/lodash/fp/intersection.js delete mode 100644 node_modules/lodash/fp/intersectionBy.js delete mode 100644 node_modules/lodash/fp/intersectionWith.js delete mode 100644 node_modules/lodash/fp/invert.js delete mode 100644 node_modules/lodash/fp/invertBy.js delete mode 100644 node_modules/lodash/fp/invertObj.js delete mode 100644 node_modules/lodash/fp/invoke.js delete mode 100644 node_modules/lodash/fp/invokeArgs.js delete mode 100644 node_modules/lodash/fp/invokeArgsMap.js delete mode 100644 node_modules/lodash/fp/invokeMap.js delete mode 100644 node_modules/lodash/fp/isArguments.js delete mode 100644 node_modules/lodash/fp/isArray.js delete mode 100644 node_modules/lodash/fp/isArrayBuffer.js delete mode 100644 node_modules/lodash/fp/isArrayLike.js delete mode 100644 node_modules/lodash/fp/isArrayLikeObject.js delete mode 100644 node_modules/lodash/fp/isBoolean.js delete mode 100644 node_modules/lodash/fp/isBuffer.js delete mode 100644 node_modules/lodash/fp/isDate.js delete mode 100644 node_modules/lodash/fp/isElement.js delete mode 100644 node_modules/lodash/fp/isEmpty.js delete mode 100644 node_modules/lodash/fp/isEqual.js delete mode 100644 node_modules/lodash/fp/isEqualWith.js delete mode 100644 node_modules/lodash/fp/isError.js delete mode 100644 node_modules/lodash/fp/isFinite.js delete mode 100644 node_modules/lodash/fp/isFunction.js delete mode 100644 node_modules/lodash/fp/isInteger.js delete mode 100644 node_modules/lodash/fp/isLength.js delete mode 100644 node_modules/lodash/fp/isMap.js delete mode 100644 node_modules/lodash/fp/isMatch.js delete mode 100644 node_modules/lodash/fp/isMatchWith.js delete mode 100644 node_modules/lodash/fp/isNaN.js delete mode 100644 node_modules/lodash/fp/isNative.js delete mode 100644 node_modules/lodash/fp/isNil.js delete mode 100644 node_modules/lodash/fp/isNull.js delete mode 100644 node_modules/lodash/fp/isNumber.js delete mode 100644 node_modules/lodash/fp/isObject.js delete mode 100644 node_modules/lodash/fp/isObjectLike.js delete mode 100644 node_modules/lodash/fp/isPlainObject.js delete mode 100644 node_modules/lodash/fp/isRegExp.js delete mode 100644 node_modules/lodash/fp/isSafeInteger.js delete mode 100644 node_modules/lodash/fp/isSet.js delete mode 100644 node_modules/lodash/fp/isString.js delete mode 100644 node_modules/lodash/fp/isSymbol.js delete mode 100644 node_modules/lodash/fp/isTypedArray.js delete mode 100644 node_modules/lodash/fp/isUndefined.js delete mode 100644 node_modules/lodash/fp/isWeakMap.js delete mode 100644 node_modules/lodash/fp/isWeakSet.js delete mode 100644 node_modules/lodash/fp/iteratee.js delete mode 100644 node_modules/lodash/fp/join.js delete mode 100644 node_modules/lodash/fp/juxt.js delete mode 100644 node_modules/lodash/fp/kebabCase.js delete mode 100644 node_modules/lodash/fp/keyBy.js delete mode 100644 node_modules/lodash/fp/keys.js delete mode 100644 node_modules/lodash/fp/keysIn.js delete mode 100644 node_modules/lodash/fp/lang.js delete mode 100644 node_modules/lodash/fp/last.js delete mode 100644 node_modules/lodash/fp/lastIndexOf.js delete mode 100644 node_modules/lodash/fp/lastIndexOfFrom.js delete mode 100644 node_modules/lodash/fp/lowerCase.js delete mode 100644 node_modules/lodash/fp/lowerFirst.js delete mode 100644 node_modules/lodash/fp/lt.js delete mode 100644 node_modules/lodash/fp/lte.js delete mode 100644 node_modules/lodash/fp/map.js delete mode 100644 node_modules/lodash/fp/mapKeys.js delete mode 100644 node_modules/lodash/fp/mapValues.js delete mode 100644 node_modules/lodash/fp/matches.js delete mode 100644 node_modules/lodash/fp/matchesProperty.js delete mode 100644 node_modules/lodash/fp/math.js delete mode 100644 node_modules/lodash/fp/max.js delete mode 100644 node_modules/lodash/fp/maxBy.js delete mode 100644 node_modules/lodash/fp/mean.js delete mode 100644 node_modules/lodash/fp/meanBy.js delete mode 100644 node_modules/lodash/fp/memoize.js delete mode 100644 node_modules/lodash/fp/merge.js delete mode 100644 node_modules/lodash/fp/mergeAll.js delete mode 100644 node_modules/lodash/fp/mergeAllWith.js delete mode 100644 node_modules/lodash/fp/mergeWith.js delete mode 100644 node_modules/lodash/fp/method.js delete mode 100644 node_modules/lodash/fp/methodOf.js delete mode 100644 node_modules/lodash/fp/min.js delete mode 100644 node_modules/lodash/fp/minBy.js delete mode 100644 node_modules/lodash/fp/mixin.js delete mode 100644 node_modules/lodash/fp/multiply.js delete mode 100644 node_modules/lodash/fp/nAry.js delete mode 100644 node_modules/lodash/fp/negate.js delete mode 100644 node_modules/lodash/fp/next.js delete mode 100644 node_modules/lodash/fp/noop.js delete mode 100644 node_modules/lodash/fp/now.js delete mode 100644 node_modules/lodash/fp/nth.js delete mode 100644 node_modules/lodash/fp/nthArg.js delete mode 100644 node_modules/lodash/fp/number.js delete mode 100644 node_modules/lodash/fp/object.js delete mode 100644 node_modules/lodash/fp/omit.js delete mode 100644 node_modules/lodash/fp/omitAll.js delete mode 100644 node_modules/lodash/fp/omitBy.js delete mode 100644 node_modules/lodash/fp/once.js delete mode 100644 node_modules/lodash/fp/orderBy.js delete mode 100644 node_modules/lodash/fp/over.js delete mode 100644 node_modules/lodash/fp/overArgs.js delete mode 100644 node_modules/lodash/fp/overEvery.js delete mode 100644 node_modules/lodash/fp/overSome.js delete mode 100644 node_modules/lodash/fp/pad.js delete mode 100644 node_modules/lodash/fp/padChars.js delete mode 100644 node_modules/lodash/fp/padCharsEnd.js delete mode 100644 node_modules/lodash/fp/padCharsStart.js delete mode 100644 node_modules/lodash/fp/padEnd.js delete mode 100644 node_modules/lodash/fp/padStart.js delete mode 100644 node_modules/lodash/fp/parseInt.js delete mode 100644 node_modules/lodash/fp/partial.js delete mode 100644 node_modules/lodash/fp/partialRight.js delete mode 100644 node_modules/lodash/fp/partition.js delete mode 100644 node_modules/lodash/fp/path.js delete mode 100644 node_modules/lodash/fp/pathEq.js delete mode 100644 node_modules/lodash/fp/pathOr.js delete mode 100644 node_modules/lodash/fp/paths.js delete mode 100644 node_modules/lodash/fp/pick.js delete mode 100644 node_modules/lodash/fp/pickAll.js delete mode 100644 node_modules/lodash/fp/pickBy.js delete mode 100644 node_modules/lodash/fp/pipe.js delete mode 100644 node_modules/lodash/fp/placeholder.js delete mode 100644 node_modules/lodash/fp/plant.js delete mode 100644 node_modules/lodash/fp/pluck.js delete mode 100644 node_modules/lodash/fp/prop.js delete mode 100644 node_modules/lodash/fp/propEq.js delete mode 100644 node_modules/lodash/fp/propOr.js delete mode 100644 node_modules/lodash/fp/property.js delete mode 100644 node_modules/lodash/fp/propertyOf.js delete mode 100644 node_modules/lodash/fp/props.js delete mode 100644 node_modules/lodash/fp/pull.js delete mode 100644 node_modules/lodash/fp/pullAll.js delete mode 100644 node_modules/lodash/fp/pullAllBy.js delete mode 100644 node_modules/lodash/fp/pullAllWith.js delete mode 100644 node_modules/lodash/fp/pullAt.js delete mode 100644 node_modules/lodash/fp/random.js delete mode 100644 node_modules/lodash/fp/range.js delete mode 100644 node_modules/lodash/fp/rangeRight.js delete mode 100644 node_modules/lodash/fp/rangeStep.js delete mode 100644 node_modules/lodash/fp/rangeStepRight.js delete mode 100644 node_modules/lodash/fp/rearg.js delete mode 100644 node_modules/lodash/fp/reduce.js delete mode 100644 node_modules/lodash/fp/reduceRight.js delete mode 100644 node_modules/lodash/fp/reject.js delete mode 100644 node_modules/lodash/fp/remove.js delete mode 100644 node_modules/lodash/fp/repeat.js delete mode 100644 node_modules/lodash/fp/replace.js delete mode 100644 node_modules/lodash/fp/rest.js delete mode 100644 node_modules/lodash/fp/restFrom.js delete mode 100644 node_modules/lodash/fp/result.js delete mode 100644 node_modules/lodash/fp/reverse.js delete mode 100644 node_modules/lodash/fp/round.js delete mode 100644 node_modules/lodash/fp/sample.js delete mode 100644 node_modules/lodash/fp/sampleSize.js delete mode 100644 node_modules/lodash/fp/seq.js delete mode 100644 node_modules/lodash/fp/set.js delete mode 100644 node_modules/lodash/fp/setWith.js delete mode 100644 node_modules/lodash/fp/shuffle.js delete mode 100644 node_modules/lodash/fp/size.js delete mode 100644 node_modules/lodash/fp/slice.js delete mode 100644 node_modules/lodash/fp/snakeCase.js delete mode 100644 node_modules/lodash/fp/some.js delete mode 100644 node_modules/lodash/fp/sortBy.js delete mode 100644 node_modules/lodash/fp/sortedIndex.js delete mode 100644 node_modules/lodash/fp/sortedIndexBy.js delete mode 100644 node_modules/lodash/fp/sortedIndexOf.js delete mode 100644 node_modules/lodash/fp/sortedLastIndex.js delete mode 100644 node_modules/lodash/fp/sortedLastIndexBy.js delete mode 100644 node_modules/lodash/fp/sortedLastIndexOf.js delete mode 100644 node_modules/lodash/fp/sortedUniq.js delete mode 100644 node_modules/lodash/fp/sortedUniqBy.js delete mode 100644 node_modules/lodash/fp/split.js delete mode 100644 node_modules/lodash/fp/spread.js delete mode 100644 node_modules/lodash/fp/spreadFrom.js delete mode 100644 node_modules/lodash/fp/startCase.js delete mode 100644 node_modules/lodash/fp/startsWith.js delete mode 100644 node_modules/lodash/fp/string.js delete mode 100644 node_modules/lodash/fp/stubArray.js delete mode 100644 node_modules/lodash/fp/stubFalse.js delete mode 100644 node_modules/lodash/fp/stubObject.js delete mode 100644 node_modules/lodash/fp/stubString.js delete mode 100644 node_modules/lodash/fp/stubTrue.js delete mode 100644 node_modules/lodash/fp/subtract.js delete mode 100644 node_modules/lodash/fp/sum.js delete mode 100644 node_modules/lodash/fp/sumBy.js delete mode 100644 node_modules/lodash/fp/symmetricDifference.js delete mode 100644 node_modules/lodash/fp/symmetricDifferenceBy.js delete mode 100644 node_modules/lodash/fp/symmetricDifferenceWith.js delete mode 100644 node_modules/lodash/fp/tail.js delete mode 100644 node_modules/lodash/fp/take.js delete mode 100644 node_modules/lodash/fp/takeLast.js delete mode 100644 node_modules/lodash/fp/takeLastWhile.js delete mode 100644 node_modules/lodash/fp/takeRight.js delete mode 100644 node_modules/lodash/fp/takeRightWhile.js delete mode 100644 node_modules/lodash/fp/takeWhile.js delete mode 100644 node_modules/lodash/fp/tap.js delete mode 100644 node_modules/lodash/fp/template.js delete mode 100644 node_modules/lodash/fp/templateSettings.js delete mode 100644 node_modules/lodash/fp/throttle.js delete mode 100644 node_modules/lodash/fp/thru.js delete mode 100644 node_modules/lodash/fp/times.js delete mode 100644 node_modules/lodash/fp/toArray.js delete mode 100644 node_modules/lodash/fp/toFinite.js delete mode 100644 node_modules/lodash/fp/toInteger.js delete mode 100644 node_modules/lodash/fp/toIterator.js delete mode 100644 node_modules/lodash/fp/toJSON.js delete mode 100644 node_modules/lodash/fp/toLength.js delete mode 100644 node_modules/lodash/fp/toLower.js delete mode 100644 node_modules/lodash/fp/toNumber.js delete mode 100644 node_modules/lodash/fp/toPairs.js delete mode 100644 node_modules/lodash/fp/toPairsIn.js delete mode 100644 node_modules/lodash/fp/toPath.js delete mode 100644 node_modules/lodash/fp/toPlainObject.js delete mode 100644 node_modules/lodash/fp/toSafeInteger.js delete mode 100644 node_modules/lodash/fp/toString.js delete mode 100644 node_modules/lodash/fp/toUpper.js delete mode 100644 node_modules/lodash/fp/transform.js delete mode 100644 node_modules/lodash/fp/trim.js delete mode 100644 node_modules/lodash/fp/trimChars.js delete mode 100644 node_modules/lodash/fp/trimCharsEnd.js delete mode 100644 node_modules/lodash/fp/trimCharsStart.js delete mode 100644 node_modules/lodash/fp/trimEnd.js delete mode 100644 node_modules/lodash/fp/trimStart.js delete mode 100644 node_modules/lodash/fp/truncate.js delete mode 100644 node_modules/lodash/fp/unapply.js delete mode 100644 node_modules/lodash/fp/unary.js delete mode 100644 node_modules/lodash/fp/unescape.js delete mode 100644 node_modules/lodash/fp/union.js delete mode 100644 node_modules/lodash/fp/unionBy.js delete mode 100644 node_modules/lodash/fp/unionWith.js delete mode 100644 node_modules/lodash/fp/uniq.js delete mode 100644 node_modules/lodash/fp/uniqBy.js delete mode 100644 node_modules/lodash/fp/uniqWith.js delete mode 100644 node_modules/lodash/fp/uniqueId.js delete mode 100644 node_modules/lodash/fp/unnest.js delete mode 100644 node_modules/lodash/fp/unset.js delete mode 100644 node_modules/lodash/fp/unzip.js delete mode 100644 node_modules/lodash/fp/unzipWith.js delete mode 100644 node_modules/lodash/fp/update.js delete mode 100644 node_modules/lodash/fp/updateWith.js delete mode 100644 node_modules/lodash/fp/upperCase.js delete mode 100644 node_modules/lodash/fp/upperFirst.js delete mode 100644 node_modules/lodash/fp/useWith.js delete mode 100644 node_modules/lodash/fp/util.js delete mode 100644 node_modules/lodash/fp/value.js delete mode 100644 node_modules/lodash/fp/valueOf.js delete mode 100644 node_modules/lodash/fp/values.js delete mode 100644 node_modules/lodash/fp/valuesIn.js delete mode 100644 node_modules/lodash/fp/where.js delete mode 100644 node_modules/lodash/fp/whereEq.js delete mode 100644 node_modules/lodash/fp/without.js delete mode 100644 node_modules/lodash/fp/words.js delete mode 100644 node_modules/lodash/fp/wrap.js delete mode 100644 node_modules/lodash/fp/wrapperAt.js delete mode 100644 node_modules/lodash/fp/wrapperChain.js delete mode 100644 node_modules/lodash/fp/wrapperLodash.js delete mode 100644 node_modules/lodash/fp/wrapperReverse.js delete mode 100644 node_modules/lodash/fp/wrapperValue.js delete mode 100644 node_modules/lodash/fp/xor.js delete mode 100644 node_modules/lodash/fp/xorBy.js delete mode 100644 node_modules/lodash/fp/xorWith.js delete mode 100644 node_modules/lodash/fp/zip.js delete mode 100644 node_modules/lodash/fp/zipAll.js delete mode 100644 node_modules/lodash/fp/zipObj.js delete mode 100644 node_modules/lodash/fp/zipObject.js delete mode 100644 node_modules/lodash/fp/zipObjectDeep.js delete mode 100644 node_modules/lodash/fp/zipWith.js delete mode 100644 node_modules/lodash/fromPairs.js delete mode 100644 node_modules/lodash/function.js delete mode 100644 node_modules/lodash/functions.js delete mode 100644 node_modules/lodash/functionsIn.js delete mode 100644 node_modules/lodash/get.js delete mode 100644 node_modules/lodash/groupBy.js delete mode 100644 node_modules/lodash/gt.js delete mode 100644 node_modules/lodash/gte.js delete mode 100644 node_modules/lodash/has.js delete mode 100644 node_modules/lodash/hasIn.js delete mode 100644 node_modules/lodash/head.js delete mode 100644 node_modules/lodash/identity.js delete mode 100644 node_modules/lodash/inRange.js delete mode 100644 node_modules/lodash/includes.js delete mode 100644 node_modules/lodash/index.js delete mode 100644 node_modules/lodash/indexOf.js delete mode 100644 node_modules/lodash/initial.js delete mode 100644 node_modules/lodash/intersection.js delete mode 100644 node_modules/lodash/intersectionBy.js delete mode 100644 node_modules/lodash/intersectionWith.js delete mode 100644 node_modules/lodash/invert.js delete mode 100644 node_modules/lodash/invertBy.js delete mode 100644 node_modules/lodash/invoke.js delete mode 100644 node_modules/lodash/invokeMap.js delete mode 100644 node_modules/lodash/isArguments.js delete mode 100644 node_modules/lodash/isArray.js delete mode 100644 node_modules/lodash/isArrayBuffer.js delete mode 100644 node_modules/lodash/isArrayLike.js delete mode 100644 node_modules/lodash/isArrayLikeObject.js delete mode 100644 node_modules/lodash/isBoolean.js delete mode 100644 node_modules/lodash/isBuffer.js delete mode 100644 node_modules/lodash/isDate.js delete mode 100644 node_modules/lodash/isElement.js delete mode 100644 node_modules/lodash/isEmpty.js delete mode 100644 node_modules/lodash/isEqual.js delete mode 100644 node_modules/lodash/isEqualWith.js delete mode 100644 node_modules/lodash/isError.js delete mode 100644 node_modules/lodash/isFinite.js delete mode 100644 node_modules/lodash/isFunction.js delete mode 100644 node_modules/lodash/isInteger.js delete mode 100644 node_modules/lodash/isLength.js delete mode 100644 node_modules/lodash/isMap.js delete mode 100644 node_modules/lodash/isMatch.js delete mode 100644 node_modules/lodash/isMatchWith.js delete mode 100644 node_modules/lodash/isNaN.js delete mode 100644 node_modules/lodash/isNative.js delete mode 100644 node_modules/lodash/isNil.js delete mode 100644 node_modules/lodash/isNull.js delete mode 100644 node_modules/lodash/isNumber.js delete mode 100644 node_modules/lodash/isObject.js delete mode 100644 node_modules/lodash/isObjectLike.js delete mode 100644 node_modules/lodash/isPlainObject.js delete mode 100644 node_modules/lodash/isRegExp.js delete mode 100644 node_modules/lodash/isSafeInteger.js delete mode 100644 node_modules/lodash/isSet.js delete mode 100644 node_modules/lodash/isString.js delete mode 100644 node_modules/lodash/isSymbol.js delete mode 100644 node_modules/lodash/isTypedArray.js delete mode 100644 node_modules/lodash/isUndefined.js delete mode 100644 node_modules/lodash/isWeakMap.js delete mode 100644 node_modules/lodash/isWeakSet.js delete mode 100644 node_modules/lodash/iteratee.js delete mode 100644 node_modules/lodash/join.js delete mode 100644 node_modules/lodash/kebabCase.js delete mode 100644 node_modules/lodash/keyBy.js delete mode 100644 node_modules/lodash/keys.js delete mode 100644 node_modules/lodash/keysIn.js delete mode 100644 node_modules/lodash/lang.js delete mode 100644 node_modules/lodash/last.js delete mode 100644 node_modules/lodash/lastIndexOf.js delete mode 100644 node_modules/lodash/lodash.js delete mode 100644 node_modules/lodash/lodash.min.js delete mode 100644 node_modules/lodash/lowerCase.js delete mode 100644 node_modules/lodash/lowerFirst.js delete mode 100644 node_modules/lodash/lt.js delete mode 100644 node_modules/lodash/lte.js delete mode 100644 node_modules/lodash/map.js delete mode 100644 node_modules/lodash/mapKeys.js delete mode 100644 node_modules/lodash/mapValues.js delete mode 100644 node_modules/lodash/matches.js delete mode 100644 node_modules/lodash/matchesProperty.js delete mode 100644 node_modules/lodash/math.js delete mode 100644 node_modules/lodash/max.js delete mode 100644 node_modules/lodash/maxBy.js delete mode 100644 node_modules/lodash/mean.js delete mode 100644 node_modules/lodash/meanBy.js delete mode 100644 node_modules/lodash/memoize.js delete mode 100644 node_modules/lodash/merge.js delete mode 100644 node_modules/lodash/mergeWith.js delete mode 100644 node_modules/lodash/method.js delete mode 100644 node_modules/lodash/methodOf.js delete mode 100644 node_modules/lodash/min.js delete mode 100644 node_modules/lodash/minBy.js delete mode 100644 node_modules/lodash/mixin.js delete mode 100644 node_modules/lodash/multiply.js delete mode 100644 node_modules/lodash/negate.js delete mode 100644 node_modules/lodash/next.js delete mode 100644 node_modules/lodash/noop.js delete mode 100644 node_modules/lodash/now.js delete mode 100644 node_modules/lodash/nth.js delete mode 100644 node_modules/lodash/nthArg.js delete mode 100644 node_modules/lodash/number.js delete mode 100644 node_modules/lodash/object.js delete mode 100644 node_modules/lodash/omit.js delete mode 100644 node_modules/lodash/omitBy.js delete mode 100644 node_modules/lodash/once.js delete mode 100644 node_modules/lodash/orderBy.js delete mode 100644 node_modules/lodash/over.js delete mode 100644 node_modules/lodash/overArgs.js delete mode 100644 node_modules/lodash/overEvery.js delete mode 100644 node_modules/lodash/overSome.js delete mode 100644 node_modules/lodash/package.json delete mode 100644 node_modules/lodash/pad.js delete mode 100644 node_modules/lodash/padEnd.js delete mode 100644 node_modules/lodash/padStart.js delete mode 100644 node_modules/lodash/parseInt.js delete mode 100644 node_modules/lodash/partial.js delete mode 100644 node_modules/lodash/partialRight.js delete mode 100644 node_modules/lodash/partition.js delete mode 100644 node_modules/lodash/pick.js delete mode 100644 node_modules/lodash/pickBy.js delete mode 100644 node_modules/lodash/plant.js delete mode 100644 node_modules/lodash/property.js delete mode 100644 node_modules/lodash/propertyOf.js delete mode 100644 node_modules/lodash/pull.js delete mode 100644 node_modules/lodash/pullAll.js delete mode 100644 node_modules/lodash/pullAllBy.js delete mode 100644 node_modules/lodash/pullAllWith.js delete mode 100644 node_modules/lodash/pullAt.js delete mode 100644 node_modules/lodash/random.js delete mode 100644 node_modules/lodash/range.js delete mode 100644 node_modules/lodash/rangeRight.js delete mode 100644 node_modules/lodash/rearg.js delete mode 100644 node_modules/lodash/reduce.js delete mode 100644 node_modules/lodash/reduceRight.js delete mode 100644 node_modules/lodash/reject.js delete mode 100644 node_modules/lodash/remove.js delete mode 100644 node_modules/lodash/repeat.js delete mode 100644 node_modules/lodash/replace.js delete mode 100644 node_modules/lodash/rest.js delete mode 100644 node_modules/lodash/result.js delete mode 100644 node_modules/lodash/reverse.js delete mode 100644 node_modules/lodash/round.js delete mode 100644 node_modules/lodash/sample.js delete mode 100644 node_modules/lodash/sampleSize.js delete mode 100644 node_modules/lodash/seq.js delete mode 100644 node_modules/lodash/set.js delete mode 100644 node_modules/lodash/setWith.js delete mode 100644 node_modules/lodash/shuffle.js delete mode 100644 node_modules/lodash/size.js delete mode 100644 node_modules/lodash/slice.js delete mode 100644 node_modules/lodash/snakeCase.js delete mode 100644 node_modules/lodash/some.js delete mode 100644 node_modules/lodash/sortBy.js delete mode 100644 node_modules/lodash/sortedIndex.js delete mode 100644 node_modules/lodash/sortedIndexBy.js delete mode 100644 node_modules/lodash/sortedIndexOf.js delete mode 100644 node_modules/lodash/sortedLastIndex.js delete mode 100644 node_modules/lodash/sortedLastIndexBy.js delete mode 100644 node_modules/lodash/sortedLastIndexOf.js delete mode 100644 node_modules/lodash/sortedUniq.js delete mode 100644 node_modules/lodash/sortedUniqBy.js delete mode 100644 node_modules/lodash/split.js delete mode 100644 node_modules/lodash/spread.js delete mode 100644 node_modules/lodash/startCase.js delete mode 100644 node_modules/lodash/startsWith.js delete mode 100644 node_modules/lodash/string.js delete mode 100644 node_modules/lodash/stubArray.js delete mode 100644 node_modules/lodash/stubFalse.js delete mode 100644 node_modules/lodash/stubObject.js delete mode 100644 node_modules/lodash/stubString.js delete mode 100644 node_modules/lodash/stubTrue.js delete mode 100644 node_modules/lodash/subtract.js delete mode 100644 node_modules/lodash/sum.js delete mode 100644 node_modules/lodash/sumBy.js delete mode 100644 node_modules/lodash/tail.js delete mode 100644 node_modules/lodash/take.js delete mode 100644 node_modules/lodash/takeRight.js delete mode 100644 node_modules/lodash/takeRightWhile.js delete mode 100644 node_modules/lodash/takeWhile.js delete mode 100644 node_modules/lodash/tap.js delete mode 100644 node_modules/lodash/template.js delete mode 100644 node_modules/lodash/templateSettings.js delete mode 100644 node_modules/lodash/throttle.js delete mode 100644 node_modules/lodash/thru.js delete mode 100644 node_modules/lodash/times.js delete mode 100644 node_modules/lodash/toArray.js delete mode 100644 node_modules/lodash/toFinite.js delete mode 100644 node_modules/lodash/toInteger.js delete mode 100644 node_modules/lodash/toIterator.js delete mode 100644 node_modules/lodash/toJSON.js delete mode 100644 node_modules/lodash/toLength.js delete mode 100644 node_modules/lodash/toLower.js delete mode 100644 node_modules/lodash/toNumber.js delete mode 100644 node_modules/lodash/toPairs.js delete mode 100644 node_modules/lodash/toPairsIn.js delete mode 100644 node_modules/lodash/toPath.js delete mode 100644 node_modules/lodash/toPlainObject.js delete mode 100644 node_modules/lodash/toSafeInteger.js delete mode 100644 node_modules/lodash/toString.js delete mode 100644 node_modules/lodash/toUpper.js delete mode 100644 node_modules/lodash/transform.js delete mode 100644 node_modules/lodash/trim.js delete mode 100644 node_modules/lodash/trimEnd.js delete mode 100644 node_modules/lodash/trimStart.js delete mode 100644 node_modules/lodash/truncate.js delete mode 100644 node_modules/lodash/unary.js delete mode 100644 node_modules/lodash/unescape.js delete mode 100644 node_modules/lodash/union.js delete mode 100644 node_modules/lodash/unionBy.js delete mode 100644 node_modules/lodash/unionWith.js delete mode 100644 node_modules/lodash/uniq.js delete mode 100644 node_modules/lodash/uniqBy.js delete mode 100644 node_modules/lodash/uniqWith.js delete mode 100644 node_modules/lodash/uniqueId.js delete mode 100644 node_modules/lodash/unset.js delete mode 100644 node_modules/lodash/unzip.js delete mode 100644 node_modules/lodash/unzipWith.js delete mode 100644 node_modules/lodash/update.js delete mode 100644 node_modules/lodash/updateWith.js delete mode 100644 node_modules/lodash/upperCase.js delete mode 100644 node_modules/lodash/upperFirst.js delete mode 100644 node_modules/lodash/util.js delete mode 100644 node_modules/lodash/value.js delete mode 100644 node_modules/lodash/valueOf.js delete mode 100644 node_modules/lodash/values.js delete mode 100644 node_modules/lodash/valuesIn.js delete mode 100644 node_modules/lodash/without.js delete mode 100644 node_modules/lodash/words.js delete mode 100644 node_modules/lodash/wrap.js delete mode 100644 node_modules/lodash/wrapperAt.js delete mode 100644 node_modules/lodash/wrapperChain.js delete mode 100644 node_modules/lodash/wrapperLodash.js delete mode 100644 node_modules/lodash/wrapperReverse.js delete mode 100644 node_modules/lodash/wrapperValue.js delete mode 100644 node_modules/lodash/xor.js delete mode 100644 node_modules/lodash/xorBy.js delete mode 100644 node_modules/lodash/xorWith.js delete mode 100644 node_modules/lodash/zip.js delete mode 100644 node_modules/lodash/zipObject.js delete mode 100644 node_modules/lodash/zipObjectDeep.js delete mode 100644 node_modules/lodash/zipWith.js delete mode 100644 node_modules/media-typer/HISTORY.md delete mode 100644 node_modules/media-typer/LICENSE delete mode 100644 node_modules/media-typer/README.md delete mode 100644 node_modules/media-typer/index.js delete mode 100644 node_modules/media-typer/package.json delete mode 100644 node_modules/merge-descriptors/HISTORY.md delete mode 100644 node_modules/merge-descriptors/LICENSE delete mode 100644 node_modules/merge-descriptors/README.md delete mode 100644 node_modules/merge-descriptors/index.js delete mode 100644 node_modules/merge-descriptors/package.json delete mode 100644 node_modules/methods/HISTORY.md delete mode 100644 node_modules/methods/LICENSE delete mode 100644 node_modules/methods/README.md delete mode 100644 node_modules/methods/index.js delete mode 100644 node_modules/methods/package.json delete mode 100644 node_modules/mime-db/HISTORY.md delete mode 100644 node_modules/mime-db/LICENSE delete mode 100644 node_modules/mime-db/README.md delete mode 100644 node_modules/mime-db/db.json delete mode 100644 node_modules/mime-db/index.js delete mode 100644 node_modules/mime-db/package.json delete mode 100644 node_modules/mime-types/HISTORY.md delete mode 100644 node_modules/mime-types/LICENSE delete mode 100644 node_modules/mime-types/README.md delete mode 100644 node_modules/mime-types/index.js delete mode 100644 node_modules/mime-types/package.json delete mode 100644 node_modules/mime/.npmignore delete mode 100644 node_modules/mime/CHANGELOG.md delete mode 100644 node_modules/mime/LICENSE delete mode 100644 node_modules/mime/README.md delete mode 100755 node_modules/mime/cli.js delete mode 100644 node_modules/mime/mime.js delete mode 100644 node_modules/mime/package.json delete mode 100755 node_modules/mime/src/build.js delete mode 100644 node_modules/mime/src/test.js delete mode 100644 node_modules/mime/types.json delete mode 100644 node_modules/minimatch/LICENSE delete mode 100644 node_modules/minimatch/README.md delete mode 100644 node_modules/minimatch/minimatch.js delete mode 100644 node_modules/minimatch/package.json delete mode 100644 node_modules/moment-timezone/.npmignore delete mode 100644 node_modules/moment-timezone/LICENSE delete mode 100644 node_modules/moment-timezone/README.md delete mode 100644 node_modules/moment-timezone/builds/moment-timezone-with-data-10-year-range.js delete mode 100644 node_modules/moment-timezone/builds/moment-timezone-with-data-10-year-range.min.js delete mode 100644 node_modules/moment-timezone/builds/moment-timezone-with-data-1970-2030.js delete mode 100644 node_modules/moment-timezone/builds/moment-timezone-with-data-1970-2030.min.js delete mode 100644 node_modules/moment-timezone/builds/moment-timezone-with-data-2012-2022.js delete mode 100644 node_modules/moment-timezone/builds/moment-timezone-with-data-2012-2022.min.js delete mode 100644 node_modules/moment-timezone/builds/moment-timezone-with-data.js delete mode 100644 node_modules/moment-timezone/builds/moment-timezone-with-data.min.js delete mode 100644 node_modules/moment-timezone/builds/moment-timezone.min.js delete mode 100644 node_modules/moment-timezone/changelog.md delete mode 100644 node_modules/moment-timezone/composer.json delete mode 100644 node_modules/moment-timezone/data/meta/latest.json delete mode 100644 node_modules/moment-timezone/data/packed/latest.json delete mode 100644 node_modules/moment-timezone/index.d.ts delete mode 100644 node_modules/moment-timezone/index.js delete mode 100644 node_modules/moment-timezone/moment-timezone-utils.d.ts delete mode 100644 node_modules/moment-timezone/moment-timezone-utils.js delete mode 100644 node_modules/moment-timezone/moment-timezone.js delete mode 100644 node_modules/moment-timezone/package-lock.json delete mode 100644 node_modules/moment-timezone/package.json delete mode 100644 node_modules/moment/CHANGELOG.md delete mode 100644 node_modules/moment/LICENSE delete mode 100644 node_modules/moment/README.md delete mode 100644 node_modules/moment/dist/locale/af.js delete mode 100644 node_modules/moment/dist/locale/ar-dz.js delete mode 100644 node_modules/moment/dist/locale/ar-kw.js delete mode 100644 node_modules/moment/dist/locale/ar-ly.js delete mode 100644 node_modules/moment/dist/locale/ar-ma.js delete mode 100644 node_modules/moment/dist/locale/ar-sa.js delete mode 100644 node_modules/moment/dist/locale/ar-tn.js delete mode 100644 node_modules/moment/dist/locale/ar.js delete mode 100644 node_modules/moment/dist/locale/az.js delete mode 100644 node_modules/moment/dist/locale/be.js delete mode 100644 node_modules/moment/dist/locale/bg.js delete mode 100644 node_modules/moment/dist/locale/bm.js delete mode 100644 node_modules/moment/dist/locale/bn.js delete mode 100644 node_modules/moment/dist/locale/bo.js delete mode 100644 node_modules/moment/dist/locale/br.js delete mode 100644 node_modules/moment/dist/locale/bs.js delete mode 100644 node_modules/moment/dist/locale/ca.js delete mode 100644 node_modules/moment/dist/locale/cs.js delete mode 100644 node_modules/moment/dist/locale/cv.js delete mode 100644 node_modules/moment/dist/locale/cy.js delete mode 100644 node_modules/moment/dist/locale/da.js delete mode 100644 node_modules/moment/dist/locale/de-at.js delete mode 100644 node_modules/moment/dist/locale/de-ch.js delete mode 100644 node_modules/moment/dist/locale/de.js delete mode 100644 node_modules/moment/dist/locale/dv.js delete mode 100644 node_modules/moment/dist/locale/el.js delete mode 100644 node_modules/moment/dist/locale/en-au.js delete mode 100644 node_modules/moment/dist/locale/en-ca.js delete mode 100644 node_modules/moment/dist/locale/en-gb.js delete mode 100644 node_modules/moment/dist/locale/en-ie.js delete mode 100644 node_modules/moment/dist/locale/en-il.js delete mode 100644 node_modules/moment/dist/locale/en-in.js delete mode 100644 node_modules/moment/dist/locale/en-nz.js delete mode 100644 node_modules/moment/dist/locale/en-sg.js delete mode 100644 node_modules/moment/dist/locale/eo.js delete mode 100644 node_modules/moment/dist/locale/es-do.js delete mode 100644 node_modules/moment/dist/locale/es-us.js delete mode 100644 node_modules/moment/dist/locale/es.js delete mode 100644 node_modules/moment/dist/locale/et.js delete mode 100644 node_modules/moment/dist/locale/eu.js delete mode 100644 node_modules/moment/dist/locale/fa.js delete mode 100644 node_modules/moment/dist/locale/fi.js delete mode 100644 node_modules/moment/dist/locale/fil.js delete mode 100644 node_modules/moment/dist/locale/fo.js delete mode 100644 node_modules/moment/dist/locale/fr-ca.js delete mode 100644 node_modules/moment/dist/locale/fr-ch.js delete mode 100644 node_modules/moment/dist/locale/fr.js delete mode 100644 node_modules/moment/dist/locale/fy.js delete mode 100644 node_modules/moment/dist/locale/ga.js delete mode 100644 node_modules/moment/dist/locale/gd.js delete mode 100644 node_modules/moment/dist/locale/gl.js delete mode 100644 node_modules/moment/dist/locale/gom-deva.js delete mode 100644 node_modules/moment/dist/locale/gom-latn.js delete mode 100644 node_modules/moment/dist/locale/gu.js delete mode 100644 node_modules/moment/dist/locale/he.js delete mode 100644 node_modules/moment/dist/locale/hi.js delete mode 100644 node_modules/moment/dist/locale/hr.js delete mode 100644 node_modules/moment/dist/locale/hu.js delete mode 100644 node_modules/moment/dist/locale/hy-am.js delete mode 100644 node_modules/moment/dist/locale/id.js delete mode 100644 node_modules/moment/dist/locale/is.js delete mode 100644 node_modules/moment/dist/locale/it-ch.js delete mode 100644 node_modules/moment/dist/locale/it.js delete mode 100644 node_modules/moment/dist/locale/ja.js delete mode 100644 node_modules/moment/dist/locale/jv.js delete mode 100644 node_modules/moment/dist/locale/ka.js delete mode 100644 node_modules/moment/dist/locale/kk.js delete mode 100644 node_modules/moment/dist/locale/km.js delete mode 100644 node_modules/moment/dist/locale/kn.js delete mode 100644 node_modules/moment/dist/locale/ko.js delete mode 100644 node_modules/moment/dist/locale/ku.js delete mode 100644 node_modules/moment/dist/locale/ky.js delete mode 100644 node_modules/moment/dist/locale/lb.js delete mode 100644 node_modules/moment/dist/locale/lo.js delete mode 100644 node_modules/moment/dist/locale/lt.js delete mode 100644 node_modules/moment/dist/locale/lv.js delete mode 100644 node_modules/moment/dist/locale/me.js delete mode 100644 node_modules/moment/dist/locale/mi.js delete mode 100644 node_modules/moment/dist/locale/mk.js delete mode 100644 node_modules/moment/dist/locale/ml.js delete mode 100644 node_modules/moment/dist/locale/mn.js delete mode 100644 node_modules/moment/dist/locale/mr.js delete mode 100644 node_modules/moment/dist/locale/ms-my.js delete mode 100644 node_modules/moment/dist/locale/ms.js delete mode 100644 node_modules/moment/dist/locale/mt.js delete mode 100644 node_modules/moment/dist/locale/my.js delete mode 100644 node_modules/moment/dist/locale/nb.js delete mode 100644 node_modules/moment/dist/locale/ne.js delete mode 100644 node_modules/moment/dist/locale/nl-be.js delete mode 100644 node_modules/moment/dist/locale/nl.js delete mode 100644 node_modules/moment/dist/locale/nn.js delete mode 100644 node_modules/moment/dist/locale/oc-lnc.js delete mode 100644 node_modules/moment/dist/locale/pa-in.js delete mode 100644 node_modules/moment/dist/locale/pl.js delete mode 100644 node_modules/moment/dist/locale/pt-br.js delete mode 100644 node_modules/moment/dist/locale/pt.js delete mode 100644 node_modules/moment/dist/locale/ro.js delete mode 100644 node_modules/moment/dist/locale/ru.js delete mode 100644 node_modules/moment/dist/locale/sd.js delete mode 100644 node_modules/moment/dist/locale/se.js delete mode 100644 node_modules/moment/dist/locale/si.js delete mode 100644 node_modules/moment/dist/locale/sk.js delete mode 100644 node_modules/moment/dist/locale/sl.js delete mode 100644 node_modules/moment/dist/locale/sq.js delete mode 100644 node_modules/moment/dist/locale/sr-cyrl.js delete mode 100644 node_modules/moment/dist/locale/sr.js delete mode 100644 node_modules/moment/dist/locale/ss.js delete mode 100644 node_modules/moment/dist/locale/sv.js delete mode 100644 node_modules/moment/dist/locale/sw.js delete mode 100644 node_modules/moment/dist/locale/ta.js delete mode 100644 node_modules/moment/dist/locale/te.js delete mode 100644 node_modules/moment/dist/locale/tet.js delete mode 100644 node_modules/moment/dist/locale/tg.js delete mode 100644 node_modules/moment/dist/locale/th.js delete mode 100644 node_modules/moment/dist/locale/tl-ph.js delete mode 100644 node_modules/moment/dist/locale/tlh.js delete mode 100644 node_modules/moment/dist/locale/tr.js delete mode 100644 node_modules/moment/dist/locale/tzl.js delete mode 100644 node_modules/moment/dist/locale/tzm-latn.js delete mode 100644 node_modules/moment/dist/locale/tzm.js delete mode 100644 node_modules/moment/dist/locale/ug-cn.js delete mode 100644 node_modules/moment/dist/locale/uk.js delete mode 100644 node_modules/moment/dist/locale/ur.js delete mode 100644 node_modules/moment/dist/locale/uz-latn.js delete mode 100644 node_modules/moment/dist/locale/uz.js delete mode 100644 node_modules/moment/dist/locale/vi.js delete mode 100644 node_modules/moment/dist/locale/x-pseudo.js delete mode 100644 node_modules/moment/dist/locale/yo.js delete mode 100644 node_modules/moment/dist/locale/zh-cn.js delete mode 100644 node_modules/moment/dist/locale/zh-hk.js delete mode 100644 node_modules/moment/dist/locale/zh-mo.js delete mode 100644 node_modules/moment/dist/locale/zh-tw.js delete mode 100644 node_modules/moment/dist/moment.js delete mode 100644 node_modules/moment/ender.js delete mode 100644 node_modules/moment/locale/af.js delete mode 100644 node_modules/moment/locale/ar-dz.js delete mode 100644 node_modules/moment/locale/ar-kw.js delete mode 100644 node_modules/moment/locale/ar-ly.js delete mode 100644 node_modules/moment/locale/ar-ma.js delete mode 100644 node_modules/moment/locale/ar-sa.js delete mode 100644 node_modules/moment/locale/ar-tn.js delete mode 100644 node_modules/moment/locale/ar.js delete mode 100644 node_modules/moment/locale/az.js delete mode 100644 node_modules/moment/locale/be.js delete mode 100644 node_modules/moment/locale/bg.js delete mode 100644 node_modules/moment/locale/bm.js delete mode 100644 node_modules/moment/locale/bn.js delete mode 100644 node_modules/moment/locale/bo.js delete mode 100644 node_modules/moment/locale/br.js delete mode 100644 node_modules/moment/locale/bs.js delete mode 100644 node_modules/moment/locale/ca.js delete mode 100644 node_modules/moment/locale/cs.js delete mode 100644 node_modules/moment/locale/cv.js delete mode 100644 node_modules/moment/locale/cy.js delete mode 100644 node_modules/moment/locale/da.js delete mode 100644 node_modules/moment/locale/de-at.js delete mode 100644 node_modules/moment/locale/de-ch.js delete mode 100644 node_modules/moment/locale/de.js delete mode 100644 node_modules/moment/locale/dv.js delete mode 100644 node_modules/moment/locale/el.js delete mode 100644 node_modules/moment/locale/en-au.js delete mode 100644 node_modules/moment/locale/en-ca.js delete mode 100644 node_modules/moment/locale/en-gb.js delete mode 100644 node_modules/moment/locale/en-ie.js delete mode 100644 node_modules/moment/locale/en-il.js delete mode 100644 node_modules/moment/locale/en-in.js delete mode 100644 node_modules/moment/locale/en-nz.js delete mode 100644 node_modules/moment/locale/en-sg.js delete mode 100644 node_modules/moment/locale/eo.js delete mode 100644 node_modules/moment/locale/es-do.js delete mode 100644 node_modules/moment/locale/es-us.js delete mode 100644 node_modules/moment/locale/es.js delete mode 100644 node_modules/moment/locale/et.js delete mode 100644 node_modules/moment/locale/eu.js delete mode 100644 node_modules/moment/locale/fa.js delete mode 100644 node_modules/moment/locale/fi.js delete mode 100644 node_modules/moment/locale/fil.js delete mode 100644 node_modules/moment/locale/fo.js delete mode 100644 node_modules/moment/locale/fr-ca.js delete mode 100644 node_modules/moment/locale/fr-ch.js delete mode 100644 node_modules/moment/locale/fr.js delete mode 100644 node_modules/moment/locale/fy.js delete mode 100644 node_modules/moment/locale/ga.js delete mode 100644 node_modules/moment/locale/gd.js delete mode 100644 node_modules/moment/locale/gl.js delete mode 100644 node_modules/moment/locale/gom-deva.js delete mode 100644 node_modules/moment/locale/gom-latn.js delete mode 100644 node_modules/moment/locale/gu.js delete mode 100644 node_modules/moment/locale/he.js delete mode 100644 node_modules/moment/locale/hi.js delete mode 100644 node_modules/moment/locale/hr.js delete mode 100644 node_modules/moment/locale/hu.js delete mode 100644 node_modules/moment/locale/hy-am.js delete mode 100644 node_modules/moment/locale/id.js delete mode 100644 node_modules/moment/locale/is.js delete mode 100644 node_modules/moment/locale/it-ch.js delete mode 100644 node_modules/moment/locale/it.js delete mode 100644 node_modules/moment/locale/ja.js delete mode 100644 node_modules/moment/locale/jv.js delete mode 100644 node_modules/moment/locale/ka.js delete mode 100644 node_modules/moment/locale/kk.js delete mode 100644 node_modules/moment/locale/km.js delete mode 100644 node_modules/moment/locale/kn.js delete mode 100644 node_modules/moment/locale/ko.js delete mode 100644 node_modules/moment/locale/ku.js delete mode 100644 node_modules/moment/locale/ky.js delete mode 100644 node_modules/moment/locale/lb.js delete mode 100644 node_modules/moment/locale/lo.js delete mode 100644 node_modules/moment/locale/lt.js delete mode 100644 node_modules/moment/locale/lv.js delete mode 100644 node_modules/moment/locale/me.js delete mode 100644 node_modules/moment/locale/mi.js delete mode 100644 node_modules/moment/locale/mk.js delete mode 100644 node_modules/moment/locale/ml.js delete mode 100644 node_modules/moment/locale/mn.js delete mode 100644 node_modules/moment/locale/mr.js delete mode 100644 node_modules/moment/locale/ms-my.js delete mode 100644 node_modules/moment/locale/ms.js delete mode 100644 node_modules/moment/locale/mt.js delete mode 100644 node_modules/moment/locale/my.js delete mode 100644 node_modules/moment/locale/nb.js delete mode 100644 node_modules/moment/locale/ne.js delete mode 100644 node_modules/moment/locale/nl-be.js delete mode 100644 node_modules/moment/locale/nl.js delete mode 100644 node_modules/moment/locale/nn.js delete mode 100644 node_modules/moment/locale/oc-lnc.js delete mode 100644 node_modules/moment/locale/pa-in.js delete mode 100644 node_modules/moment/locale/pl.js delete mode 100644 node_modules/moment/locale/pt-br.js delete mode 100644 node_modules/moment/locale/pt.js delete mode 100644 node_modules/moment/locale/ro.js delete mode 100644 node_modules/moment/locale/ru.js delete mode 100644 node_modules/moment/locale/sd.js delete mode 100644 node_modules/moment/locale/se.js delete mode 100644 node_modules/moment/locale/si.js delete mode 100644 node_modules/moment/locale/sk.js delete mode 100644 node_modules/moment/locale/sl.js delete mode 100644 node_modules/moment/locale/sq.js delete mode 100644 node_modules/moment/locale/sr-cyrl.js delete mode 100644 node_modules/moment/locale/sr.js delete mode 100644 node_modules/moment/locale/ss.js delete mode 100644 node_modules/moment/locale/sv.js delete mode 100644 node_modules/moment/locale/sw.js delete mode 100644 node_modules/moment/locale/ta.js delete mode 100644 node_modules/moment/locale/te.js delete mode 100644 node_modules/moment/locale/tet.js delete mode 100644 node_modules/moment/locale/tg.js delete mode 100644 node_modules/moment/locale/th.js delete mode 100644 node_modules/moment/locale/tl-ph.js delete mode 100644 node_modules/moment/locale/tlh.js delete mode 100644 node_modules/moment/locale/tr.js delete mode 100644 node_modules/moment/locale/tzl.js delete mode 100644 node_modules/moment/locale/tzm-latn.js delete mode 100644 node_modules/moment/locale/tzm.js delete mode 100644 node_modules/moment/locale/ug-cn.js delete mode 100644 node_modules/moment/locale/uk.js delete mode 100644 node_modules/moment/locale/ur.js delete mode 100644 node_modules/moment/locale/uz-latn.js delete mode 100644 node_modules/moment/locale/uz.js delete mode 100644 node_modules/moment/locale/vi.js delete mode 100644 node_modules/moment/locale/x-pseudo.js delete mode 100644 node_modules/moment/locale/yo.js delete mode 100644 node_modules/moment/locale/zh-cn.js delete mode 100644 node_modules/moment/locale/zh-hk.js delete mode 100644 node_modules/moment/locale/zh-mo.js delete mode 100644 node_modules/moment/locale/zh-tw.js delete mode 100644 node_modules/moment/min/locales.js delete mode 100644 node_modules/moment/min/locales.min.js delete mode 100644 node_modules/moment/min/locales.min.js.map delete mode 100644 node_modules/moment/min/moment-with-locales.js delete mode 100644 node_modules/moment/min/moment-with-locales.min.js delete mode 100644 node_modules/moment/min/moment-with-locales.min.js.map delete mode 100644 node_modules/moment/min/moment.min.js delete mode 100644 node_modules/moment/min/moment.min.js.map delete mode 100644 node_modules/moment/moment.d.ts delete mode 100644 node_modules/moment/moment.js delete mode 100644 node_modules/moment/package.js delete mode 100644 node_modules/moment/package.json delete mode 100644 node_modules/moment/src/lib/create/check-overflow.js delete mode 100644 node_modules/moment/src/lib/create/date-from-array.js delete mode 100644 node_modules/moment/src/lib/create/from-anything.js delete mode 100644 node_modules/moment/src/lib/create/from-array.js delete mode 100644 node_modules/moment/src/lib/create/from-object.js delete mode 100644 node_modules/moment/src/lib/create/from-string-and-array.js delete mode 100644 node_modules/moment/src/lib/create/from-string-and-format.js delete mode 100644 node_modules/moment/src/lib/create/from-string.js delete mode 100644 node_modules/moment/src/lib/create/local.js delete mode 100644 node_modules/moment/src/lib/create/parsing-flags.js delete mode 100644 node_modules/moment/src/lib/create/utc.js delete mode 100644 node_modules/moment/src/lib/create/valid.js delete mode 100644 node_modules/moment/src/lib/duration/abs.js delete mode 100644 node_modules/moment/src/lib/duration/add-subtract.js delete mode 100644 node_modules/moment/src/lib/duration/as.js delete mode 100644 node_modules/moment/src/lib/duration/bubble.js delete mode 100644 node_modules/moment/src/lib/duration/clone.js delete mode 100644 node_modules/moment/src/lib/duration/constructor.js delete mode 100644 node_modules/moment/src/lib/duration/create.js delete mode 100644 node_modules/moment/src/lib/duration/duration.js delete mode 100644 node_modules/moment/src/lib/duration/get.js delete mode 100644 node_modules/moment/src/lib/duration/humanize.js delete mode 100644 node_modules/moment/src/lib/duration/iso-string.js delete mode 100644 node_modules/moment/src/lib/duration/prototype.js delete mode 100644 node_modules/moment/src/lib/duration/valid.js delete mode 100644 node_modules/moment/src/lib/format/format.js delete mode 100644 node_modules/moment/src/lib/locale/base-config.js delete mode 100644 node_modules/moment/src/lib/locale/calendar.js delete mode 100644 node_modules/moment/src/lib/locale/constructor.js delete mode 100644 node_modules/moment/src/lib/locale/en.js delete mode 100644 node_modules/moment/src/lib/locale/formats.js delete mode 100644 node_modules/moment/src/lib/locale/invalid.js delete mode 100644 node_modules/moment/src/lib/locale/lists.js delete mode 100644 node_modules/moment/src/lib/locale/locale.js delete mode 100644 node_modules/moment/src/lib/locale/locales.js delete mode 100644 node_modules/moment/src/lib/locale/ordinal.js delete mode 100644 node_modules/moment/src/lib/locale/pre-post-format.js delete mode 100644 node_modules/moment/src/lib/locale/prototype.js delete mode 100644 node_modules/moment/src/lib/locale/relative.js delete mode 100644 node_modules/moment/src/lib/locale/set.js delete mode 100644 node_modules/moment/src/lib/moment/add-subtract.js delete mode 100644 node_modules/moment/src/lib/moment/calendar.js delete mode 100644 node_modules/moment/src/lib/moment/clone.js delete mode 100644 node_modules/moment/src/lib/moment/compare.js delete mode 100644 node_modules/moment/src/lib/moment/constructor.js delete mode 100644 node_modules/moment/src/lib/moment/creation-data.js delete mode 100644 node_modules/moment/src/lib/moment/diff.js delete mode 100644 node_modules/moment/src/lib/moment/format.js delete mode 100644 node_modules/moment/src/lib/moment/from.js delete mode 100644 node_modules/moment/src/lib/moment/get-set.js delete mode 100644 node_modules/moment/src/lib/moment/locale.js delete mode 100644 node_modules/moment/src/lib/moment/min-max.js delete mode 100644 node_modules/moment/src/lib/moment/moment.js delete mode 100644 node_modules/moment/src/lib/moment/now.js delete mode 100644 node_modules/moment/src/lib/moment/prototype.js delete mode 100644 node_modules/moment/src/lib/moment/start-end-of.js delete mode 100644 node_modules/moment/src/lib/moment/to-type.js delete mode 100644 node_modules/moment/src/lib/moment/to.js delete mode 100644 node_modules/moment/src/lib/moment/valid.js delete mode 100644 node_modules/moment/src/lib/parse/regex.js delete mode 100644 node_modules/moment/src/lib/parse/token.js delete mode 100644 node_modules/moment/src/lib/units/aliases.js delete mode 100644 node_modules/moment/src/lib/units/constants.js delete mode 100644 node_modules/moment/src/lib/units/day-of-month.js delete mode 100644 node_modules/moment/src/lib/units/day-of-week.js delete mode 100644 node_modules/moment/src/lib/units/day-of-year.js delete mode 100644 node_modules/moment/src/lib/units/era.js delete mode 100644 node_modules/moment/src/lib/units/hour.js delete mode 100644 node_modules/moment/src/lib/units/millisecond.js delete mode 100644 node_modules/moment/src/lib/units/minute.js delete mode 100644 node_modules/moment/src/lib/units/month.js delete mode 100644 node_modules/moment/src/lib/units/offset.js delete mode 100644 node_modules/moment/src/lib/units/priorities.js delete mode 100644 node_modules/moment/src/lib/units/quarter.js delete mode 100644 node_modules/moment/src/lib/units/second.js delete mode 100644 node_modules/moment/src/lib/units/timestamp.js delete mode 100644 node_modules/moment/src/lib/units/timezone.js delete mode 100644 node_modules/moment/src/lib/units/units.js delete mode 100644 node_modules/moment/src/lib/units/week-calendar-utils.js delete mode 100644 node_modules/moment/src/lib/units/week-year.js delete mode 100644 node_modules/moment/src/lib/units/week.js delete mode 100644 node_modules/moment/src/lib/units/year.js delete mode 100644 node_modules/moment/src/lib/utils/abs-ceil.js delete mode 100644 node_modules/moment/src/lib/utils/abs-floor.js delete mode 100644 node_modules/moment/src/lib/utils/abs-round.js delete mode 100644 node_modules/moment/src/lib/utils/compare-arrays.js delete mode 100644 node_modules/moment/src/lib/utils/defaults.js delete mode 100644 node_modules/moment/src/lib/utils/deprecate.js delete mode 100644 node_modules/moment/src/lib/utils/extend.js delete mode 100644 node_modules/moment/src/lib/utils/has-own-prop.js delete mode 100644 node_modules/moment/src/lib/utils/hooks.js delete mode 100644 node_modules/moment/src/lib/utils/index-of.js delete mode 100644 node_modules/moment/src/lib/utils/is-array.js delete mode 100644 node_modules/moment/src/lib/utils/is-calendar-spec.js delete mode 100644 node_modules/moment/src/lib/utils/is-date.js delete mode 100644 node_modules/moment/src/lib/utils/is-function.js delete mode 100644 node_modules/moment/src/lib/utils/is-leap-year.js delete mode 100644 node_modules/moment/src/lib/utils/is-moment-input.js delete mode 100644 node_modules/moment/src/lib/utils/is-number.js delete mode 100644 node_modules/moment/src/lib/utils/is-object-empty.js delete mode 100644 node_modules/moment/src/lib/utils/is-object.js delete mode 100644 node_modules/moment/src/lib/utils/is-string.js delete mode 100644 node_modules/moment/src/lib/utils/is-undefined.js delete mode 100644 node_modules/moment/src/lib/utils/keys.js delete mode 100644 node_modules/moment/src/lib/utils/map.js delete mode 100644 node_modules/moment/src/lib/utils/mod.js delete mode 100644 node_modules/moment/src/lib/utils/some.js delete mode 100644 node_modules/moment/src/lib/utils/to-int.js delete mode 100644 node_modules/moment/src/lib/utils/zero-fill.js delete mode 100644 node_modules/moment/src/locale/af.js delete mode 100644 node_modules/moment/src/locale/ar-dz.js delete mode 100644 node_modules/moment/src/locale/ar-kw.js delete mode 100644 node_modules/moment/src/locale/ar-ly.js delete mode 100644 node_modules/moment/src/locale/ar-ma.js delete mode 100644 node_modules/moment/src/locale/ar-sa.js delete mode 100644 node_modules/moment/src/locale/ar-tn.js delete mode 100644 node_modules/moment/src/locale/ar.js delete mode 100644 node_modules/moment/src/locale/az.js delete mode 100644 node_modules/moment/src/locale/be.js delete mode 100644 node_modules/moment/src/locale/bg.js delete mode 100644 node_modules/moment/src/locale/bm.js delete mode 100644 node_modules/moment/src/locale/bn.js delete mode 100644 node_modules/moment/src/locale/bo.js delete mode 100644 node_modules/moment/src/locale/br.js delete mode 100644 node_modules/moment/src/locale/bs.js delete mode 100644 node_modules/moment/src/locale/ca.js delete mode 100644 node_modules/moment/src/locale/cs.js delete mode 100644 node_modules/moment/src/locale/cv.js delete mode 100644 node_modules/moment/src/locale/cy.js delete mode 100644 node_modules/moment/src/locale/da.js delete mode 100644 node_modules/moment/src/locale/de-at.js delete mode 100644 node_modules/moment/src/locale/de-ch.js delete mode 100644 node_modules/moment/src/locale/de.js delete mode 100644 node_modules/moment/src/locale/dv.js delete mode 100644 node_modules/moment/src/locale/el.js delete mode 100644 node_modules/moment/src/locale/en-au.js delete mode 100644 node_modules/moment/src/locale/en-ca.js delete mode 100644 node_modules/moment/src/locale/en-gb.js delete mode 100644 node_modules/moment/src/locale/en-ie.js delete mode 100644 node_modules/moment/src/locale/en-il.js delete mode 100644 node_modules/moment/src/locale/en-in.js delete mode 100644 node_modules/moment/src/locale/en-nz.js delete mode 100644 node_modules/moment/src/locale/en-sg.js delete mode 100644 node_modules/moment/src/locale/eo.js delete mode 100644 node_modules/moment/src/locale/es-do.js delete mode 100644 node_modules/moment/src/locale/es-us.js delete mode 100644 node_modules/moment/src/locale/es.js delete mode 100644 node_modules/moment/src/locale/et.js delete mode 100644 node_modules/moment/src/locale/eu.js delete mode 100644 node_modules/moment/src/locale/fa.js delete mode 100644 node_modules/moment/src/locale/fi.js delete mode 100644 node_modules/moment/src/locale/fil.js delete mode 100644 node_modules/moment/src/locale/fo.js delete mode 100644 node_modules/moment/src/locale/fr-ca.js delete mode 100644 node_modules/moment/src/locale/fr-ch.js delete mode 100644 node_modules/moment/src/locale/fr.js delete mode 100644 node_modules/moment/src/locale/fy.js delete mode 100644 node_modules/moment/src/locale/ga.js delete mode 100644 node_modules/moment/src/locale/gd.js delete mode 100644 node_modules/moment/src/locale/gl.js delete mode 100644 node_modules/moment/src/locale/gom-deva.js delete mode 100644 node_modules/moment/src/locale/gom-latn.js delete mode 100644 node_modules/moment/src/locale/gu.js delete mode 100644 node_modules/moment/src/locale/he.js delete mode 100644 node_modules/moment/src/locale/hi.js delete mode 100644 node_modules/moment/src/locale/hr.js delete mode 100644 node_modules/moment/src/locale/hu.js delete mode 100644 node_modules/moment/src/locale/hy-am.js delete mode 100644 node_modules/moment/src/locale/id.js delete mode 100644 node_modules/moment/src/locale/is.js delete mode 100644 node_modules/moment/src/locale/it-ch.js delete mode 100644 node_modules/moment/src/locale/it.js delete mode 100644 node_modules/moment/src/locale/ja.js delete mode 100644 node_modules/moment/src/locale/jv.js delete mode 100644 node_modules/moment/src/locale/ka.js delete mode 100644 node_modules/moment/src/locale/kk.js delete mode 100644 node_modules/moment/src/locale/km.js delete mode 100644 node_modules/moment/src/locale/kn.js delete mode 100644 node_modules/moment/src/locale/ko.js delete mode 100644 node_modules/moment/src/locale/ku.js delete mode 100644 node_modules/moment/src/locale/ky.js delete mode 100644 node_modules/moment/src/locale/lb.js delete mode 100644 node_modules/moment/src/locale/lo.js delete mode 100644 node_modules/moment/src/locale/lt.js delete mode 100644 node_modules/moment/src/locale/lv.js delete mode 100644 node_modules/moment/src/locale/me.js delete mode 100644 node_modules/moment/src/locale/mi.js delete mode 100644 node_modules/moment/src/locale/mk.js delete mode 100644 node_modules/moment/src/locale/ml.js delete mode 100644 node_modules/moment/src/locale/mn.js delete mode 100644 node_modules/moment/src/locale/mr.js delete mode 100644 node_modules/moment/src/locale/ms-my.js delete mode 100644 node_modules/moment/src/locale/ms.js delete mode 100644 node_modules/moment/src/locale/mt.js delete mode 100644 node_modules/moment/src/locale/my.js delete mode 100644 node_modules/moment/src/locale/nb.js delete mode 100644 node_modules/moment/src/locale/ne.js delete mode 100644 node_modules/moment/src/locale/nl-be.js delete mode 100644 node_modules/moment/src/locale/nl.js delete mode 100644 node_modules/moment/src/locale/nn.js delete mode 100644 node_modules/moment/src/locale/oc-lnc.js delete mode 100644 node_modules/moment/src/locale/pa-in.js delete mode 100644 node_modules/moment/src/locale/pl.js delete mode 100644 node_modules/moment/src/locale/pt-br.js delete mode 100644 node_modules/moment/src/locale/pt.js delete mode 100644 node_modules/moment/src/locale/ro.js delete mode 100644 node_modules/moment/src/locale/ru.js delete mode 100644 node_modules/moment/src/locale/sd.js delete mode 100644 node_modules/moment/src/locale/se.js delete mode 100644 node_modules/moment/src/locale/si.js delete mode 100644 node_modules/moment/src/locale/sk.js delete mode 100644 node_modules/moment/src/locale/sl.js delete mode 100644 node_modules/moment/src/locale/sq.js delete mode 100644 node_modules/moment/src/locale/sr-cyrl.js delete mode 100644 node_modules/moment/src/locale/sr.js delete mode 100644 node_modules/moment/src/locale/ss.js delete mode 100644 node_modules/moment/src/locale/sv.js delete mode 100644 node_modules/moment/src/locale/sw.js delete mode 100644 node_modules/moment/src/locale/ta.js delete mode 100644 node_modules/moment/src/locale/te.js delete mode 100644 node_modules/moment/src/locale/tet.js delete mode 100644 node_modules/moment/src/locale/tg.js delete mode 100644 node_modules/moment/src/locale/th.js delete mode 100644 node_modules/moment/src/locale/tl-ph.js delete mode 100644 node_modules/moment/src/locale/tlh.js delete mode 100644 node_modules/moment/src/locale/tr.js delete mode 100644 node_modules/moment/src/locale/tzl.js delete mode 100644 node_modules/moment/src/locale/tzm-latn.js delete mode 100644 node_modules/moment/src/locale/tzm.js delete mode 100644 node_modules/moment/src/locale/ug-cn.js delete mode 100644 node_modules/moment/src/locale/uk.js delete mode 100644 node_modules/moment/src/locale/ur.js delete mode 100644 node_modules/moment/src/locale/uz-latn.js delete mode 100644 node_modules/moment/src/locale/uz.js delete mode 100644 node_modules/moment/src/locale/vi.js delete mode 100644 node_modules/moment/src/locale/x-pseudo.js delete mode 100644 node_modules/moment/src/locale/yo.js delete mode 100644 node_modules/moment/src/locale/zh-cn.js delete mode 100644 node_modules/moment/src/locale/zh-hk.js delete mode 100644 node_modules/moment/src/locale/zh-mo.js delete mode 100644 node_modules/moment/src/locale/zh-tw.js delete mode 100644 node_modules/moment/src/moment.js delete mode 100644 node_modules/moment/ts3.1-typings/moment.d.ts delete mode 100644 node_modules/ms/index.js delete mode 100644 node_modules/ms/license.md delete mode 100644 node_modules/ms/package.json delete mode 100644 node_modules/ms/readme.md delete mode 100644 node_modules/negotiator/HISTORY.md delete mode 100644 node_modules/negotiator/LICENSE delete mode 100644 node_modules/negotiator/README.md delete mode 100644 node_modules/negotiator/index.js delete mode 100644 node_modules/negotiator/lib/charset.js delete mode 100644 node_modules/negotiator/lib/encoding.js delete mode 100644 node_modules/negotiator/lib/language.js delete mode 100644 node_modules/negotiator/lib/mediaType.js delete mode 100644 node_modules/negotiator/package.json delete mode 100644 node_modules/object-component/.npmignore delete mode 100644 node_modules/object-component/History.md delete mode 100644 node_modules/object-component/Makefile delete mode 100644 node_modules/object-component/Readme.md delete mode 100644 node_modules/object-component/component.json delete mode 100644 node_modules/object-component/index.js delete mode 100644 node_modules/object-component/package.json delete mode 100644 node_modules/object-component/test/object.js delete mode 100644 node_modules/on-finished/HISTORY.md delete mode 100644 node_modules/on-finished/LICENSE delete mode 100644 node_modules/on-finished/README.md delete mode 100644 node_modules/on-finished/index.js delete mode 100644 node_modules/on-finished/package.json delete mode 100644 node_modules/once/LICENSE delete mode 100644 node_modules/once/README.md delete mode 100644 node_modules/once/once.js delete mode 100644 node_modules/once/package.json delete mode 100644 node_modules/parseqs/.npmignore delete mode 100644 node_modules/parseqs/LICENSE delete mode 100644 node_modules/parseqs/Makefile delete mode 100644 node_modules/parseqs/README.md delete mode 100644 node_modules/parseqs/index.js delete mode 100644 node_modules/parseqs/package.json delete mode 100644 node_modules/parseqs/test.js delete mode 100644 node_modules/parseuri/.npmignore delete mode 100644 node_modules/parseuri/History.md delete mode 100644 node_modules/parseuri/LICENSE delete mode 100644 node_modules/parseuri/Makefile delete mode 100644 node_modules/parseuri/README.md delete mode 100644 node_modules/parseuri/index.js delete mode 100644 node_modules/parseuri/package.json delete mode 100644 node_modules/parseuri/test.js delete mode 100644 node_modules/parseurl/HISTORY.md delete mode 100644 node_modules/parseurl/LICENSE delete mode 100644 node_modules/parseurl/README.md delete mode 100644 node_modules/parseurl/index.js delete mode 100644 node_modules/parseurl/package.json delete mode 100644 node_modules/path-is-absolute/index.js delete mode 100644 node_modules/path-is-absolute/license delete mode 100644 node_modules/path-is-absolute/package.json delete mode 100644 node_modules/path-is-absolute/readme.md delete mode 100644 node_modules/path-to-regexp/History.md delete mode 100644 node_modules/path-to-regexp/LICENSE delete mode 100644 node_modules/path-to-regexp/Readme.md delete mode 100644 node_modules/path-to-regexp/index.js delete mode 100644 node_modules/path-to-regexp/package.json delete mode 100644 node_modules/proxy-addr/HISTORY.md delete mode 100644 node_modules/proxy-addr/LICENSE delete mode 100644 node_modules/proxy-addr/README.md delete mode 100644 node_modules/proxy-addr/index.js delete mode 100644 node_modules/proxy-addr/package.json delete mode 100644 node_modules/qs/.editorconfig delete mode 100644 node_modules/qs/.eslintignore delete mode 100644 node_modules/qs/.eslintrc delete mode 100644 node_modules/qs/CHANGELOG.md delete mode 100644 node_modules/qs/LICENSE delete mode 100644 node_modules/qs/README.md delete mode 100644 node_modules/qs/dist/qs.js delete mode 100644 node_modules/qs/lib/formats.js delete mode 100644 node_modules/qs/lib/index.js delete mode 100644 node_modules/qs/lib/parse.js delete mode 100644 node_modules/qs/lib/stringify.js delete mode 100644 node_modules/qs/lib/utils.js delete mode 100644 node_modules/qs/package.json delete mode 100644 node_modules/qs/test/.eslintrc delete mode 100644 node_modules/qs/test/index.js delete mode 100644 node_modules/qs/test/parse.js delete mode 100644 node_modules/qs/test/stringify.js delete mode 100644 node_modules/qs/test/utils.js delete mode 100644 node_modules/range-parser/HISTORY.md delete mode 100644 node_modules/range-parser/LICENSE delete mode 100644 node_modules/range-parser/README.md delete mode 100644 node_modules/range-parser/index.js delete mode 100644 node_modules/range-parser/package.json delete mode 100644 node_modules/raw-body/HISTORY.md delete mode 100644 node_modules/raw-body/LICENSE delete mode 100644 node_modules/raw-body/README.md delete mode 100644 node_modules/raw-body/index.d.ts delete mode 100644 node_modules/raw-body/index.js delete mode 100644 node_modules/raw-body/package.json delete mode 100644 node_modules/readable-stream/.npmignore delete mode 100644 node_modules/readable-stream/LICENSE delete mode 100644 node_modules/readable-stream/README.md delete mode 100644 node_modules/readable-stream/duplex.js delete mode 100644 node_modules/readable-stream/float.patch delete mode 100644 node_modules/readable-stream/lib/_stream_duplex.js delete mode 100644 node_modules/readable-stream/lib/_stream_passthrough.js delete mode 100644 node_modules/readable-stream/lib/_stream_readable.js delete mode 100644 node_modules/readable-stream/lib/_stream_transform.js delete mode 100644 node_modules/readable-stream/lib/_stream_writable.js delete mode 100644 node_modules/readable-stream/node_modules/isarray/README.md delete mode 100644 node_modules/readable-stream/node_modules/isarray/build/build.js delete mode 100644 node_modules/readable-stream/node_modules/isarray/component.json delete mode 100644 node_modules/readable-stream/node_modules/isarray/index.js delete mode 100644 node_modules/readable-stream/node_modules/isarray/package.json delete mode 100644 node_modules/readable-stream/package.json delete mode 100644 node_modules/readable-stream/passthrough.js delete mode 100644 node_modules/readable-stream/readable.js delete mode 100644 node_modules/readable-stream/transform.js delete mode 100644 node_modules/readable-stream/writable.js delete mode 100644 node_modules/safe-buffer/LICENSE delete mode 100644 node_modules/safe-buffer/README.md delete mode 100644 node_modules/safe-buffer/index.d.ts delete mode 100644 node_modules/safe-buffer/index.js delete mode 100644 node_modules/safe-buffer/package.json delete mode 100644 node_modules/safer-buffer/LICENSE delete mode 100644 node_modules/safer-buffer/Porting-Buffer.md delete mode 100644 node_modules/safer-buffer/Readme.md delete mode 100644 node_modules/safer-buffer/dangerous.js delete mode 100644 node_modules/safer-buffer/package.json delete mode 100644 node_modules/safer-buffer/safer.js delete mode 100644 node_modules/safer-buffer/tests.js delete mode 100644 node_modules/send/HISTORY.md delete mode 100644 node_modules/send/LICENSE delete mode 100644 node_modules/send/README.md delete mode 100644 node_modules/send/index.js delete mode 100644 node_modules/send/node_modules/ms/index.js delete mode 100644 node_modules/send/node_modules/ms/license.md delete mode 100644 node_modules/send/node_modules/ms/package.json delete mode 100644 node_modules/send/node_modules/ms/readme.md delete mode 100644 node_modules/send/package.json delete mode 100644 node_modules/serve-static/HISTORY.md delete mode 100644 node_modules/serve-static/LICENSE delete mode 100644 node_modules/serve-static/README.md delete mode 100644 node_modules/serve-static/index.js delete mode 100644 node_modules/serve-static/package.json delete mode 100644 node_modules/setprototypeof/LICENSE delete mode 100644 node_modules/setprototypeof/README.md delete mode 100644 node_modules/setprototypeof/index.d.ts delete mode 100644 node_modules/setprototypeof/index.js delete mode 100644 node_modules/setprototypeof/package.json delete mode 100644 node_modules/setprototypeof/test/index.js delete mode 100644 node_modules/shelljs/.documentup.json delete mode 100644 node_modules/shelljs/.jshintrc delete mode 100644 node_modules/shelljs/.npmignore delete mode 100644 node_modules/shelljs/.travis.yml delete mode 100644 node_modules/shelljs/LICENSE delete mode 100644 node_modules/shelljs/README.md delete mode 100755 node_modules/shelljs/bin/shjs delete mode 100644 node_modules/shelljs/global.js delete mode 100644 node_modules/shelljs/make.js delete mode 100644 node_modules/shelljs/package.json delete mode 100755 node_modules/shelljs/scripts/generate-docs.js delete mode 100755 node_modules/shelljs/scripts/run-tests.js delete mode 100644 node_modules/shelljs/shell.js delete mode 100644 node_modules/shelljs/src/cat.js delete mode 100644 node_modules/shelljs/src/cd.js delete mode 100644 node_modules/shelljs/src/chmod.js delete mode 100644 node_modules/shelljs/src/common.js delete mode 100644 node_modules/shelljs/src/cp.js delete mode 100644 node_modules/shelljs/src/dirs.js delete mode 100644 node_modules/shelljs/src/echo.js delete mode 100644 node_modules/shelljs/src/error.js delete mode 100644 node_modules/shelljs/src/exec.js delete mode 100644 node_modules/shelljs/src/find.js delete mode 100644 node_modules/shelljs/src/grep.js delete mode 100644 node_modules/shelljs/src/ln.js delete mode 100644 node_modules/shelljs/src/ls.js delete mode 100644 node_modules/shelljs/src/mkdir.js delete mode 100644 node_modules/shelljs/src/mv.js delete mode 100644 node_modules/shelljs/src/popd.js delete mode 100644 node_modules/shelljs/src/pushd.js delete mode 100644 node_modules/shelljs/src/pwd.js delete mode 100644 node_modules/shelljs/src/rm.js delete mode 100644 node_modules/shelljs/src/sed.js delete mode 100644 node_modules/shelljs/src/tempdir.js delete mode 100644 node_modules/shelljs/src/test.js delete mode 100644 node_modules/shelljs/src/to.js delete mode 100644 node_modules/shelljs/src/toEnd.js delete mode 100644 node_modules/shelljs/src/which.js delete mode 100644 node_modules/socket.io-adapter/.idea/$CACHE_FILE$ delete mode 100644 node_modules/socket.io-adapter/.idea/inspectionProfiles/profiles_settings.xml delete mode 100644 node_modules/socket.io-adapter/.idea/misc.xml delete mode 100644 node_modules/socket.io-adapter/.idea/modules.xml delete mode 100644 node_modules/socket.io-adapter/.idea/socket.io-adapter.iml delete mode 100644 node_modules/socket.io-adapter/.idea/vcs.xml delete mode 100644 node_modules/socket.io-adapter/.idea/workspace.xml delete mode 100644 node_modules/socket.io-adapter/LICENSE delete mode 100644 node_modules/socket.io-adapter/Readme.md delete mode 100644 node_modules/socket.io-adapter/index.js delete mode 100644 node_modules/socket.io-adapter/package.json delete mode 100644 node_modules/socket.io-client/LICENSE delete mode 100644 node_modules/socket.io-client/README.md delete mode 100644 node_modules/socket.io-client/dist/socket.io.dev.js delete mode 100644 node_modules/socket.io-client/dist/socket.io.dev.js.map delete mode 100644 node_modules/socket.io-client/dist/socket.io.js delete mode 100644 node_modules/socket.io-client/dist/socket.io.js.map delete mode 100644 node_modules/socket.io-client/dist/socket.io.slim.dev.js delete mode 100644 node_modules/socket.io-client/dist/socket.io.slim.dev.js.map delete mode 100644 node_modules/socket.io-client/dist/socket.io.slim.js delete mode 100644 node_modules/socket.io-client/dist/socket.io.slim.js.map delete mode 100644 node_modules/socket.io-client/lib/index.js delete mode 100644 node_modules/socket.io-client/lib/manager.js delete mode 100644 node_modules/socket.io-client/lib/on.js delete mode 100644 node_modules/socket.io-client/lib/socket.js delete mode 100644 node_modules/socket.io-client/lib/url.js delete mode 100644 node_modules/socket.io-client/node_modules/debug/CHANGELOG.md delete mode 100644 node_modules/socket.io-client/node_modules/debug/LICENSE delete mode 100644 node_modules/socket.io-client/node_modules/debug/README.md delete mode 100644 node_modules/socket.io-client/node_modules/debug/dist/debug.js delete mode 100644 node_modules/socket.io-client/node_modules/debug/package.json delete mode 100644 node_modules/socket.io-client/node_modules/debug/src/browser.js delete mode 100644 node_modules/socket.io-client/node_modules/debug/src/common.js delete mode 100644 node_modules/socket.io-client/node_modules/debug/src/index.js delete mode 100644 node_modules/socket.io-client/node_modules/debug/src/node.js delete mode 100644 node_modules/socket.io-client/node_modules/ms/index.js delete mode 100644 node_modules/socket.io-client/node_modules/ms/license.md delete mode 100644 node_modules/socket.io-client/node_modules/ms/package.json delete mode 100644 node_modules/socket.io-client/node_modules/ms/readme.md delete mode 100644 node_modules/socket.io-client/node_modules/socket.io-parser/LICENSE delete mode 100644 node_modules/socket.io-client/node_modules/socket.io-parser/Readme.md delete mode 100644 node_modules/socket.io-client/node_modules/socket.io-parser/binary.js delete mode 100644 node_modules/socket.io-client/node_modules/socket.io-parser/index.js delete mode 100644 node_modules/socket.io-client/node_modules/socket.io-parser/is-buffer.js delete mode 100644 node_modules/socket.io-client/node_modules/socket.io-parser/node_modules/debug/.coveralls.yml delete mode 100644 node_modules/socket.io-client/node_modules/socket.io-parser/node_modules/debug/.eslintrc delete mode 100644 node_modules/socket.io-client/node_modules/socket.io-parser/node_modules/debug/.npmignore delete mode 100644 node_modules/socket.io-client/node_modules/socket.io-parser/node_modules/debug/.travis.yml delete mode 100644 node_modules/socket.io-client/node_modules/socket.io-parser/node_modules/debug/CHANGELOG.md delete mode 100644 node_modules/socket.io-client/node_modules/socket.io-parser/node_modules/debug/LICENSE delete mode 100644 node_modules/socket.io-client/node_modules/socket.io-parser/node_modules/debug/Makefile delete mode 100644 node_modules/socket.io-client/node_modules/socket.io-parser/node_modules/debug/README.md delete mode 100644 node_modules/socket.io-client/node_modules/socket.io-parser/node_modules/debug/karma.conf.js delete mode 100644 node_modules/socket.io-client/node_modules/socket.io-parser/node_modules/debug/node.js delete mode 100644 node_modules/socket.io-client/node_modules/socket.io-parser/node_modules/debug/package.json delete mode 100644 node_modules/socket.io-client/node_modules/socket.io-parser/node_modules/debug/src/browser.js delete mode 100644 node_modules/socket.io-client/node_modules/socket.io-parser/node_modules/debug/src/debug.js delete mode 100644 node_modules/socket.io-client/node_modules/socket.io-parser/node_modules/debug/src/index.js delete mode 100644 node_modules/socket.io-client/node_modules/socket.io-parser/node_modules/debug/src/node.js delete mode 100644 node_modules/socket.io-client/node_modules/socket.io-parser/node_modules/ms/index.js delete mode 100644 node_modules/socket.io-client/node_modules/socket.io-parser/node_modules/ms/license.md delete mode 100644 node_modules/socket.io-client/node_modules/socket.io-parser/node_modules/ms/package.json delete mode 100644 node_modules/socket.io-client/node_modules/socket.io-parser/node_modules/ms/readme.md delete mode 100644 node_modules/socket.io-client/node_modules/socket.io-parser/package.json delete mode 100644 node_modules/socket.io-client/package.json delete mode 100644 node_modules/socket.io-parser/CHANGELOG.md delete mode 100644 node_modules/socket.io-parser/LICENSE delete mode 100644 node_modules/socket.io-parser/Readme.md delete mode 100644 node_modules/socket.io-parser/binary.js delete mode 100644 node_modules/socket.io-parser/index.js delete mode 100644 node_modules/socket.io-parser/is-buffer.js delete mode 100644 node_modules/socket.io-parser/node_modules/debug/CHANGELOG.md delete mode 100644 node_modules/socket.io-parser/node_modules/debug/LICENSE delete mode 100644 node_modules/socket.io-parser/node_modules/debug/README.md delete mode 100644 node_modules/socket.io-parser/node_modules/debug/dist/debug.js delete mode 100644 node_modules/socket.io-parser/node_modules/debug/package.json delete mode 100644 node_modules/socket.io-parser/node_modules/debug/src/browser.js delete mode 100644 node_modules/socket.io-parser/node_modules/debug/src/common.js delete mode 100644 node_modules/socket.io-parser/node_modules/debug/src/index.js delete mode 100644 node_modules/socket.io-parser/node_modules/debug/src/node.js delete mode 100644 node_modules/socket.io-parser/node_modules/ms/index.js delete mode 100644 node_modules/socket.io-parser/node_modules/ms/license.md delete mode 100644 node_modules/socket.io-parser/node_modules/ms/package.json delete mode 100644 node_modules/socket.io-parser/node_modules/ms/readme.md delete mode 100644 node_modules/socket.io-parser/package.json delete mode 100644 node_modules/socket.io/LICENSE delete mode 100644 node_modules/socket.io/Readme.md delete mode 100644 node_modules/socket.io/lib/client.js delete mode 100644 node_modules/socket.io/lib/index.js delete mode 100644 node_modules/socket.io/lib/namespace.js delete mode 100644 node_modules/socket.io/lib/parent-namespace.js delete mode 100644 node_modules/socket.io/lib/socket.js delete mode 100644 node_modules/socket.io/node_modules/debug/CHANGELOG.md delete mode 100644 node_modules/socket.io/node_modules/debug/LICENSE delete mode 100644 node_modules/socket.io/node_modules/debug/README.md delete mode 100644 node_modules/socket.io/node_modules/debug/dist/debug.js delete mode 100644 node_modules/socket.io/node_modules/debug/package.json delete mode 100644 node_modules/socket.io/node_modules/debug/src/browser.js delete mode 100644 node_modules/socket.io/node_modules/debug/src/common.js delete mode 100644 node_modules/socket.io/node_modules/debug/src/index.js delete mode 100644 node_modules/socket.io/node_modules/debug/src/node.js delete mode 100644 node_modules/socket.io/node_modules/ms/index.js delete mode 100644 node_modules/socket.io/node_modules/ms/license.md delete mode 100644 node_modules/socket.io/node_modules/ms/package.json delete mode 100644 node_modules/socket.io/node_modules/ms/readme.md delete mode 100644 node_modules/socket.io/package.json delete mode 100644 node_modules/statuses/HISTORY.md delete mode 100644 node_modules/statuses/LICENSE delete mode 100644 node_modules/statuses/README.md delete mode 100644 node_modules/statuses/codes.json delete mode 100644 node_modules/statuses/index.js delete mode 100644 node_modules/statuses/package.json delete mode 100644 node_modules/string_decoder/.npmignore delete mode 100644 node_modules/string_decoder/LICENSE delete mode 100644 node_modules/string_decoder/README.md delete mode 100644 node_modules/string_decoder/index.js delete mode 100644 node_modules/string_decoder/package.json delete mode 100755 node_modules/strip-json-comments/cli.js delete mode 100644 node_modules/strip-json-comments/license delete mode 100644 node_modules/strip-json-comments/package.json delete mode 100644 node_modules/strip-json-comments/readme.md delete mode 100644 node_modules/strip-json-comments/strip-json-comments.js delete mode 100644 node_modules/to-array/.npmignore delete mode 100644 node_modules/to-array/LICENCE delete mode 100644 node_modules/to-array/README.md delete mode 100644 node_modules/to-array/index.js delete mode 100644 node_modules/to-array/package.json delete mode 100644 node_modules/toidentifier/LICENSE delete mode 100644 node_modules/toidentifier/README.md delete mode 100644 node_modules/toidentifier/index.js delete mode 100644 node_modules/toidentifier/package.json delete mode 100644 node_modules/type-is/HISTORY.md delete mode 100644 node_modules/type-is/LICENSE delete mode 100644 node_modules/type-is/README.md delete mode 100644 node_modules/type-is/index.js delete mode 100644 node_modules/type-is/package.json delete mode 100644 node_modules/unpipe/HISTORY.md delete mode 100644 node_modules/unpipe/LICENSE delete mode 100644 node_modules/unpipe/README.md delete mode 100644 node_modules/unpipe/index.js delete mode 100644 node_modules/unpipe/package.json delete mode 100644 node_modules/utils-merge/.npmignore delete mode 100644 node_modules/utils-merge/LICENSE delete mode 100644 node_modules/utils-merge/README.md delete mode 100644 node_modules/utils-merge/index.js delete mode 100644 node_modules/utils-merge/package.json delete mode 100644 node_modules/vary/HISTORY.md delete mode 100644 node_modules/vary/LICENSE delete mode 100644 node_modules/vary/README.md delete mode 100644 node_modules/vary/index.js delete mode 100644 node_modules/vary/package.json delete mode 100644 node_modules/wrappy/LICENSE delete mode 100644 node_modules/wrappy/README.md delete mode 100644 node_modules/wrappy/package.json delete mode 100644 node_modules/wrappy/wrappy.js delete mode 100644 node_modules/ws/LICENSE delete mode 100644 node_modules/ws/README.md delete mode 100644 node_modules/ws/browser.js delete mode 100644 node_modules/ws/index.js delete mode 100644 node_modules/ws/lib/buffer-util.js delete mode 100644 node_modules/ws/lib/constants.js delete mode 100644 node_modules/ws/lib/event-target.js delete mode 100644 node_modules/ws/lib/extension.js delete mode 100644 node_modules/ws/lib/limiter.js delete mode 100644 node_modules/ws/lib/permessage-deflate.js delete mode 100644 node_modules/ws/lib/receiver.js delete mode 100644 node_modules/ws/lib/sender.js delete mode 100644 node_modules/ws/lib/stream.js delete mode 100644 node_modules/ws/lib/validation.js delete mode 100644 node_modules/ws/lib/websocket-server.js delete mode 100644 node_modules/ws/lib/websocket.js delete mode 100644 node_modules/ws/package.json delete mode 100644 node_modules/xmlhttprequest-ssl/LICENSE delete mode 100644 node_modules/xmlhttprequest-ssl/README.md delete mode 100644 node_modules/xmlhttprequest-ssl/autotest.watchr delete mode 100644 node_modules/xmlhttprequest-ssl/example/demo.js delete mode 100644 node_modules/xmlhttprequest-ssl/lib/XMLHttpRequest.js delete mode 100644 node_modules/xmlhttprequest-ssl/package.json delete mode 100644 node_modules/xmlhttprequest-ssl/tests/test-constants.js delete mode 100644 node_modules/xmlhttprequest-ssl/tests/test-events.js delete mode 100644 node_modules/xmlhttprequest-ssl/tests/test-exceptions.js delete mode 100644 node_modules/xmlhttprequest-ssl/tests/test-headers.js delete mode 100644 node_modules/xmlhttprequest-ssl/tests/test-redirect-302.js delete mode 100644 node_modules/xmlhttprequest-ssl/tests/test-redirect-303.js delete mode 100644 node_modules/xmlhttprequest-ssl/tests/test-redirect-307.js delete mode 100644 node_modules/xmlhttprequest-ssl/tests/test-request-methods.js delete mode 100644 node_modules/xmlhttprequest-ssl/tests/test-request-protocols.js delete mode 100644 node_modules/xmlhttprequest-ssl/tests/testdata.txt delete mode 100644 node_modules/yeast/LICENSE delete mode 100644 node_modules/yeast/README.md delete mode 100644 node_modules/yeast/index.js delete mode 100644 node_modules/yeast/package.json delete mode 100755 security.txt delete mode 100755 sys/suid delete mode 100755 sys/suid.c diff --git a/.gitignore b/.gitignore index 99f3a14..e5030d6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ -node_modules/ +node_modules conf.json +security.txt diff --git a/app.js b/app.js index b8e2f47..eb00fd5 100755 --- a/app.js +++ b/app.js @@ -1,7 +1,5 @@ #!/usr/bin/env node -'use strict'; - const express = require('express'); const http = require('http'); const path = require('path'); @@ -22,16 +20,33 @@ const interfaceName = 'wlan0'; const nmInterfaceName = 'Arda'; const systemFolder = path.join(__dirname, 'sys'); const systemLogsFile = path.join(__dirname, 'static/logs.txt'); +const nodeName = execSync('uname -n').toString().replace('\n', ''); + //const availablePins = ['11','12','68','15','16','17','55','54','56','65','64','69','74','73','71','57','76','72','77','78','79','80','75','70']; // For RockPiS //const availablePins = ['1','2','3','4','5','6','7','8','9','10','12','13','14','15','16','17','18','19']; // For NanoPiNEO-LTS const availablePins = ['1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','30']; // For Orange Pi Zero const availableTaskTypes = ['turnOn', 'turnOff', 'unlink', 'linkToInput', 'setMonostable', 'setBistable', 'removePin', 'renamePin', 'renameBoard']; -var ioData; -var sessions = []; -var inputs = []; -var outputs = []; -var runningTasks = {}; +let ioData = {}; +let sessions = []; +let inputs = []; +let outputs = []; +let runningTasks = {}; + +const unsupportedBoard = () => { + console.error(`Unsupported board type (${nodeName})! Exiting...`); + process.exit(1); +}; + +if(nodeName == "NanoPi-NEO") { + const availablePins = ['1','2','3','4','5','6','7','8','9','10','12','13','14','15','16','17','18','19']; +} else if(nodeName == "orangepizero") { + const availablePins = ['1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','30']; +} else if(nodeName == "rockpis") { + const availablePins = ['11','12','68','15','16','17','55','54','56','65','64','69','74','73','71','57','76','72','77','78','79','80','75','70']; +} else { + unsupportedBoard(); +} /* SOFTWARE PERM VALIDATION */ const controlMAC = () => { @@ -135,6 +150,7 @@ app.get('/static-ip/set', (req, res) => { app.get('/index.htm', (req, res) => { let command = parseInt(req.query.execute); + if(!isNaN(command) && command > 0) { if(command >= 200) { let pinNumber = command - 200; @@ -381,7 +397,17 @@ const addPin = (pin, mode, timeout, callback) => { if(availablePins.includes(pin) && (mode == '0' || mode == '1' || (mode == '2' && !isNaN(timeout) && timeout > 0))) { let modeStr = (mode == '0') ? 'in' : 'out'; let name = (mode == '0') ? `Input ${pin}` : `Relay ${pin}`; - exec(`gpio mode ${pin} ${modeStr} && gpio read ${pin}`, (err, stdout, stderr) => { + let command = ''; + + if(nodeName == 'NanoPi-NEO' || nodeName == 'orangepizero') { + command = `gpio mode ${pin} ${modeStr} && gpio read ${pin}`; + } else if(nodeName == 'rockpis') { + command = `bash sys/${modeStr}.sh ${pin} && bash sys/read.sh ${pin}`; + } else { + unsupportedBoard(); + } + + exec(command, (err, stdout, stderr) => { if(err) { console.error('GPIO Pin Adding Operation Error: ' + err); callback(false); @@ -427,7 +453,17 @@ const addPin = (pin, mode, timeout, callback) => { const changeState = (pin, state, callback) => { if((state == '1' || state == '0') && ioData.controllable_pins[pin] != '0') { let stateStr = (state == '1' ? 'on' : 'off'); - exec(`gpio write ${pin} ${stateStr}`, (err, stdout, stderr) => { + let command = ''; + + if(nodeName == 'NanoPi-NEO' || nodeName == 'orangepizero') { + command = `gpio write ${pin} ${stateStr}`; + } else if(nodeName == 'rockpis') { + command = `bash sys/${stateStr}.sh ${pin}`; + } else { + unsupportedBoard(); + } + + exec(command, (err, stdout, stderr) => { if(err) { console.error(err); return false; @@ -458,8 +494,17 @@ const changeState = (pin, state, callback) => { const readState = (pin, callback) => { if(pin in ioData.controllable_pins) { - let readFilePath = path.join(systemFolder, 'read.sh'); - exec(`gpio read ${pin}`, (err, stdout, stderr) => { + let command = ''; + + if(nodeName == 'NanoPi-NEO' || nodeName == 'orangepizero') { + command = `gpio read ${pin}`; + } else if(nodeName == 'rockpis') { + command = `bash sys/read.sh ${pin}`; + } else { + unsupportedBoard(); + } + + exec(command, (err, stdout, stderr) => { if(err) { console.error(err); return false; @@ -554,7 +599,7 @@ const initData = () => { } ioData = JSON.parse(data); - + ioData.initTime = new Date(); if(!ioData.boardName || ioData.boardName == '' || ioData.boardName == null) { ioData.boardName = Math.random().toString(36).slice(2); @@ -562,7 +607,7 @@ const initData = () => { if(!(Object.keys(ioData).includes("controllable_pins"))) { ioData.controllable_pins = {}; } - for(var [key, value] of Object.entries(ioData.controllable_pins)) { + for(const [key, value] of Object.entries(ioData.controllable_pins)) { if(!availablePins.includes(key)) { console.log("Pin number " + key + " is not valid! Removing it from JSON."); delete ioData.controllable_pins[key]; @@ -571,16 +616,18 @@ const initData = () => { if(!(ioData.pinOrder.includes(key))) { ioData.pinOrder.push(key); } - let _timeout = (value == '2') ? ioData.timeouts[key] : '0'; + const _timeout = (value == '2') ? ioData.timeouts[key] : '0'; + const _isLinkedOutput = (value != '0') ? (Object.values(ioData.links).includes(key)) : false; + addPin(key, value, _timeout, (success) => { if(success != true) { - console.log('An error while initializing pin ' + key + ' with mode number ' + value + ' and timeout ' + _timeout); + // TODO: Fix Error Logging //console.log('An error while initializing pin ' + key + ' with mode number ' + value + ' and timeout ' + _timeout); return; } - if(value != '0' && Object.values(ioData.links).includes(key)) { + if(value != '0' && _isLinkedOutput) { changeState(key, 0, success => { if(success != true) { - console.log('Error on initData while dealing with linked output pin.'); + // TODO: Fix Error Logging //console.log('Error on initData while dealing with linked output pin.'); return; } }); diff --git a/app.rockpis.js b/app.rockpis.js deleted file mode 100755 index 3a4d966..0000000 --- a/app.rockpis.js +++ /dev/null @@ -1,920 +0,0 @@ -#!/usr/bin/env node - -'use strict'; - -const express = require('express'); -const http = require('http'); -const path = require('path'); -const app = module.exports.app = express(); -const os = require('os'); -const CronJob = require('cron').CronJob; -const server = http.createServer(app); -const serverPort = 80; -const io = require('socket.io')(server); -const fs = require('fs'); -const { exec, execSync } = require('child_process'); -const validationToken = fs.readFileSync('./security.txt').toString().replace('\n', ''); -const httpAuthentication = { - "username": "admin", - "password": "password" -}; -const systemFolder = path.join(__dirname, 'sys'); -const systemLogsFile = path.join(__dirname, 'static/logs.txt'); -const availablePins = ['11','12','68','15','16','17','55','54','56','65','64','69','74','73','71','57','76','72','77','78','79','80','75','70']; // For RockPiS -//const availablePins = ['1','2','3','4','5','6','7','8','9','10','12','13','14','15','16','17','18','19']; // For NanoPiNEO-LTS -//const availablePins = ['1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','30']; // For Orange Pi Zero -const availableTaskTypes = ['turnOn', 'turnOff', 'unlink', 'linkToInput', 'setMonostable', 'setBistable']; - -var ioData; -var sessions = []; -var inputs = []; -var outputs = []; -var runningTasks = {}; - -/* SOFTWARE PERM VALIDATION */ -const controlMAC = () => { - if(os.networkInterfaces().wlan0[0].mac.slice(os.networkInterfaces().wlan0[0].mac.toString().length - 5).toString() != validationToken.toString()) { - console.error('This software is a property of Progettihwsw Sas and can only be used on permitted machines! Aborting process...'); - http.get('http://www.progettihwsw.com/unpermitted_usage.php?mac=' + os.networkInterfaces().wlan0[0].mac); - process.exit(1); - } -}; - -controlMAC(); -setInterval(controlMAC, 10000); - -app.use(function(req, res, next) { - res.header("Access-Control-Allow-Origin", "*"); // update to match the domain you will make the request from - res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept"); - next(); -}); - -app.use(express.static(path.join(__dirname, 'static'))); - -app.get('/', (req, res) => { - res.sendFile(path.join(__dirname, 'static/index.html')); -}); - -app.get('/getconf', (req, res) => { - res.end(fs.readFileSync('./conf.json')); -}); - -app.get('/settings', (req, res) => { - res.sendFile(path.join(__dirname, 'static/settings.html')); -}); - -app.get('/reboot', (req, res) => { - if(!req.headers.authorization || req.headers.authorization.indexOf('Basic ') === -1) { - res.statusCode = 401; - res.setHeader('WWW-Authenticate', 'Basic realm="Secure Area"'); - res.end('Authorization is required!'); - } - const base64Credentials = req.headers.authorization.split(' ')[1]; - const credentials = Buffer.from(base64Credentials, 'base64').toString('ascii'); - const [username, password] = credentials.split(':'); - if(username != httpAuthentication.username || password != httpAuthentication.password) { - res.statusCode = 401; - res.write('Invalid Authentication Credentials!'); - } - try { - res.send('The request has been sent to the server!'); - execSync('systemctl reboot'); - } catch(e) { - res.send('An error occured while processing your request. Try again later.'); - } -}); - -app.get('/static-ip', (req, res) => { - res.sendFile(path.join(__dirname, 'static/static-ip.html')); -}); - -app.get('/static-ip/get', (req, res) => { - res.writeHead(200, { 'Content-Type': 'text/json' }); - res.write('{ "ip-address": "' + os.networkInterfaces().wlan0[0].address + '", "gateway-ip-address": "' + execSync("ip r | grep wlan0 | grep default | cut -d ' ' -f 3 | head -n1").toString().replace('\n', '') + '", "dhcp": "'+ ((execSync('nmcli c s Arda | grep "ipv4.method" | tail -c 5').toString().replace('\n', '')) == 'auto' ? 'true' : 'false') +'" }'); - res.end(); -}); - -app.get('/static-ip/set', (req, res) => { - if(!req.headers.authorization || req.headers.authorization.indexOf('Basic ') === -1) { - res.statusCode = 401; - res.setHeader('WWW-Authenticate', 'Basic realm="Secure Area"'); - res.end('Authorization is required!'); - } - const base64Credentials = req.headers.authorization.split(' ')[1]; - const credentials = Buffer.from(base64Credentials, 'base64').toString('ascii'); - const [username, password] = credentials.split(':'); - if(username != httpAuthentication.username || password != httpAuthentication.password) { - res.statusCode = 401; - res.write('Invalid Authentication Credentials!'); - } - try { - execSync(`nmcli connection modify 'Arda' connection.autoconnect yes ipv4.method ${(req.query.dhcp == 'true') ? 'auto' : 'manual'} ipv4.addresses ${req.query['ip-address']}/24 ipv4.gateway ${req.query['gateway-ip-address']} ipv4.dns 8.8.8.8,8.8.4.4`); - res.write('IP address has been succesfully set. Please reboot the board to apply the changes.'); - res.end(); - } catch(e) { - res.write('An error occured while processing your request. Try again later.'); - res.end(); - } -}); - -app.get('/index.htm', (req, res) => { - let command = req.query.execute.parseInt(); - if(!isNaN(command) && command > 0) { - if(command >= 200) { - let pinNumber = command - 200; - if(pinNumber in ioData.controllable_pins) { - setMonostable(pinNumber, "5000", success => { - if(success != true) { - res.write('An error occured'); - res.end(); - return; - } - res.write('Success'); - res.end(); - }); - } - } else if(command >= 116 && command < 200) { - let pinNumber = command - 116; - if(pinNumber in ioData.controllable_pins) { - changeState(pinNumber, '0', success => { - if(success != true) { - res.write('An error occured'); - res.end(); - return; - } - res.write('Success'); - res.end(); - }); - } - } else if(command >= 16 && command < 116) { - let pinNumber = command - 16; - if(pinNumber in ioData.controllable_pins) { - changeState(pinNumber, '1', success => { - if(success != true) { - res.write('An error occured'); - res.end(); - return; - } - res.write('Success'); - res.end(); - }); - } - } else if(command >= 0 && command < 16) { - let pinNumber = command; - if(pinNumber in ioData.controllable_pins) { - readState(pinNumber, state => { - if(state != true) { - res.write('An error occured'); - res.end(); - return; - } - let changeTo = (state == '1') ? '0' : '1'; - changeState(pinNumber, changeTo, success => { - if(success != true) { - res.write('An error occured'); - res.end(); - return; - } - res.write('Success'); - res.end(); - }); - }); - } - } else { - res.write('Invalid command sent!'); - res.end(); - } - } else { - res.write('Error'); - res.end(); - } -}); - -app.get('/link/:input/:output', (req, res) => { - let input = req.params.input.toString(); - let output = req.params.output.toString(); - linkPins(input, output, success => { - if(success != true) { - console.log("Error while linking pin " + input + ' to output ' + output + ' on GET request.'); - res.end('Failed to link pins.'); - } - res.end('Success!'); - }); -}); - -app.get('/rename-board/:name', (req, res) => { - let name = req.params.name.toString(); - renameBoard(name, success => { - if(success != true) { - console.log('Error while renaming board!'); - res.end('Failed to rename board.'); - } - res.end('Success'); - }); -}); - -app.get('/rename/:pin/:name', (req, res) => { - let pin = req.params.pin.toString(); - let name = req.params.name.toString(); - renamePin(pin, name, success => { - if(success != true) { - console.log('Error while renaming pin!'); - res.end('Failed to rename pin.'); - } - res.end('Success'); - }); -}); - -app.get('/unlink/:pin', (req, res) => { - let pin = req.params.pin.toString(); - unlinkPin(pin, success => { - if(success != true) { - console.log('Error while unlinking pin ' + pin + '.'); - res.end('Failed to unlink pin.'); - } - res.end('Success!'); - }); -}); - -app.get('/remove/:pin', (req, res) => { - let pin = req.params.pin.toString(); - removePin(pin, success => { - if(success != true) { - console.log('Pin number ' + pin + ' cannot be removed!'); - res.end('Fail to remove pin!'); - return; - } - res.end('Success!'); - return; - }); -}); - -app.get('/set/:pin/:state', (req, res) => { - let pin = req.params.pin.toString(); - let state = req.params.state.toString(); - if(availablePins.includes(pin) && !(Object.values(ioData.links).includes(pin)) && ioData.controllable_pins[pin] != '0' && (state == 'on' || state == 'off')) { - let stateNum = state == 'on' ? '1' : '0'; - changeState(pin, stateNum, success => { - if(success != true) { - console.error('Error on changing state for pin ' + pin); - res.end('An internal system error has occured!'); - return; - } - res.end('Success!'); - }); - } else { - res.end('Invalid request parameters!'); - } -}); -app.get('/get/:pin', (req, res) => { - let pin = req.params.pin.toString(); - if(!(availablePins.includes(pin))) { - res.end('Invalid pin!'); - return; - } - readState(pin, result => { - res.end('{"pin": "'+pin+'", "state": "'+result+'"}'); - return; - }); - return; -}); -app.get('/add/:pin/:dir/:timeout?', (req, res) => { - let pin = req.params.pin.toString(); - let dir = req.params.dir.toString(); - let timeout = '0'; - if(req.params.timeout) { - timeout = req.params.timeout.toString(); - } - let availableOptions = { - 'as output': '1', - 'monostable': '2', - 'bistable': '1', - 'as input': '0' - }; - if(!(dir in availableOptions) || !(availablePins.includes(pin))) { - console.log('Invalid parameters sent to /add/'); - res.end('Invalid request parameters sent!'); - return; - } - let mode = availableOptions[dir]; - if(mode == '2' && (!timeout || isNaN(timeout) || timeout < 1)) { - res.end('Fail: Monostable mode has requested but no timeout has sent!'); - return; - } - addPin(pin, mode, (mode == '2' ? timeout : 0), success => { - if(success != true) { - console.log('System error while adding new pin'); - res.end('System error while adding new pin!'); - return; - } - res.end('Pin number ' + pin + ' has been added ' + dir); - return; - }); -}); - -app.get('/data', (req, res) => { - res.type('application/xml'); - res.write(''); - ioData.pinOrder.forEach((item, i) => { - if(item in ioData.controllable_pins) { - let direction; - if(ioData.controllable_pins[item] == '1') { direction = 'Bistable Output'; } else if(ioData.controllable_pins[item] == '2') { direction = 'Monostable Output('+ ioData.timeouts[item] +'ms)'; } else { direction = 'Input'; } - res.write(''+ ioData.pinNames[item] +''+ item +''+ direction +''+ ((ioData.pinStates[item] == '1') ? 'ON' : 'OFF') +''); - } - }); - res.write(''); - res.end(); -}); - -app.get('/status', (req, res) => { - res.writeHead(200, { 'Content-Type': 'text/html' }); - res.write(``); - res.write(''); - ioData.pinOrder.forEach((item, i) => { - let direction; - if(ioData.controllable_pins[item] == '1') { - direction = 'Bistable Output'; - } else if(ioData.controllable_pins[item] == '2') { - direction = 'Monostable Output('+ ioData.timeouts[item] +'ms)'; - } else { - direction = 'Input'; - } - res.write(``); - }); - res.write('
GPIO NumberNameDirectionValue
${item}${ioData.pinNames[item]}${direction}${ioData.pinStates[item] == '1' ? 'ON' : 'OFF'}
'); - res.end(); -}); - -const addPin = (pin, mode, timeout, callback) => { - if(availablePins.includes(pin) && (mode == '0' || mode == '1' || (mode == '2' && !isNaN(timeout) && timeout > 0))) { - let modeStr = (mode == '0') ? 'in' : 'out'; - let name = (mode == '0') ? 'Input ' + pin : 'Relay ' + pin; - exec(`bash sys/${modeStr}.sh ${pin} && bash sys/read.sh ${pin}`, (err, stdout, stderr) => { - if(err) { - console.error('GPIO Pin Adding Operation Error: ' + err); - callback(false); - return; - } - if(stderr) { - console.error('GPIO Pin Adding Operation Error: ' + stderr); - callback(false); - return; - } - ioData.controllable_pins[pin] = mode; - let pinState = stdout.toString().replace("\n", ""); - pinState = pinState[pinState.length - 1]; - if(pinState == '1' || pinState == '0') { - ioData.pinStates[pin] = pinState; - if(!ioData.pinOrder.includes(pin)) { - ioData.pinOrder.push(pin); - } - if(!ioData.pinNames[pin] || ioData.pinNames[pin] == undefined || ioData.pinNames[pin] == null) { - ioData.pinNames[pin] = (mode == '0') ? 'Input ' + pin : 'Relay ' + pin; - } - if(mode == '0' && inputs.indexOf(pin) == -1) { - inputs.push(pin.toString()); - } else if(mode != '0' && outputs.indexOf(pin) == -1) { - outputs.push(pin.toString()); - } - emitAllClients('pinHasAdded', {'pin': pin, 'direction': mode, 'name': name}); - emitAllClients('stateHasChanged', {'pin': pin, 'state': pinState}); - callback(true); - } else { - console.error('Error while adding pin number ' + pin + '.'); - callback(false); - return; - } - }); - } else { - console.error('Invalid request on adding new pin!'); - callback(false); - return; - } -}; - -const changeState = (pin, state, callback) => { - /*if(Object.values(ioData.links).includes(pin)) { - ioData.controllable_pins[pin] = '1'; - for(var i in ioData.links) { - if(ioData.links[i] == pin) { - emitAllClients('stateHasChanged', {'pin': pin, 'state': ioData.pinStates[i]}); - callback(true); - return; - } - } - }*/ - if((state == '1' || state == '0') && ioData.controllable_pins[pin] != '0') { - let stateStr = (state == '1' ? 'on' : 'off'); - exec(`bash sys/${stateStr}.sh ${pin}`, (err, stdout, stderr) => { - if(err) { - console.error(err); - return false; - } - if(stderr) { - console.log(stderr); - return false; - } - ioData.pinStates[pin] = state; - if(state == '1' && ioData.controllable_pins[pin] == '2' && !isNaN(ioData.timeouts[pin]) && ioData.timeouts[pin] > 0) { - setTimeout(() => { - changeState(pin, 0, success => { - if(success != true) { - console.log('Cannot turn off monostable output number ' + pin + '.'); - return; - } - }); - }, ioData.timeouts[pin]); - } - emitAllClients('stateHasChanged', {'pin': pin, 'state': state}); - }); - callback(true); - } else { - console.log('Error at changeState().'); - callback(false); - } -}; - -const readState = (pin, callback) => { - if(pin in ioData.controllable_pins) { - let readFilePath = path.join(systemFolder, 'read.sh'); - exec(`bash sys/read.sh ${pin}`, (err, stdout, stderr) => { - if(err) { - console.error(err); - return false; - } - if(stderr) { - console.log(stderr); - return false; - } - let output = stdout.toString().replace('\n', ''); - output = output[output.length - 1]; - if(output == '1' || output == '0') { - ioData.pinStates[pin] = output.toString(); - callback(output); - return true; - } - console.error('Invalid response in read operation.'); - return false; - }); - } else { - console.log('Error at readState().'); - return false; - } -}; - -const removePin = (pin, callback) => { - if(pin in ioData.controllable_pins) { - unlinkPin(pin, success => { - if(success != true) { - console.log('Error while unlinking pin ' + pin + '.'); - return; - } - }); - ioData.pinOrder.splice(ioData.pinOrder.indexOf(pin), 1); - if(inputs.indexOf(pin) > -1) { - inputs.splice(inputs.indexOf(pin), 1); - } else if (outputs.indexOf(pin) > -1) { - outputs.splice(outputs.indexOf(pin), 1); - } - delete ioData.controllable_pins[pin]; - delete ioData.pinStates[pin]; - delete ioData.pinNames[pin]; - emitAllClients('pinHasRemoved', {'pin': pin}); - callback(true); - }else{ - console.log('Pin cannot be removed(' + pin + ').'); - callback(false); - } -}; - -const renamePin = (pin, name, callback) => { - if(pin in ioData.controllable_pins && (name != '' || name.length > 0)) { - ioData.pinNames[pin] = name; - emitAllClients('pinHasRenamed', {'pin': pin, 'name': name}); - callback(true); - }else{ - console.log('Pin cannot be renamed(' + pin + ').'); - callback(false); - } -}; - -const renameBoard = (name, callback) => { - if(name != '' || name.length > 0) { - ioData.boardName = name; - emitAllClients('boardHasRenamed', {'name': name}); - callback(true); - }else{ - console.log('Board cannot be renamed.'); - callback(false); - } -}; - -const linkPins = (input, output, callback) => { - if(ioData.controllable_pins[input] == '0' && ioData.controllable_pins[output] != '0') { - ioData.links[input] = output; - changeState(output, 0, success => { - if(success != true) { - console.log('Error on linking pins.'); - return; - } - emitAllClients('pinHasBeenLinked', {'input': input, 'output': output}); - return; - }); - } -}; - -const initData = () => { - let _confPath = path.join(__dirname, 'conf.json'); - let data = {}; - - if(fs.existsSync(_confPath)) { - data = fs.readFileSync(_confPath); - } - - ioData = JSON.parse(data); - - ioData.initTime = new Date(); - if(!ioData.boardName || ioData.boardName == '' || ioData.boardName == null) { - ioData.boardName = Math.random().toString(36).slice(2); - } - if(!(Object.keys(ioData).includes("controllable_pins"))) { - ioData.controllable_pins = {}; - } - for(var [key, value] of Object.entries(ioData.controllable_pins)) { - if(!availablePins.includes(key)) { - console.log("Pin number " + key + " is not valid! Removing it from JSON."); - delete ioData.controllable_pins[key]; - continue; - } - if(!(ioData.pinOrder.includes(key))) { - ioData.pinOrder.push(key); - } - let _timeout = (value == '2') ? ioData.timeouts[key] : '0'; - addPin(key, value, _timeout, (success) => { - if(success != true) { - console.log('An error while initializing pin ' + key + ' with mode number ' + value + ' and timeout ' + _timeout); - return; - } - if(value != '0' && Object.values(ioData.links).includes(key)) { - changeState(key, 0, success => { - if(success != true) { - console.log('Error on initData while dealing with linked output pin.'); - return; - } - }); - } - }); - } - initTasks(); - saveData(); -}; - -const newTask = (cronData, initExisting, uniqueId) => { - if(uniqueId == null || uniqueId == undefined || uniqueId == '') { - uniqueId = Math.random().toString(36).slice(2); - } - if(initExisting != true) { - ioData.activeTasks[uniqueId] = cronData; - } - let taskName = cronData.taskName; - let taskType = cronData.taskType; - let datetime = cronData.datetime; - let taskValue = cronData.taskValue; - let outputPin = cronData.outputPinNumber; - let repeatEveryday = cronData.repeatEveryday; - if(repeatEveryday != '' && repeatEveryday != null && taskName != '' && taskName != null && taskType != '' && availableTaskTypes.includes(taskType) && datetime != '' && outputPin != '' && outputPin in ioData.controllable_pins && ioData.controllable_pins[outputPin] != '0') { - let dateString = new Date(datetime + '+02:00'); - let dateNow = new Date(); - if(dateString <= 0) { - console.log('Date value supplied to createTask is invalid.'); - removeTask(uniqueId); - return; - } - if(dateNow > dateString) { - console.log('Past date cannot be passed to tasks.'); - removeTask(uniqueId); - return; - } - let task = new CronJob((repeatEveryday == 'on') ? `${dateString.getMinutes()} ${dateString.getHours()} * * *` : dateString, () => { - console.log('task: ' + taskName); - if(taskType == 'turnOn' && !(Object.values(ioData.links).includes(outputPin))) { - changeState(outputPin, '1', status => { - if(status == false) { - console.log('Cannot turn on pin number ' + outputPin); - } - return; - }); - } else if(taskType == 'turnOff' && !(Object.values(ioData.links).includes(outputPin))) { - changeState(outputPin, '0', status => { - if(status == false) { - console.log('Cannot turn off pin number ' + outputPin); - } - return; - }); - } else if(taskType == 'unlink' && Object.values(ioData.links).includes(outputPin)) { - unlinkPin(outputPin, status => { - if(status == false) { - console.log('Cannot unlink pin number ' + outputPin); - } - return; - }); - } else if(taskType == 'linkToInput' && taskValue in ioData.controllable_pins && ioData.controllable_pins[taskValue] == '0') { - linkPins(taskValue, outputPin, status => { - if(status == false) { - console.log('Cannot link input pin number ' + taskValue + ' to output pin number ' + outputPin + '.'); - } - return; - }); - } else if(taskType == 'setBistable') { - setBistable(outputPin, status => { - if(status == false) { - console.log('Cannot set pin number ' + outputPin + ' as a bistable output.'); - } - return; - }); - } else if(taskType == 'setMonostable' && !isNaN(taskValue) && taskValue > 0) { - setMonostable(outputPin, taskValue, status => { - if(status == false) { - console.log('Cannot set pin number ' + outputPin + ' as a monostable output with timeout of' + taskValue + '.'); - } - return; - }); - } else { - console.log('Unexpected task type or a linked output pin.'); - } - if(repeatEveryday != 'on') { - removeTask(uniqueId); - } - }); - task.start(); - runningTasks[uniqueId] = task; - cronData.uniqueId = uniqueId; - emitAllClients('newTaskCreated', cronData); - } else { - console.log('One of the tasks is invalid. Removing it...'); - removeTask(uniqueId); - return; - } -}; - -const initTasks = () => { - for(let [uniqueId, cronData] of Object.entries(ioData.activeTasks)) { - newTask(cronData, true, uniqueId); - continue; - } -}; - -const removeTask = uniqueId => { - if(uniqueId in ioData.activeTasks) { - if(uniqueId in runningTasks) { - let taskInstance = runningTasks[uniqueId]; - let stopTask = taskInstance.stop(); - if(stopTask != false) { - console.log('Task Removed: ' + ioData.activeTasks[uniqueId].taskName); - } else { - console.log('Task Not Removed: ' + ioData.activeTasks[uniqueId].taskName); - return; - } - } - delete ioData.activeTasks[uniqueId]; - emitAllClients('taskHasBeenRemoved', {'uniqueId': uniqueId}); - } -}; - -const saveData = () => { - let jsonData = JSON.stringify(ioData, null, "\t"); - try { - let parse = JSON.parse(jsonData); - } catch(e) { - console.log('Invalid JSON object to store!'); - console.dir(jsonData); - return false; - } - fs.writeFileSync('conf.json', jsonData); -}; - -const emitAllClients = (event, msg) => { - io.emit(event, msg); -}; - -const checkInputPins = () => { - inputs.forEach(key => { - let currentState = ioData.pinStates[key]; - readState(key, (out) => { - if(out != currentState) { - emitAllClients('stateHasChanged', {'pin': key, 'state': out}); - if(ioData.controllable_pins[key] == '0' && out == '1' && key in ioData.links) { - if(!(ioData.controllable_pins[ioData.links[key]] == '2' && ioData.pinStates[ioData.links[key]] == '1')) { - changeState(ioData.links[key], (ioData.pinStates[ioData.links[key]] == '1' ? (ioData.controllable_pins[ioData.links[key]] == '2' ? '1' : '0') : '1'), success => { - if(success != true) { - console.log('Error while setting state for linked output pin.'); - return; - } - return; - }); - } - } - } - return; - }); - }); -}; - -const checkOutputPins = () => { - outputs.forEach(key => { - let currentState = ioData.pinStates[key]; - readState(key, (out) => { - if(out != currentState) { - emitAllClients('stateHasChanged', {'pin': key, 'state': out}); - return; - } - return; - }); - return; - }); -}; - -const unlinkPin = (pin, callback) => { - if(pin in ioData.links || Object.values(ioData.links).includes(pin)) { - if(ioData.controllable_pins[pin] != '0') { - for(var i in ioData.links) { - if(ioData.links[i] == pin) { - delete ioData.links[i]; - emitAllClients('pinHasBeenUnlinked', {'input': i}); - callback(true); - } - } - } else { - delete ioData.links[pin]; - emitAllClients('pinHasBeenUnlinked', {'input': pin}); - callback(true); - } - } else { - callback(false); - } -}; - -const setMonostable = (pin, timeout, callback) => { - if(!isNaN(timeout) && timeout > 0 && (ioData.controllable_pins[pin] == '1' || ioData.controllable_pins[pin] == '2')) { - ioData.timeouts[pin] = timeout; - ioData.controllable_pins[pin] = '2'; - callback(true); - return true; - } - callback(false); - return false; -}; - -const setBistable = (pin, callback) => { - if(ioData.controllable_pins[pin] == '1' || ioData.controllable_pins[pin] == '2') { - ioData.timeouts[pin] = 0; - ioData.controllable_pins[pin] = '1'; - callback(true); - return true; - } - callback(false); - return false; -}; - -const windowsblueStatusUpdater = () => { - var queryString = ioData.boardName.replace(/s+/g, '') + '_'; - ioData.pinOrder.forEach((item, i) => { - if(item.toString() in ioData.controllable_pins) { - let name = ioData.pinNames[item.toString()]; - let nameSpaceless = name.replace(/\s+/g, ''); - let valueStr = (ioData.pinStates[item] == '1') ? 'ON' : 'OFF'; - queryString += nameSpaceless + 'is' + valueStr + '_'; - } - }); - queryString = queryString.slice(0, -1); - http.get(`http://windowsblue.it/boards.php?in=${encodeURIComponent(queryString)}`); -}; - -initData(); - -setInterval(checkInputPins, 300); -setInterval(checkOutputPins, 4000); -setInterval(saveData, 5000); -//setInterval(windowsblueStatusUpdater, 60000); - -/* Socket */ - -io.on('connection', (socket) => { - sessions.push(socket.id); - - socket.on('ioRequest', () => { - socket.emit('gpioData', ioData); - }); - - socket.on('stateChangeRequest', ({ pin, state }) => { - if(Object.values(ioData.links).includes(pin)) { - console.log('Linked output pins cannot be controlled manually.'); - emitAllClients('stateHasChanged', {'pin': pin, 'state': ioData.pinStates[pin]}); - } else { - changeState(pin, state, success => { - if(success != true) { - console.log("Error at stateChangeRequest!"); - return; - } - }); - } - }); - - socket.on('bistableRequest', ({ pin }) => { - setBistable(pin, success => { - if(success != true) { - console.log('An error occured while setting bistable pin ' + pin + '.'); - return; - } - }); - }); - - socket.on('linkToInput', ({ input, output }) => { - linkPins(input, output, success => { - if(success != true) { - console.log('Error while linking input ' + input + ' to output ' + output + '.'); - return; - } - }); - }); - - socket.on('unlinkPin', ({ pin }) => { - unlinkPin(pin, success => { - if(success != true) { - console.log('Error while unlinking pin ' + pin + '.'); - return; - } - }); - }); - - socket.on('monostableRequest', ({ pin, timeout }) => { - setMonostable(pin, timeout, success => { - if(success != true) { - console.log('An error occured while setting monostable pin ' + pin + ' with timeout of ' + timeout + '.'); - return; - } - }); - }); - - socket.on('addNewTask', (taskData) => { - newTask(taskData); - }); - - socket.on('getRunningTasks', () => { - emitAllClients('activeTasks', ioData.runningTasks); - }); - - socket.on('removeTaskRequest', ({ uniqueId }) => { - removeTask(uniqueId); - }); - - socket.on('newPinRequest', ({ pin, direction }) => { - addPin(pin, direction, 0, success => { - if(success != true) { - console.log('An error occured while adding pin ' + pin + ' with direction number ' + direction); - return; - } - }); - }); - - socket.on('removePinRequest', ({ pin }) => { - removePin(pin, success => { - if(success != true) { - console.log('An error occured while removing pin ' + pin + '.'); - return; - } - }); - }); - - socket.on('renamePinRequest', ({ pin, name }) => { - renamePin(pin, name, success => { - if(success != true) { - console.log('An error occured while renaming pin ' + pin + '.'); - return; - } - }); - }); - - socket.on('renameBoardRequest', ({ name }) => { - renameBoard(name, success => { - if(success != true) { - console.log('An error occured while renaming board.'); - return; - } - }); - }); - - socket.on('disconnect', () => { - console.log('Socket is disconnected with ID: ' + socket.id); - sessions.splice(sessions.indexOf(socket.id), 1); - }); - -}); - -const listen = server.listen(serverPort || '80'); - -process.once('SIGUSR2', function () { - listen.close(function () { - process.kill(process.pid, 'SIGUSR2'); - }); -}); diff --git a/conf.json b/conf.json deleted file mode 100755 index b281089..0000000 --- a/conf.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "pinNames": { - "1": "Relay 1", - "3": "Input 3", - "4": "Input 4", - "11": "Input 11", - "12": "Relay 12", - "13": "Relay 13", - "14": "Relay 14", - "15": "Relay 15", - "16": "Relay 16" - }, - "boardName": "Test", - "pinStates": { - "1": "0", - "3": "0", - "4": "1", - "11": "0", - "12": "0", - "13": "1", - "14": "0", - "15": "1", - "16": "1" - }, - "links": {}, - "timeout": {}, - "controllable_pins": { - "1": "1", - "3": "0", - "4": "0", - "11": "0", - "12": "1", - "13": "1", - "14": "1", - "15": "1", - "16": "1" - }, - "pinOrder": [ - "1", - "11", - "12", - "13", - "14", - "15", - "16", - "3", - "4" - ], - "activeTasks": {}, - "initTime": "2020-06-21T17:13:57.886Z" -} \ No newline at end of file diff --git a/node_modules/.bin/jshint b/node_modules/.bin/jshint deleted file mode 120000 index 1b5b30c..0000000 --- a/node_modules/.bin/jshint +++ /dev/null @@ -1 +0,0 @@ -../jshint/bin/jshint \ No newline at end of file diff --git a/node_modules/.bin/mime b/node_modules/.bin/mime deleted file mode 120000 index fbb7ee0..0000000 --- a/node_modules/.bin/mime +++ /dev/null @@ -1 +0,0 @@ -../mime/cli.js \ No newline at end of file diff --git a/node_modules/.bin/shjs b/node_modules/.bin/shjs deleted file mode 120000 index a044997..0000000 --- a/node_modules/.bin/shjs +++ /dev/null @@ -1 +0,0 @@ -../shelljs/bin/shjs \ No newline at end of file diff --git a/node_modules/.bin/strip-json-comments b/node_modules/.bin/strip-json-comments deleted file mode 120000 index 63d549f..0000000 --- a/node_modules/.bin/strip-json-comments +++ /dev/null @@ -1 +0,0 @@ -../strip-json-comments/cli.js \ No newline at end of file diff --git a/node_modules/accepts/HISTORY.md b/node_modules/accepts/HISTORY.md deleted file mode 100644 index 0bf0417..0000000 --- a/node_modules/accepts/HISTORY.md +++ /dev/null @@ -1,236 +0,0 @@ -1.3.7 / 2019-04-29 -================== - - * deps: negotiator@0.6.2 - - Fix sorting charset, encoding, and language with extra parameters - -1.3.6 / 2019-04-28 -================== - - * deps: mime-types@~2.1.24 - - deps: mime-db@~1.40.0 - -1.3.5 / 2018-02-28 -================== - - * deps: mime-types@~2.1.18 - - deps: mime-db@~1.33.0 - -1.3.4 / 2017-08-22 -================== - - * deps: mime-types@~2.1.16 - - deps: mime-db@~1.29.0 - -1.3.3 / 2016-05-02 -================== - - * deps: mime-types@~2.1.11 - - deps: mime-db@~1.23.0 - * deps: negotiator@0.6.1 - - perf: improve `Accept` parsing speed - - perf: improve `Accept-Charset` parsing speed - - perf: improve `Accept-Encoding` parsing speed - - perf: improve `Accept-Language` parsing speed - -1.3.2 / 2016-03-08 -================== - - * deps: mime-types@~2.1.10 - - Fix extension of `application/dash+xml` - - Update primary extension for `audio/mp4` - - deps: mime-db@~1.22.0 - -1.3.1 / 2016-01-19 -================== - - * deps: mime-types@~2.1.9 - - deps: mime-db@~1.21.0 - -1.3.0 / 2015-09-29 -================== - - * deps: mime-types@~2.1.7 - - deps: mime-db@~1.19.0 - * deps: negotiator@0.6.0 - - Fix including type extensions in parameters in `Accept` parsing - - Fix parsing `Accept` parameters with quoted equals - - Fix parsing `Accept` parameters with quoted semicolons - - Lazy-load modules from main entry point - - perf: delay type concatenation until needed - - perf: enable strict mode - - perf: hoist regular expressions - - perf: remove closures getting spec properties - - perf: remove a closure from media type parsing - - perf: remove property delete from media type parsing - -1.2.13 / 2015-09-06 -=================== - - * deps: mime-types@~2.1.6 - - deps: mime-db@~1.18.0 - -1.2.12 / 2015-07-30 -=================== - - * deps: mime-types@~2.1.4 - - deps: mime-db@~1.16.0 - -1.2.11 / 2015-07-16 -=================== - - * deps: mime-types@~2.1.3 - - deps: mime-db@~1.15.0 - -1.2.10 / 2015-07-01 -=================== - - * deps: mime-types@~2.1.2 - - deps: mime-db@~1.14.0 - -1.2.9 / 2015-06-08 -================== - - * deps: mime-types@~2.1.1 - - perf: fix deopt during mapping - -1.2.8 / 2015-06-07 -================== - - * deps: mime-types@~2.1.0 - - deps: mime-db@~1.13.0 - * perf: avoid argument reassignment & argument slice - * perf: avoid negotiator recursive construction - * perf: enable strict mode - * perf: remove unnecessary bitwise operator - -1.2.7 / 2015-05-10 -================== - - * deps: negotiator@0.5.3 - - Fix media type parameter matching to be case-insensitive - -1.2.6 / 2015-05-07 -================== - - * deps: mime-types@~2.0.11 - - deps: mime-db@~1.9.1 - * deps: negotiator@0.5.2 - - Fix comparing media types with quoted values - - Fix splitting media types with quoted commas - -1.2.5 / 2015-03-13 -================== - - * deps: mime-types@~2.0.10 - - deps: mime-db@~1.8.0 - -1.2.4 / 2015-02-14 -================== - - * Support Node.js 0.6 - * deps: mime-types@~2.0.9 - - deps: mime-db@~1.7.0 - * deps: negotiator@0.5.1 - - Fix preference sorting to be stable for long acceptable lists - -1.2.3 / 2015-01-31 -================== - - * deps: mime-types@~2.0.8 - - deps: mime-db@~1.6.0 - -1.2.2 / 2014-12-30 -================== - - * deps: mime-types@~2.0.7 - - deps: mime-db@~1.5.0 - -1.2.1 / 2014-12-30 -================== - - * deps: mime-types@~2.0.5 - - deps: mime-db@~1.3.1 - -1.2.0 / 2014-12-19 -================== - - * deps: negotiator@0.5.0 - - Fix list return order when large accepted list - - Fix missing identity encoding when q=0 exists - - Remove dynamic building of Negotiator class - -1.1.4 / 2014-12-10 -================== - - * deps: mime-types@~2.0.4 - - deps: mime-db@~1.3.0 - -1.1.3 / 2014-11-09 -================== - - * deps: mime-types@~2.0.3 - - deps: mime-db@~1.2.0 - -1.1.2 / 2014-10-14 -================== - - * deps: negotiator@0.4.9 - - Fix error when media type has invalid parameter - -1.1.1 / 2014-09-28 -================== - - * deps: mime-types@~2.0.2 - - deps: mime-db@~1.1.0 - * deps: negotiator@0.4.8 - - Fix all negotiations to be case-insensitive - - Stable sort preferences of same quality according to client order - -1.1.0 / 2014-09-02 -================== - - * update `mime-types` - -1.0.7 / 2014-07-04 -================== - - * Fix wrong type returned from `type` when match after unknown extension - -1.0.6 / 2014-06-24 -================== - - * deps: negotiator@0.4.7 - -1.0.5 / 2014-06-20 -================== - - * fix crash when unknown extension given - -1.0.4 / 2014-06-19 -================== - - * use `mime-types` - -1.0.3 / 2014-06-11 -================== - - * deps: negotiator@0.4.6 - - Order by specificity when quality is the same - -1.0.2 / 2014-05-29 -================== - - * Fix interpretation when header not in request - * deps: pin negotiator@0.4.5 - -1.0.1 / 2014-01-18 -================== - - * Identity encoding isn't always acceptable - * deps: negotiator@~0.4.0 - -1.0.0 / 2013-12-27 -================== - - * Genesis diff --git a/node_modules/accepts/LICENSE b/node_modules/accepts/LICENSE deleted file mode 100644 index 0616607..0000000 --- a/node_modules/accepts/LICENSE +++ /dev/null @@ -1,23 +0,0 @@ -(The MIT License) - -Copyright (c) 2014 Jonathan Ong -Copyright (c) 2015 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/accepts/README.md b/node_modules/accepts/README.md deleted file mode 100644 index 66a2f54..0000000 --- a/node_modules/accepts/README.md +++ /dev/null @@ -1,142 +0,0 @@ -# accepts - -[![NPM Version][npm-version-image]][npm-url] -[![NPM Downloads][npm-downloads-image]][npm-url] -[![Node.js Version][node-version-image]][node-version-url] -[![Build Status][travis-image]][travis-url] -[![Test Coverage][coveralls-image]][coveralls-url] - -Higher level content negotiation based on [negotiator](https://www.npmjs.com/package/negotiator). -Extracted from [koa](https://www.npmjs.com/package/koa) for general use. - -In addition to negotiator, it allows: - -- Allows types as an array or arguments list, ie `(['text/html', 'application/json'])` - as well as `('text/html', 'application/json')`. -- Allows type shorthands such as `json`. -- Returns `false` when no types match -- Treats non-existent headers as `*` - -## Installation - -This is a [Node.js](https://nodejs.org/en/) module available through the -[npm registry](https://www.npmjs.com/). Installation is done using the -[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally): - -```sh -$ npm install accepts -``` - -## API - - - -```js -var accepts = require('accepts') -``` - -### accepts(req) - -Create a new `Accepts` object for the given `req`. - -#### .charset(charsets) - -Return the first accepted charset. If nothing in `charsets` is accepted, -then `false` is returned. - -#### .charsets() - -Return the charsets that the request accepts, in the order of the client's -preference (most preferred first). - -#### .encoding(encodings) - -Return the first accepted encoding. If nothing in `encodings` is accepted, -then `false` is returned. - -#### .encodings() - -Return the encodings that the request accepts, in the order of the client's -preference (most preferred first). - -#### .language(languages) - -Return the first accepted language. If nothing in `languages` is accepted, -then `false` is returned. - -#### .languages() - -Return the languages that the request accepts, in the order of the client's -preference (most preferred first). - -#### .type(types) - -Return the first accepted type (and it is returned as the same text as what -appears in the `types` array). If nothing in `types` is accepted, then `false` -is returned. - -The `types` array can contain full MIME types or file extensions. Any value -that is not a full MIME types is passed to `require('mime-types').lookup`. - -#### .types() - -Return the types that the request accepts, in the order of the client's -preference (most preferred first). - -## Examples - -### Simple type negotiation - -This simple example shows how to use `accepts` to return a different typed -respond body based on what the client wants to accept. The server lists it's -preferences in order and will get back the best match between the client and -server. - -```js -var accepts = require('accepts') -var http = require('http') - -function app (req, res) { - var accept = accepts(req) - - // the order of this list is significant; should be server preferred order - switch (accept.type(['json', 'html'])) { - case 'json': - res.setHeader('Content-Type', 'application/json') - res.write('{"hello":"world!"}') - break - case 'html': - res.setHeader('Content-Type', 'text/html') - res.write('hello, world!') - break - default: - // the fallback is text/plain, so no need to specify it above - res.setHeader('Content-Type', 'text/plain') - res.write('hello, world!') - break - } - - res.end() -} - -http.createServer(app).listen(3000) -``` - -You can test this out with the cURL program: -```sh -curl -I -H'Accept: text/html' http://localhost:3000/ -``` - -## License - -[MIT](LICENSE) - -[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/accepts/master -[coveralls-url]: https://coveralls.io/r/jshttp/accepts?branch=master -[node-version-image]: https://badgen.net/npm/node/accepts -[node-version-url]: https://nodejs.org/en/download -[npm-downloads-image]: https://badgen.net/npm/dm/accepts -[npm-url]: https://npmjs.org/package/accepts -[npm-version-image]: https://badgen.net/npm/v/accepts -[travis-image]: https://badgen.net/travis/jshttp/accepts/master -[travis-url]: https://travis-ci.org/jshttp/accepts diff --git a/node_modules/accepts/index.js b/node_modules/accepts/index.js deleted file mode 100644 index e9b2f63..0000000 --- a/node_modules/accepts/index.js +++ /dev/null @@ -1,238 +0,0 @@ -/*! - * accepts - * Copyright(c) 2014 Jonathan Ong - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */ - -'use strict' - -/** - * Module dependencies. - * @private - */ - -var Negotiator = require('negotiator') -var mime = require('mime-types') - -/** - * Module exports. - * @public - */ - -module.exports = Accepts - -/** - * Create a new Accepts object for the given req. - * - * @param {object} req - * @public - */ - -function Accepts (req) { - if (!(this instanceof Accepts)) { - return new Accepts(req) - } - - this.headers = req.headers - this.negotiator = new Negotiator(req) -} - -/** - * Check if the given `type(s)` is acceptable, returning - * the best match when true, otherwise `undefined`, in which - * case you should respond with 406 "Not Acceptable". - * - * The `type` value may be a single mime type string - * such as "application/json", the extension name - * such as "json" or an array `["json", "html", "text/plain"]`. When a list - * or array is given the _best_ match, if any is returned. - * - * Examples: - * - * // Accept: text/html - * this.types('html'); - * // => "html" - * - * // Accept: text/*, application/json - * this.types('html'); - * // => "html" - * this.types('text/html'); - * // => "text/html" - * this.types('json', 'text'); - * // => "json" - * this.types('application/json'); - * // => "application/json" - * - * // Accept: text/*, application/json - * this.types('image/png'); - * this.types('png'); - * // => undefined - * - * // Accept: text/*;q=.5, application/json - * this.types(['html', 'json']); - * this.types('html', 'json'); - * // => "json" - * - * @param {String|Array} types... - * @return {String|Array|Boolean} - * @public - */ - -Accepts.prototype.type = -Accepts.prototype.types = function (types_) { - var types = types_ - - // support flattened arguments - if (types && !Array.isArray(types)) { - types = new Array(arguments.length) - for (var i = 0; i < types.length; i++) { - types[i] = arguments[i] - } - } - - // no types, return all requested types - if (!types || types.length === 0) { - return this.negotiator.mediaTypes() - } - - // no accept header, return first given type - if (!this.headers.accept) { - return types[0] - } - - var mimes = types.map(extToMime) - var accepts = this.negotiator.mediaTypes(mimes.filter(validMime)) - var first = accepts[0] - - return first - ? types[mimes.indexOf(first)] - : false -} - -/** - * Return accepted encodings or best fit based on `encodings`. - * - * Given `Accept-Encoding: gzip, deflate` - * an array sorted by quality is returned: - * - * ['gzip', 'deflate'] - * - * @param {String|Array} encodings... - * @return {String|Array} - * @public - */ - -Accepts.prototype.encoding = -Accepts.prototype.encodings = function (encodings_) { - var encodings = encodings_ - - // support flattened arguments - if (encodings && !Array.isArray(encodings)) { - encodings = new Array(arguments.length) - for (var i = 0; i < encodings.length; i++) { - encodings[i] = arguments[i] - } - } - - // no encodings, return all requested encodings - if (!encodings || encodings.length === 0) { - return this.negotiator.encodings() - } - - return this.negotiator.encodings(encodings)[0] || false -} - -/** - * Return accepted charsets or best fit based on `charsets`. - * - * Given `Accept-Charset: utf-8, iso-8859-1;q=0.2, utf-7;q=0.5` - * an array sorted by quality is returned: - * - * ['utf-8', 'utf-7', 'iso-8859-1'] - * - * @param {String|Array} charsets... - * @return {String|Array} - * @public - */ - -Accepts.prototype.charset = -Accepts.prototype.charsets = function (charsets_) { - var charsets = charsets_ - - // support flattened arguments - if (charsets && !Array.isArray(charsets)) { - charsets = new Array(arguments.length) - for (var i = 0; i < charsets.length; i++) { - charsets[i] = arguments[i] - } - } - - // no charsets, return all requested charsets - if (!charsets || charsets.length === 0) { - return this.negotiator.charsets() - } - - return this.negotiator.charsets(charsets)[0] || false -} - -/** - * Return accepted languages or best fit based on `langs`. - * - * Given `Accept-Language: en;q=0.8, es, pt` - * an array sorted by quality is returned: - * - * ['es', 'pt', 'en'] - * - * @param {String|Array} langs... - * @return {Array|String} - * @public - */ - -Accepts.prototype.lang = -Accepts.prototype.langs = -Accepts.prototype.language = -Accepts.prototype.languages = function (languages_) { - var languages = languages_ - - // support flattened arguments - if (languages && !Array.isArray(languages)) { - languages = new Array(arguments.length) - for (var i = 0; i < languages.length; i++) { - languages[i] = arguments[i] - } - } - - // no languages, return all requested languages - if (!languages || languages.length === 0) { - return this.negotiator.languages() - } - - return this.negotiator.languages(languages)[0] || false -} - -/** - * Convert extnames to mime. - * - * @param {String} type - * @return {String} - * @private - */ - -function extToMime (type) { - return type.indexOf('/') === -1 - ? mime.lookup(type) - : type -} - -/** - * Check if mime is valid. - * - * @param {String} type - * @return {String} - * @private - */ - -function validMime (type) { - return typeof type === 'string' -} diff --git a/node_modules/accepts/package.json b/node_modules/accepts/package.json deleted file mode 100644 index b7457e3..0000000 --- a/node_modules/accepts/package.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "_from": "accepts@~1.3.7", - "_id": "accepts@1.3.7", - "_inBundle": false, - "_integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", - "_location": "/accepts", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "accepts@~1.3.7", - "name": "accepts", - "escapedName": "accepts", - "rawSpec": "~1.3.7", - "saveSpec": null, - "fetchSpec": "~1.3.7" - }, - "_requiredBy": [ - "/engine.io", - "/express" - ], - "_resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", - "_shasum": "531bc726517a3b2b41f850021c6cc15eaab507cd", - "_spec": "accepts@~1.3.7", - "_where": "/root/gpio-controller/node_modules/express", - "bugs": { - "url": "https://github.com/jshttp/accepts/issues" - }, - "bundleDependencies": false, - "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - { - "name": "Jonathan Ong", - "email": "me@jongleberry.com", - "url": "http://jongleberry.com" - } - ], - "dependencies": { - "mime-types": "~2.1.24", - "negotiator": "0.6.2" - }, - "deprecated": false, - "description": "Higher-level content negotiation", - "devDependencies": { - "deep-equal": "1.0.1", - "eslint": "5.16.0", - "eslint-config-standard": "12.0.0", - "eslint-plugin-import": "2.17.2", - "eslint-plugin-markdown": "1.0.0", - "eslint-plugin-node": "8.0.1", - "eslint-plugin-promise": "4.1.1", - "eslint-plugin-standard": "4.0.0", - "mocha": "6.1.4", - "nyc": "14.0.0" - }, - "engines": { - "node": ">= 0.6" - }, - "files": [ - "LICENSE", - "HISTORY.md", - "index.js" - ], - "homepage": "https://github.com/jshttp/accepts#readme", - "keywords": [ - "content", - "negotiation", - "accept", - "accepts" - ], - "license": "MIT", - "name": "accepts", - "repository": { - "type": "git", - "url": "git+https://github.com/jshttp/accepts.git" - }, - "scripts": { - "lint": "eslint --plugin markdown --ext js,md .", - "test": "mocha --reporter spec --check-leaks --bail test/", - "test-cov": "nyc --reporter=html --reporter=text npm test", - "test-travis": "nyc --reporter=text npm test" - }, - "version": "1.3.7" -} diff --git a/node_modules/after/.npmignore b/node_modules/after/.npmignore deleted file mode 100644 index 6c78602..0000000 --- a/node_modules/after/.npmignore +++ /dev/null @@ -1,2 +0,0 @@ -node_modules -.monitor diff --git a/node_modules/after/.travis.yml b/node_modules/after/.travis.yml deleted file mode 100644 index afd72d0..0000000 --- a/node_modules/after/.travis.yml +++ /dev/null @@ -1,12 +0,0 @@ -language: node_js -node_js: - - 0.6 - - 0.8 - - 0.9 - - 0.10 - - 0.12 - - 4.2.4 - - 5.4.1 - - iojs-1 - - iojs-2 - - iojs-3 diff --git a/node_modules/after/LICENCE b/node_modules/after/LICENCE deleted file mode 100644 index 7c35130..0000000 --- a/node_modules/after/LICENCE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2011 Raynos. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. \ No newline at end of file diff --git a/node_modules/after/README.md b/node_modules/after/README.md deleted file mode 100644 index fc69096..0000000 --- a/node_modules/after/README.md +++ /dev/null @@ -1,115 +0,0 @@ -# After [![Build Status][1]][2] - -Invoke callback after n calls - -## Status: production ready - -## Example - -```js -var after = require("after") -var db = require("./db") // some db. - -var updateUser = function (req, res) { - // use after to run two tasks in parallel, - // namely get request body and get session - // then run updateUser with the results - var next = after(2, updateUser) - var results = {} - - getJSONBody(req, res, function (err, body) { - if (err) return next(err) - - results.body = body - next(null, results) - }) - - getSessionUser(req, res, function (err, user) { - if (err) return next(err) - - results.user = user - next(null, results) - }) - - // now do the thing! - function updateUser(err, result) { - if (err) { - res.statusCode = 500 - return res.end("Unexpected Error") - } - - if (!result.user || result.user.role !== "admin") { - res.statusCode = 403 - return res.end("Permission Denied") - } - - db.put("users:" + req.params.userId, result.body, function (err) { - if (err) { - res.statusCode = 500 - return res.end("Unexpected Error") - } - - res.statusCode = 200 - res.end("Ok") - }) - } -} -``` - -## Naive Example - -```js -var after = require("after") - , next = after(3, logItWorks) - -next() -next() -next() // it works - -function logItWorks() { - console.log("it works!") -} -``` - -## Example with error handling - -```js -var after = require("after") - , next = after(3, logError) - -next() -next(new Error("oops")) // logs oops -next() // does nothing - -// This callback is only called once. -// If there is an error the callback gets called immediately -// this avoids the situation where errors get lost. -function logError(err) { - console.log(err) -} -``` - -## Installation - -`npm install after` - -## Tests - -`npm test` - -## Contributors - - - Raynos - - defunctzombie - -## MIT Licenced - - [1]: https://secure.travis-ci.org/Raynos/after.png - [2]: http://travis-ci.org/Raynos/after - [3]: http://raynos.org/blog/2/Flow-control-in-node.js - [4]: http://stackoverflow.com/questions/6852059/determining-the-end-of-asynchronous-operations-javascript/6852307#6852307 - [5]: http://stackoverflow.com/questions/6869872/in-javascript-what-are-best-practices-for-executing-multiple-asynchronous-functi/6870031#6870031 - [6]: http://stackoverflow.com/questions/6864397/javascript-performance-long-running-tasks/6889419#6889419 - [7]: http://stackoverflow.com/questions/6597493/synchronous-database-queries-with-node-js/6620091#6620091 - [8]: http://github.com/Raynos/iterators - [9]: http://github.com/Raynos/composite diff --git a/node_modules/after/index.js b/node_modules/after/index.js deleted file mode 100644 index ec24879..0000000 --- a/node_modules/after/index.js +++ /dev/null @@ -1,28 +0,0 @@ -module.exports = after - -function after(count, callback, err_cb) { - var bail = false - err_cb = err_cb || noop - proxy.count = count - - return (count === 0) ? callback() : proxy - - function proxy(err, result) { - if (proxy.count <= 0) { - throw new Error('after called too many times') - } - --proxy.count - - // after first error, rest are passed to err_cb - if (err) { - bail = true - callback(err) - // future error callbacks will go to error handler - callback = err_cb - } else if (proxy.count === 0 && !bail) { - callback(null, result) - } - } -} - -function noop() {} diff --git a/node_modules/after/package.json b/node_modules/after/package.json deleted file mode 100644 index 6d5cd67..0000000 --- a/node_modules/after/package.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "_from": "after@0.8.2", - "_id": "after@0.8.2", - "_inBundle": false, - "_integrity": "sha1-/ts5T58OAqqXaOcCvaI7UF+ufh8=", - "_location": "/after", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "after@0.8.2", - "name": "after", - "escapedName": "after", - "rawSpec": "0.8.2", - "saveSpec": null, - "fetchSpec": "0.8.2" - }, - "_requiredBy": [ - "/engine.io-parser" - ], - "_resolved": "https://registry.npmjs.org/after/-/after-0.8.2.tgz", - "_shasum": "fedb394f9f0e02aa9768e702bda23b505fae7e1f", - "_spec": "after@0.8.2", - "_where": "/root/gpio-controller/node_modules/engine.io-parser", - "author": { - "name": "Raynos", - "email": "raynos2@gmail.com" - }, - "bugs": { - "url": "https://github.com/Raynos/after/issues" - }, - "bundleDependencies": false, - "contributors": [ - { - "name": "Raynos", - "email": "raynos2@gmail.com", - "url": "http://raynos.org" - } - ], - "deprecated": false, - "description": "after - tiny flow control", - "devDependencies": { - "mocha": "~1.8.1" - }, - "homepage": "https://github.com/Raynos/after#readme", - "keywords": [ - "flowcontrol", - "after", - "flow", - "control", - "arch" - ], - "license": "MIT", - "name": "after", - "repository": { - "type": "git", - "url": "git://github.com/Raynos/after.git" - }, - "scripts": { - "test": "mocha --ui tdd --reporter spec test/*.js" - }, - "version": "0.8.2" -} diff --git a/node_modules/after/test/after-test.js b/node_modules/after/test/after-test.js deleted file mode 100644 index 0d63f4c..0000000 --- a/node_modules/after/test/after-test.js +++ /dev/null @@ -1,120 +0,0 @@ -/*global suite, test*/ - -var assert = require("assert") - , after = require("../") - -test("exists", function () { - assert(typeof after === "function", "after is not a function") -}) - -test("after when called with 0 invokes", function (done) { - after(0, done) -}); - -test("after 1", function (done) { - var next = after(1, done) - next() -}) - -test("after 5", function (done) { - var next = after(5, done) - , i = 5 - - while (i--) { - next() - } -}) - -test("manipulate count", function (done) { - var next = after(1, done) - , i = 5 - - next.count = i - while (i--) { - next() - } -}) - -test("after terminates on error", function (done) { - var next = after(2, function(err) { - assert.equal(err.message, 'test'); - done(); - }) - next(new Error('test')) - next(new Error('test2')) -}) - -test('gee', function(done) { - done = after(2, done) - - function cb(err) { - assert.equal(err.message, 1); - done() - } - - var next = after(3, cb, function(err) { - assert.equal(err.message, 2) - done() - }); - - next() - next(new Error(1)) - next(new Error(2)) -}) - -test('eee', function(done) { - done = after(3, done) - - function cb(err) { - assert.equal(err.message, 1); - done() - } - - var next = after(3, cb, function(err) { - assert.equal(err.message, 2) - done() - }); - - next(new Error(1)) - next(new Error(2)) - next(new Error(2)) -}) - -test('gge', function(done) { - function cb(err) { - assert.equal(err.message, 1); - done() - } - - var next = after(3, cb, function(err) { - // should not happen - assert.ok(false); - }); - - next() - next() - next(new Error(1)) -}) - -test('egg', function(done) { - function cb(err) { - assert.equal(err.message, 1); - done() - } - - var next = after(3, cb, function(err) { - // should not happen - assert.ok(false); - }); - - next(new Error(1)) - next() - next() -}) - -test('throws on too many calls', function(done) { - var next = after(1, done); - next() - assert.throws(next, /after called too many times/); -}); - diff --git a/node_modules/array-flatten/LICENSE b/node_modules/array-flatten/LICENSE deleted file mode 100644 index 983fbe8..0000000 --- a/node_modules/array-flatten/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/array-flatten/README.md b/node_modules/array-flatten/README.md deleted file mode 100644 index 91fa5b6..0000000 --- a/node_modules/array-flatten/README.md +++ /dev/null @@ -1,43 +0,0 @@ -# Array Flatten - -[![NPM version][npm-image]][npm-url] -[![NPM downloads][downloads-image]][downloads-url] -[![Build status][travis-image]][travis-url] -[![Test coverage][coveralls-image]][coveralls-url] - -> Flatten an array of nested arrays into a single flat array. Accepts an optional depth. - -## Installation - -``` -npm install array-flatten --save -``` - -## Usage - -```javascript -var flatten = require('array-flatten') - -flatten([1, [2, [3, [4, [5], 6], 7], 8], 9]) -//=> [1, 2, 3, 4, 5, 6, 7, 8, 9] - -flatten([1, [2, [3, [4, [5], 6], 7], 8], 9], 2) -//=> [1, 2, 3, [4, [5], 6], 7, 8, 9] - -(function () { - flatten(arguments) //=> [1, 2, 3] -})(1, [2, 3]) -``` - -## License - -MIT - -[npm-image]: https://img.shields.io/npm/v/array-flatten.svg?style=flat -[npm-url]: https://npmjs.org/package/array-flatten -[downloads-image]: https://img.shields.io/npm/dm/array-flatten.svg?style=flat -[downloads-url]: https://npmjs.org/package/array-flatten -[travis-image]: https://img.shields.io/travis/blakeembrey/array-flatten.svg?style=flat -[travis-url]: https://travis-ci.org/blakeembrey/array-flatten -[coveralls-image]: https://img.shields.io/coveralls/blakeembrey/array-flatten.svg?style=flat -[coveralls-url]: https://coveralls.io/r/blakeembrey/array-flatten?branch=master diff --git a/node_modules/array-flatten/array-flatten.js b/node_modules/array-flatten/array-flatten.js deleted file mode 100644 index 089117b..0000000 --- a/node_modules/array-flatten/array-flatten.js +++ /dev/null @@ -1,64 +0,0 @@ -'use strict' - -/** - * Expose `arrayFlatten`. - */ -module.exports = arrayFlatten - -/** - * Recursive flatten function with depth. - * - * @param {Array} array - * @param {Array} result - * @param {Number} depth - * @return {Array} - */ -function flattenWithDepth (array, result, depth) { - for (var i = 0; i < array.length; i++) { - var value = array[i] - - if (depth > 0 && Array.isArray(value)) { - flattenWithDepth(value, result, depth - 1) - } else { - result.push(value) - } - } - - return result -} - -/** - * Recursive flatten function. Omitting depth is slightly faster. - * - * @param {Array} array - * @param {Array} result - * @return {Array} - */ -function flattenForever (array, result) { - for (var i = 0; i < array.length; i++) { - var value = array[i] - - if (Array.isArray(value)) { - flattenForever(value, result) - } else { - result.push(value) - } - } - - return result -} - -/** - * Flatten an array, with the ability to define a depth. - * - * @param {Array} array - * @param {Number} depth - * @return {Array} - */ -function arrayFlatten (array, depth) { - if (depth == null) { - return flattenForever(array, []) - } - - return flattenWithDepth(array, [], depth) -} diff --git a/node_modules/array-flatten/package.json b/node_modules/array-flatten/package.json deleted file mode 100644 index 8172dc9..0000000 --- a/node_modules/array-flatten/package.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "_from": "array-flatten@1.1.1", - "_id": "array-flatten@1.1.1", - "_inBundle": false, - "_integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=", - "_location": "/array-flatten", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "array-flatten@1.1.1", - "name": "array-flatten", - "escapedName": "array-flatten", - "rawSpec": "1.1.1", - "saveSpec": null, - "fetchSpec": "1.1.1" - }, - "_requiredBy": [ - "/express" - ], - "_resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "_shasum": "9a5f699051b1e7073328f2a008968b64ea2955d2", - "_spec": "array-flatten@1.1.1", - "_where": "/root/gpio-controller/node_modules/express", - "author": { - "name": "Blake Embrey", - "email": "hello@blakeembrey.com", - "url": "http://blakeembrey.me" - }, - "bugs": { - "url": "https://github.com/blakeembrey/array-flatten/issues" - }, - "bundleDependencies": false, - "deprecated": false, - "description": "Flatten an array of nested arrays into a single flat array", - "devDependencies": { - "istanbul": "^0.3.13", - "mocha": "^2.2.4", - "pre-commit": "^1.0.7", - "standard": "^3.7.3" - }, - "files": [ - "array-flatten.js", - "LICENSE" - ], - "homepage": "https://github.com/blakeembrey/array-flatten", - "keywords": [ - "array", - "flatten", - "arguments", - "depth" - ], - "license": "MIT", - "main": "array-flatten.js", - "name": "array-flatten", - "repository": { - "type": "git", - "url": "git://github.com/blakeembrey/array-flatten.git" - }, - "scripts": { - "test": "istanbul cover _mocha -- -R spec" - }, - "version": "1.1.1" -} diff --git a/node_modules/arraybuffer.slice/.npmignore b/node_modules/arraybuffer.slice/.npmignore deleted file mode 100644 index cfbee8d..0000000 --- a/node_modules/arraybuffer.slice/.npmignore +++ /dev/null @@ -1,17 +0,0 @@ -lib-cov -lcov.info -*.seed -*.log -*.csv -*.dat -*.out -*.pid -*.gz - -pids -logs -results -build -.grunt - -node_modules diff --git a/node_modules/arraybuffer.slice/LICENCE b/node_modules/arraybuffer.slice/LICENCE deleted file mode 100644 index 35fa375..0000000 --- a/node_modules/arraybuffer.slice/LICENCE +++ /dev/null @@ -1,18 +0,0 @@ -Copyright (C) 2013 Rase- - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/arraybuffer.slice/Makefile b/node_modules/arraybuffer.slice/Makefile deleted file mode 100644 index 849887f..0000000 --- a/node_modules/arraybuffer.slice/Makefile +++ /dev/null @@ -1,8 +0,0 @@ - -REPORTER = dot - -test: - @./node_modules/.bin/mocha \ - --reporter $(REPORTER) - -.PHONY: test diff --git a/node_modules/arraybuffer.slice/README.md b/node_modules/arraybuffer.slice/README.md deleted file mode 100644 index 15e465e..0000000 --- a/node_modules/arraybuffer.slice/README.md +++ /dev/null @@ -1,17 +0,0 @@ -# How to -```javascript -var sliceBuffer = require('arraybuffer.slice'); -var ab = (new Int8Array(5)).buffer; -var sliced = sliceBuffer(ab, 1, 3); -sliced = sliceBuffer(ab, 1); -``` - -# Licence (MIT) -Copyright (C) 2013 Rase- - - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/arraybuffer.slice/index.js b/node_modules/arraybuffer.slice/index.js deleted file mode 100644 index 11ac556..0000000 --- a/node_modules/arraybuffer.slice/index.js +++ /dev/null @@ -1,29 +0,0 @@ -/** - * An abstraction for slicing an arraybuffer even when - * ArrayBuffer.prototype.slice is not supported - * - * @api public - */ - -module.exports = function(arraybuffer, start, end) { - var bytes = arraybuffer.byteLength; - start = start || 0; - end = end || bytes; - - if (arraybuffer.slice) { return arraybuffer.slice(start, end); } - - if (start < 0) { start += bytes; } - if (end < 0) { end += bytes; } - if (end > bytes) { end = bytes; } - - if (start >= bytes || start >= end || bytes === 0) { - return new ArrayBuffer(0); - } - - var abv = new Uint8Array(arraybuffer); - var result = new Uint8Array(end - start); - for (var i = start, ii = 0; i < end; i++, ii++) { - result[ii] = abv[i]; - } - return result.buffer; -}; diff --git a/node_modules/arraybuffer.slice/package.json b/node_modules/arraybuffer.slice/package.json deleted file mode 100644 index 2afc5ff..0000000 --- a/node_modules/arraybuffer.slice/package.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "_from": "arraybuffer.slice@~0.0.7", - "_id": "arraybuffer.slice@0.0.7", - "_inBundle": false, - "_integrity": "sha512-wGUIVQXuehL5TCqQun8OW81jGzAWycqzFF8lFp+GOM5BXLYj3bKNsYC4daB7n6XjCqxQA/qgTJ+8ANR3acjrog==", - "_location": "/arraybuffer.slice", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "arraybuffer.slice@~0.0.7", - "name": "arraybuffer.slice", - "escapedName": "arraybuffer.slice", - "rawSpec": "~0.0.7", - "saveSpec": null, - "fetchSpec": "~0.0.7" - }, - "_requiredBy": [ - "/engine.io-parser" - ], - "_resolved": "https://registry.npmjs.org/arraybuffer.slice/-/arraybuffer.slice-0.0.7.tgz", - "_shasum": "3bbc4275dd584cc1b10809b89d4e8b63a69e7675", - "_spec": "arraybuffer.slice@~0.0.7", - "_where": "/root/gpio-controller/node_modules/engine.io-parser", - "bugs": { - "url": "https://github.com/rase-/arraybuffer.slice/issues" - }, - "bundleDependencies": false, - "dependencies": {}, - "deprecated": false, - "description": "Exports a function for slicing ArrayBuffers (no polyfilling)", - "devDependencies": { - "expect.js": "0.2.0", - "mocha": "1.17.1" - }, - "homepage": "https://github.com/rase-/arraybuffer.slice", - "license": "MIT", - "name": "arraybuffer.slice", - "repository": { - "type": "git", - "url": "git+ssh://git@github.com/rase-/arraybuffer.slice.git" - }, - "version": "0.0.7" -} diff --git a/node_modules/arraybuffer.slice/test/slice-buffer.js b/node_modules/arraybuffer.slice/test/slice-buffer.js deleted file mode 100644 index 4778da6..0000000 --- a/node_modules/arraybuffer.slice/test/slice-buffer.js +++ /dev/null @@ -1,227 +0,0 @@ -/* - * Test dependencies - */ - -var sliceBuffer = require('../index.js'); -var expect = require('expect.js'); - -/** - * Tests - */ - -describe('sliceBuffer', function() { - describe('using standard slice', function() { - it('should slice correctly with only start provided', function() { - var abv = new Uint8Array(10); - for (var i = 0; i < abv.length; i++) { - abv[i] = i; - } - - var sliced = sliceBuffer(abv.buffer, 3); - var sabv = new Uint8Array(sliced); - for (var i = 3, ii = 0; i < abv.length; i++, ii++) { - expect(abv[i]).to.equal(sabv[ii]); - } - }); - - it('should slice correctly with start and end provided', function() { - var abv = new Uint8Array(10); - for (var i = 0; i < abv.length; i++) { - abv[i] = i; - } - - var sliced = sliceBuffer(abv.buffer, 3, 8); - var sabv = new Uint8Array(sliced); - for (var i = 3, ii = 0; i < 8; i++, ii++) { - expect(abv[i]).to.equal(sabv[ii]); - } - }); - - it('should slice correctly with negative start', function() { - var abv = new Uint8Array(10); - for (var i = 0; i < abv.length; i++) { - abv[i] = i; - } - - var sliced = sliceBuffer(abv.buffer, -3); - var sabv = new Uint8Array(sliced); - for (var i = abv.length - 3, ii = 0; i < abv.length; i++, ii++) { - expect(abv[i]).to.equal(sabv[ii]); - } - }); - - it('should slice correctly with negative end', function() { - var abv = new Uint8Array(10); - for (var i = 0; i < abv.length; i++) { - abv[i] = i; - } - - var sliced = sliceBuffer(abv.buffer, 0, -3); - var sabv = new Uint8Array(sliced); - for (var i = 0, ii = 0; i < abv.length - 3; i++, ii++) { - expect(abv[i]).to.equal(sabv[ii]); - } - }); - - it('should slice correctly with negative start and end', function() { - var abv = new Uint8Array(10); - for (var i = 0; i < abv.length; i++) { - abv[i] = i; - } - - var sliced = sliceBuffer(abv.buffer, -6, -3); - var sabv = new Uint8Array(sliced); - for (var i = abv.length - 6, ii = 0; i < abv.length - 3; i++, ii++) { - expect(abv[i]).to.equal(sabv[ii]); - } - }); - - it('should slice correctly with equal start and end', function() { - var abv = new Uint8Array(10); - for (var i = 0; i < abv.length; i++) { - abv[i] = i; - } - - var sliced = sliceBuffer(abv.buffer, 1, 1); - expect(sliced.byteLength).to.equal(0); - }); - - it('should slice correctly when end larger than buffer', function() { - var abv = new Uint8Array(10); - for (var i = 0; i < abv.length; i++) { - abv[i] = i; - } - - var sliced = sliceBuffer(abv.buffer, 0, 100); - expect(new Uint8Array(sliced)).to.eql(abv); - }); - - it('shoud slice correctly when start larger than end', function() { - var abv = new Uint8Array(10); - for (var i = 0; i < abv.length; i++) { - abv[i] = i; - } - - var sliced = sliceBuffer(abv.buffer, 6, 5); - expect(sliced.byteLength).to.equal(0); - }); - }); - - describe('using fallback', function() { - it('should slice correctly with only start provided', function() { - var abv = new Uint8Array(10); - for (var i = 0; i < abv.length; i++) { - abv[i] = i; - } - var ab = abv.buffer; - ab.slice = undefined; - - var sliced = sliceBuffer(ab, 3); - var sabv = new Uint8Array(sliced); - for (var i = 3, ii = 0; i < abv.length; i++, ii++) { - expect(abv[i]).to.equal(sabv[ii]); - } - }); - - it('should slice correctly with start and end provided', function() { - var abv = new Uint8Array(10); - for (var i = 0; i < abv.length; i++) { - abv[i] = i; - } - var ab = abv.buffer; - ab.slice = undefined; - - - var sliced = sliceBuffer(ab, 3, 8); - var sabv = new Uint8Array(sliced); - for (var i = 3, ii = 0; i < 8; i++, ii++) { - expect(abv[i]).to.equal(sabv[ii]); - } - }); - - it('should slice correctly with negative start', function() { - var abv = new Uint8Array(10); - for (var i = 0; i < abv.length; i++) { - abv[i] = i; - } - var ab = abv.buffer; - ab.slice = undefined; - - - var sliced = sliceBuffer(ab, -3); - var sabv = new Uint8Array(sliced); - for (var i = abv.length - 3, ii = 0; i < abv.length; i++, ii++) { - expect(abv[i]).to.equal(sabv[ii]); - } - }); - - it('should slice correctly with negative end', function() { - var abv = new Uint8Array(10); - for (var i = 0; i < abv.length; i++) { - abv[i] = i; - } - var ab = abv.buffer; - ab.slice = undefined; - - var sliced = sliceBuffer(ab, 0, -3); - var sabv = new Uint8Array(sliced); - for (var i = 0, ii = 0; i < abv.length - 3; i++, ii++) { - expect(abv[i]).to.equal(sabv[ii]); - } - }); - - it('should slice correctly with negative start and end', function() { - var abv = new Uint8Array(10); - for (var i = 0; i < abv.length; i++) { - abv[i] = i; - } - var ab = abv.buffer; - ab.slice = undefined; - - var sliced = sliceBuffer(ab, -6, -3); - var sabv = new Uint8Array(sliced); - for (var i = abv.length - 6, ii = 0; i < abv.length - 3; i++, ii++) { - expect(abv[i]).to.equal(sabv[ii]); - } - }); - - it('should slice correctly with equal start and end', function() { - var abv = new Uint8Array(10); - for (var i = 0; i < abv.length; i++) { - abv[i] = i; - } - var ab = abv.buffer; - ab.slice = undefined; - - var sliced = sliceBuffer(ab, 1, 1); - expect(sliced.byteLength).to.equal(0); - }); - - it('should slice correctly when end larger than buffer', function() { - var abv = new Uint8Array(10); - for (var i = 0; i < abv.length; i++) { - abv[i] = i; - } - var ab = abv.buffer; - ab.slice = undefined; - - var sliced = sliceBuffer(ab, 0, 100); - var sabv = new Uint8Array(sliced); - for (var i = 0; i < abv.length; i++) { - expect(abv[i]).to.equal(sabv[i]); - } - }); - - it('shoud slice correctly when start larger than end', function() { - var abv = new Uint8Array(10); - for (var i = 0; i < abv.length; i++) { - abv[i] = i; - } - var ab = abv.buffer; - ab.slice = undefined; - - var sliced = sliceBuffer(ab, 6, 5); - expect(sliced.byteLength).to.equal(0); - }); - }); -}); diff --git a/node_modules/async-limiter/.eslintignore b/node_modules/async-limiter/.eslintignore deleted file mode 100644 index e1661e5..0000000 --- a/node_modules/async-limiter/.eslintignore +++ /dev/null @@ -1,2 +0,0 @@ -coverage -.nyc_output \ No newline at end of file diff --git a/node_modules/async-limiter/.nycrc b/node_modules/async-limiter/.nycrc deleted file mode 100644 index 874c1de..0000000 --- a/node_modules/async-limiter/.nycrc +++ /dev/null @@ -1,10 +0,0 @@ -{ - "check-coverage": false, - "lines": 99, - "statements": 99, - "functions": 99, - "branches": 99, - "include": [ - "index.js" - ] -} \ No newline at end of file diff --git a/node_modules/async-limiter/.travis.yml b/node_modules/async-limiter/.travis.yml deleted file mode 100644 index 37026e2..0000000 --- a/node_modules/async-limiter/.travis.yml +++ /dev/null @@ -1,9 +0,0 @@ -language: node_js -node_js: - - "6" - - "8" - - "10" - - "node" -script: npm run travis -cache: - yarn: true diff --git a/node_modules/async-limiter/LICENSE b/node_modules/async-limiter/LICENSE deleted file mode 100644 index 9c91fb2..0000000 --- a/node_modules/async-limiter/LICENSE +++ /dev/null @@ -1,8 +0,0 @@ -The MIT License (MIT) -Copyright (c) 2017 Samuel Reed - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/async-limiter/index.js b/node_modules/async-limiter/index.js deleted file mode 100644 index c9bd2f9..0000000 --- a/node_modules/async-limiter/index.js +++ /dev/null @@ -1,67 +0,0 @@ -'use strict'; - -function Queue(options) { - if (!(this instanceof Queue)) { - return new Queue(options); - } - - options = options || {}; - this.concurrency = options.concurrency || Infinity; - this.pending = 0; - this.jobs = []; - this.cbs = []; - this._done = done.bind(this); -} - -var arrayAddMethods = [ - 'push', - 'unshift', - 'splice' -]; - -arrayAddMethods.forEach(function(method) { - Queue.prototype[method] = function() { - var methodResult = Array.prototype[method].apply(this.jobs, arguments); - this._run(); - return methodResult; - }; -}); - -Object.defineProperty(Queue.prototype, 'length', { - get: function() { - return this.pending + this.jobs.length; - } -}); - -Queue.prototype._run = function() { - if (this.pending === this.concurrency) { - return; - } - if (this.jobs.length) { - var job = this.jobs.shift(); - this.pending++; - job(this._done); - this._run(); - } - - if (this.pending === 0) { - while (this.cbs.length !== 0) { - var cb = this.cbs.pop(); - process.nextTick(cb); - } - } -}; - -Queue.prototype.onDone = function(cb) { - if (typeof cb === 'function') { - this.cbs.push(cb); - this._run(); - } -}; - -function done() { - this.pending--; - this._run(); -} - -module.exports = Queue; diff --git a/node_modules/async-limiter/package.json b/node_modules/async-limiter/package.json deleted file mode 100644 index 4a98ff3..0000000 --- a/node_modules/async-limiter/package.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "_from": "async-limiter@~1.0.0", - "_id": "async-limiter@1.0.1", - "_inBundle": false, - "_integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==", - "_location": "/async-limiter", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "async-limiter@~1.0.0", - "name": "async-limiter", - "escapedName": "async-limiter", - "rawSpec": "~1.0.0", - "saveSpec": null, - "fetchSpec": "~1.0.0" - }, - "_requiredBy": [ - "/engine.io-client/ws" - ], - "_resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", - "_shasum": "dd379e94f0db8310b08291f9d64c3209766617fd", - "_spec": "async-limiter@~1.0.0", - "_where": "/root/gpio-controller/node_modules/engine.io-client/node_modules/ws", - "author": { - "name": "Samuel Reed" - }, - "bugs": { - "url": "https://github.com/strml/async-limiter/issues" - }, - "bundleDependencies": false, - "dependencies": {}, - "deprecated": false, - "description": "asynchronous function queue with adjustable concurrency", - "devDependencies": { - "coveralls": "^3.0.3", - "eslint": "^5.16.0", - "eslint-plugin-mocha": "^5.3.0", - "intelli-espower-loader": "^1.0.1", - "mocha": "^6.1.4", - "nyc": "^14.1.1", - "power-assert": "^1.6.1" - }, - "homepage": "https://github.com/strml/async-limiter#readme", - "keywords": [ - "throttle", - "async", - "limiter", - "asynchronous", - "job", - "task", - "concurrency", - "concurrent" - ], - "license": "MIT", - "name": "async-limiter", - "repository": { - "type": "git", - "url": "git+https://github.com/strml/async-limiter.git" - }, - "scripts": { - "coverage": "nyc npm test && nyc report --reporter=text-lcov | coveralls", - "example": "node example", - "lint": "eslint .", - "test": "mocha --require intelli-espower-loader test/", - "travis": "npm run lint && npm run test" - }, - "version": "1.0.1" -} diff --git a/node_modules/async-limiter/readme.md b/node_modules/async-limiter/readme.md deleted file mode 100644 index fcaa22f..0000000 --- a/node_modules/async-limiter/readme.md +++ /dev/null @@ -1,132 +0,0 @@ -# Async-Limiter - -A module for limiting concurrent asynchronous actions in flight. Forked from [queue](https://github.com/jessetane/queue). - -[![npm](http://img.shields.io/npm/v/async-limiter.svg?style=flat-square)](http://www.npmjs.org/async-limiter) -[![tests](https://img.shields.io/travis/STRML/async-limiter.svg?style=flat-square&branch=master)](https://travis-ci.org/STRML/async-limiter) -[![coverage](https://img.shields.io/coveralls/STRML/async-limiter.svg?style=flat-square&branch=master)](https://coveralls.io/r/STRML/async-limiter) - -This module exports a class `Limiter` that implements some of the `Array` API. -Pass async functions (ones that accept a callback or return a promise) to an instance's additive array methods. - -## Motivation - -Certain functions, like `zlib`, have [undesirable behavior](https://github.com/nodejs/node/issues/8871#issuecomment-250915913) when -run at infinite concurrency. - -In this case, it is actually faster, and takes far less memory, to limit concurrency. - -This module should do the absolute minimum work necessary to queue up functions. PRs are welcome that would -make this module faster or lighter, but new functionality is not desired. - -Style should confirm to nodejs/node style. - -## Example - -``` javascript -var Limiter = require('async-limiter') - -var t = new Limiter({concurrency: 2}); -var results = [] - -// add jobs using the familiar Array API -t.push(function (cb) { - results.push('two') - cb() -}) - -t.push( - function (cb) { - results.push('four') - cb() - }, - function (cb) { - results.push('five') - cb() - } -) - -t.unshift(function (cb) { - results.push('one') - cb() -}) - -t.splice(2, 0, function (cb) { - results.push('three') - cb() -}) - -// Jobs run automatically. If you want a callback when all are done, -// call 'onDone()'. -t.onDone(function () { - console.log('all done:', results) -}) -``` - -## Zlib Example - -```js -const zlib = require('zlib'); -const Limiter = require('async-limiter'); - -const message = {some: "data"}; -const payload = new Buffer(JSON.stringify(message)); - -// Try with different concurrency values to see how this actually -// slows significantly with higher concurrency! -// -// 5: 1398.607ms -// 10: 1375.668ms -// Infinity: 4423.300ms -// -const t = new Limiter({concurrency: 5}); -function deflate(payload, cb) { - t.push(function(done) { - zlib.deflate(payload, function(err, buffer) { - done(); - cb(err, buffer); - }); - }); -} - -console.time('deflate'); -for(let i = 0; i < 30000; ++i) { - deflate(payload, function (err, buffer) {}); -} -t.onDone(function() { - console.timeEnd('deflate'); -}); -``` - -## Install - -`npm install async-limiter` - -## Test - -`npm test` - -## API - -### `var t = new Limiter([opts])` -Constructor. `opts` may contain inital values for: -* `t.concurrency` - -## Instance methods - -### `t.onDone(fn)` -`fn` will be called once and only once, when the queue is empty. - -## Instance methods mixed in from `Array` -Mozilla has docs on how these methods work [here](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array). -### `t.push(element1, ..., elementN)` -### `t.unshift(element1, ..., elementN)` -### `t.splice(index , howMany[, element1[, ...[, elementN]]])` - -## Properties -### `t.concurrency` -Max number of jobs the queue should process concurrently, defaults to `Infinity`. - -### `t.length` -Jobs pending + jobs to process (readonly). - diff --git a/node_modules/backo2/.npmignore b/node_modules/backo2/.npmignore deleted file mode 100644 index c2658d7..0000000 --- a/node_modules/backo2/.npmignore +++ /dev/null @@ -1 +0,0 @@ -node_modules/ diff --git a/node_modules/backo2/History.md b/node_modules/backo2/History.md deleted file mode 100644 index 8eb28b8..0000000 --- a/node_modules/backo2/History.md +++ /dev/null @@ -1,12 +0,0 @@ - -1.0.1 / 2014-02-17 -================== - - * go away decimal point - * history - -1.0.0 / 2014-02-17 -================== - - * add jitter option - * Initial commit diff --git a/node_modules/backo2/Makefile b/node_modules/backo2/Makefile deleted file mode 100644 index 9987df8..0000000 --- a/node_modules/backo2/Makefile +++ /dev/null @@ -1,8 +0,0 @@ - -test: - @./node_modules/.bin/mocha \ - --require should \ - --reporter dot \ - --bail - -.PHONY: test \ No newline at end of file diff --git a/node_modules/backo2/Readme.md b/node_modules/backo2/Readme.md deleted file mode 100644 index 0df2a39..0000000 --- a/node_modules/backo2/Readme.md +++ /dev/null @@ -1,34 +0,0 @@ -# backo - - Simple exponential backoff because the others seem to have weird abstractions. - -## Installation - -``` -$ npm install backo -``` - -## Options - - - `min` initial timeout in milliseconds [100] - - `max` max timeout [10000] - - `jitter` [0] - - `factor` [2] - -## Example - -```js -var Backoff = require('backo'); -var backoff = new Backoff({ min: 100, max: 20000 }); - -setTimeout(function(){ - something.reconnect(); -}, backoff.duration()); - -// later when something works -backoff.reset() -``` - -# License - - MIT diff --git a/node_modules/backo2/component.json b/node_modules/backo2/component.json deleted file mode 100644 index 994845a..0000000 --- a/node_modules/backo2/component.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "backo", - "repo": "segmentio/backo", - "dependencies": {}, - "version": "1.0.1", - "description": "simple backoff without the weird abstractions", - "keywords": ["backoff"], - "license": "MIT", - "scripts": ["index.js"], - "main": "index.js" -} diff --git a/node_modules/backo2/index.js b/node_modules/backo2/index.js deleted file mode 100644 index fac4429..0000000 --- a/node_modules/backo2/index.js +++ /dev/null @@ -1,85 +0,0 @@ - -/** - * Expose `Backoff`. - */ - -module.exports = Backoff; - -/** - * Initialize backoff timer with `opts`. - * - * - `min` initial timeout in milliseconds [100] - * - `max` max timeout [10000] - * - `jitter` [0] - * - `factor` [2] - * - * @param {Object} opts - * @api public - */ - -function Backoff(opts) { - opts = opts || {}; - this.ms = opts.min || 100; - this.max = opts.max || 10000; - this.factor = opts.factor || 2; - this.jitter = opts.jitter > 0 && opts.jitter <= 1 ? opts.jitter : 0; - this.attempts = 0; -} - -/** - * Return the backoff duration. - * - * @return {Number} - * @api public - */ - -Backoff.prototype.duration = function(){ - var ms = this.ms * Math.pow(this.factor, this.attempts++); - if (this.jitter) { - var rand = Math.random(); - var deviation = Math.floor(rand * this.jitter * ms); - ms = (Math.floor(rand * 10) & 1) == 0 ? ms - deviation : ms + deviation; - } - return Math.min(ms, this.max) | 0; -}; - -/** - * Reset the number of attempts. - * - * @api public - */ - -Backoff.prototype.reset = function(){ - this.attempts = 0; -}; - -/** - * Set the minimum duration - * - * @api public - */ - -Backoff.prototype.setMin = function(min){ - this.ms = min; -}; - -/** - * Set the maximum duration - * - * @api public - */ - -Backoff.prototype.setMax = function(max){ - this.max = max; -}; - -/** - * Set the jitter - * - * @api public - */ - -Backoff.prototype.setJitter = function(jitter){ - this.jitter = jitter; -}; - diff --git a/node_modules/backo2/package.json b/node_modules/backo2/package.json deleted file mode 100644 index a8f9aba..0000000 --- a/node_modules/backo2/package.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "_from": "backo2@1.0.2", - "_id": "backo2@1.0.2", - "_inBundle": false, - "_integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=", - "_location": "/backo2", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "backo2@1.0.2", - "name": "backo2", - "escapedName": "backo2", - "rawSpec": "1.0.2", - "saveSpec": null, - "fetchSpec": "1.0.2" - }, - "_requiredBy": [ - "/socket.io-client" - ], - "_resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", - "_shasum": "31ab1ac8b129363463e35b3ebb69f4dfcfba7947", - "_spec": "backo2@1.0.2", - "_where": "/root/gpio-controller/node_modules/socket.io-client", - "bugs": { - "url": "https://github.com/mokesmokes/backo/issues" - }, - "bundleDependencies": false, - "dependencies": {}, - "deprecated": false, - "description": "simple backoff based on segmentio/backo", - "devDependencies": { - "mocha": "*", - "should": "*" - }, - "homepage": "https://github.com/mokesmokes/backo#readme", - "keywords": [ - "backoff" - ], - "license": "MIT", - "name": "backo2", - "repository": { - "type": "git", - "url": "git+https://github.com/mokesmokes/backo.git" - }, - "version": "1.0.2" -} diff --git a/node_modules/backo2/test/index.js b/node_modules/backo2/test/index.js deleted file mode 100644 index ea1f6de..0000000 --- a/node_modules/backo2/test/index.js +++ /dev/null @@ -1,18 +0,0 @@ - -var Backoff = require('..'); -var assert = require('assert'); - -describe('.duration()', function(){ - it('should increase the backoff', function(){ - var b = new Backoff; - - assert(100 == b.duration()); - assert(200 == b.duration()); - assert(400 == b.duration()); - assert(800 == b.duration()); - - b.reset(); - assert(100 == b.duration()); - assert(200 == b.duration()); - }) -}) \ No newline at end of file diff --git a/node_modules/balanced-match/.npmignore b/node_modules/balanced-match/.npmignore deleted file mode 100644 index ae5d8c3..0000000 --- a/node_modules/balanced-match/.npmignore +++ /dev/null @@ -1,5 +0,0 @@ -test -.gitignore -.travis.yml -Makefile -example.js diff --git a/node_modules/balanced-match/LICENSE.md b/node_modules/balanced-match/LICENSE.md deleted file mode 100644 index 2cdc8e4..0000000 --- a/node_modules/balanced-match/LICENSE.md +++ /dev/null @@ -1,21 +0,0 @@ -(MIT) - -Copyright (c) 2013 Julian Gruber <julian@juliangruber.com> - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/node_modules/balanced-match/README.md b/node_modules/balanced-match/README.md deleted file mode 100644 index 08e918c..0000000 --- a/node_modules/balanced-match/README.md +++ /dev/null @@ -1,91 +0,0 @@ -# balanced-match - -Match balanced string pairs, like `{` and `}` or `` and ``. Supports regular expressions as well! - -[![build status](https://secure.travis-ci.org/juliangruber/balanced-match.svg)](http://travis-ci.org/juliangruber/balanced-match) -[![downloads](https://img.shields.io/npm/dm/balanced-match.svg)](https://www.npmjs.org/package/balanced-match) - -[![testling badge](https://ci.testling.com/juliangruber/balanced-match.png)](https://ci.testling.com/juliangruber/balanced-match) - -## Example - -Get the first matching pair of braces: - -```js -var balanced = require('balanced-match'); - -console.log(balanced('{', '}', 'pre{in{nested}}post')); -console.log(balanced('{', '}', 'pre{first}between{second}post')); -console.log(balanced(/\s+\{\s+/, /\s+\}\s+/, 'pre { in{nest} } post')); -``` - -The matches are: - -```bash -$ node example.js -{ start: 3, end: 14, pre: 'pre', body: 'in{nested}', post: 'post' } -{ start: 3, - end: 9, - pre: 'pre', - body: 'first', - post: 'between{second}post' } -{ start: 3, end: 17, pre: 'pre', body: 'in{nest}', post: 'post' } -``` - -## API - -### var m = balanced(a, b, str) - -For the first non-nested matching pair of `a` and `b` in `str`, return an -object with those keys: - -* **start** the index of the first match of `a` -* **end** the index of the matching `b` -* **pre** the preamble, `a` and `b` not included -* **body** the match, `a` and `b` not included -* **post** the postscript, `a` and `b` not included - -If there's no match, `undefined` will be returned. - -If the `str` contains more `a` than `b` / there are unmatched pairs, the first match that was closed will be used. For example, `{{a}` will match `['{', 'a', '']` and `{a}}` will match `['', 'a', '}']`. - -### var r = balanced.range(a, b, str) - -For the first non-nested matching pair of `a` and `b` in `str`, return an -array with indexes: `[ , ]`. - -If there's no match, `undefined` will be returned. - -If the `str` contains more `a` than `b` / there are unmatched pairs, the first match that was closed will be used. For example, `{{a}` will match `[ 1, 3 ]` and `{a}}` will match `[0, 2]`. - -## Installation - -With [npm](https://npmjs.org) do: - -```bash -npm install balanced-match -``` - -## License - -(MIT) - -Copyright (c) 2013 Julian Gruber <julian@juliangruber.com> - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/node_modules/balanced-match/index.js b/node_modules/balanced-match/index.js deleted file mode 100644 index 1685a76..0000000 --- a/node_modules/balanced-match/index.js +++ /dev/null @@ -1,59 +0,0 @@ -'use strict'; -module.exports = balanced; -function balanced(a, b, str) { - if (a instanceof RegExp) a = maybeMatch(a, str); - if (b instanceof RegExp) b = maybeMatch(b, str); - - var r = range(a, b, str); - - return r && { - start: r[0], - end: r[1], - pre: str.slice(0, r[0]), - body: str.slice(r[0] + a.length, r[1]), - post: str.slice(r[1] + b.length) - }; -} - -function maybeMatch(reg, str) { - var m = str.match(reg); - return m ? m[0] : null; -} - -balanced.range = range; -function range(a, b, str) { - var begs, beg, left, right, result; - var ai = str.indexOf(a); - var bi = str.indexOf(b, ai + 1); - var i = ai; - - if (ai >= 0 && bi > 0) { - begs = []; - left = str.length; - - while (i >= 0 && !result) { - if (i == ai) { - begs.push(i); - ai = str.indexOf(a, i + 1); - } else if (begs.length == 1) { - result = [ begs.pop(), bi ]; - } else { - beg = begs.pop(); - if (beg < left) { - left = beg; - right = bi; - } - - bi = str.indexOf(b, i + 1); - } - - i = ai < bi && ai >= 0 ? ai : bi; - } - - if (begs.length) { - result = [ left, right ]; - } - } - - return result; -} diff --git a/node_modules/balanced-match/package.json b/node_modules/balanced-match/package.json deleted file mode 100644 index 74c2d0b..0000000 --- a/node_modules/balanced-match/package.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "_from": "balanced-match@^1.0.0", - "_id": "balanced-match@1.0.0", - "_inBundle": false, - "_integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", - "_location": "/balanced-match", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "balanced-match@^1.0.0", - "name": "balanced-match", - "escapedName": "balanced-match", - "rawSpec": "^1.0.0", - "saveSpec": null, - "fetchSpec": "^1.0.0" - }, - "_requiredBy": [ - "/brace-expansion" - ], - "_resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "_shasum": "89b4d199ab2bee49de164ea02b89ce462d71b767", - "_spec": "balanced-match@^1.0.0", - "_where": "/home/arda/SBC-RealTimeIO/node_modules/brace-expansion", - "author": { - "name": "Julian Gruber", - "email": "mail@juliangruber.com", - "url": "http://juliangruber.com" - }, - "bugs": { - "url": "https://github.com/juliangruber/balanced-match/issues" - }, - "bundleDependencies": false, - "dependencies": {}, - "deprecated": false, - "description": "Match balanced character pairs, like \"{\" and \"}\"", - "devDependencies": { - "matcha": "^0.7.0", - "tape": "^4.6.0" - }, - "homepage": "https://github.com/juliangruber/balanced-match", - "keywords": [ - "match", - "regexp", - "test", - "balanced", - "parse" - ], - "license": "MIT", - "main": "index.js", - "name": "balanced-match", - "repository": { - "type": "git", - "url": "git://github.com/juliangruber/balanced-match.git" - }, - "scripts": { - "bench": "make bench", - "test": "make test" - }, - "testling": { - "files": "test/*.js", - "browsers": [ - "ie/8..latest", - "firefox/20..latest", - "firefox/nightly", - "chrome/25..latest", - "chrome/canary", - "opera/12..latest", - "opera/next", - "safari/5.1..latest", - "ipad/6.0..latest", - "iphone/6.0..latest", - "android-browser/4.2..latest" - ] - }, - "version": "1.0.0" -} diff --git a/node_modules/base64-arraybuffer/.npmignore b/node_modules/base64-arraybuffer/.npmignore deleted file mode 100644 index 332ee5a..0000000 --- a/node_modules/base64-arraybuffer/.npmignore +++ /dev/null @@ -1,3 +0,0 @@ -/node_modules/ -Gruntfile.js -/test/ diff --git a/node_modules/base64-arraybuffer/.travis.yml b/node_modules/base64-arraybuffer/.travis.yml deleted file mode 100644 index 19259a5..0000000 --- a/node_modules/base64-arraybuffer/.travis.yml +++ /dev/null @@ -1,19 +0,0 @@ -language: node_js -node_js: -- '0.12' -- iojs-1 -- iojs-2 -- iojs-3 -- '4.1' -before_script: -- npm install -before_install: npm install -g npm@'>=2.13.5' -deploy: - provider: npm - email: niklasvh@gmail.com - api_key: - secure: oHV9ArprTj5WOk7MP1UF7QMJ70huXw+y7xXb5wF4+V2H8Hyfa5TfE0DiOmqrube1WXTeH1FLgq54shp/sJWi47Hkg/GyeoB5NnsPhYEaJkaON9UG5blML+ODiNVsEnq/1kNBQ8e0+0JItMPLGySKyFmuZ3yflulXKS8O88mfINo= - on: - tags: true - branch: master - repo: niklasvh/base64-arraybuffer diff --git a/node_modules/base64-arraybuffer/LICENSE-MIT b/node_modules/base64-arraybuffer/LICENSE-MIT deleted file mode 100644 index ed27b41..0000000 --- a/node_modules/base64-arraybuffer/LICENSE-MIT +++ /dev/null @@ -1,22 +0,0 @@ -Copyright (c) 2012 Niklas von Hertzen - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/base64-arraybuffer/README.md b/node_modules/base64-arraybuffer/README.md deleted file mode 100644 index 50009e4..0000000 --- a/node_modules/base64-arraybuffer/README.md +++ /dev/null @@ -1,20 +0,0 @@ -# base64-arraybuffer - -[![Build Status](https://travis-ci.org/niklasvh/base64-arraybuffer.png)](https://travis-ci.org/niklasvh/base64-arraybuffer) -[![NPM Downloads](https://img.shields.io/npm/dm/base64-arraybuffer.svg)](https://www.npmjs.org/package/base64-arraybuffer) -[![NPM Version](https://img.shields.io/npm/v/base64-arraybuffer.svg)](https://www.npmjs.org/package/base64-arraybuffer) - -Encode/decode base64 data into ArrayBuffers - -## Getting Started -Install the module with: `npm install base64-arraybuffer` - -## API -The library encodes and decodes base64 to and from ArrayBuffers - - - __encode(buffer)__ - Encodes `ArrayBuffer` into base64 string - - __decode(str)__ - Decodes base64 string to `ArrayBuffer` - -## License -Copyright (c) 2012 Niklas von Hertzen -Licensed under the MIT license. diff --git a/node_modules/base64-arraybuffer/lib/base64-arraybuffer.js b/node_modules/base64-arraybuffer/lib/base64-arraybuffer.js deleted file mode 100644 index e6b6306..0000000 --- a/node_modules/base64-arraybuffer/lib/base64-arraybuffer.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * base64-arraybuffer - * https://github.com/niklasvh/base64-arraybuffer - * - * Copyright (c) 2012 Niklas von Hertzen - * Licensed under the MIT license. - */ -(function(){ - "use strict"; - - var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; - - // Use a lookup table to find the index. - var lookup = new Uint8Array(256); - for (var i = 0; i < chars.length; i++) { - lookup[chars.charCodeAt(i)] = i; - } - - exports.encode = function(arraybuffer) { - var bytes = new Uint8Array(arraybuffer), - i, len = bytes.length, base64 = ""; - - for (i = 0; i < len; i+=3) { - base64 += chars[bytes[i] >> 2]; - base64 += chars[((bytes[i] & 3) << 4) | (bytes[i + 1] >> 4)]; - base64 += chars[((bytes[i + 1] & 15) << 2) | (bytes[i + 2] >> 6)]; - base64 += chars[bytes[i + 2] & 63]; - } - - if ((len % 3) === 2) { - base64 = base64.substring(0, base64.length - 1) + "="; - } else if (len % 3 === 1) { - base64 = base64.substring(0, base64.length - 2) + "=="; - } - - return base64; - }; - - exports.decode = function(base64) { - var bufferLength = base64.length * 0.75, - len = base64.length, i, p = 0, - encoded1, encoded2, encoded3, encoded4; - - if (base64[base64.length - 1] === "=") { - bufferLength--; - if (base64[base64.length - 2] === "=") { - bufferLength--; - } - } - - var arraybuffer = new ArrayBuffer(bufferLength), - bytes = new Uint8Array(arraybuffer); - - for (i = 0; i < len; i+=4) { - encoded1 = lookup[base64.charCodeAt(i)]; - encoded2 = lookup[base64.charCodeAt(i+1)]; - encoded3 = lookup[base64.charCodeAt(i+2)]; - encoded4 = lookup[base64.charCodeAt(i+3)]; - - bytes[p++] = (encoded1 << 2) | (encoded2 >> 4); - bytes[p++] = ((encoded2 & 15) << 4) | (encoded3 >> 2); - bytes[p++] = ((encoded3 & 3) << 6) | (encoded4 & 63); - } - - return arraybuffer; - }; -})(); diff --git a/node_modules/base64-arraybuffer/package.json b/node_modules/base64-arraybuffer/package.json deleted file mode 100644 index a7147d3..0000000 --- a/node_modules/base64-arraybuffer/package.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "_from": "base64-arraybuffer@0.1.5", - "_id": "base64-arraybuffer@0.1.5", - "_inBundle": false, - "_integrity": "sha1-c5JncZI7Whl0etZmqlzUv5xunOg=", - "_location": "/base64-arraybuffer", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "base64-arraybuffer@0.1.5", - "name": "base64-arraybuffer", - "escapedName": "base64-arraybuffer", - "rawSpec": "0.1.5", - "saveSpec": null, - "fetchSpec": "0.1.5" - }, - "_requiredBy": [ - "/engine.io-parser", - "/socket.io-client" - ], - "_resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz", - "_shasum": "73926771923b5a19747ad666aa5cd4bf9c6e9ce8", - "_spec": "base64-arraybuffer@0.1.5", - "_where": "/root/gpio-controller/node_modules/engine.io-parser", - "author": { - "name": "Niklas von Hertzen", - "email": "niklasvh@gmail.com", - "url": "http://hertzen.com" - }, - "bugs": { - "url": "https://github.com/niklasvh/base64-arraybuffer/issues" - }, - "bundleDependencies": false, - "deprecated": false, - "description": "Encode/decode base64 data into ArrayBuffers", - "devDependencies": { - "grunt": "^0.4.5", - "grunt-cli": "^0.1.13", - "grunt-contrib-jshint": "^0.11.2", - "grunt-contrib-nodeunit": "^0.4.1", - "grunt-contrib-watch": "^0.6.1" - }, - "engines": { - "node": ">= 0.6.0" - }, - "homepage": "https://github.com/niklasvh/base64-arraybuffer", - "keywords": [], - "licenses": [ - { - "type": "MIT", - "url": "https://github.com/niklasvh/base64-arraybuffer/blob/master/LICENSE-MIT" - } - ], - "main": "lib/base64-arraybuffer", - "name": "base64-arraybuffer", - "repository": { - "type": "git", - "url": "git+https://github.com/niklasvh/base64-arraybuffer.git" - }, - "scripts": { - "test": "grunt nodeunit" - }, - "version": "0.1.5" -} diff --git a/node_modules/base64id/CHANGELOG.md b/node_modules/base64id/CHANGELOG.md deleted file mode 100644 index b2b8332..0000000 --- a/node_modules/base64id/CHANGELOG.md +++ /dev/null @@ -1,16 +0,0 @@ -# [2.0.0](https://github.com/faeldt/base64id/compare/1.0.0...2.0.0) (2019-05-27) - - -### Code Refactoring - -* **buffer:** replace deprecated Buffer constructor usage ([#11](https://github.com/faeldt/base64id/issues/11)) ([ccfba54](https://github.com/faeldt/base64id/commit/ccfba54)) - - -### BREAKING CHANGES - -* **buffer:** drop support for Node.js ≤ 4.4.x and 5.0.0 - 5.9.x - -See: https://nodejs.org/en/docs/guides/buffer-constructor-deprecation/ - - - diff --git a/node_modules/base64id/LICENSE b/node_modules/base64id/LICENSE deleted file mode 100644 index 0d03c83..0000000 --- a/node_modules/base64id/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -(The MIT License) - -Copyright (c) 2012-2016 Kristian Faeldt - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/base64id/README.md b/node_modules/base64id/README.md deleted file mode 100644 index 17689e6..0000000 --- a/node_modules/base64id/README.md +++ /dev/null @@ -1,18 +0,0 @@ -base64id -======== - -Node.js module that generates a base64 id. - -Uses crypto.randomBytes when available, falls back to unsafe methods for node.js <= 0.4. - -To increase performance, random bytes are buffered to minimize the number of synchronous calls to crypto.randomBytes. - -## Installation - - $ npm install base64id - -## Usage - - var base64id = require('base64id'); - - var id = base64id.generateId(); diff --git a/node_modules/base64id/lib/base64id.js b/node_modules/base64id/lib/base64id.js deleted file mode 100644 index 15afe74..0000000 --- a/node_modules/base64id/lib/base64id.js +++ /dev/null @@ -1,103 +0,0 @@ -/*! - * base64id v0.1.0 - */ - -/** - * Module dependencies - */ - -var crypto = require('crypto'); - -/** - * Constructor - */ - -var Base64Id = function() { }; - -/** - * Get random bytes - * - * Uses a buffer if available, falls back to crypto.randomBytes - */ - -Base64Id.prototype.getRandomBytes = function(bytes) { - - var BUFFER_SIZE = 4096 - var self = this; - - bytes = bytes || 12; - - if (bytes > BUFFER_SIZE) { - return crypto.randomBytes(bytes); - } - - var bytesInBuffer = parseInt(BUFFER_SIZE/bytes); - var threshold = parseInt(bytesInBuffer*0.85); - - if (!threshold) { - return crypto.randomBytes(bytes); - } - - if (this.bytesBufferIndex == null) { - this.bytesBufferIndex = -1; - } - - if (this.bytesBufferIndex == bytesInBuffer) { - this.bytesBuffer = null; - this.bytesBufferIndex = -1; - } - - // No buffered bytes available or index above threshold - if (this.bytesBufferIndex == -1 || this.bytesBufferIndex > threshold) { - - if (!this.isGeneratingBytes) { - this.isGeneratingBytes = true; - crypto.randomBytes(BUFFER_SIZE, function(err, bytes) { - self.bytesBuffer = bytes; - self.bytesBufferIndex = 0; - self.isGeneratingBytes = false; - }); - } - - // Fall back to sync call when no buffered bytes are available - if (this.bytesBufferIndex == -1) { - return crypto.randomBytes(bytes); - } - } - - var result = this.bytesBuffer.slice(bytes*this.bytesBufferIndex, bytes*(this.bytesBufferIndex+1)); - this.bytesBufferIndex++; - - return result; -} - -/** - * Generates a base64 id - * - * (Original version from socket.io ) - */ - -Base64Id.prototype.generateId = function () { - var rand = Buffer.alloc(15); // multiple of 3 for base64 - if (!rand.writeInt32BE) { - return Math.abs(Math.random() * Math.random() * Date.now() | 0).toString() - + Math.abs(Math.random() * Math.random() * Date.now() | 0).toString(); - } - this.sequenceNumber = (this.sequenceNumber + 1) | 0; - rand.writeInt32BE(this.sequenceNumber, 11); - if (crypto.randomBytes) { - this.getRandomBytes(12).copy(rand); - } else { - // not secure for node 0.4 - [0, 4, 8].forEach(function(i) { - rand.writeInt32BE(Math.random() * Math.pow(2, 32) | 0, i); - }); - } - return rand.toString('base64').replace(/\//g, '_').replace(/\+/g, '-'); -}; - -/** - * Export - */ - -exports = module.exports = new Base64Id(); diff --git a/node_modules/base64id/package.json b/node_modules/base64id/package.json deleted file mode 100644 index 8b4f74b..0000000 --- a/node_modules/base64id/package.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "_from": "base64id@2.0.0", - "_id": "base64id@2.0.0", - "_inBundle": false, - "_integrity": "sha512-lGe34o6EHj9y3Kts9R4ZYs/Gr+6N7MCaMlIFA3F1R2O5/m7K06AxfSeO5530PEERE6/WyEg3lsuyw4GHlPZHog==", - "_location": "/base64id", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "base64id@2.0.0", - "name": "base64id", - "escapedName": "base64id", - "rawSpec": "2.0.0", - "saveSpec": null, - "fetchSpec": "2.0.0" - }, - "_requiredBy": [ - "/engine.io" - ], - "_resolved": "https://registry.npmjs.org/base64id/-/base64id-2.0.0.tgz", - "_shasum": "2770ac6bc47d312af97a8bf9a634342e0cd25cb6", - "_spec": "base64id@2.0.0", - "_where": "/root/gpio-controller/node_modules/engine.io", - "author": { - "name": "Kristian Faeldt", - "email": "faeldt_kristian@cyberagent.co.jp" - }, - "bugs": { - "url": "https://github.com/faeldt/base64id/issues" - }, - "bundleDependencies": false, - "deprecated": false, - "description": "Generates a base64 id", - "engines": { - "node": "^4.5.0 || >= 5.9" - }, - "homepage": "https://github.com/faeldt/base64id#readme", - "license": "MIT", - "main": "./lib/base64id.js", - "name": "base64id", - "repository": { - "type": "git", - "url": "git+https://github.com/faeldt/base64id.git" - }, - "version": "2.0.0" -} diff --git a/node_modules/better-assert/.npmignore b/node_modules/better-assert/.npmignore deleted file mode 100644 index f1250e5..0000000 --- a/node_modules/better-assert/.npmignore +++ /dev/null @@ -1,4 +0,0 @@ -support -test -examples -*.sock diff --git a/node_modules/better-assert/History.md b/node_modules/better-assert/History.md deleted file mode 100644 index cbb579b..0000000 --- a/node_modules/better-assert/History.md +++ /dev/null @@ -1,15 +0,0 @@ - -1.0.0 / 2013-02-03 -================== - - * Stop using the removed magic __stack global getter - -0.1.0 / 2012-10-04 -================== - - * add throwing of AssertionError for test frameworks etc - -0.0.1 / 2010-01-03 -================== - - * Initial release diff --git a/node_modules/better-assert/Makefile b/node_modules/better-assert/Makefile deleted file mode 100644 index 36a3ed7..0000000 --- a/node_modules/better-assert/Makefile +++ /dev/null @@ -1,5 +0,0 @@ - -test: - @echo "populate me" - -.PHONY: test \ No newline at end of file diff --git a/node_modules/better-assert/Readme.md b/node_modules/better-assert/Readme.md deleted file mode 100644 index d8d3a63..0000000 --- a/node_modules/better-assert/Readme.md +++ /dev/null @@ -1,61 +0,0 @@ - -# better-assert - - Better c-style assertions using [callsite](https://github.com/visionmedia/callsite) for - self-documenting failure messages. - -## Installation - - $ npm install better-assert - -## Example - - By default assertions are enabled, however the __NO_ASSERT__ environment variable - will deactivate them when truthy. - -```js -var assert = require('better-assert'); - -test(); - -function test() { - var user = { name: 'tobi' }; - assert('tobi' == user.name); - assert('number' == typeof user.age); -} - -AssertionError: 'number' == typeof user.age - at test (/Users/tj/projects/better-assert/example.js:9:3) - at Object. (/Users/tj/projects/better-assert/example.js:4:1) - at Module._compile (module.js:449:26) - at Object.Module._extensions..js (module.js:467:10) - at Module.load (module.js:356:32) - at Function.Module._load (module.js:312:12) - at Module.runMain (module.js:492:10) - at process.startup.processNextTick.process._tickCallback (node.js:244:9) -``` - -## License - -(The MIT License) - -Copyright (c) 2012 TJ Holowaychuk <tj@vision-media.ca> - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/node_modules/better-assert/example.js b/node_modules/better-assert/example.js deleted file mode 100644 index 688c29e..0000000 --- a/node_modules/better-assert/example.js +++ /dev/null @@ -1,10 +0,0 @@ - -var assert = require('./'); - -test(); - -function test() { - var user = { name: 'tobi' }; - assert('tobi' == user.name); - assert('number' == typeof user.age); -} \ No newline at end of file diff --git a/node_modules/better-assert/index.js b/node_modules/better-assert/index.js deleted file mode 100644 index fd1c9b7..0000000 --- a/node_modules/better-assert/index.js +++ /dev/null @@ -1,38 +0,0 @@ -/** - * Module dependencies. - */ - -var AssertionError = require('assert').AssertionError - , callsite = require('callsite') - , fs = require('fs') - -/** - * Expose `assert`. - */ - -module.exports = process.env.NO_ASSERT - ? function(){} - : assert; - -/** - * Assert the given `expr`. - */ - -function assert(expr) { - if (expr) return; - - var stack = callsite(); - var call = stack[1]; - var file = call.getFileName(); - var lineno = call.getLineNumber(); - var src = fs.readFileSync(file, 'utf8'); - var line = src.split('\n')[lineno-1]; - var src = line.match(/assert\((.*)\)/)[1]; - - var err = new AssertionError({ - message: src, - stackStartFunction: stack[0].getFunction() - }); - - throw err; -} diff --git a/node_modules/better-assert/package.json b/node_modules/better-assert/package.json deleted file mode 100644 index 01828fb..0000000 --- a/node_modules/better-assert/package.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "_from": "better-assert@~1.0.0", - "_id": "better-assert@1.0.2", - "_inBundle": false, - "_integrity": "sha1-QIZrnhueC1W0gYlDEeaPr/rrxSI=", - "_location": "/better-assert", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "better-assert@~1.0.0", - "name": "better-assert", - "escapedName": "better-assert", - "rawSpec": "~1.0.0", - "saveSpec": null, - "fetchSpec": "~1.0.0" - }, - "_requiredBy": [ - "/parseqs", - "/parseuri" - ], - "_resolved": "https://registry.npmjs.org/better-assert/-/better-assert-1.0.2.tgz", - "_shasum": "40866b9e1b9e0b55b481894311e68faffaebc522", - "_spec": "better-assert@~1.0.0", - "_where": "/root/gpio-controller/node_modules/parseqs", - "author": { - "name": "TJ Holowaychuk", - "email": "tj@vision-media.ca" - }, - "bugs": { - "url": "https://github.com/visionmedia/better-assert/issues" - }, - "bundleDependencies": false, - "contributors": [ - { - "name": "TonyHe", - "email": "coolhzb@163.com" - }, - { - "name": "ForbesLindesay" - } - ], - "dependencies": { - "callsite": "1.0.0" - }, - "deprecated": false, - "description": "Better assertions for node, reporting the expr, filename, lineno etc", - "engines": { - "node": "*" - }, - "homepage": "https://github.com/visionmedia/better-assert#readme", - "keywords": [ - "assert", - "stack", - "trace", - "debug" - ], - "main": "index", - "name": "better-assert", - "repository": { - "type": "git", - "url": "git+https://github.com/visionmedia/better-assert.git" - }, - "version": "1.0.2" -} diff --git a/node_modules/blob/.idea/blob.iml b/node_modules/blob/.idea/blob.iml deleted file mode 100644 index 0b872d8..0000000 --- a/node_modules/blob/.idea/blob.iml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/node_modules/blob/.idea/inspectionProfiles/profiles_settings.xml b/node_modules/blob/.idea/inspectionProfiles/profiles_settings.xml deleted file mode 100644 index 0eefe32..0000000 --- a/node_modules/blob/.idea/inspectionProfiles/profiles_settings.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - \ No newline at end of file diff --git a/node_modules/blob/.idea/markdown-navigator.xml b/node_modules/blob/.idea/markdown-navigator.xml deleted file mode 100644 index 24281af..0000000 --- a/node_modules/blob/.idea/markdown-navigator.xml +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/node_modules/blob/.idea/markdown-navigator/profiles_settings.xml b/node_modules/blob/.idea/markdown-navigator/profiles_settings.xml deleted file mode 100644 index 9c51dfe..0000000 --- a/node_modules/blob/.idea/markdown-navigator/profiles_settings.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/node_modules/blob/.idea/modules.xml b/node_modules/blob/.idea/modules.xml deleted file mode 100644 index a24a2af..0000000 --- a/node_modules/blob/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/node_modules/blob/.idea/vcs.xml b/node_modules/blob/.idea/vcs.xml deleted file mode 100644 index 9661ac7..0000000 --- a/node_modules/blob/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/node_modules/blob/.idea/workspace.xml b/node_modules/blob/.idea/workspace.xml deleted file mode 100644 index 31e803b..0000000 --- a/node_modules/blob/.idea/workspace.xml +++ /dev/null @@ -1,390 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - esprima-six - - - - - - - - - - - - - - true - DEFINITION_ORDER - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - '); - res.end(''); -} - -http.createServer(onRequest).listen(3000); -``` - -## Testing - -```sh -$ npm test -``` - -## Benchmark - -``` -$ npm run bench - -> cookie@0.3.1 bench cookie -> node benchmark/index.js - - http_parser@2.8.0 - node@6.14.2 - v8@5.1.281.111 - uv@1.16.1 - zlib@1.2.11 - ares@1.10.1-DEV - icu@58.2 - modules@48 - napi@3 - openssl@1.0.2o - -> node benchmark/parse.js - - cookie.parse - - 6 tests completed. - - simple x 1,200,691 ops/sec ±1.12% (189 runs sampled) - decode x 1,012,994 ops/sec ±0.97% (186 runs sampled) - unquote x 1,074,174 ops/sec ±2.43% (186 runs sampled) - duplicates x 438,424 ops/sec ±2.17% (184 runs sampled) - 10 cookies x 147,154 ops/sec ±1.01% (186 runs sampled) - 100 cookies x 14,274 ops/sec ±1.07% (187 runs sampled) -``` - -## References - -- [RFC 6265: HTTP State Management Mechanism][rfc-6265] -- [Same-site Cookies][rfc-6265bis-03-4.1.2.7] - -[rfc-6265bis-03-4.1.2.7]: https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-03#section-4.1.2.7 -[rfc-6265]: https://tools.ietf.org/html/rfc6265 -[rfc-6265-5.1.4]: https://tools.ietf.org/html/rfc6265#section-5.1.4 -[rfc-6265-5.2.1]: https://tools.ietf.org/html/rfc6265#section-5.2.1 -[rfc-6265-5.2.2]: https://tools.ietf.org/html/rfc6265#section-5.2.2 -[rfc-6265-5.2.3]: https://tools.ietf.org/html/rfc6265#section-5.2.3 -[rfc-6265-5.2.4]: https://tools.ietf.org/html/rfc6265#section-5.2.4 -[rfc-6265-5.2.5]: https://tools.ietf.org/html/rfc6265#section-5.2.5 -[rfc-6265-5.2.6]: https://tools.ietf.org/html/rfc6265#section-5.2.6 -[rfc-6265-5.3]: https://tools.ietf.org/html/rfc6265#section-5.3 - -## License - -[MIT](LICENSE) - -[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/cookie/master -[coveralls-url]: https://coveralls.io/r/jshttp/cookie?branch=master -[node-version-image]: https://badgen.net/npm/node/cookie -[node-version-url]: https://nodejs.org/en/download -[npm-downloads-image]: https://badgen.net/npm/dm/cookie -[npm-url]: https://npmjs.org/package/cookie -[npm-version-image]: https://badgen.net/npm/v/cookie -[travis-image]: https://badgen.net/travis/jshttp/cookie/master -[travis-url]: https://travis-ci.org/jshttp/cookie diff --git a/node_modules/cookie/index.js b/node_modules/cookie/index.js deleted file mode 100644 index 16f56c0..0000000 --- a/node_modules/cookie/index.js +++ /dev/null @@ -1,198 +0,0 @@ -/*! - * cookie - * Copyright(c) 2012-2014 Roman Shtylman - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */ - -'use strict'; - -/** - * Module exports. - * @public - */ - -exports.parse = parse; -exports.serialize = serialize; - -/** - * Module variables. - * @private - */ - -var decode = decodeURIComponent; -var encode = encodeURIComponent; -var pairSplitRegExp = /; */; - -/** - * RegExp to match field-content in RFC 7230 sec 3.2 - * - * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ] - * field-vchar = VCHAR / obs-text - * obs-text = %x80-FF - */ - -var fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/; - -/** - * Parse a cookie header. - * - * Parse the given cookie header string into an object - * The object has the various cookies as keys(names) => values - * - * @param {string} str - * @param {object} [options] - * @return {object} - * @public - */ - -function parse(str, options) { - if (typeof str !== 'string') { - throw new TypeError('argument str must be a string'); - } - - var obj = {} - var opt = options || {}; - var pairs = str.split(pairSplitRegExp); - var dec = opt.decode || decode; - - for (var i = 0; i < pairs.length; i++) { - var pair = pairs[i]; - var eq_idx = pair.indexOf('='); - - // skip things that don't look like key=value - if (eq_idx < 0) { - continue; - } - - var key = pair.substr(0, eq_idx).trim() - var val = pair.substr(++eq_idx, pair.length).trim(); - - // quoted values - if ('"' == val[0]) { - val = val.slice(1, -1); - } - - // only assign once - if (undefined == obj[key]) { - obj[key] = tryDecode(val, dec); - } - } - - return obj; -} - -/** - * Serialize data into a cookie header. - * - * Serialize the a name value pair into a cookie string suitable for - * http headers. An optional options object specified cookie parameters. - * - * serialize('foo', 'bar', { httpOnly: true }) - * => "foo=bar; httpOnly" - * - * @param {string} name - * @param {string} val - * @param {object} [options] - * @return {string} - * @public - */ - -function serialize(name, val, options) { - var opt = options || {}; - var enc = opt.encode || encode; - - if (typeof enc !== 'function') { - throw new TypeError('option encode is invalid'); - } - - if (!fieldContentRegExp.test(name)) { - throw new TypeError('argument name is invalid'); - } - - var value = enc(val); - - if (value && !fieldContentRegExp.test(value)) { - throw new TypeError('argument val is invalid'); - } - - var str = name + '=' + value; - - if (null != opt.maxAge) { - var maxAge = opt.maxAge - 0; - if (isNaN(maxAge)) throw new Error('maxAge should be a Number'); - str += '; Max-Age=' + Math.floor(maxAge); - } - - if (opt.domain) { - if (!fieldContentRegExp.test(opt.domain)) { - throw new TypeError('option domain is invalid'); - } - - str += '; Domain=' + opt.domain; - } - - if (opt.path) { - if (!fieldContentRegExp.test(opt.path)) { - throw new TypeError('option path is invalid'); - } - - str += '; Path=' + opt.path; - } - - if (opt.expires) { - if (typeof opt.expires.toUTCString !== 'function') { - throw new TypeError('option expires is invalid'); - } - - str += '; Expires=' + opt.expires.toUTCString(); - } - - if (opt.httpOnly) { - str += '; HttpOnly'; - } - - if (opt.secure) { - str += '; Secure'; - } - - if (opt.sameSite) { - var sameSite = typeof opt.sameSite === 'string' - ? opt.sameSite.toLowerCase() : opt.sameSite; - - switch (sameSite) { - case true: - str += '; SameSite=Strict'; - break; - case 'lax': - str += '; SameSite=Lax'; - break; - case 'strict': - str += '; SameSite=Strict'; - break; - case 'none': - str += '; SameSite=None'; - break; - default: - throw new TypeError('option sameSite is invalid'); - } - } - - return str; -} - -/** - * Try decoding a string using a decoding function. - * - * @param {string} str - * @param {function} decode - * @private - */ - -function tryDecode(str, decode) { - try { - return decode(str); - } catch (e) { - return str; - } -} diff --git a/node_modules/cookie/package.json b/node_modules/cookie/package.json deleted file mode 100644 index 1896b0a..0000000 --- a/node_modules/cookie/package.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "_from": "cookie@0.4.0", - "_id": "cookie@0.4.0", - "_inBundle": false, - "_integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==", - "_location": "/cookie", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "cookie@0.4.0", - "name": "cookie", - "escapedName": "cookie", - "rawSpec": "0.4.0", - "saveSpec": null, - "fetchSpec": "0.4.0" - }, - "_requiredBy": [ - "/express" - ], - "_resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz", - "_shasum": "beb437e7022b3b6d49019d088665303ebe9c14ba", - "_spec": "cookie@0.4.0", - "_where": "/root/gpio-controller/node_modules/express", - "author": { - "name": "Roman Shtylman", - "email": "shtylman@gmail.com" - }, - "bugs": { - "url": "https://github.com/jshttp/cookie/issues" - }, - "bundleDependencies": false, - "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - } - ], - "deprecated": false, - "description": "HTTP server cookie parsing and serialization", - "devDependencies": { - "beautify-benchmark": "0.2.4", - "benchmark": "2.1.4", - "eslint": "5.16.0", - "eslint-plugin-markdown": "1.0.0", - "istanbul": "0.4.5", - "mocha": "6.1.4" - }, - "engines": { - "node": ">= 0.6" - }, - "files": [ - "HISTORY.md", - "LICENSE", - "README.md", - "index.js" - ], - "homepage": "https://github.com/jshttp/cookie#readme", - "keywords": [ - "cookie", - "cookies" - ], - "license": "MIT", - "name": "cookie", - "repository": { - "type": "git", - "url": "git+https://github.com/jshttp/cookie.git" - }, - "scripts": { - "bench": "node benchmark/index.js", - "lint": "eslint --plugin markdown --ext js,md .", - "test": "mocha --reporter spec --bail --check-leaks test/", - "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/", - "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", - "version": "node scripts/version-history.js && git add HISTORY.md" - }, - "version": "0.4.0" -} diff --git a/node_modules/core-util-is/LICENSE b/node_modules/core-util-is/LICENSE deleted file mode 100644 index d8d7f94..0000000 --- a/node_modules/core-util-is/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright Node.js contributors. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. diff --git a/node_modules/core-util-is/README.md b/node_modules/core-util-is/README.md deleted file mode 100644 index 5a76b41..0000000 --- a/node_modules/core-util-is/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# core-util-is - -The `util.is*` functions introduced in Node v0.12. diff --git a/node_modules/core-util-is/float.patch b/node_modules/core-util-is/float.patch deleted file mode 100644 index a06d5c0..0000000 --- a/node_modules/core-util-is/float.patch +++ /dev/null @@ -1,604 +0,0 @@ -diff --git a/lib/util.js b/lib/util.js -index a03e874..9074e8e 100644 ---- a/lib/util.js -+++ b/lib/util.js -@@ -19,430 +19,6 @@ - // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE - // USE OR OTHER DEALINGS IN THE SOFTWARE. - --var formatRegExp = /%[sdj%]/g; --exports.format = function(f) { -- if (!isString(f)) { -- var objects = []; -- for (var i = 0; i < arguments.length; i++) { -- objects.push(inspect(arguments[i])); -- } -- return objects.join(' '); -- } -- -- var i = 1; -- var args = arguments; -- var len = args.length; -- var str = String(f).replace(formatRegExp, function(x) { -- if (x === '%%') return '%'; -- if (i >= len) return x; -- switch (x) { -- case '%s': return String(args[i++]); -- case '%d': return Number(args[i++]); -- case '%j': -- try { -- return JSON.stringify(args[i++]); -- } catch (_) { -- return '[Circular]'; -- } -- default: -- return x; -- } -- }); -- for (var x = args[i]; i < len; x = args[++i]) { -- if (isNull(x) || !isObject(x)) { -- str += ' ' + x; -- } else { -- str += ' ' + inspect(x); -- } -- } -- return str; --}; -- -- --// Mark that a method should not be used. --// Returns a modified function which warns once by default. --// If --no-deprecation is set, then it is a no-op. --exports.deprecate = function(fn, msg) { -- // Allow for deprecating things in the process of starting up. -- if (isUndefined(global.process)) { -- return function() { -- return exports.deprecate(fn, msg).apply(this, arguments); -- }; -- } -- -- if (process.noDeprecation === true) { -- return fn; -- } -- -- var warned = false; -- function deprecated() { -- if (!warned) { -- if (process.throwDeprecation) { -- throw new Error(msg); -- } else if (process.traceDeprecation) { -- console.trace(msg); -- } else { -- console.error(msg); -- } -- warned = true; -- } -- return fn.apply(this, arguments); -- } -- -- return deprecated; --}; -- -- --var debugs = {}; --var debugEnviron; --exports.debuglog = function(set) { -- if (isUndefined(debugEnviron)) -- debugEnviron = process.env.NODE_DEBUG || ''; -- set = set.toUpperCase(); -- if (!debugs[set]) { -- if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) { -- var pid = process.pid; -- debugs[set] = function() { -- var msg = exports.format.apply(exports, arguments); -- console.error('%s %d: %s', set, pid, msg); -- }; -- } else { -- debugs[set] = function() {}; -- } -- } -- return debugs[set]; --}; -- -- --/** -- * Echos the value of a value. Trys to print the value out -- * in the best way possible given the different types. -- * -- * @param {Object} obj The object to print out. -- * @param {Object} opts Optional options object that alters the output. -- */ --/* legacy: obj, showHidden, depth, colors*/ --function inspect(obj, opts) { -- // default options -- var ctx = { -- seen: [], -- stylize: stylizeNoColor -- }; -- // legacy... -- if (arguments.length >= 3) ctx.depth = arguments[2]; -- if (arguments.length >= 4) ctx.colors = arguments[3]; -- if (isBoolean(opts)) { -- // legacy... -- ctx.showHidden = opts; -- } else if (opts) { -- // got an "options" object -- exports._extend(ctx, opts); -- } -- // set default options -- if (isUndefined(ctx.showHidden)) ctx.showHidden = false; -- if (isUndefined(ctx.depth)) ctx.depth = 2; -- if (isUndefined(ctx.colors)) ctx.colors = false; -- if (isUndefined(ctx.customInspect)) ctx.customInspect = true; -- if (ctx.colors) ctx.stylize = stylizeWithColor; -- return formatValue(ctx, obj, ctx.depth); --} --exports.inspect = inspect; -- -- --// http://en.wikipedia.org/wiki/ANSI_escape_code#graphics --inspect.colors = { -- 'bold' : [1, 22], -- 'italic' : [3, 23], -- 'underline' : [4, 24], -- 'inverse' : [7, 27], -- 'white' : [37, 39], -- 'grey' : [90, 39], -- 'black' : [30, 39], -- 'blue' : [34, 39], -- 'cyan' : [36, 39], -- 'green' : [32, 39], -- 'magenta' : [35, 39], -- 'red' : [31, 39], -- 'yellow' : [33, 39] --}; -- --// Don't use 'blue' not visible on cmd.exe --inspect.styles = { -- 'special': 'cyan', -- 'number': 'yellow', -- 'boolean': 'yellow', -- 'undefined': 'grey', -- 'null': 'bold', -- 'string': 'green', -- 'date': 'magenta', -- // "name": intentionally not styling -- 'regexp': 'red' --}; -- -- --function stylizeWithColor(str, styleType) { -- var style = inspect.styles[styleType]; -- -- if (style) { -- return '\u001b[' + inspect.colors[style][0] + 'm' + str + -- '\u001b[' + inspect.colors[style][1] + 'm'; -- } else { -- return str; -- } --} -- -- --function stylizeNoColor(str, styleType) { -- return str; --} -- -- --function arrayToHash(array) { -- var hash = {}; -- -- array.forEach(function(val, idx) { -- hash[val] = true; -- }); -- -- return hash; --} -- -- --function formatValue(ctx, value, recurseTimes) { -- // Provide a hook for user-specified inspect functions. -- // Check that value is an object with an inspect function on it -- if (ctx.customInspect && -- value && -- isFunction(value.inspect) && -- // Filter out the util module, it's inspect function is special -- value.inspect !== exports.inspect && -- // Also filter out any prototype objects using the circular check. -- !(value.constructor && value.constructor.prototype === value)) { -- var ret = value.inspect(recurseTimes, ctx); -- if (!isString(ret)) { -- ret = formatValue(ctx, ret, recurseTimes); -- } -- return ret; -- } -- -- // Primitive types cannot have properties -- var primitive = formatPrimitive(ctx, value); -- if (primitive) { -- return primitive; -- } -- -- // Look up the keys of the object. -- var keys = Object.keys(value); -- var visibleKeys = arrayToHash(keys); -- -- if (ctx.showHidden) { -- keys = Object.getOwnPropertyNames(value); -- } -- -- // Some type of object without properties can be shortcutted. -- if (keys.length === 0) { -- if (isFunction(value)) { -- var name = value.name ? ': ' + value.name : ''; -- return ctx.stylize('[Function' + name + ']', 'special'); -- } -- if (isRegExp(value)) { -- return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp'); -- } -- if (isDate(value)) { -- return ctx.stylize(Date.prototype.toString.call(value), 'date'); -- } -- if (isError(value)) { -- return formatError(value); -- } -- } -- -- var base = '', array = false, braces = ['{', '}']; -- -- // Make Array say that they are Array -- if (isArray(value)) { -- array = true; -- braces = ['[', ']']; -- } -- -- // Make functions say that they are functions -- if (isFunction(value)) { -- var n = value.name ? ': ' + value.name : ''; -- base = ' [Function' + n + ']'; -- } -- -- // Make RegExps say that they are RegExps -- if (isRegExp(value)) { -- base = ' ' + RegExp.prototype.toString.call(value); -- } -- -- // Make dates with properties first say the date -- if (isDate(value)) { -- base = ' ' + Date.prototype.toUTCString.call(value); -- } -- -- // Make error with message first say the error -- if (isError(value)) { -- base = ' ' + formatError(value); -- } -- -- if (keys.length === 0 && (!array || value.length == 0)) { -- return braces[0] + base + braces[1]; -- } -- -- if (recurseTimes < 0) { -- if (isRegExp(value)) { -- return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp'); -- } else { -- return ctx.stylize('[Object]', 'special'); -- } -- } -- -- ctx.seen.push(value); -- -- var output; -- if (array) { -- output = formatArray(ctx, value, recurseTimes, visibleKeys, keys); -- } else { -- output = keys.map(function(key) { -- return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array); -- }); -- } -- -- ctx.seen.pop(); -- -- return reduceToSingleString(output, base, braces); --} -- -- --function formatPrimitive(ctx, value) { -- if (isUndefined(value)) -- return ctx.stylize('undefined', 'undefined'); -- if (isString(value)) { -- var simple = '\'' + JSON.stringify(value).replace(/^"|"$/g, '') -- .replace(/'/g, "\\'") -- .replace(/\\"/g, '"') + '\''; -- return ctx.stylize(simple, 'string'); -- } -- if (isNumber(value)) { -- // Format -0 as '-0'. Strict equality won't distinguish 0 from -0, -- // so instead we use the fact that 1 / -0 < 0 whereas 1 / 0 > 0 . -- if (value === 0 && 1 / value < 0) -- return ctx.stylize('-0', 'number'); -- return ctx.stylize('' + value, 'number'); -- } -- if (isBoolean(value)) -- return ctx.stylize('' + value, 'boolean'); -- // For some reason typeof null is "object", so special case here. -- if (isNull(value)) -- return ctx.stylize('null', 'null'); --} -- -- --function formatError(value) { -- return '[' + Error.prototype.toString.call(value) + ']'; --} -- -- --function formatArray(ctx, value, recurseTimes, visibleKeys, keys) { -- var output = []; -- for (var i = 0, l = value.length; i < l; ++i) { -- if (hasOwnProperty(value, String(i))) { -- output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, -- String(i), true)); -- } else { -- output.push(''); -- } -- } -- keys.forEach(function(key) { -- if (!key.match(/^\d+$/)) { -- output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, -- key, true)); -- } -- }); -- return output; --} -- -- --function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) { -- var name, str, desc; -- desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] }; -- if (desc.get) { -- if (desc.set) { -- str = ctx.stylize('[Getter/Setter]', 'special'); -- } else { -- str = ctx.stylize('[Getter]', 'special'); -- } -- } else { -- if (desc.set) { -- str = ctx.stylize('[Setter]', 'special'); -- } -- } -- if (!hasOwnProperty(visibleKeys, key)) { -- name = '[' + key + ']'; -- } -- if (!str) { -- if (ctx.seen.indexOf(desc.value) < 0) { -- if (isNull(recurseTimes)) { -- str = formatValue(ctx, desc.value, null); -- } else { -- str = formatValue(ctx, desc.value, recurseTimes - 1); -- } -- if (str.indexOf('\n') > -1) { -- if (array) { -- str = str.split('\n').map(function(line) { -- return ' ' + line; -- }).join('\n').substr(2); -- } else { -- str = '\n' + str.split('\n').map(function(line) { -- return ' ' + line; -- }).join('\n'); -- } -- } -- } else { -- str = ctx.stylize('[Circular]', 'special'); -- } -- } -- if (isUndefined(name)) { -- if (array && key.match(/^\d+$/)) { -- return str; -- } -- name = JSON.stringify('' + key); -- if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) { -- name = name.substr(1, name.length - 2); -- name = ctx.stylize(name, 'name'); -- } else { -- name = name.replace(/'/g, "\\'") -- .replace(/\\"/g, '"') -- .replace(/(^"|"$)/g, "'"); -- name = ctx.stylize(name, 'string'); -- } -- } -- -- return name + ': ' + str; --} -- -- --function reduceToSingleString(output, base, braces) { -- var numLinesEst = 0; -- var length = output.reduce(function(prev, cur) { -- numLinesEst++; -- if (cur.indexOf('\n') >= 0) numLinesEst++; -- return prev + cur.replace(/\u001b\[\d\d?m/g, '').length + 1; -- }, 0); -- -- if (length > 60) { -- return braces[0] + -- (base === '' ? '' : base + '\n ') + -- ' ' + -- output.join(',\n ') + -- ' ' + -- braces[1]; -- } -- -- return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1]; --} -- -- - // NOTE: These type checking functions intentionally don't use `instanceof` - // because it is fragile and can be easily faked with `Object.create()`. - function isArray(ar) { -@@ -522,166 +98,10 @@ function isPrimitive(arg) { - exports.isPrimitive = isPrimitive; - - function isBuffer(arg) { -- return arg instanceof Buffer; -+ return Buffer.isBuffer(arg); - } - exports.isBuffer = isBuffer; - - function objectToString(o) { - return Object.prototype.toString.call(o); --} -- -- --function pad(n) { -- return n < 10 ? '0' + n.toString(10) : n.toString(10); --} -- -- --var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', -- 'Oct', 'Nov', 'Dec']; -- --// 26 Feb 16:19:34 --function timestamp() { -- var d = new Date(); -- var time = [pad(d.getHours()), -- pad(d.getMinutes()), -- pad(d.getSeconds())].join(':'); -- return [d.getDate(), months[d.getMonth()], time].join(' '); --} -- -- --// log is just a thin wrapper to console.log that prepends a timestamp --exports.log = function() { -- console.log('%s - %s', timestamp(), exports.format.apply(exports, arguments)); --}; -- -- --/** -- * Inherit the prototype methods from one constructor into another. -- * -- * The Function.prototype.inherits from lang.js rewritten as a standalone -- * function (not on Function.prototype). NOTE: If this file is to be loaded -- * during bootstrapping this function needs to be rewritten using some native -- * functions as prototype setup using normal JavaScript does not work as -- * expected during bootstrapping (see mirror.js in r114903). -- * -- * @param {function} ctor Constructor function which needs to inherit the -- * prototype. -- * @param {function} superCtor Constructor function to inherit prototype from. -- */ --exports.inherits = function(ctor, superCtor) { -- ctor.super_ = superCtor; -- ctor.prototype = Object.create(superCtor.prototype, { -- constructor: { -- value: ctor, -- enumerable: false, -- writable: true, -- configurable: true -- } -- }); --}; -- --exports._extend = function(origin, add) { -- // Don't do anything if add isn't an object -- if (!add || !isObject(add)) return origin; -- -- var keys = Object.keys(add); -- var i = keys.length; -- while (i--) { -- origin[keys[i]] = add[keys[i]]; -- } -- return origin; --}; -- --function hasOwnProperty(obj, prop) { -- return Object.prototype.hasOwnProperty.call(obj, prop); --} -- -- --// Deprecated old stuff. -- --exports.p = exports.deprecate(function() { -- for (var i = 0, len = arguments.length; i < len; ++i) { -- console.error(exports.inspect(arguments[i])); -- } --}, 'util.p: Use console.error() instead'); -- -- --exports.exec = exports.deprecate(function() { -- return require('child_process').exec.apply(this, arguments); --}, 'util.exec is now called `child_process.exec`.'); -- -- --exports.print = exports.deprecate(function() { -- for (var i = 0, len = arguments.length; i < len; ++i) { -- process.stdout.write(String(arguments[i])); -- } --}, 'util.print: Use console.log instead'); -- -- --exports.puts = exports.deprecate(function() { -- for (var i = 0, len = arguments.length; i < len; ++i) { -- process.stdout.write(arguments[i] + '\n'); -- } --}, 'util.puts: Use console.log instead'); -- -- --exports.debug = exports.deprecate(function(x) { -- process.stderr.write('DEBUG: ' + x + '\n'); --}, 'util.debug: Use console.error instead'); -- -- --exports.error = exports.deprecate(function(x) { -- for (var i = 0, len = arguments.length; i < len; ++i) { -- process.stderr.write(arguments[i] + '\n'); -- } --}, 'util.error: Use console.error instead'); -- -- --exports.pump = exports.deprecate(function(readStream, writeStream, callback) { -- var callbackCalled = false; -- -- function call(a, b, c) { -- if (callback && !callbackCalled) { -- callback(a, b, c); -- callbackCalled = true; -- } -- } -- -- readStream.addListener('data', function(chunk) { -- if (writeStream.write(chunk) === false) readStream.pause(); -- }); -- -- writeStream.addListener('drain', function() { -- readStream.resume(); -- }); -- -- readStream.addListener('end', function() { -- writeStream.end(); -- }); -- -- readStream.addListener('close', function() { -- call(); -- }); -- -- readStream.addListener('error', function(err) { -- writeStream.end(); -- call(err); -- }); -- -- writeStream.addListener('error', function(err) { -- readStream.destroy(); -- call(err); -- }); --}, 'util.pump(): Use readableStream.pipe() instead'); -- -- --var uv; --exports._errnoException = function(err, syscall) { -- if (isUndefined(uv)) uv = process.binding('uv'); -- var errname = uv.errname(err); -- var e = new Error(syscall + ' ' + errname); -- e.code = errname; -- e.errno = errname; -- e.syscall = syscall; -- return e; --}; -+} \ No newline at end of file diff --git a/node_modules/core-util-is/lib/util.js b/node_modules/core-util-is/lib/util.js deleted file mode 100644 index ff4c851..0000000 --- a/node_modules/core-util-is/lib/util.js +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright Joyent, Inc. and other Node contributors. -// -// Permission is hereby granted, free of charge, to any person obtaining a -// copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to permit -// persons to whom the Software is furnished to do so, subject to the -// following conditions: -// -// The above copyright notice and this permission notice shall be included -// in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN -// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE -// USE OR OTHER DEALINGS IN THE SOFTWARE. - -// NOTE: These type checking functions intentionally don't use `instanceof` -// because it is fragile and can be easily faked with `Object.create()`. - -function isArray(arg) { - if (Array.isArray) { - return Array.isArray(arg); - } - return objectToString(arg) === '[object Array]'; -} -exports.isArray = isArray; - -function isBoolean(arg) { - return typeof arg === 'boolean'; -} -exports.isBoolean = isBoolean; - -function isNull(arg) { - return arg === null; -} -exports.isNull = isNull; - -function isNullOrUndefined(arg) { - return arg == null; -} -exports.isNullOrUndefined = isNullOrUndefined; - -function isNumber(arg) { - return typeof arg === 'number'; -} -exports.isNumber = isNumber; - -function isString(arg) { - return typeof arg === 'string'; -} -exports.isString = isString; - -function isSymbol(arg) { - return typeof arg === 'symbol'; -} -exports.isSymbol = isSymbol; - -function isUndefined(arg) { - return arg === void 0; -} -exports.isUndefined = isUndefined; - -function isRegExp(re) { - return objectToString(re) === '[object RegExp]'; -} -exports.isRegExp = isRegExp; - -function isObject(arg) { - return typeof arg === 'object' && arg !== null; -} -exports.isObject = isObject; - -function isDate(d) { - return objectToString(d) === '[object Date]'; -} -exports.isDate = isDate; - -function isError(e) { - return (objectToString(e) === '[object Error]' || e instanceof Error); -} -exports.isError = isError; - -function isFunction(arg) { - return typeof arg === 'function'; -} -exports.isFunction = isFunction; - -function isPrimitive(arg) { - return arg === null || - typeof arg === 'boolean' || - typeof arg === 'number' || - typeof arg === 'string' || - typeof arg === 'symbol' || // ES6 symbol - typeof arg === 'undefined'; -} -exports.isPrimitive = isPrimitive; - -exports.isBuffer = Buffer.isBuffer; - -function objectToString(o) { - return Object.prototype.toString.call(o); -} diff --git a/node_modules/core-util-is/package.json b/node_modules/core-util-is/package.json deleted file mode 100644 index c076990..0000000 --- a/node_modules/core-util-is/package.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "_from": "core-util-is@~1.0.0", - "_id": "core-util-is@1.0.2", - "_inBundle": false, - "_integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", - "_location": "/core-util-is", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "core-util-is@~1.0.0", - "name": "core-util-is", - "escapedName": "core-util-is", - "rawSpec": "~1.0.0", - "saveSpec": null, - "fetchSpec": "~1.0.0" - }, - "_requiredBy": [ - "/readable-stream" - ], - "_resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "_shasum": "b5fd54220aa2bc5ab57aab7140c940754503c1a7", - "_spec": "core-util-is@~1.0.0", - "_where": "/home/arda/SBC-RealTimeIO/node_modules/readable-stream", - "author": { - "name": "Isaac Z. Schlueter", - "email": "i@izs.me", - "url": "http://blog.izs.me/" - }, - "bugs": { - "url": "https://github.com/isaacs/core-util-is/issues" - }, - "bundleDependencies": false, - "deprecated": false, - "description": "The `util.is*` functions introduced in Node v0.12.", - "devDependencies": { - "tap": "^2.3.0" - }, - "homepage": "https://github.com/isaacs/core-util-is#readme", - "keywords": [ - "util", - "isBuffer", - "isArray", - "isNumber", - "isString", - "isRegExp", - "isThis", - "isThat", - "polyfill" - ], - "license": "MIT", - "main": "lib/util.js", - "name": "core-util-is", - "repository": { - "type": "git", - "url": "git://github.com/isaacs/core-util-is.git" - }, - "scripts": { - "test": "tap test.js" - }, - "version": "1.0.2" -} diff --git a/node_modules/core-util-is/test.js b/node_modules/core-util-is/test.js deleted file mode 100644 index 1a490c6..0000000 --- a/node_modules/core-util-is/test.js +++ /dev/null @@ -1,68 +0,0 @@ -var assert = require('tap'); - -var t = require('./lib/util'); - -assert.equal(t.isArray([]), true); -assert.equal(t.isArray({}), false); - -assert.equal(t.isBoolean(null), false); -assert.equal(t.isBoolean(true), true); -assert.equal(t.isBoolean(false), true); - -assert.equal(t.isNull(null), true); -assert.equal(t.isNull(undefined), false); -assert.equal(t.isNull(false), false); -assert.equal(t.isNull(), false); - -assert.equal(t.isNullOrUndefined(null), true); -assert.equal(t.isNullOrUndefined(undefined), true); -assert.equal(t.isNullOrUndefined(false), false); -assert.equal(t.isNullOrUndefined(), true); - -assert.equal(t.isNumber(null), false); -assert.equal(t.isNumber('1'), false); -assert.equal(t.isNumber(1), true); - -assert.equal(t.isString(null), false); -assert.equal(t.isString('1'), true); -assert.equal(t.isString(1), false); - -assert.equal(t.isSymbol(null), false); -assert.equal(t.isSymbol('1'), false); -assert.equal(t.isSymbol(1), false); -assert.equal(t.isSymbol(Symbol()), true); - -assert.equal(t.isUndefined(null), false); -assert.equal(t.isUndefined(undefined), true); -assert.equal(t.isUndefined(false), false); -assert.equal(t.isUndefined(), true); - -assert.equal(t.isRegExp(null), false); -assert.equal(t.isRegExp('1'), false); -assert.equal(t.isRegExp(new RegExp()), true); - -assert.equal(t.isObject({}), true); -assert.equal(t.isObject([]), true); -assert.equal(t.isObject(new RegExp()), true); -assert.equal(t.isObject(new Date()), true); - -assert.equal(t.isDate(null), false); -assert.equal(t.isDate('1'), false); -assert.equal(t.isDate(new Date()), true); - -assert.equal(t.isError(null), false); -assert.equal(t.isError({ err: true }), false); -assert.equal(t.isError(new Error()), true); - -assert.equal(t.isFunction(null), false); -assert.equal(t.isFunction({ }), false); -assert.equal(t.isFunction(function() {}), true); - -assert.equal(t.isPrimitive(null), true); -assert.equal(t.isPrimitive(''), true); -assert.equal(t.isPrimitive(0), true); -assert.equal(t.isPrimitive(new Date()), false); - -assert.equal(t.isBuffer(null), false); -assert.equal(t.isBuffer({}), false); -assert.equal(t.isBuffer(new Buffer(0)), true); diff --git a/node_modules/cron/.eslintrc b/node_modules/cron/.eslintrc deleted file mode 100644 index 05544ec..0000000 --- a/node_modules/cron/.eslintrc +++ /dev/null @@ -1,28 +0,0 @@ -{ - "extends": ["standard", "prettier", "prettier/standard"], - "parserOptions": { - "ecmaVersion": "2017", - "sourceType": "module" - }, - "globals": { - "define": true, - "after": true, - "afterEach": true, - "before": true, - "beforeEach": true, - "describe": true, - "expect": true, - "it": true - }, - "env": { - "browser": true, - "node": true, - "jest/globals": true - }, - "plugins": ["prettier", "standard", "jest"], - "rules": { - "space-before-function-paren": 0, - "new-cap": 0, - "prettier/prettier": 2 - } -} diff --git a/node_modules/cron/.prettierrc b/node_modules/cron/.prettierrc deleted file mode 100644 index 8f94d3d..0000000 --- a/node_modules/cron/.prettierrc +++ /dev/null @@ -1,4 +0,0 @@ -{ - "useTabs": true, - "singleQuote": true -} diff --git a/node_modules/cron/.travis.yml b/node_modules/cron/.travis.yml deleted file mode 100644 index fdd9fd7..0000000 --- a/node_modules/cron/.travis.yml +++ /dev/null @@ -1,11 +0,0 @@ -language: node_js -node_js: -- '6' -- '8' -- '10' -- '12' -notifications: - email: - on_success: never - slack: - secure: hHI67BDSUiJQeEiJI/+XJzR/oSsjYPoylhqY10WIZWXfs4TIrdLe513Fzt9BnDNtxpHnCqkgqCb1lF8gNkkOhJKezfDwOZK6HKpNp+zfn7WqBxL0VB3rPw3JoOO9JWoELwV2LyUutbw7m4+OMO45eWgQmQM4mddUMHjyV0awa7A= diff --git a/node_modules/cron/CHANGELOG.md b/node_modules/cron/CHANGELOG.md deleted file mode 100644 index 29d352e..0000000 --- a/node_modules/cron/CHANGELOG.md +++ /dev/null @@ -1,15 +0,0 @@ -## [v1.8.1] - 2020-01-19 -- Revert TS definition defaulting to DefinitelyTyped definitions. - -## [v1.8.0] - 2020-01-19 -- GH-454 - Range upper limit should default to highest value when step is provided by Noah May in d36dc9581f9f68580a2016b368f8002a9f1e357d - -## [v1.7.1] - 2019-04-26 -- GH-416 - Fix issue where next execution time is incorrect in some cases in Naoya Inada in c08522ff80b3987843e9930c307b76d5fe38b5dc - -## [v1.7.0] - 2019-03-19 -- GH-408 - DST issue by Shua Talansky in 1e971fd6dfa6ba4b0469d99dd64e6c31189d17d3 and 849a2467d16216a9dfa818c57cc26be6b6d0899b - -## [v1.6.0] - 2018-11-15 -- GH-393, GH-394 - Remove hard limit on max iters in favor of a timeout by Nick Campbell in 57632b0c06c56e82f40b740b8d7986be43842735 -- GH-390 - better handling of real dates which are in the past by Nick Campbell in 7cbcc984aea6ec063e38829f68eb9bc0dfb1c775 diff --git a/node_modules/cron/LICENSE b/node_modules/cron/LICENSE deleted file mode 100644 index 14cd9fc..0000000 --- a/node_modules/cron/LICENSE +++ /dev/null @@ -1,8 +0,0 @@ -The MIT License (MIT) -Copyright © 2017 Nicholas Campbell - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/cron/README.md b/node_modules/cron/README.md deleted file mode 100644 index 1924948..0000000 --- a/node_modules/cron/README.md +++ /dev/null @@ -1,196 +0,0 @@ -node-cron -= - -[![Build Status](https://travis-ci.org/kelektiv/node-cron.svg?branch=master)](https://travis-ci.org/kelektiv/node-cron) -[![Dependency Status](https://david-dm.org/ncb000gt/node-cron.svg)](https://david-dm.org/ncb000gt/node-cron) - -Cron is a tool that allows you to execute _something_ on a schedule. This is -typically done using the cron syntax. We allow you to execute a function -whenever your scheduled job triggers. We also allow you to execute a job -external to the javascript process using `child_process`. Additionally, this -library goes beyond the basic cron syntax and allows you to -supply a Date object. This will be used as the trigger for your callback. Cron -syntax is still an acceptable CronTime format. Although the Cron patterns -supported here extend on the standard Unix format to support seconds digits, -leaving it off will default to 0 and match the Unix behavior. - - -Installation -== - - npm install cron - - -If You Are Submitting Bugs/Issues -== - -Because we can't magically know what you are doing to expose an issue, it is -best if you provide a snippet of code. This snippet need not include your secret -sauce, but it must replicate the issue you are describing. The issues that get -closed without resolution tend to be the ones without code examples. Thanks. - - -Versions and Backwards compatibility breaks: -== - -As goes with semver, breaking backwards compatibility should be explicit in the -versioning of your library. As such, we'll upgrade the version of this module -in accordance with breaking changes (I'm not always great about doing it this -way so if you notice that there are breaking changes that haven't been bumped -appropriately please let me know). - - -Usage (basic cron usage): -== - -```javascript -var CronJob = require('cron').CronJob; -var job = new CronJob('* * * * * *', function() { - console.log('You will see this message every second'); -}, null, true, 'America/Los_Angeles'); -job.start(); -``` - -Note - You need to explicitly start a job in order to make it run. This gives a -little more control over running your jobs. - -There are more examples available in this repository at: -[/examples](https://github.com/kelektiv/node-cron/tree/master/examples) - - -Available Cron patterns: -== - - Asterisk. E.g. * - Ranges. E.g. 1-3,5 - Steps. E.g. */2 - -[Read up on cron patterns here](http://crontab.org). Note the examples in the -link have five fields, and 1 minute as the finest granularity, but this library -has six fields, with 1 second as the finest granularity. - -There are tools that help when constructing your cronjobs. You might find -something like https://crontab.guru/ or https://cronjob.xyz/ helpful. But, -note that these don't necessarily accept the exact same syntax as this -library, for instance, it doesn't accept the `seconds` field, so keep that in -mind. - - -Cron Ranges -== - -When specifying your cron values you'll need to make sure that your values fall -within the ranges. For instance, some cron's use a 0-7 range for the day of -week where both 0 and 7 represent Sunday. We do not. And that is an optimisation. - - * Seconds: 0-59 - * Minutes: 0-59 - * Hours: 0-23 - * Day of Month: 1-31 - * Months: 0-11 (Jan-Dec) - * Day of Week: 0-6 (Sun-Sat) - - -Gotchas -== - -* Millisecond level granularity in JS or moment date objects. - Because computers take time to do things, there may be some delay in execution. - This should be on the order of milliseconds. This module doesn't allow MS level - granularity for the regular cron syntax, but _does_ allow you to specify a real - date of execution in either a javascript date object or a moment object. - When this happens you may find that you aren't able to execute a job that - _should_ run in the future like with `new Date().setMilliseconds(new - Date().getMilliseconds() + 1)`. This is due to those cycles of execution - above. This wont be the same for everyone because of compute speed. When I - tried it locally I saw that somewhere around the 4-5 ms mark was where I got - consistent ticks using real dates, but anything less than that would result - in an exception. This could be really confusing. We could restrict the - granularity for all dates to seconds, but felt that it wasn't a huge problem - so long as you were made aware. If this becomes more of an issue, We can - revisit it. -* Arrow Functions for `onTick` - Arrow functions get their `this` context from their parent scope. Thus, if you use them, you will not get - the `this` context of the cronjob. You can read a little more in this ticket [GH-40](https://github.com/kelektiv/node-cron/issues/47#issuecomment-459762775) - - -API -== - -Parameter Based - -* `job` - shortcut to `new cron.CronJob()`. -* `time` - shortcut to `new cron.CronTime()`. -* `sendAt` - tells you when a `CronTime` will be run. -* `timeout` - tells you when the next timeout is. -* `CronJob` - * `constructor(cronTime, onTick, onComplete, start, timezone, context, - runOnInit, unrefTimeout)` - Of note, the first parameter here can be a JSON object that - has the below names and associated types (see examples above). - * `cronTime` - [REQUIRED] - The time to fire off your job. This can be in - the form of cron syntax or a JS - [Date](https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Date) object. - * `onTick` - [REQUIRED] - The function to fire at the specified time. If an - `onComplete` callback was provided, `onTick` will receive it as an argument. - `onTick` may call `onComplete` when it has finished its work. - * `onComplete` - [OPTIONAL] - A function that will fire when the job is - stopped with `job.stop()`, and may also be called by `onTick` at the end of each run. - * `start` - [OPTIONAL] - Specifies whether to start the job just before - exiting the constructor. By default this is set to false. If left at default - you will need to call `job.start()` in order to start the job (assuming - `job` is the variable you set the cronjob to). This does not immediately - fire your `onTick` function, it just gives you more control over the - behavior of your jobs. - * `timeZone` - [OPTIONAL] - Specify the timezone for the execution. This - will modify the actual time relative to your timezone. If the timezone is - invalid, an error is thrown. You can check all timezones available at - [Moment Timezone Website](http://momentjs.com/timezone/). Probably don't use - both. - `timeZone` and `utcOffset` together or weird things may happen. - * `context` - [OPTIONAL] - The context within which to execute the onTick - method. This defaults to the cronjob itself allowing you to call - `this.stop()`. However, if you change this you'll have access to the - functions and values within your context object. - * `runOnInit` - [OPTIONAL] - This will immediately fire your `onTick` - function as soon as the requisite initialization has happened. This option - is set to `false` by default for backwards compatibility. - * `utcOffset` - [OPTIONAL] - This allows you to specify the offset of your - timezone rather than using the `timeZone` param. Probably don't use both - `timeZone` and `utcOffset` together or weird things may happen. - * `unrefTimeout` - [OPTIONAL] - If you have code that keeps the event loop - running and want to stop the node process when that finishes regardless of - the state of your cronjob, you can do so making use of this parameter. This - is off by default and cron will run as if it needs to control the event - loop. For more information take a look at - [timers#timers_timeout_unref](https://nodejs.org/api/timers.html#timers_timeout_unref) - from the NodeJS docs. - * `start` - Runs your job. - * `stop` - Stops your job. - * `setTime` - Stops and changes the time for the `CronJob`. Param must be a `CronTime`. - * `lastDate` - Tells you the last execution date. - * `nextDates` - Provides an array of the next set of dates that will trigger an `onTick`. - * `fireOnTick` - Allows you to override the `onTick` calling behavior. This - matters so only do this if you have a really good reason to do so. - * `addCallback` - Allows you to add `onTick` callbacks. -* `CronTime` - * `constructor(time)` - * `time` - [REQUIRED] - The time to fire off your job. This can be in the - form of cron syntax or a JS - [Date](https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Date) - object. - - -Contributions -== - -This is a community effort project. In the truest sense, this project started as -an open source project from [cron.js](http://github.com/padolsey/cron.js) and -grew into something else. Other people have contributed code, time, and -oversight to the project. At this point there are too many to name here so I'll -just say thanks. - - -License -== - -MIT diff --git a/node_modules/cron/bower.json b/node_modules/cron/bower.json deleted file mode 100644 index dffa4c4..0000000 --- a/node_modules/cron/bower.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "name": "cronjs", - "homepage": "https://github.com/ncb000gt/node-cron", - "authors": [ - "Romain Beauxis", - "James Padoulsey<@padolsey>", - "Craig Condon", - "Finn Herpich", - "cliftonc", - "neyric", - "humanchimp", - "danhbear", - "Jordan Abderrachid" - ], - "description": "js cron handler", - "main": ["lib/cron.js"], - "keywords": [ - "cron", - "js" - ], - "license": "MIT", - "ignore": [ - "**/.*", - "node_modules", - "bower_components", - "test", - "tests" - ] -} diff --git a/node_modules/cron/examples/at_10_minutes.js b/node_modules/cron/examples/at_10_minutes.js deleted file mode 100644 index 7568255..0000000 --- a/node_modules/cron/examples/at_10_minutes.js +++ /dev/null @@ -1,9 +0,0 @@ -const CronJob = require('../lib/cron.js').CronJob; - -console.log('Before job instantiation'); -const job = new CronJob('* 10 * * * *', function() { - const d = new Date(); - console.log('At Ten Minutes:', d); -}); -console.log('After job instantiation'); -job.start(); diff --git a/node_modules/cron/examples/at_midnight.js b/node_modules/cron/examples/at_midnight.js deleted file mode 100644 index b276bcb..0000000 --- a/node_modules/cron/examples/at_midnight.js +++ /dev/null @@ -1,9 +0,0 @@ -const CronJob = require('../lib/cron.js').CronJob; - -console.log('Before job instantiation'); -const job = new CronJob('00 00 00 * * *', function() { - const d = new Date(); - console.log('Midnight:', d); -}); -console.log('After job instantiation'); -job.start(); diff --git a/node_modules/cron/examples/basic.js b/node_modules/cron/examples/basic.js deleted file mode 100644 index 6ad2cf6..0000000 --- a/node_modules/cron/examples/basic.js +++ /dev/null @@ -1,9 +0,0 @@ -const CronJob = require('../lib/cron.js').CronJob; - -console.log('Before job instantiation'); -const job = new CronJob('* * 7-23 * * *', function() { - const d = new Date(); - console.log('Every second:', d); -}); -console.log('After job instantiation'); -job.start(); diff --git a/node_modules/cron/examples/complex_expr.js b/node_modules/cron/examples/complex_expr.js deleted file mode 100644 index c02a31c..0000000 --- a/node_modules/cron/examples/complex_expr.js +++ /dev/null @@ -1,9 +0,0 @@ -const CronJob = require('../lib/cron.js').CronJob; - -console.log('Before job instantiation'); -const job = new CronJob('* 4-22 * * 1-5', function() { - const d = new Date(); - console.log('Every Minute Between hours 4-22, Monday through Friday:', d); -}); -console.log('After job instantiation'); -job.start(); diff --git a/node_modules/cron/examples/every_10_minutes.js b/node_modules/cron/examples/every_10_minutes.js deleted file mode 100644 index 0d71e42..0000000 --- a/node_modules/cron/examples/every_10_minutes.js +++ /dev/null @@ -1,9 +0,0 @@ -const CronJob = require('../lib/cron.js').CronJob; - -console.log('Before job instantiation'); -const job = new CronJob('0 */10 * * * *', function() { - const d = new Date(); - console.log('Every Tenth Minute:', d); -}); -console.log('After job instantiation'); -job.start(); diff --git a/node_modules/cron/examples/every_30_minutes_between_9_and_5.js b/node_modules/cron/examples/every_30_minutes_between_9_and_5.js deleted file mode 100644 index 09791d5..0000000 --- a/node_modules/cron/examples/every_30_minutes_between_9_and_5.js +++ /dev/null @@ -1,9 +0,0 @@ -const CronJob = require('../lib/cron.js').CronJob; - -console.log('Before job instantiation'); -const job = new CronJob('0 */30 9-17 * * *', function() { - const d = new Date(); - console.log('Every 30 minutes between 9-17:', d); -}); -console.log('After job instantiation'); -job.start(); diff --git a/node_modules/cron/examples/get_next_runs.js b/node_modules/cron/examples/get_next_runs.js deleted file mode 100644 index f77483f..0000000 --- a/node_modules/cron/examples/get_next_runs.js +++ /dev/null @@ -1,24 +0,0 @@ -const CronJob = require('../lib/cron.js').CronJob; - -const job = new CronJob( - '0 * * * * *', - function() { - console.log('Date: ', new Date()); - }, - null, - true -); - -console.log('System TZ next 5: ', job.nextDates(5)); - -const jobUTC = new CronJob( - '0 * * * * *', - function() { - console.log('Date: ', new Date()); - }, - null, - true, - 'UTC' -); - -console.log('UTC next 5: ', jobUTC.nextDates(5)); diff --git a/node_modules/cron/examples/in_the_past.js b/node_modules/cron/examples/in_the_past.js deleted file mode 100644 index cdaf1e2..0000000 --- a/node_modules/cron/examples/in_the_past.js +++ /dev/null @@ -1,19 +0,0 @@ -const CronJob = require('../lib/cron.js').CronJob; - -// XXX: SEE README GOTCHAS ABOUT WHY THIS COULD BE IN THE PAST! -let d = new Date(); -d.setMilliseconds(d.getMilliseconds() + 1); - -console.log('Before job instantiation'); -const job = new CronJob( - d, - () => { - const d2 = new Date(); - console.log('Tick @:', d2); - }, - () => { - console.log('complete'); - } -); -console.log('After job instantiation'); -job.start(); diff --git a/node_modules/cron/examples/is_crontime_valid.js b/node_modules/cron/examples/is_crontime_valid.js deleted file mode 100644 index 11c22a5..0000000 --- a/node_modules/cron/examples/is_crontime_valid.js +++ /dev/null @@ -1,9 +0,0 @@ -const CronJob = require('../lib/cron.js').CronJob; - -try { - new CronJob('NOT VALID', () => { - console.log('shouldn\'t get printed'); - }); -} catch(e) { - console.log('omg err', e); -} diff --git a/node_modules/cron/examples/is_job_running.js b/node_modules/cron/examples/is_job_running.js deleted file mode 100644 index 51df46f..0000000 --- a/node_modules/cron/examples/is_job_running.js +++ /dev/null @@ -1,10 +0,0 @@ -const CronJob = require('../lib/cron.js').CronJob; - -console.log('Before job instantiation'); -const job = new CronJob('* * * * * *', function() { - const d = new Date(); - console.log('Every second:', d); -}); -console.log('After job instantiation'); -job.start(); -console.log('is job running? ', job.running); diff --git a/node_modules/cron/examples/long_running_on_tick.js b/node_modules/cron/examples/long_running_on_tick.js deleted file mode 100644 index 371e942..0000000 --- a/node_modules/cron/examples/long_running_on_tick.js +++ /dev/null @@ -1,20 +0,0 @@ -const CronJob = require('../lib/cron.js').CronJob; - -let isRunning = false; -console.log('Before job instantiation'); -const job = new CronJob('* * * * * *', function() { - const d = new Date(); - console.log('Check every second:', d, ', isRunning: ', isRunning); - - if (!isRunning) { - isRunning = true; - - setTimeout(function() { - console.log('Long running onTick complete:', new Date()); - isRunning = false; - }, 3000); - console.log('setTimeout triggered:', new Date()); - } -}); -console.log('After job instantiation'); -job.start(); diff --git a/node_modules/cron/examples/mon_to_fri_at_11_30.js b/node_modules/cron/examples/mon_to_fri_at_11_30.js deleted file mode 100644 index 845d629..0000000 --- a/node_modules/cron/examples/mon_to_fri_at_11_30.js +++ /dev/null @@ -1,9 +0,0 @@ -const CronJob = require('../lib/cron.js').CronJob; - -console.log('Before job instantiation'); -const job = new CronJob('00 30 11 * * 1-5', function() { - const d = new Date(); - console.log('onTick:', d); -}); -console.log('After job instantiation'); -job.start(); diff --git a/node_modules/cron/examples/multiple_jobs.js b/node_modules/cron/examples/multiple_jobs.js deleted file mode 100644 index 5942db6..0000000 --- a/node_modules/cron/examples/multiple_jobs.js +++ /dev/null @@ -1,15 +0,0 @@ -const CronJob = require('../lib/cron.js').CronJob; - -console.log('Before job instantiation'); -const job = new CronJob('*/5 * * * * *', function() { - const d = new Date(); - console.log('First:', d); -}); - -const job2 = new CronJob('*/8 * * * * *', function() { - const d = new Date(); - console.log('Second:', d); -}); -console.log('After job instantiation'); -job.start(); -job2.start(); diff --git a/node_modules/cron/examples/object_param.js b/node_modules/cron/examples/object_param.js deleted file mode 100644 index 05294fc..0000000 --- a/node_modules/cron/examples/object_param.js +++ /dev/null @@ -1,23 +0,0 @@ -const CronJob = require('../lib/cron.js').CronJob; - -let isRunning = false; -console.log('Before job instantiation'); -const job = new CronJob({ - cronTime: '* * * * * *', - onTick: function() { - const d = new Date(); - console.log('Check every second:', d, ', isRunning: ', isRunning); - - if (!isRunning) { - isRunning = true; - - setTimeout(function() { - console.log('Long running onTick complete:', new Date()); - isRunning = false; - }, 3000); - console.log('setTimeout triggered:', new Date()); - } - } -}); -console.log('After job instantiation'); -job.start(); diff --git a/node_modules/cron/examples/run_at_specific_date.js b/node_modules/cron/examples/run_at_specific_date.js deleted file mode 100644 index 03acc58..0000000 --- a/node_modules/cron/examples/run_at_specific_date.js +++ /dev/null @@ -1,11 +0,0 @@ -const CronJob = require('../lib/cron.js').CronJob; - -console.log('Before job instantiation'); -let date = new Date(); -date.setSeconds(date.getSeconds()+2); -const job = new CronJob(date, function() { - const d = new Date(); - console.log('Specific date:', date, ', onTick at:', d); -}); -console.log('After job instantiation'); -job.start(); diff --git a/node_modules/cron/examples/time_dom_syntax_with_tz.js b/node_modules/cron/examples/time_dom_syntax_with_tz.js deleted file mode 100644 index 92370c7..0000000 --- a/node_modules/cron/examples/time_dom_syntax_with_tz.js +++ /dev/null @@ -1,13 +0,0 @@ -const CronJob = require('../lib/cron.js').CronJob; - -console.log('first'); -const job = new CronJob( - '0 0 9 4 * *', - function() { - console.log('message'); - }, - null, - true, - 'America/Sao_Paulo' -); -console.log('second'); diff --git a/node_modules/cron/lib/cron.js b/node_modules/cron/lib/cron.js deleted file mode 100644 index f19138d..0000000 --- a/node_modules/cron/lib/cron.js +++ /dev/null @@ -1,742 +0,0 @@ -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - define(['moment-timezone'], factory); - } else if (typeof exports === 'object') { - module.exports = factory( - require('moment-timezone'), - require('child_process') - ); - } else { - root.Cron = factory(root.moment); - } -})(this, function(moment, childProcess) { - var exports = {}; - var timeUnits = [ - 'second', - 'minute', - 'hour', - 'dayOfMonth', - 'month', - 'dayOfWeek' - ]; - var spawn = childProcess && childProcess.spawn; - - function CronTime(source, zone, utcOffset) { - this.source = source; - - if (zone) { - if (moment.tz.names().indexOf(zone) === -1) { - throw new Error('Invalid timezone.'); - } - - this.zone = zone; - } - - if (typeof utcOffset !== 'undefined') this.utcOffset = utcOffset; - - var that = this; - timeUnits.map(function(timeUnit) { - that[timeUnit] = {}; - }); - - if (this.source instanceof Date || this.source._isAMomentObject) { - this.source = moment(this.source); - this.realDate = true; - } else { - this._parse(); - this._verifyParse(); - } - } - - CronTime.constraints = [[0, 59], [0, 59], [0, 23], [1, 31], [0, 11], [0, 6]]; - CronTime.monthConstraints = [ - 31, - 29, // support leap year...not perfect - 31, - 30, - 31, - 30, - 31, - 31, - 30, - 31, - 30, - 31 - ]; - CronTime.parseDefaults = ['0', '*', '*', '*', '*', '*']; - CronTime.aliases = { - jan: 0, - feb: 1, - mar: 2, - apr: 3, - may: 4, - jun: 5, - jul: 6, - aug: 7, - sep: 8, - oct: 9, - nov: 10, - dec: 11, - sun: 0, - mon: 1, - tue: 2, - wed: 3, - thu: 4, - fri: 5, - sat: 6 - }; - - CronTime.prototype = { - _verifyParse: function() { - var months = Object.keys(this.month); - var ok = false; - - /* if a dayOfMonth is not found in all months, we only need to fix the last - wrong month to prevent infinite loop */ - var lastWrongMonth = NaN; - for (var i = 0; i < months.length; i++) { - var m = months[i]; - var con = CronTime.monthConstraints[parseInt(m, 10)]; - var dsom = Object.keys(this.dayOfMonth); - - for (var j = 0; j < dsom.length; j++) { - var dom = dsom[j]; - if (dom <= con) { - ok = true; - } - } - - if (!ok) { - // save the month in order to be fixed if all months fails (infinite loop) - lastWrongMonth = m; - console.warn("Month '" + m + "' is limited to '" + con + "' days."); - } - } - - // infinite loop detected (dayOfMonth is not found in all months) - if (!ok) { - var con = CronTime.monthConstraints[parseInt(lastWrongMonth, 10)]; - var dsom = Object.keys(this.dayOfMonth); - for (var k = 0; k < dsom.length; k++) { - var dom = dsom[k]; - if (dom > con) { - delete this.dayOfMonth[dom]; - var fixedDay = Number(dom) % con; - this.dayOfMonth[fixedDay] = true; - } - } - } - }, - - /** - * calculates the next send time - */ - sendAt: function(i) { - var date = this.realDate ? this.source : moment(); - // Set the timezone if given (http://momentjs.com/timezone/docs/#/using-timezones/parsing-in-zone/) - if (this.zone) { - date = date.tz(this.zone); - } - - if (typeof this.utcOffset !== 'undefined') { - date = date.utcOffset(this.utcOffset); - } - - if (this.realDate) { - const diff = moment().diff(date, 's'); - if (diff > 0) { - throw new Error('WARNING: Date in past. Will never be fired.'); - } - - return date; - } - - // If the i argument is not given, return the next send time - if (isNaN(i) || i < 0) { - date = this._getNextDateFrom(date); - - return date; - } else { - // Else return the next i send times - var dates = []; - for (; i > 0; i--) { - date = this._getNextDateFrom(date); - dates.push(moment(date)); - } - - return dates; - } - }, - - /** - * Get the number of milliseconds in the future at which to fire our callbacks. - */ - getTimeout: function() { - return Math.max(-1, this.sendAt() - moment()); - }, - - /** - * writes out a cron string - */ - toString: function() { - return this.toJSON().join(' '); - }, - - /** - * Json representation of the parsed cron syntax. - */ - toJSON: function() { - var self = this; - return timeUnits.map(function(timeName) { - return self._wcOrAll(timeName); - }); - }, - - /** - * get next date that matches parsed cron time - */ - _getNextDateFrom: function(start, zone) { - var date; - var firstDate = moment(start).valueOf(); - if (zone) { - date = moment(start).tz(zone); - } else { - date = moment(start); - } - if (!this.realDate) { - const milliseconds = - (start.milliseconds && start.milliseconds()) || - (start.getMilliseconds && start.getMilliseconds()) || - 0; - if (milliseconds > 0) { - date.milliseconds(0); - date.seconds(date.seconds() + 1); - } - } - - if (date.toString() === 'Invalid date') { - throw new Error('ERROR: You specified an invalid date.'); - } - - // it shouldn't take more than 5 seconds to find the next execution time - // being very generous with this. Throw error if it takes too long to find the next time to protect from - // infinite loop. - var timeout = Date.now() + 5000; - // determine next date - while (true) { - var diff = date - start; - var prevMonth = date.month(); - var prevDay = date.days(); - var prevMinute = date.minutes(); - var prevSeconds = date.seconds(); - var origDate = new Date(date); - - if (Date.now() > timeout) { - throw new Error( - `Something went wrong. cron reached maximum iterations. - Please open an issue (https://github.com/kelektiv/node-cron/issues/new) and provide the following string - Time Zone: ${zone || '""'} - Cron String: ${this} - UTC offset: ${date.format( - 'Z' - )} - current Date: ${moment().toString()}` - ); - } - if ( - !(date.month() in this.month) && - Object.keys(this.month).length !== 12 - ) { - date.add(1, 'M'); - if (date.month() === prevMonth) { - date.add(1, 'M'); - } - date.date(1); - date.hours(0); - date.minutes(0); - date.seconds(0); - continue; - } - - if ( - !(date.date() in this.dayOfMonth) && - Object.keys(this.dayOfMonth).length !== 31 && - !( - date.day() in this.dayOfWeek && - Object.keys(this.dayOfWeek).length !== 7 - ) - ) { - date.add(1, 'd'); - if (date.days() === prevDay) { - date.add(1, 'd'); - } - date.hours(0); - date.minutes(0); - date.seconds(0); - continue; - } - - if ( - !(date.day() in this.dayOfWeek) && - Object.keys(this.dayOfWeek).length !== 7 && - !( - date.date() in this.dayOfMonth && - Object.keys(this.dayOfMonth).length !== 31 - ) - ) { - date.add(1, 'd'); - if (date.days() === prevDay) { - date.add(1, 'd'); - } - date.hours(0); - date.minutes(0); - date.seconds(0); - if (date <= origDate) { - date = this._findDST(origDate); - } - continue; - } - - if ( - !(date.hours() in this.hour) && - Object.keys(this.hour).length !== 24 - ) { - origDate = moment(date); - var curHour = date.hours(); - date.hours( - date.hours() === 23 && diff > 86400000 ? 0 : date.hours() + 1 - ); - /* - * Moment Date will not allow you to set the time to 2 AM if there is no 2 AM (on the day we change the clock) - * We will therefore jump to 3AM if time stayed at 1AM - */ - if (curHour === date.hours()) { - date.hours(date.hours() + 2); - } - date.minutes(0); - date.seconds(0); - if (date <= origDate) { - date = this._findDST(origDate); - } - continue; - } - - if ( - !(date.minutes() in this.minute) && - Object.keys(this.minute).length !== 60 - ) { - origDate = moment(date); - date.minutes( - date.minutes() === 59 && diff > 60 * 60 * 1000 - ? 0 - : date.minutes() + 1 - ); - date.seconds(0); - if (date <= origDate) { - date = this._findDST(origDate); - } - continue; - } - - if ( - !(date.seconds() in this.second) && - Object.keys(this.second).length !== 60 - ) { - origDate = moment(date); - date.seconds( - date.seconds() === 59 && diff > 60 * 1000 ? 0 : date.seconds() + 1 - ); - if (date <= origDate) { - date = this._findDST(origDate); - } - continue; - } - - if (date.valueOf() === firstDate) { - date.seconds(date.seconds() + 1); - continue; - } - - break; - } - - return date; - }, - - /** - * get next date that is a valid DST date - */ - _findDST: function(date) { - var newDate = moment(date); - while (newDate <= date) { - // eslint seems to trigger here, it is wrong - newDate.add(1, 's'); - } - - return newDate; - }, - - /** - * wildcard, or all params in array (for to string) - */ - _wcOrAll: function(type) { - if (this._hasAll(type)) return '*'; - - var all = []; - for (var time in this[type]) { - all.push(time); - } - - return all.join(','); - }, - - _hasAll: function(type) { - var constrain = CronTime.constraints[timeUnits.indexOf(type)]; - - for (var i = constrain[0], n = constrain[1]; i < n; i++) { - if (!(i in this[type])) return false; - } - - return true; - }, - - _parse: function() { - var aliases = CronTime.aliases; - var source = this.source.replace(/[a-z]{1,3}/gi, function(alias) { - alias = alias.toLowerCase(); - - if (alias in aliases) { - return aliases[alias]; - } - - throw new Error('Unknown alias: ' + alias); - }); - var split = source.replace(/^\s\s*|\s\s*$/g, '').split(/\s+/); - var cur; - var i = 0; - var len = timeUnits.length; - - // seconds are optional - if (split.length < timeUnits.length - 1) { - throw new Error('Too few fields'); - } - if (split.length > timeUnits.length) { - throw new Error('Too many fields'); - } - - for (; i < timeUnits.length; i++) { - // If the split source string doesn't contain all digits, - // assume defaults for first n missing digits. - // This adds support for 5-digit standard cron syntax - cur = split[i - (len - split.length)] || CronTime.parseDefaults[i]; - this._parseField(cur, timeUnits[i], CronTime.constraints[i]); - } - }, - - _parseField: function(field, type, constraints) { - var rangePattern = /^(\d+)(?:-(\d+))?(?:\/(\d+))?$/g; - var typeObj = this[type]; - var pointer; - var low = constraints[0]; - var high = constraints[1]; - - var fields = field.split(','); - fields.forEach(function(field) { - var wildcardIndex = field.indexOf('*'); - if (wildcardIndex !== -1 && wildcardIndex !== 0) { - throw new Error('Field (' + field + ') has an invalid wildcard expression'); - } - }); - - // * is a shortcut to [lower-upper] range - field = field.replace(/\*/g, low + '-' + high); - - // commas separate information, so split based on those - var allRanges = field.split(','); - - for (var i = 0; i < allRanges.length; i++) { - if (allRanges[i].match(rangePattern)) { - allRanges[i].replace(rangePattern, function($0, lower, upper, step) { - lower = parseInt(lower, 10); - upper = parseInt(upper, 10) || undefined; - - const wasStepDefined = !isNaN(parseInt(step, 10)); - if (step === '0') { - throw new Error('Field (' + field + ') has a step of zero'); - } - step = parseInt(step, 10) || 1; - - if (upper && lower > upper) { - throw new Error('Field (' + field + ') has an invalid range'); - } - - const outOfRangeError = - lower < low || - (upper && upper > high) || - (!upper && lower > high); - - if (outOfRangeError) { - throw new Error('Field (' + field + ') value is out of range'); - } - - // Positive integer higher than constraints[0] - lower = Math.min(Math.max(low, ~~Math.abs(lower)), high); - - // Positive integer lower than constraints[1] - if (upper) { - upper = Math.min(high, ~~Math.abs(upper)); - } else { - // If step is provided, the default upper range is the highest value - upper = wasStepDefined ? high : lower; - } - - // Count from the lower barrier to the upper - pointer = lower; - - do { - typeObj[pointer] = true; - pointer += step; - } while (pointer <= upper); - }); - } else { - throw new Error('Field (' + field + ') cannot be parsed'); - } - } - } - }; - - function command2function(cmd) { - var command; - var args; - - switch (typeof cmd) { - case 'string': - args = cmd.split(' '); - command = args.shift(); - - cmd = spawn.bind(undefined, command, args); - break; - - case 'object': - command = cmd && cmd.command; - if (command) { - args = cmd.args; - var options = cmd.options; - - cmd = spawn.bind(undefined, command, args, options); - } - break; - } - - return cmd; - } - - function CronJob( - cronTime, - onTick, - onComplete, - startNow, - timeZone, - context, - runOnInit, - utcOffset, - unrefTimeout - ) { - var _cronTime = cronTime; - var argCount = 0; - for (var i = 0; i < arguments.length; i++) { - if (arguments[i] !== undefined) { - argCount++; - } - } - if (typeof cronTime !== 'string' && argCount === 1) { - // crontime is an object... - onTick = cronTime.onTick; - onComplete = cronTime.onComplete; - context = cronTime.context; - startNow = cronTime.start || cronTime.startNow || cronTime.startJob; - timeZone = cronTime.timeZone; - runOnInit = cronTime.runOnInit; - _cronTime = cronTime.cronTime; - utcOffset = cronTime.utcOffset; - unrefTimeout = cronTime.unrefTimeout; - } - - this.context = context || this; - this._callbacks = []; - this.onComplete = command2function(onComplete); - this.cronTime = new CronTime(_cronTime, timeZone, utcOffset); - this.unrefTimeout = unrefTimeout; - - addCallback.call(this, command2function(onTick)); - - if (runOnInit) { - this.lastExecution = new Date(); - fireOnTick.call(this); - } - - if (startNow) { - start.call(this); - } - - return this; - } - - var addCallback = function(callback) { - if (typeof callback === 'function') this._callbacks.push(callback); - }; - CronJob.prototype.addCallback = addCallback; - - CronJob.prototype.setTime = function(time) { - if (!(time instanceof CronTime)) - throw new Error('time must be an instance of CronTime.'); - this.stop(); - this.cronTime = time; - }; - - CronJob.prototype.nextDate = function() { - return this.cronTime.sendAt(); - }; - - var fireOnTick = function() { - for (var i = this._callbacks.length - 1; i >= 0; i--) - this._callbacks[i].call(this.context, this.onComplete); - }; - CronJob.prototype.fireOnTick = fireOnTick; - - CronJob.prototype.nextDates = function(i) { - return this.cronTime.sendAt(i); - }; - - var start = function() { - if (this.running) return; - - var MAXDELAY = 2147483647; // The maximum number of milliseconds setTimeout will wait. - var self = this; - var timeout = this.cronTime.getTimeout(); - var remaining = 0; - var startTime; - - if (this.cronTime.realDate) this.runOnce = true; - - function _setTimeout(timeout) { - startTime = Date.now(); - self._timeout = setTimeout(callbackWrapper, timeout); - if (self.unrefTimeout && typeof self._timeout.unref === 'function') { - self._timeout.unref(); - } - } - - // The callback wrapper checks if it needs to sleep another period or not - // and does the real callback logic when it's time. - - function callbackWrapper() { - var diff = startTime + timeout - Date.now(); - - if (diff > 0) { - var newTimeout = self.cronTime.getTimeout(); - - if (newTimeout > diff) { - newTimeout = diff; - } - - remaining += newTimeout; - } - - // If there is sleep time remaining, calculate how long and go to sleep - // again. This processing might make us miss the deadline by a few ms - // times the number of sleep sessions. Given a MAXDELAY of almost a - // month, this should be no issue. - - self.lastExecution = new Date(); - if (remaining) { - if (remaining > MAXDELAY) { - remaining -= MAXDELAY; - timeout = MAXDELAY; - } else { - timeout = remaining; - remaining = 0; - } - - _setTimeout(timeout); - } else { - // We have arrived at the correct point in time. - - self.running = false; - - // start before calling back so the callbacks have the ability to stop the cron job - if (!self.runOnce) self.start(); - - self.fireOnTick(); - } - } - - if (timeout >= 0) { - this.running = true; - - // Don't try to sleep more than MAXDELAY ms at a time. - - if (timeout > MAXDELAY) { - remaining = timeout - MAXDELAY; - timeout = MAXDELAY; - } - - _setTimeout(timeout); - } else { - this.stop(); - } - }; - - CronJob.prototype.start = start; - - CronJob.prototype.lastDate = function() { - return this.lastExecution; - }; - - /** - * Stop the cronjob. - */ - CronJob.prototype.stop = function() { - if (this._timeout) clearTimeout(this._timeout); - this.running = false; - if (typeof this.onComplete === 'function') this.onComplete(); - }; - - exports.job = function( - cronTime, - onTick, - onComplete, - startNow, - timeZone, - context, - runOnInit, - utcOffset, - unrefTimeout - ) { - return new CronJob( - cronTime, - onTick, - onComplete, - startNow, - timeZone, - context, - runOnInit, - utcOffset, - unrefTimeout - ); - }; - - exports.time = function(cronTime, timeZone) { - return new CronTime(cronTime, timeZone); - }; - - exports.sendAt = function(cronTime) { - return exports.time(cronTime).sendAt(); - }; - - exports.timeout = function(cronTime) { - return exports.time(cronTime).getTimeout(); - }; - - exports.CronJob = CronJob; - exports.CronTime = CronTime; - - return exports; -}); diff --git a/node_modules/cron/package.json b/node_modules/cron/package.json deleted file mode 100644 index 881a4c9..0000000 --- a/node_modules/cron/package.json +++ /dev/null @@ -1,147 +0,0 @@ -{ - "_from": "cron", - "_id": "cron@1.8.2", - "_inBundle": false, - "_integrity": "sha512-Gk2c4y6xKEO8FSAUTklqtfSr7oTq0CiPQeLBG5Fl0qoXpZyMcj1SG59YL+hqq04bu6/IuEA7lMkYDAplQNKkyg==", - "_location": "/cron", - "_phantomChildren": {}, - "_requested": { - "type": "tag", - "registry": true, - "raw": "cron", - "name": "cron", - "escapedName": "cron", - "rawSpec": "", - "saveSpec": null, - "fetchSpec": "latest" - }, - "_requiredBy": [ - "#USER", - "/" - ], - "_resolved": "https://registry.npmjs.org/cron/-/cron-1.8.2.tgz", - "_shasum": "4ac5e3c55ba8c163d84f3407bde94632da8370ce", - "_spec": "cron", - "_where": "/root/gpio-controller", - "author": { - "name": "Nick Campbell", - "email": "nicholas.j.campbell@gmail.com", - "url": "http://github.com/ncb000gt" - }, - "bugs": { - "url": "http://github.com/kelektiv/node-cron/issues" - }, - "bundleDependencies": false, - "contributors": [ - { - "name": "Romain Beauxis", - "email": "toots@rastageeks.org", - "url": "https://github.com/toots" - }, - { - "name": "James Padolsey", - "url": "https://github.com/jamespadolsey" - }, - { - "name": "Finn Herpich", - "email": "fh@three-heads.de", - "url": "https://github.com/ErrorProne" - }, - { - "name": "Clifton Cunningham", - "email": "clifton.cunningham@gmail.com", - "url": "https://github.com/cliftonc" - }, - { - "name": "Eric Abouaf", - "email": "eric.abouaf@gmail.com", - "url": "https://github.com/neyric" - }, - { - "name": "humanchimp", - "email": "morphcham@gmail.com", - "url": "https://github.com/humanchimp" - }, - { - "name": "Craig Condon", - "email": "craig@spiceapps.com", - "url": "https://github.com/spiceapps" - }, - { - "name": "Dan Bear", - "email": "daniel@hulu.com", - "url": "https://github.com/danhbear" - }, - { - "name": "Vadim Baryshev", - "email": "vadimbaryshev@gmail.com", - "url": "https://github.com/baryshev" - }, - { - "name": "Leandro Ferrari", - "email": "lfthomaz@gmail.com", - "url": "https://github.com/lfthomaz" - }, - { - "name": "Gregg Zigler", - "email": "greggzigler@gmail.com", - "url": "https://github.com/greggzigler" - }, - { - "name": "Jordan Abderrachid", - "email": "jabderrachid@gmail.com", - "url": "https://github.com/jordanabderrachid" - }, - { - "name": "Masakazu Matsushita", - "email": "matsukaz@gmail.com", - "url": "matsukaz" - }, - { - "name": "Christopher Lunt", - "email": "me@kirisu.co.uk", - "url": "https://github.com/kirisu" - } - ], - "dependencies": { - "moment-timezone": "^0.5.x" - }, - "deprecated": false, - "description": "Cron jobs for your node", - "devDependencies": { - "chai": "~4.2.x", - "eslint": "~6.3.x", - "eslint-config-prettier": "~6.2.x", - "eslint-config-standard": "~14.1.x", - "eslint-plugin-import": "~2.18.x", - "eslint-plugin-jest": "^22.17.0", - "eslint-plugin-node": "~10.0.x", - "eslint-plugin-prettier": "~3.1.x", - "eslint-plugin-promise": "~4.2.x", - "eslint-plugin-standard": "~4.0.x", - "jest": "^24.9.0", - "prettier": "~1.18.x", - "sinon": "~7.4.x" - }, - "homepage": "https://github.com/kelektiv/node-cron#readme", - "keywords": [ - "cron", - "node cron", - "node-cron", - "schedule", - "scheduler", - "cronjob", - "cron job" - ], - "license": "MIT", - "main": "lib/cron", - "name": "cron", - "repository": { - "type": "git", - "url": "git+ssh://git@github.com/kelektiv/node-cron.git" - }, - "scripts": { - "test": "jest" - }, - "version": "1.8.2" -} diff --git a/node_modules/cron/tests/cron.test.js b/node_modules/cron/tests/cron.test.js deleted file mode 100644 index d9cf7b8..0000000 --- a/node_modules/cron/tests/cron.test.js +++ /dev/null @@ -1,843 +0,0 @@ -/* eslint-disable no-new */ -const sinon = require('sinon'); -const cron = require('../lib/cron'); -describe('cron', () => { - let clock; - - beforeEach(() => { - clock = sinon.useFakeTimers(); - }); - - describe('with seconds', () => { - it('should run every second (* * * * * *)', () => { - const callback = jest.fn(); - const job = new cron.CronJob('* * * * * *', callback, null, true); - - expect(callback).not.toBeCalled(); - clock.tick(1000); - job.stop(); - clock.restore(); - expect(callback).toHaveBeenCalledTimes(1); - }); - - it('should run second with oncomplete (* * * * * *)', done => { - const callback = jest.fn(); - - const job = new cron.CronJob( - '* * * * * *', - callback, - function() { - expect(callback).toHaveBeenCalledTimes(1); - done(); - }, - true - ); - - clock.tick(1000); - job.stop(); - clock.restore(); - }); - - it('should use standard cron no-seconds syntax (* * * * *)', () => { - const callback = jest.fn(); - const job = new cron.CronJob('* * * * *', callback, null, true); - - clock.tick(1000); // tick second - - clock.tick(59 * 1000); // tick minute - - job.stop(); - clock.restore(); - - expect(callback).toHaveBeenCalledTimes(1); - }); - - it('should run every second for 5 seconds (* * * * * *)', () => { - const callback = jest.fn(); - const job = new cron.CronJob('* * * * * *', callback, null, true); - for (var i = 0; i < 5; i++) clock.tick(1000); - job.stop(); - clock.restore(); - expect(callback).toHaveBeenCalledTimes(5); - }); - - it('should run every second for 5 seconds with oncomplete (* * * * * *)', done => { - const callback = jest.fn(); - const job = new cron.CronJob( - '* * * * * *', - callback, - function() { - expect(callback).toHaveBeenCalledTimes(5); - done(); - }, - true - ); - for (var i = 0; i < 5; i++) clock.tick(1000); - job.stop(); - clock.restore(); - }); - - it('should run every second for 5 seconds (*/1 * * * * *)', () => { - const callback = jest.fn(); - const job = new cron.CronJob('*/1 * * * * *', callback, null, true); - for (var i = 0; i < 5; i++) clock.tick(1000); - job.stop(); - clock.restore(); - expect(callback).toHaveBeenCalledTimes(5); - }); - - it('should run every 2 seconds for 1 seconds (*/2 * * * * *)', () => { - const callback = jest.fn(); - const job = new cron.CronJob('*/2 * * * * *', callback, null, true); - clock.tick(1000); - job.stop(); - clock.restore(); - expect(callback).toHaveBeenCalledTimes(0); - }); - - it('should run every 2 seconds for 5 seconds (*/2 * * * * *)', () => { - const callback = jest.fn(); - const job = new cron.CronJob('*/2 * * * * *', callback, null, true); - for (var i = 0; i < 5; i++) clock.tick(1000); - job.stop(); - clock.restore(); - expect(callback).toHaveBeenCalledTimes(2); - }); - - it('should run every second for 5 seconds with oncomplete (*/1 * * * * *)', done => { - const callback = jest.fn(); - const job = new cron.CronJob( - '*/1 * * * * *', - callback, - function() { - expect(callback).toHaveBeenCalledTimes(5); - done(); - }, - true - ); - for (var i = 0; i < 5; i++) clock.tick(1000); - job.stop(); - clock.restore(); - }); - - it('should run every second for a range ([start]-[end] * * * * *)', () => { - const callback = jest.fn(); - const job = new cron.CronJob('0-8 * * * * *', callback, null, true); - clock.tick(10000); - job.stop(); - clock.restore(); - expect(callback).toHaveBeenCalledTimes(8); - }); - - it('should run every second for a range ([start]-[end] * * * * *)', done => { - const callback = jest.fn(); - const job = new cron.CronJob( - '0-8 * * * * *', - callback, - function() { - expect(callback).toHaveBeenCalledTimes(8); - done(); - }, - true - ); - clock.tick(10000); - job.stop(); - clock.restore(); - }); - - it('should default to full range when upper range not provided (1/2 * * * * *)', done => { - const callback = jest.fn(); - const job = new cron.CronJob( - '1/2 * * * * *', - callback, - () => { - expect(callback).toHaveBeenCalledTimes(30); - done(); - }, - true - ); - clock.tick(1000 * 60); - job.stop(); - clock.restore(); - }); - - it('should run every second (* * * * * *) using the object constructor', () => { - const callback = jest.fn(); - const job = new cron.CronJob({ - cronTime: '* * * * * *', - onTick: callback, - start: true - }); - clock.tick(1000); - job.stop(); - clock.restore(); - expect(callback).toHaveBeenCalledTimes(1); - }); - - it('should run every second with oncomplete (* * * * * *) using the object constructor', done => { - const callback = jest.fn(); - const job = new cron.CronJob({ - cronTime: '* * * * * *', - onTick: callback, - onComplete: function() { - expect(callback).toHaveBeenCalledTimes(1); - done(); - }, - start: true - }); - clock.tick(1000); - job.stop(); - clock.restore(); - }); - }); - - describe('with minutes', () => { - it('should fire every 60 min', () => { - const m60 = 60 * 60 * 1000; - const l = []; - const job = new cron.CronJob( - '00 30 * * * *', - function() { - l.push(Math.floor(Date.now() / 60000)); - }, - null, - true - ); - - clock.tick(m60 * 10); - - expect(l.length).toBe(10); - expect(l.every(i => i % 30 === 0)).toBe(true); - - job.stop(); - clock.restore(); - }); - - it('should run every 45 minutes for 2 hours (0 */45 * * * *)', () => { - const callback = jest.fn(); - const job = new cron.CronJob('0 */45 * * * *', callback, null, true); - for (var i = 0; i < 2; i++) clock.tick(60 * 60 * 1000); - job.stop(); - clock.restore(); - expect(callback).toHaveBeenCalledTimes(4); - }); - - it('should run every 45 minutes for 2 hours (0 */45 * * * *)', done => { - const callback = jest.fn(); - const job = new cron.CronJob( - '0 */45 * * * *', - callback, - function() { - expect(callback).toHaveBeenCalledTimes(4); - done(); - }, - true - ); - for (var i = 0; i < 2; i++) clock.tick(60 * 60 * 1000); - job.stop(); - clock.restore(); - }); - }); - - it('should start and stop job', done => { - const callback = jest.fn(); - const job = new cron.CronJob( - '* * * * * *', - function() { - callback(); - this.stop(); - }, - function() { - expect(callback).toHaveBeenCalledTimes(1); - clock.restore(); - done(); - }, - true - ); - clock.tick(1000); - job.stop(); - }); - - describe('with date', () => { - it('should run on a specific date', () => { - const d = new Date(); - const clock = sinon.useFakeTimers(d.getTime()); - const s = d.getSeconds() + 1; - d.setSeconds(s); - const callback = jest.fn(); - const job = new cron.CronJob( - d, - function() { - var t = new Date(); - expect(t.getSeconds()).toBe(d.getSeconds()); - callback(); - }, - null, - true - ); - clock.tick(1000); - clock.restore(); - job.stop(); - expect(callback).toHaveBeenCalledTimes(1); - }); - - it('should run on a specific date with oncomplete', done => { - const d = new Date(); - const clock = sinon.useFakeTimers(d.getTime()); - const s = d.getSeconds() + 1; - d.setSeconds(s); - const callback = jest.fn(); - const job = new cron.CronJob( - d, - function() { - var t = new Date(); - expect(t.getSeconds()).toBe(d.getSeconds()); - callback(); - }, - function() { - expect(callback).toHaveBeenCalledTimes(1); - done(); - }, - true - ); - clock.tick(1000); - clock.restore(); - job.stop(); - }); - - it('should wait and not fire immediately', function() { - const clock = sinon.useFakeTimers(); - const callback = jest.fn(); - - const d = new Date().getTime() + 31 * 86400 * 1000; - - var job = cron.job(new Date(d), callback); - job.start(); - - clock.tick(1000); - - clock.restore(); - job.stop(); - expect(callback).toHaveBeenCalledTimes(0); - }); - }); - - describe('with timezone', () => { - it('should run a job using cron syntax', function() { - const callback = jest.fn(); - const moment = require('moment-timezone'); - let zone = 'America/Chicago'; - - // New Orleans time - const t = moment(); - t.tz(zone); - - // Current time - const d = moment(); - - // If current time is New Orleans time, switch to Los Angeles.. - if (t.hours() === d.hours()) { - zone = 'America/Los_Angeles'; - t.tz(zone); - } - expect(d.hours()).not.toBe(t.hours()); - - // If t = 59s12m then t.setSeconds(60) - // becomes 00s13m so we're fine just doing - // this and no testRun callback. - t.add(1, 's'); - // Run a job designed to be executed at a given - // time in `zone`, making sure that it is a different - // hour than local time. - const job = new cron.CronJob( - t.seconds() + ' ' + t.minutes() + ' ' + t.hours() + ' * * *', - callback, - null, - true, - zone - ); - - clock.tick(1000); - clock.restore(); - job.stop(); - expect(callback).toHaveBeenCalledTimes(1); - }); - - it('should run a job using a date', function() { - const moment = require('moment-timezone'); - let zone = 'America/Chicago'; - // New Orleans time - const t = moment(); - t.tz(zone); - // Current time - const d = moment(); - - // If current time is New Orleans time, switch to Los Angeles.. - if (t.hours() === d.hours()) { - zone = 'America/Los_Angeles'; - t.tz(zone); - } - - expect(d.hours()).not.toBe(t.hours()); - d.add(1, 'second'); - const clock = sinon.useFakeTimers(d.valueOf()); - const callback = jest.fn(); - const job = new cron.CronJob(d._d, callback, null, true, zone); - clock.tick(1000); - clock.restore(); - job.stop(); - expect(callback).toHaveBeenCalledTimes(1); - }); - - it('should test if timezone is valid.', function() { - expect(function() { - // eslint-disable-next-line no-new - new cron.CronJob({ - cronTime: '* * * * * *', - onTick: function() {}, - timeZone: 'fake/timezone' - }); - }).toThrow(); - }); - }); - - it('should start, change time, start again', function() { - const callback = jest.fn(); - const clock = sinon.useFakeTimers(); - - const job = new cron.CronJob('* * * * * *', callback); - - job.start(); - clock.tick(1000); - - job.stop(); - const time = cron.time('*/2 * * * * *'); - job.setTime(time); - job.start(); - - clock.tick(4000); - - clock.restore(); - job.stop(); - expect(callback).toHaveBeenCalledTimes(3); - }); - - it('should start, change time, exception', function() { - const callback = jest.fn(); - var clock = sinon.useFakeTimers(); - - var job = new cron.CronJob('* * * * * *', callback); - - var time = new Date(); - job.start(); - - clock.tick(1000); - - job.stop(); - expect(function() { - job.setTime(time); - }).toThrow(); - - clock.restore(); - job.stop(); - expect(callback).toHaveBeenCalledTimes(1); - }); - - it('should scope onTick to running job', function() { - const clock = sinon.useFakeTimers(); - - const job = new cron.CronJob( - '* * * * * *', - function() { - expect(job).toBeInstanceOf(cron.CronJob); - expect(job).toEqual(this); - }, - null, - true - ); - - clock.tick(1000); - - clock.restore(); - job.stop(); - }); - - it('should scope onTick to object', function() { - const clock = sinon.useFakeTimers(); - - const job = new cron.CronJob( - '* * * * * *', - function() { - expect(this.hello).toEqual('world'); - expect(job).not.toEqual(this); - }, - null, - true, - null, - { hello: 'world' } - ); - - clock.tick(1000); - - clock.restore(); - job.stop(); - }); - - it('should scope onTick to object within contstructor object', function() { - const clock = sinon.useFakeTimers(); - - const job = new cron.CronJob({ - cronTime: '* * * * * *', - onTick: function() { - expect(this.hello).toEqual('world'); - expect(job).not.toEqual(this); - }, - start: true, - context: { hello: 'world' } - }); - - clock.tick(1000); - - clock.restore(); - job.stop(); - }); - - it('should not get into an infinite loop on invalid times', function() { - expect(function() { - new cron.CronJob( - '* 60 * * * *', - function() { - expect.ok(true); - }, - null, - true - ); - }).toThrow(); - - expect(function() { - new cron.CronJob( - '* * 24 * * *', - function() { - expect.ok(true); - }, - null, - true - ); - }).toThrow(); - }); - - it('should test start of month', function() { - const callback = jest.fn(); - const d = new Date('12/31/2014'); - d.setSeconds(59); - d.setMinutes(59); - d.setHours(23); - var clock = sinon.useFakeTimers(d.getTime()); - - var job = new cron.CronJob('0 0 0 1 * *', callback, null, true); - - clock.tick(1001); - expect(callback).toHaveBeenCalledTimes(1); - - clock.tick(2678399001); - expect(callback).toHaveBeenCalledTimes(1); - - clock.tick(2678400001); // jump over 2 firsts - clock.restore(); - job.stop(); - - expect(callback).toHaveBeenCalledTimes(3); - }); - - it('should not fire if time was adjusted back', function() { - const callback = jest.fn(); - const clock = sinon.useFakeTimers({ - toFake: ['setTimeout'] - }); - - const job = new cron.CronJob('0 * * * * *', callback, null, true); - - clock.tick(60000); - expect(callback).toHaveBeenCalledTimes(0); - - clock.restore(); - job.stop(); - }); - - it('should run every day', function() { - const callback = jest.fn(); - const d = new Date('12/31/2014'); - d.setSeconds(59); - d.setMinutes(59); - d.setHours(23); - var clock = sinon.useFakeTimers(d.getTime()); - - var job = new cron.CronJob({ - cronTime: '59 59 3 * * *', - onTick: callback, - start: true, - timeZone: 'America/Los_Angeles' - }); - - var twoWeeks = 14 * 24 * 60 * 60 * 1000; - clock.tick(twoWeeks); - - clock.restore(); - job.stop(); - expect(callback).toHaveBeenCalledTimes(14); - }); - - it('should run every 2 hours between hours', function() { - const callback = jest.fn(); - const d = new Date('12/31/2014'); - d.setSeconds(0); - d.setMinutes(0); - d.setHours(0); - const clock = sinon.useFakeTimers(d.getTime()); - - const job = new cron.CronJob({ - cronTime: '0 2-6/2 * * * *', - onTick: callback, - start: true - }); - - clock.tick(2 * 60 * 1000); - expect(callback).toHaveBeenCalledTimes(1); - clock.tick(2 * 60 * 1000); - expect(callback).toHaveBeenCalledTimes(2); - clock.tick(2 * 60 * 1000); - expect(callback).toHaveBeenCalledTimes(3); - clock.tick(2 * 60 * 1000); - - clock.restore(); - job.stop(); - expect(callback).toHaveBeenCalledTimes(3); - }); - - it('should run every minute', function() { - const callback = jest.fn(); - const d = new Date('12/31/2014'); - d.setSeconds(0); - d.setMinutes(0); - d.setHours(0); - const clock = sinon.useFakeTimers(d.getTime()); - - const job = new cron.CronJob({ - cronTime: '00 * * * * *', - onTick: callback, - start: true - }); - - clock.tick(60 * 1000); - expect(callback).toHaveBeenCalledTimes(1); - clock.tick(60 * 1000); - expect(callback).toHaveBeenCalledTimes(2); - - clock.restore(); - job.stop(); - expect(callback).toHaveBeenCalledTimes(2); - }); - - it('should run every day', function() { - const callback = jest.fn(); - const d = new Date('12/31/2014'); - d.setSeconds(0); - d.setMinutes(0); - d.setHours(0); - const clock = sinon.useFakeTimers(d.getTime()); - - const job = new cron.CronJob({ - cronTime: '00 30 00 * * *', - onTick: callback, - start: true - }); - - const day = 24 * 60 * 60 * 1000; - clock.tick(day); - expect(callback).toHaveBeenCalledTimes(1); - clock.tick(day); - expect(callback).toHaveBeenCalledTimes(2); - clock.tick(day); - expect(callback).toHaveBeenCalledTimes(3); - clock.tick(5 * day); - - clock.restore(); - job.stop(); - expect(callback).toHaveBeenCalledTimes(8); - }); - - it('should trigger onTick at midnight', function() { - const callback = jest.fn(); - const d = new Date('12/31/2014'); - d.setSeconds(59); - d.setMinutes(59); - d.setHours(23); - const clock = sinon.useFakeTimers(d.getTime()); - - const job = new cron.CronJob({ - cronTime: '00 * * * * *', - onTick: callback, - start: true, - timeZone: 'UTC' - }); - - clock.tick(1000); // move clock 1 second - expect(callback).toHaveBeenCalledTimes(1); - - clock.restore(); - job.stop(); - expect(callback).toHaveBeenCalledTimes(1); - }); - - it('should run every day UTC', function() { - const callback = jest.fn(); - const d = new Date('12/31/2014'); - d.setSeconds(0); - d.setMinutes(0); - d.setHours(0); - const clock = sinon.useFakeTimers(d.getTime()); - - const job = new cron.CronJob({ - cronTime: '00 30 00 * * *', - onTick: callback, - start: true, - timeZone: 'UTC' - }); - - var day = 24 * 60 * 60 * 1000; - clock.tick(day); - expect(callback).toHaveBeenCalledTimes(1); - clock.tick(day); - expect(callback).toHaveBeenCalledTimes(2); - clock.tick(day); - expect(callback).toHaveBeenCalledTimes(3); - clock.tick(5 * day); - - clock.restore(); - job.stop(); - expect(callback).toHaveBeenCalledTimes(8); - }); - - // from https://github.com/kelektiv/node-cron/issues/180#issuecomment-154108131 - it('should run once not double', function() { - const callback = jest.fn(); - const d = new Date(2015, 1, 1, 1, 1, 41, 0); - const clock = sinon.useFakeTimers(d.getTime()); - - const job = new cron.CronJob({ - cronTime: '* * * * *', - onTick: callback, - start: true - }); - - var minute = 60 * 1000; - clock.tick(minute); - expect(callback).toHaveBeenCalledTimes(1); - clock.restore(); - job.stop(); - expect(callback).toHaveBeenCalledTimes(1); - }); - - describe('with utcOffset', function() { - it('should run a job using cron syntax with number format utcOffset', function() { - const clock = sinon.useFakeTimers(); - const callback = jest.fn(); - - const moment = require('moment-timezone'); - - // Current time - const t = moment(); - - // UTC Offset decreased by an hour - const utcOffset = t.utcOffset() - 60; - - const job = new cron.CronJob( - t.seconds() + ' ' + t.minutes() + ' ' + t.hours() + ' * * *', - callback, - null, - true, - null, - null, - null, - utcOffset - ); - - // tick 1 sec before an hour - clock.tick(1000 * 60 * 60 - 1); - expect(callback).toHaveBeenCalledTimes(0); - - clock.tick(1); - clock.restore(); - job.stop(); - expect(callback).toHaveBeenCalledTimes(1); - }); - - it('should run a job using cron syntax with string format utcOffset', function() { - const clock = sinon.useFakeTimers(); - const callback = jest.fn(); - - const moment = require('moment-timezone'); - - // Current time - const t = moment(); - - // UTC Offset decreased by an hour (string format '(+/-)HH:mm') - const utcOffset = t.utcOffset() - 60; - let utcOffsetString = utcOffset > 0 ? '+' : '-'; - utcOffsetString += ('0' + Math.floor(Math.abs(utcOffset) / 60)).slice(-2); - utcOffsetString += ':'; - utcOffsetString += ('0' + (utcOffset % 60)).slice(-2); - - var job = new cron.CronJob( - t.seconds() + ' ' + t.minutes() + ' ' + t.hours() + ' * * *', - callback, - null, - true, - null, - null, - null, - utcOffsetString - ); - - // tick 1 sec before an hour - clock.tick(1000 * 60 * 60 - 1); - expect(callback).toHaveBeenCalledTimes(0); - - // tick 1 sec - clock.tick(1); - clock.restore(); - job.stop(); - expect(callback).toHaveBeenCalledTimes(1); - }); - - it('should run a job using cron syntax with number format utcOffset that is 0', function() { - const clock = sinon.useFakeTimers(); - const callback = jest.fn(); - - const job = new cron.CronJob( - '* * * * * *', - callback, - null, - true, - null, - null, - null, - 0 - ); - - clock.tick(999); - expect(callback).toHaveBeenCalledTimes(0); - - clock.tick(1); - clock.restore(); - job.stop(); - expect(callback).toHaveBeenCalledTimes(1); - }); - - it('should be able to detect out of range days of month', function() { - expect(function() { - new cron.CronTime('* * 32 FEB *'); - }).toThrow(); - }); - }); -}); diff --git a/node_modules/cron/tests/crontime.test.js b/node_modules/cron/tests/crontime.test.js deleted file mode 100644 index 4c075b0..0000000 --- a/node_modules/cron/tests/crontime.test.js +++ /dev/null @@ -1,406 +0,0 @@ -/* eslint-disable no-new */ -const sinon = require('sinon'); -const cron = require('../lib/cron'); -const moment = require('moment-timezone'); - -describe('crontime', function() { - it('should test stars (* * * * * *)', function() { - expect(function() { - new cron.CronTime('* * * * * *'); - }).not.toThrow(); - }); - - it('should test digit (0 * * * * *)', function() { - expect(function() { - new cron.CronTime('0 * * * * *'); - }).not.toThrow(); - }); - - it('should test multi digits (08 * * * * *)', function() { - expect(function() { - new cron.CronTime('08 * * * * *'); - }).not.toThrow(); - }); - - it('should test all digits (08 8 8 8 8 5)', function() { - expect(function() { - new cron.CronTime('08 * * * * *'); - }).not.toThrow(); - }); - - it('should test too many digits (08 8 8 8 8 5)', function() { - expect(function() { - new cron.CronTime('08 * * * * *'); - }).not.toThrow(); - }); - - it('should test standard cron format (* * * * *)', function() { - expect(function() { - new cron.CronTime('* * * * *'); - }).not.toThrow(); - }); - - it('should test standard cron format (8 8 8 8 5)', function() { - const standard = new cron.CronTime('8 8 8 8 5'); - const extended = new cron.CronTime('0 8 8 8 8 5'); - - expect(standard.dayOfWeek).toEqual(extended.dayOfWeek); - expect(standard.month).toEqual(extended.month); - expect(standard.dayOfMonth).toEqual(extended.dayOfMonth); - expect(standard.hour).toEqual(extended.hour); - expect(standard.minute).toEqual(extended.minute); - expect(standard.second).toEqual(extended.second); - }); - - it('should test hyphen (0-10 * * * * *)', function() { - expect(function() { - new cron.CronTime('0-10 * * * * *'); - }).not.toThrow(); - }); - - it('should test multi hyphens (0-10 0-10 * * * *)', function() { - expect(function() { - new cron.CronTime('0-10 0-10 * * * *'); - }).not.toThrow(); - }); - - it('should test all hyphens (0-10 0-10 1-10 1-10 0-6 0-1)', function() { - expect(function() { - new cron.CronTime('0-10 0-10 1-10 1-10 0-6 0-1'); - }).not.toThrow(); - }); - - it('should test comma (0,10 * * * * *)', function() { - expect(function() { - new cron.CronTime('0,10 * * * * *'); - }).not.toThrow(); - }); - - it('should test multi commas (0,10 0,10 * * * *)', function() { - expect(function() { - new cron.CronTime('0,10 0,10 * * * *'); - }).not.toThrow(); - }); - - it('should test all commas (0,10 0,10 1,10 1,10 0,6 0,1)', function() { - expect(function() { - new cron.CronTime('0,10 0,10 1,10 1,10 0,6 0,1'); - }).not.toThrow(); - }); - - it('should test alias (* * * * jan *)', function() { - expect(function() { - new cron.CronTime('* * * * jan *'); - }).not.toThrow(); - }); - - it('should test multi aliases (* * * * jan,feb *)', function() { - expect(function() { - new cron.CronTime('* * * * jan,feb *'); - }).not.toThrow(); - }); - - it('should test all aliases (* * * * jan,feb mon,tue)', function() { - expect(function() { - new cron.CronTime('* * * * jan,feb mon,tue'); - }).not.toThrow(); - }); - - it('should test unknown alias (* * * * jar *)', function() { - expect(function() { - new cron.CronTime('* * * * jar *'); - }).toThrow(); - }); - - it('should test unknown alias - short (* * * * j *)', function() { - expect(function() { - new cron.CronTime('* * * * j *'); - }).toThrow(); - }); - - it('should test too few fields', function() { - expect(function() { - new cron.CronTime('* * * *', null, null); - }).toThrow(); - }); - - it('should test too many fields', function() { - expect(function() { - new cron.CronTime('* * * * * * *', null, null); - }).toThrow(); - }); - - it('should test out of range values', function() { - expect(function() { - new cron.CronTime('* * * * 1234', null, null); - }).toThrow(); - }); - - it('should test invalid wildcard expression', function() { - expect(function() { - new cron.CronTime('* * * * 0*'); - }).toThrow(); - }); - - it('should test invalid step', function() { - expect(function() { - new cron.CronTime('* * * 1/0 *'); - }).toThrow(); - }); - - it('should test invalid range', function() { - expect(function() { - new cron.CronTime('* 2-1 * * *'); - }).toThrow(); - }); - - it('should test Date', function() { - const d = new Date(); - const ct = new cron.CronTime(d); - expect(ct.source.isSame(d.getTime())).toBe(true); - }); - - it('should test day roll-over', function() { - const numHours = 24; - const ct = new cron.CronTime('0 0 17 * * *'); - - for (let hr = 0; hr < numHours; hr++) { - const start = new Date(2012, 3, 16, hr, 30, 30); - const next = ct._getNextDateFrom(start); - expect(next - start).toBeLessThan(24 * 60 * 60 * 1000); - expect(next._d.getTime()).toBeGreaterThan(start.getTime()); - } - }); - - it('should test illegal repetition syntax', function() { - expect(function() { - new cron.CronTime('* * /4 * * *'); - }).toThrow(); - }); - - it('should test next date', function() { - const ct = new cron.CronTime('0 0 */4 * * *'); - - const nextDate = new Date(); - nextDate.setHours(23); - const nextdt = ct._getNextDateFrom(nextDate); - - expect(nextdt._d.getTime()).toBeGreaterThan(nextDate.getTime()); - expect(nextdt.hours() % 4).toEqual(0); - }); - - it('should throw an exception because next date is invalid', function() { - const ct = new cron.CronTime('0 0 * * * *'); - const nextDate = new Date('My invalid date string'); - try { - // eslint-disable-next-line no-unused-vars - const nextdt = ct._getNextDateFrom(nextDate); - } catch (e) { - expect(e.message).toEqual('ERROR: You specified an invalid date.'); - } - }); - - it('should test next real date', function() { - const initialDate = new Date(); - const ct = new cron.CronTime(initialDate); - - const nextDate = new Date(); - nextDate.setMonth(nextDate.getMonth() + 1); - expect(nextDate.getTime()).toBeGreaterThan(ct.source._d.getTime()); - const nextdt = ct.sendAt(0); - // there shouldn't be a "next date" when using a real date. - // execution happens once - // so the return should be the date passed in unless explicitly reset - expect(nextdt.isBefore(nextDate)).toBeTruthy(); - expect(nextdt.isSame(initialDate)).toBeTruthy(); - }); - - describe('should throw an exception because `L` not supported', function() { - it('(* * * L * *)', function() { - expect(function() { - new cron.CronTime('* * * L * *'); - }).toThrow(); - }); - - it('(* * * * * L)', function() { - expect(function() { - new cron.CronTime('* * * * * L'); - }).toThrow(); - }); - }); - - it('should strip off millisecond', function() { - const cronTime = new cron.CronTime('0 */10 * * * *'); - const x = cronTime._getNextDateFrom(new Date('2018-08-10T02:20:00.999Z')); - expect(x.toISOString()).toEqual('2018-08-10T02:30:00.000Z'); - }); - - it('should strip off millisecond (2)', function() { - const cronTime = new cron.CronTime('0 */10 * * * *'); - const x = cronTime._getNextDateFrom(new Date('2018-08-10T02:19:59.999Z')); - expect(x.toISOString()).toEqual('2018-08-10T02:20:00.000Z'); - }); - - it('should generete the right next days when cron is set to every minute', function() { - const cronTime = new cron.CronTime('* * * * *'); - const min = 60000; - let previousDate = new Date(Date.UTC(2018, 5, 3, 0, 0)); - for (let i = 0; i < 25; i++) { - const nextDate = cronTime._getNextDateFrom(previousDate); - expect(nextDate.valueOf()).toEqual(previousDate.valueOf() + min); - previousDate = nextDate; - } - }); - - it('should generete the right next days when cron is set to every 15 min', function() { - const cronTime = new cron.CronTime('*/15 * * * *'); - const min = 60000 * 15; - let previousDate = new Date(Date.UTC(2016, 6, 3, 0, 0)); - for (let i = 0; i < 25; i++) { - const nextDate = cronTime._getNextDateFrom(previousDate); - expect(nextDate.valueOf()).toEqual(previousDate.valueOf() + min); - previousDate = nextDate; - } - }); - it('should work around time zone changes that shifts time back (1)', function() { - const d = new Date('10-7-2018'); - // America/Sao_Paulo has a time zone change around NOV 3 2018. - const cronTime = new cron.CronTime('0 0 9 4 * *'); - const nextDate = cronTime._getNextDateFrom(d, 'America/Sao_Paulo'); - expect(nextDate.valueOf()).toEqual( - moment('2018-11-04T09:00:00.000-02:00').valueOf() - ); - }); - it('should work around time zone changes that shifts time back (2)', function() { - // Asia/Amman DST ends in 26 - OCT-2018 (-1 to hours) - const d = moment.tz('2018-10-25T23:00', 'Asia/Amman'); - const cronTime = new cron.CronTime('0 0 * * *'); - const nextDate = cronTime._getNextDateFrom(d, 'Asia/Amman'); - expect(nextDate - moment.tz('2018-10-26T00:00', 'Asia/Amman')).toEqual(0); - }); - it('should work around time zone changes that shifts time forward', function() { - // Asia/Amman DST starts in 30-March-2018 (+1 to hours) - let currentDate = moment.tz('2018-03-29T23:00', 'Asia/Amman'); - const cronTime = new cron.CronTime('* * * * *'); - for (let i = 0; i < 100; i++) { - const nextDate = cronTime._getNextDateFrom(currentDate, 'Asia/Amman'); - expect(nextDate - currentDate).toEqual(1000 * 60); - currentDate = nextDate; - } - }); - it('should generate the right N next days for * * * * *', function() { - const cronTime = new cron.CronTime('* * * * *'); - let currentDate = moment() - .seconds(0) - .milliseconds(0); - for (let i = 0; i < 100; i++) { - const nextDate = cronTime._getNextDateFrom(currentDate); - expect(nextDate - currentDate).toEqual(1000 * 60); - currentDate = nextDate; - } - }); - it('should generate the right N next days for 0 0 9 * * *', function() { - const cronTime = new cron.CronTime('0 0 9 * * *'); - let currentDate = moment() - .utc() - .seconds(0) - .milliseconds(0) - .hours(9) - .minutes(0); - for (let i = 0; i < 100; i++) { - const nextDate = cronTime._getNextDateFrom(currentDate); - expect(nextDate - currentDate).toEqual(1000 * 60 * 60 * 24); - currentDate = nextDate; - } - }); - it('should generate the right N next days for 0 0 * * * with a time zone', function() { - const cronTime = new cron.CronTime('0 * * * *'); - let currentDate = moment - .tz('2018-11-02T23:00', 'America/Sao_Paulo') - .seconds(0) - .milliseconds(0); - for (let i = 0; i < 25; i++) { - const nextDate = cronTime._getNextDateFrom( - currentDate, - 'America/Sao_Paulo' - ); - expect(nextDate - currentDate).toEqual(1000 * 60 * 60); - currentDate = nextDate; - } - }); - it('should generate the right N next days for */3 * * * * with a time zone', function() { - const cronTime = new cron.CronTime('*/3 * * * *'); - let currentDate = moment - .tz('2018-11-02T23:00', 'America/Sao_Paulo') - .seconds(0) - .milliseconds(0); - for (let i = 0; i < 25; i++) { - const nextDate = cronTime._getNextDateFrom( - currentDate, - 'America/Sao_Paulo' - ); - expect(nextDate - currentDate).toEqual(1000 * 60 * 3); - currentDate = nextDate; - } - }); - it('should generete the right next day when cron is set to every 15 min in Feb', function() { - const cronTime = new cron.CronTime('*/15 * * FEB *'); - const previousDate = new Date(Date.UTC(2018, 3, 0, 0, 0)); - const nextDate = cronTime._getNextDateFrom(previousDate, 'UTC'); - expect(nextDate.valueOf()).toEqual( - new Date(Date.UTC(2019, 1, 1, 0, 0)).valueOf() - ); - }); - it('should generate the right next day when cron is set to both day of the month and day of the week (1)', function() { - const cronTime = new cron.CronTime('0 8 1 * 4'); - const previousDate = new Date(Date.UTC(2019, 3, 22, 0, 0)); - const nextDate = cronTime._getNextDateFrom(previousDate, 'UTC'); - expect(nextDate.valueOf()).toEqual( - new Date(Date.UTC(2019, 3, 25, 8, 0)).valueOf() - ); - }); - it('should generate the right next day when cron is set to both day of the month and day of the week (2)', function() { - const cronTime = new cron.CronTime('0 8 1 * 4'); - const previousDate = new Date(Date.UTC(2019, 3, 26, 0, 0)); - const nextDate = cronTime._getNextDateFrom(previousDate, 'UTC'); - expect(nextDate.valueOf()).toEqual( - new Date(Date.UTC(2019, 4, 1, 8, 0)).valueOf() - ); - }); - it('should generate the right next day when cron is set to both day of the month and day of the week (3)', function() { - const cronTime = new cron.CronTime('0 8 1 * 4'); - const previousDate = new Date(Date.UTC(2019, 7, 1, 7, 59)); - const nextDate = cronTime._getNextDateFrom(previousDate, 'UTC'); - expect(nextDate.valueOf()).toEqual( - new Date(Date.UTC(2019, 7, 1, 8, 0)).valueOf() - ); - }); - - it('should accept 0 as a valid UTC offset', function() { - const clock = sinon.useFakeTimers(); - - const cronTime = new cron.CronTime('0 11 * * *', null, 0); - const expected = moment() - .add(11, 'hours') - .unix(); - const actual = cronTime.sendAt().unix(); - - expect(actual).toEqual(expected); - - clock.restore(); - }); - - it('should accept -120 as a valid UTC offset', function() { - const clock = sinon.useFakeTimers(); - - const cronTime = new cron.CronTime('0 11 * * *', null, -120); - const expected = moment() - .add(13, 'hours') - .unix(); - const actual = cronTime.sendAt().unix(); - - expect(actual).toEqual(expected); - - clock.restore(); - }); -}); diff --git a/node_modules/date-now/.npmignore b/node_modules/date-now/.npmignore deleted file mode 100644 index aa3fd4b..0000000 --- a/node_modules/date-now/.npmignore +++ /dev/null @@ -1,14 +0,0 @@ -.DS_Store -.monitor -.*.swp -.nodemonignore -releases -*.log -*.err -fleet.json -public/browserify -bin/*.json -.bin -build -compile -.lock-wscript diff --git a/node_modules/date-now/.testem.json b/node_modules/date-now/.testem.json deleted file mode 100644 index 633c2ba..0000000 --- a/node_modules/date-now/.testem.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "launchers": { - "node": { - "command": "npm test" - } - }, - "src_files": [ - "./**/*.js" - ], - "before_tests": "npm run build", - "on_exit": "rm test/static/bundle.js", - "test_page": "test/static/index.html", - "launch_in_dev": ["node", "phantomjs"] -} diff --git a/node_modules/date-now/.travis.yml b/node_modules/date-now/.travis.yml deleted file mode 100644 index ed178f6..0000000 --- a/node_modules/date-now/.travis.yml +++ /dev/null @@ -1,4 +0,0 @@ -language: node_js -node_js: - - 0.8 - - 0.9 diff --git a/node_modules/date-now/LICENCE b/node_modules/date-now/LICENCE deleted file mode 100644 index 822d880..0000000 --- a/node_modules/date-now/LICENCE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2012 Colingo. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/date-now/README.md b/node_modules/date-now/README.md deleted file mode 100644 index 22d2675..0000000 --- a/node_modules/date-now/README.md +++ /dev/null @@ -1,45 +0,0 @@ -# date-now - -[![build status][1]][2] - -[![browser support][3]][4] - -A requirable version of Date.now() - -Use-case is to be able to mock out Date.now() using require interception. - -## Example - -```js -var now = require("date-now") - -var ts = now() -var ts2 = Date.now() -assert.equal(ts, ts2) -``` - -## example of seed - -``` -var now = require("date-now/seed")(timeStampFromServer) - -// ts is in "sync" with the seed value from the server -// useful if your users have their local time being a few minutes -// out of your server time. -var ts = now() -``` - -## Installation - -`npm install date-now` - -## Contributors - - - Raynos - -## MIT Licenced - - [1]: https://secure.travis-ci.org/Colingo/date-now.png - [2]: http://travis-ci.org/Colingo/date-now - [3]: http://ci.testling.com/Colingo/date-now.png - [4]: http://ci.testling.com/Colingo/date-now diff --git a/node_modules/date-now/index.js b/node_modules/date-now/index.js deleted file mode 100644 index d5f143a..0000000 --- a/node_modules/date-now/index.js +++ /dev/null @@ -1,5 +0,0 @@ -module.exports = now - -function now() { - return new Date().getTime() -} diff --git a/node_modules/date-now/package.json b/node_modules/date-now/package.json deleted file mode 100644 index 323eb77..0000000 --- a/node_modules/date-now/package.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "_from": "date-now@^0.1.4", - "_id": "date-now@0.1.4", - "_inBundle": false, - "_integrity": "sha1-6vQ5/U1ISK105cx9vvIAZyueNFs=", - "_location": "/date-now", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "date-now@^0.1.4", - "name": "date-now", - "escapedName": "date-now", - "rawSpec": "^0.1.4", - "saveSpec": null, - "fetchSpec": "^0.1.4" - }, - "_requiredBy": [ - "/console-browserify" - ], - "_resolved": "https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz", - "_shasum": "eaf439fd4d4848ad74e5cc7dbef200672b9e345b", - "_spec": "date-now@^0.1.4", - "_where": "/home/arda/SBC-RealTimeIO/node_modules/console-browserify", - "author": { - "name": "Raynos", - "email": "raynos2@gmail.com" - }, - "bugs": { - "url": "https://github.com/Colingo/date-now/issues", - "email": "raynos2@gmail.com" - }, - "bundleDependencies": false, - "contributors": [ - { - "name": "Artem Shoobovych" - } - ], - "dependencies": {}, - "deprecated": false, - "description": "A requirable version of Date.now()", - "devDependencies": { - "browserify": "https://github.com/raynos/node-browserify/tarball/master", - "tape": "~0.2.2", - "testem": "~0.2.52" - }, - "homepage": "https://github.com/Colingo/date-now", - "keywords": [], - "licenses": [ - { - "type": "MIT", - "url": "http://github.com/Colingo/date-now/raw/master/LICENSE" - } - ], - "main": "index", - "name": "date-now", - "repository": { - "type": "git", - "url": "git://github.com/Colingo/date-now.git" - }, - "scripts": { - "build": "browserify test/index.js -o test/static/bundle.js", - "test": "node ./test", - "testem": "testem" - }, - "testling": { - "files": "test/*.js", - "browsers": { - "ie": [ - "8", - "9", - "10" - ], - "firefox": [ - "16", - "17", - "nightly" - ], - "chrome": [ - "22", - "23", - "canary" - ], - "opera": [ - "12", - "next" - ], - "safari": [ - "5.1" - ] - } - }, - "version": "0.1.4" -} diff --git a/node_modules/date-now/seed.js b/node_modules/date-now/seed.js deleted file mode 100644 index b9727c5..0000000 --- a/node_modules/date-now/seed.js +++ /dev/null @@ -1,16 +0,0 @@ -var now = require("./index") - -module.exports = seeded - -/* Returns a Date.now() like function that's in sync with - the seed value -*/ -function seeded(seed) { - var current = now() - - return time - - function time() { - return seed + (now() - current) - } -} diff --git a/node_modules/date-now/test/index.js b/node_modules/date-now/test/index.js deleted file mode 100644 index 270584c..0000000 --- a/node_modules/date-now/test/index.js +++ /dev/null @@ -1,28 +0,0 @@ -var test = require("tape") -var setTimeout = require("timers").setTimeout - -var now = require("../index") -var seeded = require("../seed") - -test("date", function (assert) { - var ts = now() - var ts2 = Date.now() - assert.equal(ts, ts2) - assert.end() -}) - -test("seeded", function (assert) { - var time = seeded(40) - var ts = time() - - within(assert, time(), 40, 5) - setTimeout(function () { - within(assert, time(), 90, 10) - assert.end() - }, 50) -}) - -function within(assert, a, b, offset) { - assert.ok(a + offset > b) - assert.ok(a - offset < b) -} diff --git a/node_modules/date-now/test/static/index.html b/node_modules/date-now/test/static/index.html deleted file mode 100644 index 3d5384d..0000000 --- a/node_modules/date-now/test/static/index.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - TAPE Example - - - - - - diff --git a/node_modules/debug/.coveralls.yml b/node_modules/debug/.coveralls.yml deleted file mode 100644 index 20a7068..0000000 --- a/node_modules/debug/.coveralls.yml +++ /dev/null @@ -1 +0,0 @@ -repo_token: SIAeZjKYlHK74rbcFvNHMUzjRiMpflxve diff --git a/node_modules/debug/.eslintrc b/node_modules/debug/.eslintrc deleted file mode 100644 index 8a37ae2..0000000 --- a/node_modules/debug/.eslintrc +++ /dev/null @@ -1,11 +0,0 @@ -{ - "env": { - "browser": true, - "node": true - }, - "rules": { - "no-console": 0, - "no-empty": [1, { "allowEmptyCatch": true }] - }, - "extends": "eslint:recommended" -} diff --git a/node_modules/debug/.npmignore b/node_modules/debug/.npmignore deleted file mode 100644 index 5f60eec..0000000 --- a/node_modules/debug/.npmignore +++ /dev/null @@ -1,9 +0,0 @@ -support -test -examples -example -*.sock -dist -yarn.lock -coverage -bower.json diff --git a/node_modules/debug/.travis.yml b/node_modules/debug/.travis.yml deleted file mode 100644 index 6c6090c..0000000 --- a/node_modules/debug/.travis.yml +++ /dev/null @@ -1,14 +0,0 @@ - -language: node_js -node_js: - - "6" - - "5" - - "4" - -install: - - make node_modules - -script: - - make lint - - make test - - make coveralls diff --git a/node_modules/debug/CHANGELOG.md b/node_modules/debug/CHANGELOG.md deleted file mode 100644 index eadaa18..0000000 --- a/node_modules/debug/CHANGELOG.md +++ /dev/null @@ -1,362 +0,0 @@ - -2.6.9 / 2017-09-22 -================== - - * remove ReDoS regexp in %o formatter (#504) - -2.6.8 / 2017-05-18 -================== - - * Fix: Check for undefined on browser globals (#462, @marbemac) - -2.6.7 / 2017-05-16 -================== - - * Fix: Update ms to 2.0.0 to fix regular expression denial of service vulnerability (#458, @hubdotcom) - * Fix: Inline extend function in node implementation (#452, @dougwilson) - * Docs: Fix typo (#455, @msasad) - -2.6.5 / 2017-04-27 -================== - - * Fix: null reference check on window.documentElement.style.WebkitAppearance (#447, @thebigredgeek) - * Misc: clean up browser reference checks (#447, @thebigredgeek) - * Misc: add npm-debug.log to .gitignore (@thebigredgeek) - - -2.6.4 / 2017-04-20 -================== - - * Fix: bug that would occure if process.env.DEBUG is a non-string value. (#444, @LucianBuzzo) - * Chore: ignore bower.json in npm installations. (#437, @joaovieira) - * Misc: update "ms" to v0.7.3 (@tootallnate) - -2.6.3 / 2017-03-13 -================== - - * Fix: Electron reference to `process.env.DEBUG` (#431, @paulcbetts) - * Docs: Changelog fix (@thebigredgeek) - -2.6.2 / 2017-03-10 -================== - - * Fix: DEBUG_MAX_ARRAY_LENGTH (#420, @slavaGanzin) - * Docs: Add backers and sponsors from Open Collective (#422, @piamancini) - * Docs: Add Slackin invite badge (@tootallnate) - -2.6.1 / 2017-02-10 -================== - - * Fix: Module's `export default` syntax fix for IE8 `Expected identifier` error - * Fix: Whitelist DEBUG_FD for values 1 and 2 only (#415, @pi0) - * Fix: IE8 "Expected identifier" error (#414, @vgoma) - * Fix: Namespaces would not disable once enabled (#409, @musikov) - -2.6.0 / 2016-12-28 -================== - - * Fix: added better null pointer checks for browser useColors (@thebigredgeek) - * Improvement: removed explicit `window.debug` export (#404, @tootallnate) - * Improvement: deprecated `DEBUG_FD` environment variable (#405, @tootallnate) - -2.5.2 / 2016-12-25 -================== - - * Fix: reference error on window within webworkers (#393, @KlausTrainer) - * Docs: fixed README typo (#391, @lurch) - * Docs: added notice about v3 api discussion (@thebigredgeek) - -2.5.1 / 2016-12-20 -================== - - * Fix: babel-core compatibility - -2.5.0 / 2016-12-20 -================== - - * Fix: wrong reference in bower file (@thebigredgeek) - * Fix: webworker compatibility (@thebigredgeek) - * Fix: output formatting issue (#388, @kribblo) - * Fix: babel-loader compatibility (#383, @escwald) - * Misc: removed built asset from repo and publications (@thebigredgeek) - * Misc: moved source files to /src (#378, @yamikuronue) - * Test: added karma integration and replaced babel with browserify for browser tests (#378, @yamikuronue) - * Test: coveralls integration (#378, @yamikuronue) - * Docs: simplified language in the opening paragraph (#373, @yamikuronue) - -2.4.5 / 2016-12-17 -================== - - * Fix: `navigator` undefined in Rhino (#376, @jochenberger) - * Fix: custom log function (#379, @hsiliev) - * Improvement: bit of cleanup + linting fixes (@thebigredgeek) - * Improvement: rm non-maintainted `dist/` dir (#375, @freewil) - * Docs: simplified language in the opening paragraph. (#373, @yamikuronue) - -2.4.4 / 2016-12-14 -================== - - * Fix: work around debug being loaded in preload scripts for electron (#368, @paulcbetts) - -2.4.3 / 2016-12-14 -================== - - * Fix: navigation.userAgent error for react native (#364, @escwald) - -2.4.2 / 2016-12-14 -================== - - * Fix: browser colors (#367, @tootallnate) - * Misc: travis ci integration (@thebigredgeek) - * Misc: added linting and testing boilerplate with sanity check (@thebigredgeek) - -2.4.1 / 2016-12-13 -================== - - * Fix: typo that broke the package (#356) - -2.4.0 / 2016-12-13 -================== - - * Fix: bower.json references unbuilt src entry point (#342, @justmatt) - * Fix: revert "handle regex special characters" (@tootallnate) - * Feature: configurable util.inspect()`options for NodeJS (#327, @tootallnate) - * Feature: %O`(big O) pretty-prints objects (#322, @tootallnate) - * Improvement: allow colors in workers (#335, @botverse) - * Improvement: use same color for same namespace. (#338, @lchenay) - -2.3.3 / 2016-11-09 -================== - - * Fix: Catch `JSON.stringify()` errors (#195, Jovan Alleyne) - * Fix: Returning `localStorage` saved values (#331, Levi Thomason) - * Improvement: Don't create an empty object when no `process` (Nathan Rajlich) - -2.3.2 / 2016-11-09 -================== - - * Fix: be super-safe in index.js as well (@TooTallNate) - * Fix: should check whether process exists (Tom Newby) - -2.3.1 / 2016-11-09 -================== - - * Fix: Added electron compatibility (#324, @paulcbetts) - * Improvement: Added performance optimizations (@tootallnate) - * Readme: Corrected PowerShell environment variable example (#252, @gimre) - * Misc: Removed yarn lock file from source control (#321, @fengmk2) - -2.3.0 / 2016-11-07 -================== - - * Fix: Consistent placement of ms diff at end of output (#215, @gorangajic) - * Fix: Escaping of regex special characters in namespace strings (#250, @zacronos) - * Fix: Fixed bug causing crash on react-native (#282, @vkarpov15) - * Feature: Enabled ES6+ compatible import via default export (#212 @bucaran) - * Feature: Added %O formatter to reflect Chrome's console.log capability (#279, @oncletom) - * Package: Update "ms" to 0.7.2 (#315, @DevSide) - * Package: removed superfluous version property from bower.json (#207 @kkirsche) - * Readme: fix USE_COLORS to DEBUG_COLORS - * Readme: Doc fixes for format string sugar (#269, @mlucool) - * Readme: Updated docs for DEBUG_FD and DEBUG_COLORS environment variables (#232, @mattlyons0) - * Readme: doc fixes for PowerShell (#271 #243, @exoticknight @unreadable) - * Readme: better docs for browser support (#224, @matthewmueller) - * Tooling: Added yarn integration for development (#317, @thebigredgeek) - * Misc: Renamed History.md to CHANGELOG.md (@thebigredgeek) - * Misc: Added license file (#226 #274, @CantemoInternal @sdaitzman) - * Misc: Updated contributors (@thebigredgeek) - -2.2.0 / 2015-05-09 -================== - - * package: update "ms" to v0.7.1 (#202, @dougwilson) - * README: add logging to file example (#193, @DanielOchoa) - * README: fixed a typo (#191, @amir-s) - * browser: expose `storage` (#190, @stephenmathieson) - * Makefile: add a `distclean` target (#189, @stephenmathieson) - -2.1.3 / 2015-03-13 -================== - - * Updated stdout/stderr example (#186) - * Updated example/stdout.js to match debug current behaviour - * Renamed example/stderr.js to stdout.js - * Update Readme.md (#184) - * replace high intensity foreground color for bold (#182, #183) - -2.1.2 / 2015-03-01 -================== - - * dist: recompile - * update "ms" to v0.7.0 - * package: update "browserify" to v9.0.3 - * component: fix "ms.js" repo location - * changed bower package name - * updated documentation about using debug in a browser - * fix: security error on safari (#167, #168, @yields) - -2.1.1 / 2014-12-29 -================== - - * browser: use `typeof` to check for `console` existence - * browser: check for `console.log` truthiness (fix IE 8/9) - * browser: add support for Chrome apps - * Readme: added Windows usage remarks - * Add `bower.json` to properly support bower install - -2.1.0 / 2014-10-15 -================== - - * node: implement `DEBUG_FD` env variable support - * package: update "browserify" to v6.1.0 - * package: add "license" field to package.json (#135, @panuhorsmalahti) - -2.0.0 / 2014-09-01 -================== - - * package: update "browserify" to v5.11.0 - * node: use stderr rather than stdout for logging (#29, @stephenmathieson) - -1.0.4 / 2014-07-15 -================== - - * dist: recompile - * example: remove `console.info()` log usage - * example: add "Content-Type" UTF-8 header to browser example - * browser: place %c marker after the space character - * browser: reset the "content" color via `color: inherit` - * browser: add colors support for Firefox >= v31 - * debug: prefer an instance `log()` function over the global one (#119) - * Readme: update documentation about styled console logs for FF v31 (#116, @wryk) - -1.0.3 / 2014-07-09 -================== - - * Add support for multiple wildcards in namespaces (#122, @seegno) - * browser: fix lint - -1.0.2 / 2014-06-10 -================== - - * browser: update color palette (#113, @gscottolson) - * common: make console logging function configurable (#108, @timoxley) - * node: fix %o colors on old node <= 0.8.x - * Makefile: find node path using shell/which (#109, @timoxley) - -1.0.1 / 2014-06-06 -================== - - * browser: use `removeItem()` to clear localStorage - * browser, node: don't set DEBUG if namespaces is undefined (#107, @leedm777) - * package: add "contributors" section - * node: fix comment typo - * README: list authors - -1.0.0 / 2014-06-04 -================== - - * make ms diff be global, not be scope - * debug: ignore empty strings in enable() - * node: make DEBUG_COLORS able to disable coloring - * *: export the `colors` array - * npmignore: don't publish the `dist` dir - * Makefile: refactor to use browserify - * package: add "browserify" as a dev dependency - * Readme: add Web Inspector Colors section - * node: reset terminal color for the debug content - * node: map "%o" to `util.inspect()` - * browser: map "%j" to `JSON.stringify()` - * debug: add custom "formatters" - * debug: use "ms" module for humanizing the diff - * Readme: add "bash" syntax highlighting - * browser: add Firebug color support - * browser: add colors for WebKit browsers - * node: apply log to `console` - * rewrite: abstract common logic for Node & browsers - * add .jshintrc file - -0.8.1 / 2014-04-14 -================== - - * package: re-add the "component" section - -0.8.0 / 2014-03-30 -================== - - * add `enable()` method for nodejs. Closes #27 - * change from stderr to stdout - * remove unnecessary index.js file - -0.7.4 / 2013-11-13 -================== - - * remove "browserify" key from package.json (fixes something in browserify) - -0.7.3 / 2013-10-30 -================== - - * fix: catch localStorage security error when cookies are blocked (Chrome) - * add debug(err) support. Closes #46 - * add .browser prop to package.json. Closes #42 - -0.7.2 / 2013-02-06 -================== - - * fix package.json - * fix: Mobile Safari (private mode) is broken with debug - * fix: Use unicode to send escape character to shell instead of octal to work with strict mode javascript - -0.7.1 / 2013-02-05 -================== - - * add repository URL to package.json - * add DEBUG_COLORED to force colored output - * add browserify support - * fix component. Closes #24 - -0.7.0 / 2012-05-04 -================== - - * Added .component to package.json - * Added debug.component.js build - -0.6.0 / 2012-03-16 -================== - - * Added support for "-" prefix in DEBUG [Vinay Pulim] - * Added `.enabled` flag to the node version [TooTallNate] - -0.5.0 / 2012-02-02 -================== - - * Added: humanize diffs. Closes #8 - * Added `debug.disable()` to the CS variant - * Removed padding. Closes #10 - * Fixed: persist client-side variant again. Closes #9 - -0.4.0 / 2012-02-01 -================== - - * Added browser variant support for older browsers [TooTallNate] - * Added `debug.enable('project:*')` to browser variant [TooTallNate] - * Added padding to diff (moved it to the right) - -0.3.0 / 2012-01-26 -================== - - * Added millisecond diff when isatty, otherwise UTC string - -0.2.0 / 2012-01-22 -================== - - * Added wildcard support - -0.1.0 / 2011-12-02 -================== - - * Added: remove colors unless stderr isatty [TooTallNate] - -0.0.1 / 2010-01-03 -================== - - * Initial release diff --git a/node_modules/debug/LICENSE b/node_modules/debug/LICENSE deleted file mode 100644 index 658c933..0000000 --- a/node_modules/debug/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -(The MIT License) - -Copyright (c) 2014 TJ Holowaychuk - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software -and associated documentation files (the 'Software'), to deal in the Software without restriction, -including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, -and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial -portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT -LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - diff --git a/node_modules/debug/Makefile b/node_modules/debug/Makefile deleted file mode 100644 index 584da8b..0000000 --- a/node_modules/debug/Makefile +++ /dev/null @@ -1,50 +0,0 @@ -# get Makefile directory name: http://stackoverflow.com/a/5982798/376773 -THIS_MAKEFILE_PATH:=$(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)) -THIS_DIR:=$(shell cd $(dir $(THIS_MAKEFILE_PATH));pwd) - -# BIN directory -BIN := $(THIS_DIR)/node_modules/.bin - -# Path -PATH := node_modules/.bin:$(PATH) -SHELL := /bin/bash - -# applications -NODE ?= $(shell which node) -YARN ?= $(shell which yarn) -PKG ?= $(if $(YARN),$(YARN),$(NODE) $(shell which npm)) -BROWSERIFY ?= $(NODE) $(BIN)/browserify - -.FORCE: - -install: node_modules - -node_modules: package.json - @NODE_ENV= $(PKG) install - @touch node_modules - -lint: .FORCE - eslint browser.js debug.js index.js node.js - -test-node: .FORCE - istanbul cover node_modules/mocha/bin/_mocha -- test/**.js - -test-browser: .FORCE - mkdir -p dist - - @$(BROWSERIFY) \ - --standalone debug \ - . > dist/debug.js - - karma start --single-run - rimraf dist - -test: .FORCE - concurrently \ - "make test-node" \ - "make test-browser" - -coveralls: - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js - -.PHONY: all install clean distclean diff --git a/node_modules/debug/README.md b/node_modules/debug/README.md deleted file mode 100644 index f67be6b..0000000 --- a/node_modules/debug/README.md +++ /dev/null @@ -1,312 +0,0 @@ -# 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) -[![OpenCollective](https://opencollective.com/debug/sponsors/badge.svg)](#sponsors) - - - -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)** - -## Installation - -```bash -$ npm install debug -``` - -## Usage - -`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_: - -```js -var debug = require('debug')('http') - , http = require('http') - , name = 'My App'; - -// fake app - -debug('booting %s', name); - -http.createServer(function(req, res){ - debug(req.method + ' ' + req.url); - res.end('hello\n'); -}).listen(3000, function(){ - debug('listening'); -}); - -// fake worker of some kind - -require('./worker'); -``` - -Example _worker.js_: - -```js -var debug = require('debug')('worker'); - -setInterval(function(){ - debug('doing some work'); -}, 1000); -``` - - The __DEBUG__ environment variable is then used to enable these based on space or comma-delimited names. Here are some examples: - - ![debug http and worker](http://f.cl.ly/items/18471z1H402O24072r1J/Screenshot.png) - - ![debug worker](http://f.cl.ly/items/1X413v1a3M0d3C2c1E0i/Screenshot.png) - -#### Windows note - - On Windows the environment variable is set using the `set` command. - - ```cmd - set DEBUG=*,-not_this - ``` - - Note that PowerShell uses different syntax to set environment variables. - - ```cmd - $env:DEBUG = "*,-not_this" - ``` - -Then, run the program to be debugged as usual. - -## 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. - - ![](http://f.cl.ly/items/2i3h1d3t121M2Z1A3Q0N/Screenshot.png) - - When stdout is not a TTY, `Date#toUTCString()` is used, making it more useful for logging the debug information as shown below: - - ![](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". - -## 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=*`. - - 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: - -| Name | Purpose | -|-----------|-------------------------------------------------| -| `DEBUG` | Enables/disables specific debugging namespaces. | -| `DEBUG_COLORS`| Whether or not to use colors in the debug output. | -| `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. - -## Formatters - - - Debug uses [printf-style](https://wikipedia.org/wiki/Printf_format_string) formatting. Below are the officially supported formatters: - -| Formatter | Representation | -|-----------|----------------| -| `%O` | Pretty-print an Object on multiple lines. | -| `%o` | Pretty-print an Object all on a single line. | -| `%s` | String. | -| `%d` | Number (both integer and float). | -| `%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: - -```js -const createDebug = require('debug') -createDebug.formatters.h = (v) => { - return v.toString('hex') -} - -// …elsewhere -const debug = createDebug('foo') -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`: - -```js -localStorage.debug = 'worker:*' -``` - -And then refresh the page. - -```js -a = debug('worker:a'); -b = debug('worker:b'); - -setInterval(function(){ - a('doing some work'); -}, 1000); - -setInterval(function(){ - b('doing some work'); -}, 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_: - -```js -var debug = require('debug'); -var error = debug('app:error'); - -// by default stderr is used -error('goes to stderr!'); - -var log = debug('app:log'); -// set this namespace to log via console.log -log.log = console.log.bind(console); // don't forget to bind to console! -log('goes to stdout'); -error('still goes to stderr!'); - -// set all output to go via console.info -// overrides all per-namespace log settings -debug.log = console.info.bind(console); -error('now goes to stdout via console.info'); -log('still goes to stdout, but via console.info now'); -``` - - -## 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)] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -## Sponsors - -Become a sponsor and get your logo on our README on Github with a link to your site. [[Become a sponsor](https://opencollective.com/debug#sponsor)] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -## License - -(The MIT License) - -Copyright (c) 2014-2016 TJ Holowaychuk <tj@vision-media.ca> - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/debug/component.json b/node_modules/debug/component.json deleted file mode 100644 index 9de2641..0000000 --- a/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" - } -} diff --git a/node_modules/debug/karma.conf.js b/node_modules/debug/karma.conf.js deleted file mode 100644 index 103a82d..0000000 --- a/node_modules/debug/karma.conf.js +++ /dev/null @@ -1,70 +0,0 @@ -// Karma configuration -// Generated on Fri Dec 16 2016 13:09:51 GMT+0000 (UTC) - -module.exports = function(config) { - config.set({ - - // base path that will be used to resolve all patterns (eg. files, exclude) - basePath: '', - - - // frameworks to use - // available frameworks: https://npmjs.org/browse/keyword/karma-adapter - frameworks: ['mocha', 'chai', 'sinon'], - - - // list of files / patterns to load in the browser - files: [ - 'dist/debug.js', - 'test/*spec.js' - ], - - - // list of files to exclude - exclude: [ - 'src/node.js' - ], - - - // preprocess matching files before serving them to the browser - // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor - preprocessors: { - }, - - // test results reporter to use - // possible values: 'dots', 'progress' - // available reporters: https://npmjs.org/browse/keyword/karma-reporter - reporters: ['progress'], - - - // web server port - port: 9876, - - - // enable / disable colors in the output (reporters and logs) - colors: true, - - - // level of logging - // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG - logLevel: config.LOG_INFO, - - - // enable / disable watching file and executing tests whenever any file changes - autoWatch: true, - - - // start these browsers - // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher - browsers: ['PhantomJS'], - - - // Continuous Integration mode - // if true, Karma captures browsers, runs the tests and exits - singleRun: false, - - // Concurrency level - // how many browser should be started simultaneous - concurrency: Infinity - }) -} diff --git a/node_modules/debug/node.js b/node_modules/debug/node.js deleted file mode 100644 index 7fc36fe..0000000 --- a/node_modules/debug/node.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./src/node'); diff --git a/node_modules/debug/package.json b/node_modules/debug/package.json deleted file mode 100644 index 7f3219d..0000000 --- a/node_modules/debug/package.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - "_from": "debug@2.6.9", - "_id": "debug@2.6.9", - "_inBundle": false, - "_integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "_location": "/debug", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "debug@2.6.9", - "name": "debug", - "escapedName": "debug", - "rawSpec": "2.6.9", - "saveSpec": null, - "fetchSpec": "2.6.9" - }, - "_requiredBy": [ - "/body-parser", - "/express", - "/finalhandler", - "/send" - ], - "_resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "_shasum": "5d128515df134ff327e90a4c93f4e077a536341f", - "_spec": "debug@2.6.9", - "_where": "/root/gpio-controller/node_modules/express", - "author": { - "name": "TJ Holowaychuk", - "email": "tj@vision-media.ca" - }, - "browser": "./src/browser.js", - "bugs": { - "url": "https://github.com/visionmedia/debug/issues" - }, - "bundleDependencies": false, - "component": { - "scripts": { - "debug/index.js": "browser.js", - "debug/debug.js": "debug.js" - } - }, - "contributors": [ - { - "name": "Nathan Rajlich", - "email": "nathan@tootallnate.net", - "url": "http://n8.io" - }, - { - "name": "Andrew Rhyne", - "email": "rhyneandrew@gmail.com" - } - ], - "dependencies": { - "ms": "2.0.0" - }, - "deprecated": false, - "description": "small debugging utility", - "devDependencies": { - "browserify": "9.0.3", - "chai": "^3.5.0", - "concurrently": "^3.1.0", - "coveralls": "^2.11.15", - "eslint": "^3.12.1", - "istanbul": "^0.4.5", - "karma": "^1.3.0", - "karma-chai": "^0.1.0", - "karma-mocha": "^1.3.0", - "karma-phantomjs-launcher": "^1.0.2", - "karma-sinon": "^1.0.5", - "mocha": "^3.2.0", - "mocha-lcov-reporter": "^1.2.0", - "rimraf": "^2.5.4", - "sinon": "^1.17.6", - "sinon-chai": "^2.8.0" - }, - "homepage": "https://github.com/visionmedia/debug#readme", - "keywords": [ - "debug", - "log", - "debugger" - ], - "license": "MIT", - "main": "./src/index.js", - "name": "debug", - "repository": { - "type": "git", - "url": "git://github.com/visionmedia/debug.git" - }, - "version": "2.6.9" -} diff --git a/node_modules/debug/src/browser.js b/node_modules/debug/src/browser.js deleted file mode 100644 index 7106924..0000000 --- a/node_modules/debug/src/browser.js +++ /dev/null @@ -1,185 +0,0 @@ -/** - * This is the web browser implementation of `debug()`. - * - * Expose `debug()` as the module. - */ - -exports = module.exports = require('./debug'); -exports.log = log; -exports.formatArgs = formatArgs; -exports.save = save; -exports.load = load; -exports.useColors = useColors; -exports.storage = 'undefined' != typeof chrome - && 'undefined' != typeof chrome.storage - ? chrome.storage.local - : localstorage(); - -/** - * Colors. - */ - -exports.colors = [ - 'lightseagreen', - 'forestgreen', - 'goldenrod', - 'dodgerblue', - 'darkorchid', - 'crimson' -]; - -/** - * Currently only WebKit-based Web Inspectors, Firefox >= v31, - * and the Firebug extension (any Firefox version) are known - * to support "%c" CSS customizations. - * - * TODO: add a `localStorage` variable to explicitly enable/disable colors - */ - -function useColors() { - // NB: In an Electron preload script, document will be defined but not fully - // initialized. Since we know we're in Chrome, we'll just detect this case - // explicitly - if (typeof window !== 'undefined' && window.process && window.process.type === 'renderer') { - return true; - } - - // is webkit? http://stackoverflow.com/a/16459606/376773 - // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632 - return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) || - // is firebug? http://stackoverflow.com/a/398120/376773 - (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) || - // is firefox >= v31? - // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages - (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31) || - // double check webkit in userAgent just in case we are in a worker - (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)); -} - -/** - * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default. - */ - -exports.formatters.j = function(v) { - try { - return JSON.stringify(v); - } catch (err) { - return '[UnexpectedJSONParseError]: ' + err.message; - } -}; - - -/** - * Colorize log arguments if enabled. - * - * @api public - */ - -function formatArgs(args) { - var useColors = this.useColors; - - args[0] = (useColors ? '%c' : '') - + this.namespace - + (useColors ? ' %c' : ' ') - + args[0] - + (useColors ? '%c ' : ' ') - + '+' + exports.humanize(this.diff); - - if (!useColors) return; - - var c = 'color: ' + this.color; - args.splice(1, 0, c, 'color: inherit') - - // the final "%c" is somewhat tricky, because there could be other - // arguments passed either before or after the %c, so we need to - // figure out the correct index to insert the CSS into - var index = 0; - var lastC = 0; - args[0].replace(/%[a-zA-Z%]/g, function(match) { - if ('%%' === match) return; - index++; - if ('%c' === match) { - // we only are interested in the *last* %c - // (the user may have provided their own) - lastC = index; - } - }); - - args.splice(lastC, 0, c); -} - -/** - * Invokes `console.log()` when available. - * No-op when `console.log` is not a "function". - * - * @api public - */ - -function log() { - // this hackery is required for IE8/9, where - // the `console.log` function doesn't have 'apply' - return 'object' === typeof console - && console.log - && Function.prototype.apply.call(console.log, console, arguments); -} - -/** - * Save `namespaces`. - * - * @param {String} namespaces - * @api private - */ - -function save(namespaces) { - try { - if (null == namespaces) { - exports.storage.removeItem('debug'); - } else { - exports.storage.debug = namespaces; - } - } catch(e) {} -} - -/** - * Load `namespaces`. - * - * @return {String} returns the previously persisted debug modes - * @api private - */ - -function load() { - var r; - try { - r = exports.storage.debug; - } catch(e) {} - - // If debug isn't set in LS, and we're in Electron, try to load $DEBUG - if (!r && typeof process !== 'undefined' && 'env' in process) { - r = process.env.DEBUG; - } - - return r; -} - -/** - * Enable namespaces listed in `localStorage.debug` initially. - */ - -exports.enable(load()); - -/** - * Localstorage attempts to return the localstorage. - * - * This is necessary because safari throws - * when a user disables cookies/localstorage - * and you attempt to access it. - * - * @return {LocalStorage} - * @api private - */ - -function localstorage() { - try { - return window.localStorage; - } catch (e) {} -} diff --git a/node_modules/debug/src/debug.js b/node_modules/debug/src/debug.js deleted file mode 100644 index 6a5e3fc..0000000 --- a/node_modules/debug/src/debug.js +++ /dev/null @@ -1,202 +0,0 @@ - -/** - * This is the common logic for both the Node.js and web browser - * implementations of `debug()`. - * - * Expose `debug()` as the module. - */ - -exports = module.exports = createDebug.debug = createDebug['default'] = createDebug; -exports.coerce = coerce; -exports.disable = disable; -exports.enable = enable; -exports.enabled = enabled; -exports.humanize = require('ms'); - -/** - * The currently active debug mode names, and names to skip. - */ - -exports.names = []; -exports.skips = []; - -/** - * Map of special "%n" handling functions, for the debug "format" argument. - * - * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N". - */ - -exports.formatters = {}; - -/** - * Previous log timestamp. - */ - -var prevTime; - -/** - * Select a color. - * @param {String} namespace - * @return {Number} - * @api private - */ - -function selectColor(namespace) { - var hash = 0, i; - - for (i in namespace) { - hash = ((hash << 5) - hash) + namespace.charCodeAt(i); - hash |= 0; // Convert to 32bit integer - } - - return exports.colors[Math.abs(hash) % exports.colors.length]; -} - -/** - * Create a debugger with the given `namespace`. - * - * @param {String} namespace - * @return {Function} - * @api public - */ - -function createDebug(namespace) { - - function debug() { - // disabled? - if (!debug.enabled) return; - - var self = debug; - - // set `diff` timestamp - var curr = +new Date(); - var ms = curr - (prevTime || curr); - self.diff = ms; - self.prev = prevTime; - self.curr = curr; - prevTime = curr; - - // turn the `arguments` into a proper Array - var args = new Array(arguments.length); - for (var i = 0; i < args.length; i++) { - args[i] = arguments[i]; - } - - args[0] = exports.coerce(args[0]); - - if ('string' !== typeof args[0]) { - // anything else let's inspect with %O - args.unshift('%O'); - } - - // apply any `formatters` transformations - var index = 0; - args[0] = args[0].replace(/%([a-zA-Z%])/g, function(match, format) { - // if we encounter an escaped % then don't increase the array index - if (match === '%%') return match; - index++; - var formatter = exports.formatters[format]; - if ('function' === typeof formatter) { - var val = args[index]; - match = formatter.call(self, val); - - // now we need to remove `args[index]` since it's inlined in the `format` - args.splice(index, 1); - index--; - } - return match; - }); - - // apply env-specific formatting (colors, etc.) - exports.formatArgs.call(self, args); - - var logFn = debug.log || exports.log || console.log.bind(console); - logFn.apply(self, args); - } - - debug.namespace = namespace; - debug.enabled = exports.enabled(namespace); - debug.useColors = exports.useColors(); - debug.color = selectColor(namespace); - - // env-specific initialization logic for debug instances - if ('function' === typeof exports.init) { - exports.init(debug); - } - - return debug; -} - -/** - * Enables a debug mode by namespaces. This can include modes - * separated by a colon and wildcards. - * - * @param {String} namespaces - * @api public - */ - -function enable(namespaces) { - exports.save(namespaces); - - exports.names = []; - exports.skips = []; - - var split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/); - var len = split.length; - - for (var i = 0; i < len; i++) { - if (!split[i]) continue; // ignore empty strings - namespaces = split[i].replace(/\*/g, '.*?'); - if (namespaces[0] === '-') { - exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$')); - } else { - exports.names.push(new RegExp('^' + namespaces + '$')); - } - } -} - -/** - * Disable debug output. - * - * @api public - */ - -function disable() { - exports.enable(''); -} - -/** - * Returns true if the given mode name is enabled, false otherwise. - * - * @param {String} name - * @return {Boolean} - * @api public - */ - -function enabled(name) { - var i, len; - for (i = 0, len = exports.skips.length; i < len; i++) { - if (exports.skips[i].test(name)) { - return false; - } - } - for (i = 0, len = exports.names.length; i < len; i++) { - if (exports.names[i].test(name)) { - return true; - } - } - return false; -} - -/** - * Coerce `val`. - * - * @param {Mixed} val - * @return {Mixed} - * @api private - */ - -function coerce(val) { - if (val instanceof Error) return val.stack || val.message; - return val; -} diff --git a/node_modules/debug/src/index.js b/node_modules/debug/src/index.js deleted file mode 100644 index e12cf4d..0000000 --- a/node_modules/debug/src/index.js +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Detect Electron renderer process, which is node, but we should - * treat as a browser. - */ - -if (typeof process !== 'undefined' && process.type === 'renderer') { - module.exports = require('./browser.js'); -} else { - module.exports = require('./node.js'); -} diff --git a/node_modules/debug/src/inspector-log.js b/node_modules/debug/src/inspector-log.js deleted file mode 100644 index 60ea6c0..0000000 --- a/node_modules/debug/src/inspector-log.js +++ /dev/null @@ -1,15 +0,0 @@ -module.exports = inspectorLog; - -// black hole -const nullStream = new (require('stream').Writable)(); -nullStream._write = () => {}; - -/** - * Outputs a `console.log()` to the Node.js Inspector console *only*. - */ -function inspectorLog() { - const stdout = console._stdout; - console._stdout = nullStream; - console.log.apply(console, arguments); - console._stdout = stdout; -} diff --git a/node_modules/debug/src/node.js b/node_modules/debug/src/node.js deleted file mode 100644 index b15109c..0000000 --- a/node_modules/debug/src/node.js +++ /dev/null @@ -1,248 +0,0 @@ -/** - * Module dependencies. - */ - -var tty = require('tty'); -var util = require('util'); - -/** - * This is the Node.js implementation of `debug()`. - * - * Expose `debug()` as the module. - */ - -exports = module.exports = require('./debug'); -exports.init = init; -exports.log = log; -exports.formatArgs = formatArgs; -exports.save = save; -exports.load = load; -exports.useColors = useColors; - -/** - * Colors. - */ - -exports.colors = [6, 2, 3, 4, 5, 1]; - -/** - * Build up the default `inspectOpts` object from the environment variables. - * - * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js - */ - -exports.inspectOpts = Object.keys(process.env).filter(function (key) { - return /^debug_/i.test(key); -}).reduce(function (obj, key) { - // camel-case - var prop = key - .substring(6) - .toLowerCase() - .replace(/_([a-z])/g, function (_, k) { return k.toUpperCase() }); - - // coerce string value into JS value - var val = process.env[key]; - if (/^(yes|on|true|enabled)$/i.test(val)) val = true; - else if (/^(no|off|false|disabled)$/i.test(val)) val = false; - else if (val === 'null') val = null; - else val = Number(val); - - obj[prop] = val; - return obj; -}, {}); - -/** - * The file descriptor to write the `debug()` calls to. - * Set the `DEBUG_FD` env variable to override with another value. i.e.: - * - * $ DEBUG_FD=3 node script.js 3>debug.log - */ - -var fd = parseInt(process.env.DEBUG_FD, 10) || 2; - -if (1 !== fd && 2 !== fd) { - util.deprecate(function(){}, 'except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)')() -} - -var stream = 1 === fd ? process.stdout : - 2 === fd ? process.stderr : - createWritableStdioStream(fd); - -/** - * Is stdout a TTY? Colored output is enabled when `true`. - */ - -function useColors() { - return 'colors' in exports.inspectOpts - ? Boolean(exports.inspectOpts.colors) - : tty.isatty(fd); -} - -/** - * Map %o to `util.inspect()`, all on a single line. - */ - -exports.formatters.o = function(v) { - this.inspectOpts.colors = this.useColors; - return util.inspect(v, this.inspectOpts) - .split('\n').map(function(str) { - return str.trim() - }).join(' '); -}; - -/** - * Map %o to `util.inspect()`, allowing multiple lines if needed. - */ - -exports.formatters.O = function(v) { - this.inspectOpts.colors = this.useColors; - return util.inspect(v, this.inspectOpts); -}; - -/** - * Adds ANSI color escape codes if enabled. - * - * @api public - */ - -function formatArgs(args) { - var name = this.namespace; - var useColors = this.useColors; - - if (useColors) { - var c = this.color; - var prefix = ' \u001b[3' + c + ';1m' + name + ' ' + '\u001b[0m'; - - args[0] = prefix + args[0].split('\n').join('\n' + prefix); - args.push('\u001b[3' + c + 'm+' + exports.humanize(this.diff) + '\u001b[0m'); - } else { - args[0] = new Date().toUTCString() - + ' ' + name + ' ' + args[0]; - } -} - -/** - * Invokes `util.format()` with the specified arguments and writes to `stream`. - */ - -function log() { - return stream.write(util.format.apply(util, arguments) + '\n'); -} - -/** - * Save `namespaces`. - * - * @param {String} namespaces - * @api private - */ - -function save(namespaces) { - if (null == namespaces) { - // If you set a process.env field to null or undefined, it gets cast to the - // string 'null' or 'undefined'. Just delete instead. - delete process.env.DEBUG; - } else { - process.env.DEBUG = namespaces; - } -} - -/** - * Load `namespaces`. - * - * @return {String} returns the previously persisted debug modes - * @api private - */ - -function load() { - return process.env.DEBUG; -} - -/** - * Copied from `node/src/node.js`. - * - * XXX: It's lame that node doesn't expose this API out-of-the-box. It also - * relies on the undocumented `tty_wrap.guessHandleType()` which is also lame. - */ - -function createWritableStdioStream (fd) { - var stream; - var tty_wrap = process.binding('tty_wrap'); - - // Note stream._type is used for test-module-load-list.js - - switch (tty_wrap.guessHandleType(fd)) { - case 'TTY': - stream = new tty.WriteStream(fd); - stream._type = 'tty'; - - // Hack to have stream not keep the event loop alive. - // See https://github.com/joyent/node/issues/1726 - if (stream._handle && stream._handle.unref) { - stream._handle.unref(); - } - break; - - case 'FILE': - var fs = require('fs'); - stream = new fs.SyncWriteStream(fd, { autoClose: false }); - stream._type = 'fs'; - break; - - case 'PIPE': - case 'TCP': - var net = require('net'); - stream = new net.Socket({ - fd: fd, - readable: false, - writable: true - }); - - // FIXME Should probably have an option in net.Socket to create a - // stream from an existing fd which is writable only. But for now - // we'll just add this hack and set the `readable` member to false. - // Test: ./node test/fixtures/echo.js < /etc/passwd - stream.readable = false; - stream.read = null; - stream._type = 'pipe'; - - // FIXME Hack to have stream not keep the event loop alive. - // See https://github.com/joyent/node/issues/1726 - if (stream._handle && stream._handle.unref) { - stream._handle.unref(); - } - break; - - default: - // Probably an error on in uv_guess_handle() - throw new Error('Implement me. Unknown stream file type!'); - } - - // For supporting legacy API we put the FD here. - stream.fd = fd; - - stream._isStdio = true; - - return stream; -} - -/** - * Init logic for `debug` instances. - * - * Create a new `inspectOpts` object in case `useColors` is set - * differently for a particular `debug` instance. - */ - -function init (debug) { - debug.inspectOpts = {}; - - var keys = Object.keys(exports.inspectOpts); - for (var i = 0; i < keys.length; i++) { - debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]]; - } -} - -/** - * Enable namespaces listed in `process.env.DEBUG` initially. - */ - -exports.enable(load()); diff --git a/node_modules/depd/History.md b/node_modules/depd/History.md deleted file mode 100644 index 507ecb8..0000000 --- a/node_modules/depd/History.md +++ /dev/null @@ -1,96 +0,0 @@ -1.1.2 / 2018-01-11 -================== - - * perf: remove argument reassignment - * Support Node.js 0.6 to 9.x - -1.1.1 / 2017-07-27 -================== - - * Remove unnecessary `Buffer` loading - * Support Node.js 0.6 to 8.x - -1.1.0 / 2015-09-14 -================== - - * Enable strict mode in more places - * Support io.js 3.x - * Support io.js 2.x - * Support web browser loading - - Requires bundler like Browserify or webpack - -1.0.1 / 2015-04-07 -================== - - * Fix `TypeError`s when under `'use strict'` code - * Fix useless type name on auto-generated messages - * Support io.js 1.x - * Support Node.js 0.12 - -1.0.0 / 2014-09-17 -================== - - * No changes - -0.4.5 / 2014-09-09 -================== - - * Improve call speed to functions using the function wrapper - * Support Node.js 0.6 - -0.4.4 / 2014-07-27 -================== - - * Work-around v8 generating empty stack traces - -0.4.3 / 2014-07-26 -================== - - * Fix exception when global `Error.stackTraceLimit` is too low - -0.4.2 / 2014-07-19 -================== - - * Correct call site for wrapped functions and properties - -0.4.1 / 2014-07-19 -================== - - * Improve automatic message generation for function properties - -0.4.0 / 2014-07-19 -================== - - * Add `TRACE_DEPRECATION` environment variable - * Remove non-standard grey color from color output - * Support `--no-deprecation` argument - * Support `--trace-deprecation` argument - * Support `deprecate.property(fn, prop, message)` - -0.3.0 / 2014-06-16 -================== - - * Add `NO_DEPRECATION` environment variable - -0.2.0 / 2014-06-15 -================== - - * Add `deprecate.property(obj, prop, message)` - * Remove `supports-color` dependency for node.js 0.8 - -0.1.0 / 2014-06-15 -================== - - * Add `deprecate.function(fn, message)` - * Add `process.on('deprecation', fn)` emitter - * Automatically generate message when omitted from `deprecate()` - -0.0.1 / 2014-06-15 -================== - - * Fix warning for dynamic calls at singe call site - -0.0.0 / 2014-06-15 -================== - - * Initial implementation diff --git a/node_modules/depd/LICENSE b/node_modules/depd/LICENSE deleted file mode 100644 index 84441fb..0000000 --- a/node_modules/depd/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -(The MIT License) - -Copyright (c) 2014-2017 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/depd/Readme.md b/node_modules/depd/Readme.md deleted file mode 100644 index 7790670..0000000 --- a/node_modules/depd/Readme.md +++ /dev/null @@ -1,280 +0,0 @@ -# depd - -[![NPM Version][npm-version-image]][npm-url] -[![NPM Downloads][npm-downloads-image]][npm-url] -[![Node.js Version][node-image]][node-url] -[![Linux Build][travis-image]][travis-url] -[![Windows Build][appveyor-image]][appveyor-url] -[![Coverage Status][coveralls-image]][coveralls-url] - -Deprecate all the things - -> With great modules comes great responsibility; mark things deprecated! - -## Install - -This module is installed directly using `npm`: - -```sh -$ npm install depd -``` - -This module can also be bundled with systems like -[Browserify](http://browserify.org/) or [webpack](https://webpack.github.io/), -though by default this module will alter it's API to no longer display or -track deprecations. - -## API - - - -```js -var deprecate = require('depd')('my-module') -``` - -This library allows you to display deprecation messages to your users. -This library goes above and beyond with deprecation warnings by -introspection of the call stack (but only the bits that it is interested -in). - -Instead of just warning on the first invocation of a deprecated -function and never again, this module will warn on the first invocation -of a deprecated function per unique call site, making it ideal to alert -users of all deprecated uses across the code base, rather than just -whatever happens to execute first. - -The deprecation warnings from this module also include the file and line -information for the call into the module that the deprecated function was -in. - -**NOTE** this library has a similar interface to the `debug` module, and -this module uses the calling file to get the boundary for the call stacks, -so you should always create a new `deprecate` object in each file and not -within some central file. - -### depd(namespace) - -Create a new deprecate function that uses the given namespace name in the -messages and will display the call site prior to the stack entering the -file this function was called from. It is highly suggested you use the -name of your module as the namespace. - -### deprecate(message) - -Call this function from deprecated code to display a deprecation message. -This message will appear once per unique caller site. Caller site is the -first call site in the stack in a different file from the caller of this -function. - -If the message is omitted, a message is generated for you based on the site -of the `deprecate()` call and will display the name of the function called, -similar to the name displayed in a stack trace. - -### deprecate.function(fn, message) - -Call this function to wrap a given function in a deprecation message on any -call to the function. An optional message can be supplied to provide a custom -message. - -### deprecate.property(obj, prop, message) - -Call this function to wrap a given property on object in a deprecation message -on any accessing or setting of the property. An optional message can be supplied -to provide a custom message. - -The method must be called on the object where the property belongs (not -inherited from the prototype). - -If the property is a data descriptor, it will be converted to an accessor -descriptor in order to display the deprecation message. - -### process.on('deprecation', fn) - -This module will allow easy capturing of deprecation errors by emitting the -errors as the type "deprecation" on the global `process`. If there are no -listeners for this type, the errors are written to STDERR as normal, but if -there are any listeners, nothing will be written to STDERR and instead only -emitted. From there, you can write the errors in a different format or to a -logging source. - -The error represents the deprecation and is emitted only once with the same -rules as writing to STDERR. The error has the following properties: - - - `message` - This is the message given by the library - - `name` - This is always `'DeprecationError'` - - `namespace` - This is the namespace the deprecation came from - - `stack` - This is the stack of the call to the deprecated thing - -Example `error.stack` output: - -``` -DeprecationError: my-cool-module deprecated oldfunction - at Object. ([eval]-wrapper:6:22) - at Module._compile (module.js:456:26) - at evalScript (node.js:532:25) - at startup (node.js:80:7) - at node.js:902:3 -``` - -### process.env.NO_DEPRECATION - -As a user of modules that are deprecated, the environment variable `NO_DEPRECATION` -is provided as a quick solution to silencing deprecation warnings from being -output. The format of this is similar to that of `DEBUG`: - -```sh -$ NO_DEPRECATION=my-module,othermod node app.js -``` - -This will suppress deprecations from being output for "my-module" and "othermod". -The value is a list of comma-separated namespaces. To suppress every warning -across all namespaces, use the value `*` for a namespace. - -Providing the argument `--no-deprecation` to the `node` executable will suppress -all deprecations (only available in Node.js 0.8 or higher). - -**NOTE** This will not suppress the deperecations given to any "deprecation" -event listeners, just the output to STDERR. - -### process.env.TRACE_DEPRECATION - -As a user of modules that are deprecated, the environment variable `TRACE_DEPRECATION` -is provided as a solution to getting more detailed location information in deprecation -warnings by including the entire stack trace. The format of this is the same as -`NO_DEPRECATION`: - -```sh -$ TRACE_DEPRECATION=my-module,othermod node app.js -``` - -This will include stack traces for deprecations being output for "my-module" and -"othermod". The value is a list of comma-separated namespaces. To trace every -warning across all namespaces, use the value `*` for a namespace. - -Providing the argument `--trace-deprecation` to the `node` executable will trace -all deprecations (only available in Node.js 0.8 or higher). - -**NOTE** This will not trace the deperecations silenced by `NO_DEPRECATION`. - -## Display - -![message](files/message.png) - -When a user calls a function in your library that you mark deprecated, they -will see the following written to STDERR (in the given colors, similar colors -and layout to the `debug` module): - -``` -bright cyan bright yellow -| | reset cyan -| | | | -▼ ▼ ▼ ▼ -my-cool-module deprecated oldfunction [eval]-wrapper:6:22 -▲ ▲ ▲ ▲ -| | | | -namespace | | location of mycoolmod.oldfunction() call - | deprecation message - the word "deprecated" -``` - -If the user redirects their STDERR to a file or somewhere that does not support -colors, they see (similar layout to the `debug` module): - -``` -Sun, 15 Jun 2014 05:21:37 GMT my-cool-module deprecated oldfunction at [eval]-wrapper:6:22 -▲ ▲ ▲ ▲ ▲ -| | | | | -timestamp of message namespace | | location of mycoolmod.oldfunction() call - | deprecation message - the word "deprecated" -``` - -## Examples - -### Deprecating all calls to a function - -This will display a deprecated message about "oldfunction" being deprecated -from "my-module" on STDERR. - -```js -var deprecate = require('depd')('my-cool-module') - -// message automatically derived from function name -// Object.oldfunction -exports.oldfunction = deprecate.function(function oldfunction () { - // all calls to function are deprecated -}) - -// specific message -exports.oldfunction = deprecate.function(function () { - // all calls to function are deprecated -}, 'oldfunction') -``` - -### Conditionally deprecating a function call - -This will display a deprecated message about "weirdfunction" being deprecated -from "my-module" on STDERR when called with less than 2 arguments. - -```js -var deprecate = require('depd')('my-cool-module') - -exports.weirdfunction = function () { - if (arguments.length < 2) { - // calls with 0 or 1 args are deprecated - deprecate('weirdfunction args < 2') - } -} -``` - -When calling `deprecate` as a function, the warning is counted per call site -within your own module, so you can display different deprecations depending -on different situations and the users will still get all the warnings: - -```js -var deprecate = require('depd')('my-cool-module') - -exports.weirdfunction = function () { - if (arguments.length < 2) { - // calls with 0 or 1 args are deprecated - deprecate('weirdfunction args < 2') - } else if (typeof arguments[0] !== 'string') { - // calls with non-string first argument are deprecated - deprecate('weirdfunction non-string first arg') - } -} -``` - -### Deprecating property access - -This will display a deprecated message about "oldprop" being deprecated -from "my-module" on STDERR when accessed. A deprecation will be displayed -when setting the value and when getting the value. - -```js -var deprecate = require('depd')('my-cool-module') - -exports.oldprop = 'something' - -// message automatically derives from property name -deprecate.property(exports, 'oldprop') - -// explicit message -deprecate.property(exports, 'oldprop', 'oldprop >= 0.10') -``` - -## License - -[MIT](LICENSE) - -[npm-version-image]: https://img.shields.io/npm/v/depd.svg -[npm-downloads-image]: https://img.shields.io/npm/dm/depd.svg -[npm-url]: https://npmjs.org/package/depd -[travis-image]: https://img.shields.io/travis/dougwilson/nodejs-depd/master.svg?label=linux -[travis-url]: https://travis-ci.org/dougwilson/nodejs-depd -[appveyor-image]: https://img.shields.io/appveyor/ci/dougwilson/nodejs-depd/master.svg?label=windows -[appveyor-url]: https://ci.appveyor.com/project/dougwilson/nodejs-depd -[coveralls-image]: https://img.shields.io/coveralls/dougwilson/nodejs-depd/master.svg -[coveralls-url]: https://coveralls.io/r/dougwilson/nodejs-depd?branch=master -[node-image]: https://img.shields.io/node/v/depd.svg -[node-url]: https://nodejs.org/en/download/ diff --git a/node_modules/depd/index.js b/node_modules/depd/index.js deleted file mode 100644 index d758d3c..0000000 --- a/node_modules/depd/index.js +++ /dev/null @@ -1,522 +0,0 @@ -/*! - * depd - * Copyright(c) 2014-2017 Douglas Christopher Wilson - * MIT Licensed - */ - -/** - * Module dependencies. - */ - -var callSiteToString = require('./lib/compat').callSiteToString -var eventListenerCount = require('./lib/compat').eventListenerCount -var relative = require('path').relative - -/** - * Module exports. - */ - -module.exports = depd - -/** - * Get the path to base files on. - */ - -var basePath = process.cwd() - -/** - * Determine if namespace is contained in the string. - */ - -function containsNamespace (str, namespace) { - var vals = str.split(/[ ,]+/) - var ns = String(namespace).toLowerCase() - - for (var i = 0; i < vals.length; i++) { - var val = vals[i] - - // namespace contained - if (val && (val === '*' || val.toLowerCase() === ns)) { - return true - } - } - - return false -} - -/** - * Convert a data descriptor to accessor descriptor. - */ - -function convertDataDescriptorToAccessor (obj, prop, message) { - var descriptor = Object.getOwnPropertyDescriptor(obj, prop) - var value = descriptor.value - - descriptor.get = function getter () { return value } - - if (descriptor.writable) { - descriptor.set = function setter (val) { return (value = val) } - } - - delete descriptor.value - delete descriptor.writable - - Object.defineProperty(obj, prop, descriptor) - - return descriptor -} - -/** - * Create arguments string to keep arity. - */ - -function createArgumentsString (arity) { - var str = '' - - for (var i = 0; i < arity; i++) { - str += ', arg' + i - } - - return str.substr(2) -} - -/** - * Create stack string from stack. - */ - -function createStackString (stack) { - var str = this.name + ': ' + this.namespace - - if (this.message) { - str += ' deprecated ' + this.message - } - - for (var i = 0; i < stack.length; i++) { - str += '\n at ' + callSiteToString(stack[i]) - } - - return str -} - -/** - * Create deprecate for namespace in caller. - */ - -function depd (namespace) { - if (!namespace) { - throw new TypeError('argument namespace is required') - } - - var stack = getStack() - var site = callSiteLocation(stack[1]) - var file = site[0] - - function deprecate (message) { - // call to self as log - log.call(deprecate, message) - } - - deprecate._file = file - deprecate._ignored = isignored(namespace) - deprecate._namespace = namespace - deprecate._traced = istraced(namespace) - deprecate._warned = Object.create(null) - - deprecate.function = wrapfunction - deprecate.property = wrapproperty - - return deprecate -} - -/** - * Determine if namespace is ignored. - */ - -function isignored (namespace) { - /* istanbul ignore next: tested in a child processs */ - if (process.noDeprecation) { - // --no-deprecation support - return true - } - - var str = process.env.NO_DEPRECATION || '' - - // namespace ignored - return containsNamespace(str, namespace) -} - -/** - * Determine if namespace is traced. - */ - -function istraced (namespace) { - /* istanbul ignore next: tested in a child processs */ - if (process.traceDeprecation) { - // --trace-deprecation support - return true - } - - var str = process.env.TRACE_DEPRECATION || '' - - // namespace traced - return containsNamespace(str, namespace) -} - -/** - * Display deprecation message. - */ - -function log (message, site) { - var haslisteners = eventListenerCount(process, 'deprecation') !== 0 - - // abort early if no destination - if (!haslisteners && this._ignored) { - return - } - - var caller - var callFile - var callSite - var depSite - var i = 0 - var seen = false - var stack = getStack() - var file = this._file - - if (site) { - // provided site - depSite = site - callSite = callSiteLocation(stack[1]) - callSite.name = depSite.name - file = callSite[0] - } else { - // get call site - i = 2 - depSite = callSiteLocation(stack[i]) - callSite = depSite - } - - // get caller of deprecated thing in relation to file - for (; i < stack.length; i++) { - caller = callSiteLocation(stack[i]) - callFile = caller[0] - - if (callFile === file) { - seen = true - } else if (callFile === this._file) { - file = this._file - } else if (seen) { - break - } - } - - var key = caller - ? depSite.join(':') + '__' + caller.join(':') - : undefined - - if (key !== undefined && key in this._warned) { - // already warned - return - } - - this._warned[key] = true - - // generate automatic message from call site - var msg = message - if (!msg) { - msg = callSite === depSite || !callSite.name - ? defaultMessage(depSite) - : defaultMessage(callSite) - } - - // emit deprecation if listeners exist - if (haslisteners) { - var err = DeprecationError(this._namespace, msg, stack.slice(i)) - process.emit('deprecation', err) - return - } - - // format and write message - var format = process.stderr.isTTY - ? formatColor - : formatPlain - var output = format.call(this, msg, caller, stack.slice(i)) - process.stderr.write(output + '\n', 'utf8') -} - -/** - * Get call site location as array. - */ - -function callSiteLocation (callSite) { - var file = callSite.getFileName() || '' - var line = callSite.getLineNumber() - var colm = callSite.getColumnNumber() - - if (callSite.isEval()) { - file = callSite.getEvalOrigin() + ', ' + file - } - - var site = [file, line, colm] - - site.callSite = callSite - site.name = callSite.getFunctionName() - - return site -} - -/** - * Generate a default message from the site. - */ - -function defaultMessage (site) { - var callSite = site.callSite - var funcName = site.name - - // make useful anonymous name - if (!funcName) { - funcName = '' - } - - var context = callSite.getThis() - var typeName = context && callSite.getTypeName() - - // ignore useless type name - if (typeName === 'Object') { - typeName = undefined - } - - // make useful type name - if (typeName === 'Function') { - typeName = context.name || typeName - } - - return typeName && callSite.getMethodName() - ? typeName + '.' + funcName - : funcName -} - -/** - * Format deprecation message without color. - */ - -function formatPlain (msg, caller, stack) { - var timestamp = new Date().toUTCString() - - var formatted = timestamp + - ' ' + this._namespace + - ' deprecated ' + msg - - // add stack trace - if (this._traced) { - for (var i = 0; i < stack.length; i++) { - formatted += '\n at ' + callSiteToString(stack[i]) - } - - return formatted - } - - if (caller) { - formatted += ' at ' + formatLocation(caller) - } - - return formatted -} - -/** - * Format deprecation message with color. - */ - -function formatColor (msg, caller, stack) { - var formatted = '\x1b[36;1m' + this._namespace + '\x1b[22;39m' + // bold cyan - ' \x1b[33;1mdeprecated\x1b[22;39m' + // bold yellow - ' \x1b[0m' + msg + '\x1b[39m' // reset - - // add stack trace - if (this._traced) { - for (var i = 0; i < stack.length; i++) { - formatted += '\n \x1b[36mat ' + callSiteToString(stack[i]) + '\x1b[39m' // cyan - } - - return formatted - } - - if (caller) { - formatted += ' \x1b[36m' + formatLocation(caller) + '\x1b[39m' // cyan - } - - return formatted -} - -/** - * Format call site location. - */ - -function formatLocation (callSite) { - return relative(basePath, callSite[0]) + - ':' + callSite[1] + - ':' + callSite[2] -} - -/** - * Get the stack as array of call sites. - */ - -function getStack () { - var limit = Error.stackTraceLimit - var obj = {} - var prep = Error.prepareStackTrace - - Error.prepareStackTrace = prepareObjectStackTrace - Error.stackTraceLimit = Math.max(10, limit) - - // capture the stack - Error.captureStackTrace(obj) - - // slice this function off the top - var stack = obj.stack.slice(1) - - Error.prepareStackTrace = prep - Error.stackTraceLimit = limit - - return stack -} - -/** - * Capture call site stack from v8. - */ - -function prepareObjectStackTrace (obj, stack) { - return stack -} - -/** - * Return a wrapped function in a deprecation message. - */ - -function wrapfunction (fn, message) { - if (typeof fn !== 'function') { - throw new TypeError('argument fn must be a function') - } - - var args = createArgumentsString(fn.length) - var deprecate = this // eslint-disable-line no-unused-vars - var stack = getStack() - var site = callSiteLocation(stack[1]) - - site.name = fn.name - - // eslint-disable-next-line no-eval - var deprecatedfn = eval('(function (' + args + ') {\n' + - '"use strict"\n' + - 'log.call(deprecate, message, site)\n' + - 'return fn.apply(this, arguments)\n' + - '})') - - return deprecatedfn -} - -/** - * Wrap property in a deprecation message. - */ - -function wrapproperty (obj, prop, message) { - if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) { - throw new TypeError('argument obj must be object') - } - - var descriptor = Object.getOwnPropertyDescriptor(obj, prop) - - if (!descriptor) { - throw new TypeError('must call property on owner object') - } - - if (!descriptor.configurable) { - throw new TypeError('property must be configurable') - } - - var deprecate = this - var stack = getStack() - var site = callSiteLocation(stack[1]) - - // set site name - site.name = prop - - // convert data descriptor - if ('value' in descriptor) { - descriptor = convertDataDescriptorToAccessor(obj, prop, message) - } - - var get = descriptor.get - var set = descriptor.set - - // wrap getter - if (typeof get === 'function') { - descriptor.get = function getter () { - log.call(deprecate, message, site) - return get.apply(this, arguments) - } - } - - // wrap setter - if (typeof set === 'function') { - descriptor.set = function setter () { - log.call(deprecate, message, site) - return set.apply(this, arguments) - } - } - - Object.defineProperty(obj, prop, descriptor) -} - -/** - * Create DeprecationError for deprecation - */ - -function DeprecationError (namespace, message, stack) { - var error = new Error() - var stackString - - Object.defineProperty(error, 'constructor', { - value: DeprecationError - }) - - Object.defineProperty(error, 'message', { - configurable: true, - enumerable: false, - value: message, - writable: true - }) - - Object.defineProperty(error, 'name', { - enumerable: false, - configurable: true, - value: 'DeprecationError', - writable: true - }) - - Object.defineProperty(error, 'namespace', { - configurable: true, - enumerable: false, - value: namespace, - writable: true - }) - - Object.defineProperty(error, 'stack', { - configurable: true, - enumerable: false, - get: function () { - if (stackString !== undefined) { - return stackString - } - - // prepare stack trace - return (stackString = createStackString.call(this, stack)) - }, - set: function setter (val) { - stackString = val - } - }) - - return error -} diff --git a/node_modules/depd/lib/browser/index.js b/node_modules/depd/lib/browser/index.js deleted file mode 100644 index 6be45cc..0000000 --- a/node_modules/depd/lib/browser/index.js +++ /dev/null @@ -1,77 +0,0 @@ -/*! - * depd - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */ - -'use strict' - -/** - * Module exports. - * @public - */ - -module.exports = depd - -/** - * Create deprecate for namespace in caller. - */ - -function depd (namespace) { - if (!namespace) { - throw new TypeError('argument namespace is required') - } - - function deprecate (message) { - // no-op in browser - } - - deprecate._file = undefined - deprecate._ignored = true - deprecate._namespace = namespace - deprecate._traced = false - deprecate._warned = Object.create(null) - - deprecate.function = wrapfunction - deprecate.property = wrapproperty - - return deprecate -} - -/** - * Return a wrapped function in a deprecation message. - * - * This is a no-op version of the wrapper, which does nothing but call - * validation. - */ - -function wrapfunction (fn, message) { - if (typeof fn !== 'function') { - throw new TypeError('argument fn must be a function') - } - - return fn -} - -/** - * Wrap property in a deprecation message. - * - * This is a no-op version of the wrapper, which does nothing but call - * validation. - */ - -function wrapproperty (obj, prop, message) { - if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) { - throw new TypeError('argument obj must be object') - } - - var descriptor = Object.getOwnPropertyDescriptor(obj, prop) - - if (!descriptor) { - throw new TypeError('must call property on owner object') - } - - if (!descriptor.configurable) { - throw new TypeError('property must be configurable') - } -} diff --git a/node_modules/depd/lib/compat/callsite-tostring.js b/node_modules/depd/lib/compat/callsite-tostring.js deleted file mode 100644 index 73186dc..0000000 --- a/node_modules/depd/lib/compat/callsite-tostring.js +++ /dev/null @@ -1,103 +0,0 @@ -/*! - * depd - * Copyright(c) 2014 Douglas Christopher Wilson - * MIT Licensed - */ - -'use strict' - -/** - * Module exports. - */ - -module.exports = callSiteToString - -/** - * Format a CallSite file location to a string. - */ - -function callSiteFileLocation (callSite) { - var fileName - var fileLocation = '' - - if (callSite.isNative()) { - fileLocation = 'native' - } else if (callSite.isEval()) { - fileName = callSite.getScriptNameOrSourceURL() - if (!fileName) { - fileLocation = callSite.getEvalOrigin() - } - } else { - fileName = callSite.getFileName() - } - - if (fileName) { - fileLocation += fileName - - var lineNumber = callSite.getLineNumber() - if (lineNumber != null) { - fileLocation += ':' + lineNumber - - var columnNumber = callSite.getColumnNumber() - if (columnNumber) { - fileLocation += ':' + columnNumber - } - } - } - - return fileLocation || 'unknown source' -} - -/** - * Format a CallSite to a string. - */ - -function callSiteToString (callSite) { - var addSuffix = true - var fileLocation = callSiteFileLocation(callSite) - var functionName = callSite.getFunctionName() - var isConstructor = callSite.isConstructor() - var isMethodCall = !(callSite.isToplevel() || isConstructor) - var line = '' - - if (isMethodCall) { - var methodName = callSite.getMethodName() - var typeName = getConstructorName(callSite) - - if (functionName) { - if (typeName && functionName.indexOf(typeName) !== 0) { - line += typeName + '.' - } - - line += functionName - - if (methodName && functionName.lastIndexOf('.' + methodName) !== functionName.length - methodName.length - 1) { - line += ' [as ' + methodName + ']' - } - } else { - line += typeName + '.' + (methodName || '') - } - } else if (isConstructor) { - line += 'new ' + (functionName || '') - } else if (functionName) { - line += functionName - } else { - addSuffix = false - line += fileLocation - } - - if (addSuffix) { - line += ' (' + fileLocation + ')' - } - - return line -} - -/** - * Get constructor name of reviver. - */ - -function getConstructorName (obj) { - var receiver = obj.receiver - return (receiver.constructor && receiver.constructor.name) || null -} diff --git a/node_modules/depd/lib/compat/event-listener-count.js b/node_modules/depd/lib/compat/event-listener-count.js deleted file mode 100644 index 3a8925d..0000000 --- a/node_modules/depd/lib/compat/event-listener-count.js +++ /dev/null @@ -1,22 +0,0 @@ -/*! - * depd - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */ - -'use strict' - -/** - * Module exports. - * @public - */ - -module.exports = eventListenerCount - -/** - * Get the count of listeners on an event emitter of a specific type. - */ - -function eventListenerCount (emitter, type) { - return emitter.listeners(type).length -} diff --git a/node_modules/depd/lib/compat/index.js b/node_modules/depd/lib/compat/index.js deleted file mode 100644 index 955b333..0000000 --- a/node_modules/depd/lib/compat/index.js +++ /dev/null @@ -1,79 +0,0 @@ -/*! - * depd - * Copyright(c) 2014-2015 Douglas Christopher Wilson - * MIT Licensed - */ - -'use strict' - -/** - * Module dependencies. - * @private - */ - -var EventEmitter = require('events').EventEmitter - -/** - * Module exports. - * @public - */ - -lazyProperty(module.exports, 'callSiteToString', function callSiteToString () { - var limit = Error.stackTraceLimit - var obj = {} - var prep = Error.prepareStackTrace - - function prepareObjectStackTrace (obj, stack) { - return stack - } - - Error.prepareStackTrace = prepareObjectStackTrace - Error.stackTraceLimit = 2 - - // capture the stack - Error.captureStackTrace(obj) - - // slice the stack - var stack = obj.stack.slice() - - Error.prepareStackTrace = prep - Error.stackTraceLimit = limit - - return stack[0].toString ? toString : require('./callsite-tostring') -}) - -lazyProperty(module.exports, 'eventListenerCount', function eventListenerCount () { - return EventEmitter.listenerCount || require('./event-listener-count') -}) - -/** - * Define a lazy property. - */ - -function lazyProperty (obj, prop, getter) { - function get () { - var val = getter() - - Object.defineProperty(obj, prop, { - configurable: true, - enumerable: true, - value: val - }) - - return val - } - - Object.defineProperty(obj, prop, { - configurable: true, - enumerable: true, - get: get - }) -} - -/** - * Call toString() on the obj - */ - -function toString (obj) { - return obj.toString() -} diff --git a/node_modules/depd/package.json b/node_modules/depd/package.json deleted file mode 100644 index 5f84fc2..0000000 --- a/node_modules/depd/package.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "_from": "depd@~1.1.2", - "_id": "depd@1.1.2", - "_inBundle": false, - "_integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", - "_location": "/depd", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "depd@~1.1.2", - "name": "depd", - "escapedName": "depd", - "rawSpec": "~1.1.2", - "saveSpec": null, - "fetchSpec": "~1.1.2" - }, - "_requiredBy": [ - "/body-parser", - "/express", - "/http-errors", - "/send" - ], - "_resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "_shasum": "9bcd52e14c097763e749b274c4346ed2e560b5a9", - "_spec": "depd@~1.1.2", - "_where": "/root/gpio-controller/node_modules/express", - "author": { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - "browser": "lib/browser/index.js", - "bugs": { - "url": "https://github.com/dougwilson/nodejs-depd/issues" - }, - "bundleDependencies": false, - "deprecated": false, - "description": "Deprecate all the things", - "devDependencies": { - "beautify-benchmark": "0.2.4", - "benchmark": "2.1.4", - "eslint": "3.19.0", - "eslint-config-standard": "7.1.0", - "eslint-plugin-markdown": "1.0.0-beta.7", - "eslint-plugin-promise": "3.6.0", - "eslint-plugin-standard": "3.0.1", - "istanbul": "0.4.5", - "mocha": "~1.21.5" - }, - "engines": { - "node": ">= 0.6" - }, - "files": [ - "lib/", - "History.md", - "LICENSE", - "index.js", - "Readme.md" - ], - "homepage": "https://github.com/dougwilson/nodejs-depd#readme", - "keywords": [ - "deprecate", - "deprecated" - ], - "license": "MIT", - "name": "depd", - "repository": { - "type": "git", - "url": "git+https://github.com/dougwilson/nodejs-depd.git" - }, - "scripts": { - "bench": "node benchmark/index.js", - "lint": "eslint --plugin markdown --ext js,md .", - "test": "mocha --reporter spec --bail test/", - "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --no-exit test/", - "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/" - }, - "version": "1.1.2" -} diff --git a/node_modules/destroy/LICENSE b/node_modules/destroy/LICENSE deleted file mode 100644 index a7ae8ee..0000000 --- a/node_modules/destroy/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ - -The MIT License (MIT) - -Copyright (c) 2014 Jonathan Ong me@jongleberry.com - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/destroy/README.md b/node_modules/destroy/README.md deleted file mode 100644 index 6474bc3..0000000 --- a/node_modules/destroy/README.md +++ /dev/null @@ -1,60 +0,0 @@ -# Destroy - -[![NPM version][npm-image]][npm-url] -[![Build status][travis-image]][travis-url] -[![Test coverage][coveralls-image]][coveralls-url] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] -[![Gittip][gittip-image]][gittip-url] - -Destroy a stream. - -This module is meant to ensure a stream gets destroyed, handling different APIs -and Node.js bugs. - -## API - -```js -var destroy = require('destroy') -``` - -### destroy(stream) - -Destroy the given stream. In most cases, this is identical to a simple -`stream.destroy()` call. The rules are as follows for a given stream: - - 1. If the `stream` is an instance of `ReadStream`, then call `stream.destroy()` - and add a listener to the `open` event to call `stream.close()` if it is - fired. This is for a Node.js bug that will leak a file descriptor if - `.destroy()` is called before `open`. - 2. If the `stream` is not an instance of `Stream`, then nothing happens. - 3. If the `stream` has a `.destroy()` method, then call it. - -The function returns the `stream` passed in as the argument. - -## Example - -```js -var destroy = require('destroy') - -var fs = require('fs') -var stream = fs.createReadStream('package.json') - -// ... and later -destroy(stream) -``` - -[npm-image]: https://img.shields.io/npm/v/destroy.svg?style=flat-square -[npm-url]: https://npmjs.org/package/destroy -[github-tag]: http://img.shields.io/github/tag/stream-utils/destroy.svg?style=flat-square -[github-url]: https://github.com/stream-utils/destroy/tags -[travis-image]: https://img.shields.io/travis/stream-utils/destroy.svg?style=flat-square -[travis-url]: https://travis-ci.org/stream-utils/destroy -[coveralls-image]: https://img.shields.io/coveralls/stream-utils/destroy.svg?style=flat-square -[coveralls-url]: https://coveralls.io/r/stream-utils/destroy?branch=master -[license-image]: http://img.shields.io/npm/l/destroy.svg?style=flat-square -[license-url]: LICENSE.md -[downloads-image]: http://img.shields.io/npm/dm/destroy.svg?style=flat-square -[downloads-url]: https://npmjs.org/package/destroy -[gittip-image]: https://img.shields.io/gittip/jonathanong.svg?style=flat-square -[gittip-url]: https://www.gittip.com/jonathanong/ diff --git a/node_modules/destroy/index.js b/node_modules/destroy/index.js deleted file mode 100644 index 6da2d26..0000000 --- a/node_modules/destroy/index.js +++ /dev/null @@ -1,75 +0,0 @@ -/*! - * destroy - * Copyright(c) 2014 Jonathan Ong - * MIT Licensed - */ - -'use strict' - -/** - * Module dependencies. - * @private - */ - -var ReadStream = require('fs').ReadStream -var Stream = require('stream') - -/** - * Module exports. - * @public - */ - -module.exports = destroy - -/** - * Destroy a stream. - * - * @param {object} stream - * @public - */ - -function destroy(stream) { - if (stream instanceof ReadStream) { - return destroyReadStream(stream) - } - - if (!(stream instanceof Stream)) { - return stream - } - - if (typeof stream.destroy === 'function') { - stream.destroy() - } - - return stream -} - -/** - * Destroy a ReadStream. - * - * @param {object} stream - * @private - */ - -function destroyReadStream(stream) { - stream.destroy() - - if (typeof stream.close === 'function') { - // node.js core bug work-around - stream.on('open', onOpenClose) - } - - return stream -} - -/** - * On open handler to close stream. - * @private - */ - -function onOpenClose() { - if (typeof this.fd === 'number') { - // actually close down the fd - this.close() - } -} diff --git a/node_modules/destroy/package.json b/node_modules/destroy/package.json deleted file mode 100644 index 7881633..0000000 --- a/node_modules/destroy/package.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "_from": "destroy@~1.0.4", - "_id": "destroy@1.0.4", - "_inBundle": false, - "_integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=", - "_location": "/destroy", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "destroy@~1.0.4", - "name": "destroy", - "escapedName": "destroy", - "rawSpec": "~1.0.4", - "saveSpec": null, - "fetchSpec": "~1.0.4" - }, - "_requiredBy": [ - "/send" - ], - "_resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", - "_shasum": "978857442c44749e4206613e37946205826abd80", - "_spec": "destroy@~1.0.4", - "_where": "/root/gpio-controller/node_modules/send", - "author": { - "name": "Jonathan Ong", - "email": "me@jongleberry.com", - "url": "http://jongleberry.com" - }, - "bugs": { - "url": "https://github.com/stream-utils/destroy/issues" - }, - "bundleDependencies": false, - "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - } - ], - "deprecated": false, - "description": "destroy a stream if possible", - "devDependencies": { - "istanbul": "0.4.2", - "mocha": "2.3.4" - }, - "files": [ - "index.js", - "LICENSE" - ], - "homepage": "https://github.com/stream-utils/destroy#readme", - "keywords": [ - "stream", - "streams", - "destroy", - "cleanup", - "leak", - "fd" - ], - "license": "MIT", - "name": "destroy", - "repository": { - "type": "git", - "url": "git+https://github.com/stream-utils/destroy.git" - }, - "scripts": { - "test": "mocha --reporter spec", - "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot", - "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot" - }, - "version": "1.0.4" -} diff --git a/node_modules/dom-serializer/LICENSE b/node_modules/dom-serializer/LICENSE deleted file mode 100644 index 3d241a8..0000000 --- a/node_modules/dom-serializer/LICENSE +++ /dev/null @@ -1,11 +0,0 @@ -License - -(The MIT License) - -Copyright (c) 2014 The cheeriojs contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/dom-serializer/README.md b/node_modules/dom-serializer/README.md deleted file mode 100644 index 45fde0c..0000000 --- a/node_modules/dom-serializer/README.md +++ /dev/null @@ -1 +0,0 @@ -Renders a DOM node or an array of DOM nodes to a string. diff --git a/node_modules/dom-serializer/foreignNames.json b/node_modules/dom-serializer/foreignNames.json deleted file mode 100644 index aada7c7..0000000 --- a/node_modules/dom-serializer/foreignNames.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "elementNames" : { -"altglyph" : "altGlyph", -"altglyphdef" : "altGlyphDef", -"altglyphitem" : "altGlyphItem", -"animatecolor" : "animateColor", -"animatemotion" : "animateMotion", -"animatetransform" : "animateTransform", -"clippath" : "clipPath", -"feblend" : "feBlend", -"fecolormatrix" : "feColorMatrix", -"fecomponenttransfer" : "feComponentTransfer", -"fecomposite" : "feComposite", -"feconvolvematrix" : "feConvolveMatrix", -"fediffuselighting" : "feDiffuseLighting", -"fedisplacementmap" : "feDisplacementMap", -"fedistantlight" : "feDistantLight", -"fedropshadow" : "feDropShadow", -"feflood" : "feFlood", -"fefunca" : "feFuncA", -"fefuncb" : "feFuncB", -"fefuncg" : "feFuncG", -"fefuncr" : "feFuncR", -"fegaussianblur" : "feGaussianBlur", -"feimage" : "feImage", -"femerge" : "feMerge", -"femergenode" : "feMergeNode", -"femorphology" : "feMorphology", -"feoffset" : "feOffset", -"fepointlight" : "fePointLight", -"fespecularlighting" : "feSpecularLighting", -"fespotlight" : "feSpotLight", -"fetile" : "feTile", -"feturbulence" : "feTurbulence", -"foreignobject" : "foreignObject", -"glyphref" : "glyphRef", -"lineargradient" : "linearGradient", -"radialgradient" : "radialGradient", -"textpath" : "textPath" - }, - "attributeNames" : { -"definitionurl" : "definitionURL", -"attributename" : "attributeName", -"attributetype" : "attributeType", -"basefrequency" : "baseFrequency", -"baseprofile" : "baseProfile", -"calcmode" : "calcMode", -"clippathunits" : "clipPathUnits", -"diffuseconstant" : "diffuseConstant", -"edgemode" : "edgeMode", -"filterunits" : "filterUnits", -"glyphref" : "glyphRef", -"gradienttransform" : "gradientTransform", -"gradientunits" : "gradientUnits", -"kernelmatrix" : "kernelMatrix", -"kernelunitlength" : "kernelUnitLength", -"keypoints" : "keyPoints", -"keysplines" : "keySplines", -"keytimes" : "keyTimes", -"lengthadjust" : "lengthAdjust", -"limitingconeangle" : "limitingConeAngle", -"markerheight" : "markerHeight", -"markerunits" : "markerUnits", -"markerwidth" : "markerWidth", -"maskcontentunits" : "maskContentUnits", -"maskunits" : "maskUnits", -"numoctaves" : "numOctaves", -"pathlength" : "pathLength", -"patterncontentunits" : "patternContentUnits", -"patterntransform" : "patternTransform", -"patternunits" : "patternUnits", -"pointsatx" : "pointsAtX", -"pointsaty" : "pointsAtY", -"pointsatz" : "pointsAtZ", -"preservealpha" : "preserveAlpha", -"preserveaspectratio" : "preserveAspectRatio", -"primitiveunits" : "primitiveUnits", -"refx" : "refX", -"refy" : "refY", -"repeatcount" : "repeatCount", -"repeatdur" : "repeatDur", -"requiredextensions" : "requiredExtensions", -"requiredfeatures" : "requiredFeatures", -"specularconstant" : "specularConstant", -"specularexponent" : "specularExponent", -"spreadmethod" : "spreadMethod", -"startoffset" : "startOffset", -"stddeviation" : "stdDeviation", -"stitchtiles" : "stitchTiles", -"surfacescale" : "surfaceScale", -"systemlanguage" : "systemLanguage", -"tablevalues" : "tableValues", -"targetx" : "targetX", -"targety" : "targetY", -"textlength" : "textLength", -"viewbox" : "viewBox", -"viewtarget" : "viewTarget", -"xchannelselector" : "xChannelSelector", -"ychannelselector" : "yChannelSelector", -"zoomandpan" : "zoomAndPan" - } -} diff --git a/node_modules/dom-serializer/index.d.ts b/node_modules/dom-serializer/index.d.ts deleted file mode 100644 index 4499daf..0000000 --- a/node_modules/dom-serializer/index.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -export interface DomSerializerOptions { - xmlMode?: boolean | 'foreign'; - decodeEntities?: boolean; -} - -/** - * Renders a DOM node or an array of DOM nodes to a string. - * - * Can be thought of as the equivalent of the `outerHTML` of the passed node(s). - * - * @param nodes Nodes to be rendered. - * @param options Changes serialization behavior - */ -export default function render( - nodes: {} | {}[], - options?: DomSerializerOptions -): string; diff --git a/node_modules/dom-serializer/index.js b/node_modules/dom-serializer/index.js deleted file mode 100644 index d79729a..0000000 --- a/node_modules/dom-serializer/index.js +++ /dev/null @@ -1,183 +0,0 @@ -/* - Module dependencies -*/ -var ElementType = require('domelementtype'); -var entities = require('entities'); - -/* mixed-case SVG and MathML tags & attributes - recognized by the HTML parser, see - https://html.spec.whatwg.org/multipage/parsing.html#parsing-main-inforeign -*/ -var foreignNames = require('./foreignNames.json'); -foreignNames.elementNames.__proto__ = null; /* use as a simple dictionary */ -foreignNames.attributeNames.__proto__ = null; - -var unencodedElements = { - __proto__: null, - style: true, - script: true, - xmp: true, - iframe: true, - noembed: true, - noframes: true, - plaintext: true, - noscript: true -}; - -/* - Format attributes -*/ -function formatAttrs(attributes, opts) { - if (!attributes) return; - - var output = ''; - var value; - - // Loop through the attributes - for (var key in attributes) { - value = attributes[key]; - if (output) { - output += ' '; - } - - if (opts.xmlMode === 'foreign') { - /* fix up mixed-case attribute names */ - key = foreignNames.attributeNames[key] || key; - } - output += key; - if ((value !== null && value !== '') || opts.xmlMode) { - output += - '="' + - (opts.decodeEntities - ? entities.encodeXML(value) - : value.replace(/\"/g, '"')) + - '"'; - } - } - - return output; -} - -/* - Self-enclosing tags (stolen from node-htmlparser) -*/ -var singleTag = { - __proto__: null, - area: true, - base: true, - basefont: true, - br: true, - col: true, - command: true, - embed: true, - frame: true, - hr: true, - img: true, - input: true, - isindex: true, - keygen: true, - link: true, - meta: true, - param: true, - source: true, - track: true, - wbr: true -}; - -var render = (module.exports = function(dom, opts) { - if (!Array.isArray(dom) && !dom.cheerio) dom = [dom]; - opts = opts || {}; - - var output = ''; - - for (var i = 0; i < dom.length; i++) { - var elem = dom[i]; - - if (elem.type === 'root') output += render(elem.children, opts); - else if (ElementType.isTag(elem)) output += renderTag(elem, opts); - else if (elem.type === ElementType.Directive) - output += renderDirective(elem); - else if (elem.type === ElementType.Comment) output += renderComment(elem); - else if (elem.type === ElementType.CDATA) output += renderCdata(elem); - else output += renderText(elem, opts); - } - - return output; -}); - -var foreignModeIntegrationPoints = [ - 'mi', - 'mo', - 'mn', - 'ms', - 'mtext', - 'annotation-xml', - 'foreignObject', - 'desc', - 'title' -]; - -function renderTag(elem, opts) { - // Handle SVG / MathML in HTML - if (opts.xmlMode === 'foreign') { - /* fix up mixed-case element names */ - elem.name = foreignNames.elementNames[elem.name] || elem.name; - /* exit foreign mode at integration points */ - if ( - elem.parent && - foreignModeIntegrationPoints.indexOf(elem.parent.name) >= 0 - ) - opts = Object.assign({}, opts, { xmlMode: false }); - } - if (!opts.xmlMode && ['svg', 'math'].indexOf(elem.name) >= 0) { - opts = Object.assign({}, opts, { xmlMode: 'foreign' }); - } - - var tag = '<' + elem.name; - var attribs = formatAttrs(elem.attribs, opts); - - if (attribs) { - tag += ' ' + attribs; - } - - if (opts.xmlMode && (!elem.children || elem.children.length === 0)) { - tag += '/>'; - } else { - tag += '>'; - if (elem.children) { - tag += render(elem.children, opts); - } - - if (!singleTag[elem.name] || opts.xmlMode) { - tag += ''; - } - } - - return tag; -} - -function renderDirective(elem) { - return '<' + elem.data + '>'; -} - -function renderText(elem, opts) { - var data = elem.data || ''; - - // if entities weren't decoded, no need to encode them back - if ( - opts.decodeEntities && - !(elem.parent && elem.parent.name in unencodedElements) - ) { - data = entities.encodeXML(data); - } - - return data; -} - -function renderCdata(elem) { - return ''; -} - -function renderComment(elem) { - return ''; -} diff --git a/node_modules/dom-serializer/node_modules/domelementtype/LICENSE b/node_modules/dom-serializer/node_modules/domelementtype/LICENSE deleted file mode 100644 index c464f86..0000000 --- a/node_modules/dom-serializer/node_modules/domelementtype/LICENSE +++ /dev/null @@ -1,11 +0,0 @@ -Copyright (c) Felix Böhm -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - -Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - -Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - -THIS IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS, -EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/node_modules/dom-serializer/node_modules/domelementtype/README.md b/node_modules/dom-serializer/node_modules/domelementtype/README.md deleted file mode 100644 index 4eadc07..0000000 --- a/node_modules/dom-serializer/node_modules/domelementtype/README.md +++ /dev/null @@ -1 +0,0 @@ -All the types of nodes in htmlparser2's DOM. diff --git a/node_modules/dom-serializer/node_modules/domelementtype/lib/index.d.ts b/node_modules/dom-serializer/node_modules/domelementtype/lib/index.d.ts deleted file mode 100644 index a61d346..0000000 --- a/node_modules/dom-serializer/node_modules/domelementtype/lib/index.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -/** Types of elements found in the DOM */ -export declare const enum ElementType { - Text = "text", - Directive = "directive", - Comment = "comment", - Script = "script", - Style = "style", - Tag = "tag", - CDATA = "cdata", - Doctype = "doctype" -} -/** - * Tests whether an element is a tag or not. - * - * @param elem Element to test - */ -export declare function isTag(elem: { - type: ElementType; -}): boolean; -export declare const Text = ElementType.Text; -export declare const Directive = ElementType.Directive; -export declare const Comment = ElementType.Comment; -export declare const Script = ElementType.Script; -export declare const Style = ElementType.Style; -export declare const Tag = ElementType.Tag; -export declare const CDATA = ElementType.CDATA; -export declare const Doctype = ElementType.Doctype; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/dom-serializer/node_modules/domelementtype/lib/index.d.ts.map b/node_modules/dom-serializer/node_modules/domelementtype/lib/index.d.ts.map deleted file mode 100644 index d9398e3..0000000 --- a/node_modules/dom-serializer/node_modules/domelementtype/lib/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,0BAAkB,WAAW;IACzB,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,OAAO,YAAY;CACtB;AAED;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,IAAI,EAAE;IAAE,IAAI,EAAE,WAAW,CAAA;CAAE,GAAG,OAAO,CAM1D;AAGD,eAAO,MAAM,IAAI,mBAAmB,CAAC;AACrC,eAAO,MAAM,SAAS,wBAAwB,CAAC;AAC/C,eAAO,MAAM,OAAO,sBAAsB,CAAC;AAC3C,eAAO,MAAM,MAAM,qBAAqB,CAAC;AACzC,eAAO,MAAM,KAAK,oBAAoB,CAAC;AACvC,eAAO,MAAM,GAAG,kBAAkB,CAAC;AACnC,eAAO,MAAM,KAAK,oBAAoB,CAAC;AACvC,eAAO,MAAM,OAAO,sBAAsB,CAAC"} \ No newline at end of file diff --git a/node_modules/dom-serializer/node_modules/domelementtype/lib/index.js b/node_modules/dom-serializer/node_modules/domelementtype/lib/index.js deleted file mode 100644 index 1908ef7..0000000 --- a/node_modules/dom-serializer/node_modules/domelementtype/lib/index.js +++ /dev/null @@ -1,22 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -/** - * Tests whether an element is a tag or not. - * - * @param elem Element to test - */ -function isTag(elem) { - return (elem.type === "tag" /* Tag */ || - elem.type === "script" /* Script */ || - elem.type === "style" /* Style */); -} -exports.isTag = isTag; -// Exports for backwards compatibility -exports.Text = "text" /* Text */; //Text -exports.Directive = "directive" /* Directive */; // -exports.Comment = "comment" /* Comment */; // -exports.Script = "script" /* Script */; //", - "expected": [ - { - "type": "script", - "name": "script", - "attribs": {}, - "children": [ - { - "data": "", - "type": "text" - } - ] - } - ] -} \ No newline at end of file diff --git a/node_modules/domhandler/test/cases/07-unescaped_in_style.json b/node_modules/domhandler/test/cases/07-unescaped_in_style.json deleted file mode 100644 index 77438fd..0000000 --- a/node_modules/domhandler/test/cases/07-unescaped_in_style.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "Unescaped chars in style", - "options": {}, - "html": "", - "expected": [ - { - "type": "style", - "name": "style", - "attribs": { - "type": "text/css" - }, - "children": [ - { - "data": "\n body > p\n\t{ font-weight: bold; }", - "type": "text" - } - ] - } - ] -} \ No newline at end of file diff --git a/node_modules/domhandler/test/cases/08-extra_spaces_in_tag.json b/node_modules/domhandler/test/cases/08-extra_spaces_in_tag.json deleted file mode 100644 index 5c2492e..0000000 --- a/node_modules/domhandler/test/cases/08-extra_spaces_in_tag.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "Extra spaces in tag", - "options": {}, - "html": "the text", - "expected": [ - { - "type": "tag", - "name": "font", - "attribs": { - "size": "14" - }, - "children": [ - { - "data": "the text", - "type": "text" - } - ] - } - ] -} \ No newline at end of file diff --git a/node_modules/domhandler/test/cases/09-unquoted_attrib.json b/node_modules/domhandler/test/cases/09-unquoted_attrib.json deleted file mode 100644 index 543ccee..0000000 --- a/node_modules/domhandler/test/cases/09-unquoted_attrib.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "Unquoted attributes", - "options": {}, - "html": "the text", - "expected": [ - { - "type": "tag", - "name": "font", - "attribs": { - "size": "14" - }, - "children": [ - { - "data": "the text", - "type": "text" - } - ] - } - ] -} \ No newline at end of file diff --git a/node_modules/domhandler/test/cases/10-singular_attribute.json b/node_modules/domhandler/test/cases/10-singular_attribute.json deleted file mode 100644 index 544636e..0000000 --- a/node_modules/domhandler/test/cases/10-singular_attribute.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "name": "Singular attribute", - "options": {}, - "html": "