├── LICENSE
├── README.md
├── base.node.js
├── data
├── favicon.ico
├── index.html
├── mime_types.json
├── nodes.dat
└── registrars.json
├── lib
├── Certificate.js
├── HttpConnection.js
├── Server.js
├── Storage
│ ├── Data.js
│ ├── Files.js
│ ├── Names.js
│ ├── Public.js
│ └── Storage.js
├── index.js
└── utils.js
├── node_modules
├── jsrsasign
│ ├── Makefile
│ ├── README.md
│ ├── _t2.js
│ ├── lib
│ │ ├── footer.js
│ │ ├── header.js
│ │ └── jsrsasign.js
│ └── package.json
└── sqlite3
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── README.md
│ ├── appveyor.yml
│ ├── binding.gyp
│ ├── deps
│ ├── common-sqlite.gypi
│ ├── extract.py
│ ├── sqlite-autoconf-3080701.tar.gz
│ └── sqlite3.gyp
│ ├── lib
│ ├── binding
│ │ ├── node-v11-darwin-x64
│ │ │ └── node_sqlite3.node
│ │ └── node-v14-darwin-x64
│ │ │ └── node_sqlite3.node
│ ├── index.js
│ ├── sqlite3.js
│ └── trace.js
│ ├── node_modules
│ ├── .bin
│ │ └── node-pre-gyp
│ ├── nan
│ │ ├── .dntrc
│ │ ├── CHANGELOG.md
│ │ ├── LICENSE.md
│ │ ├── appveyor.yml
│ │ ├── build
│ │ │ └── config.gypi
│ │ ├── include_dirs.js
│ │ ├── nan.h
│ │ ├── nan.h.orig
│ │ ├── nan_implementation_12_inl.h
│ │ ├── nan_implementation_pre_12_inl.h
│ │ ├── nan_new.h
│ │ ├── nan_string_bytes.h
│ │ └── package.json
│ └── node-pre-gyp
│ │ ├── CHANGELOG.md
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── appveyor.yml
│ │ ├── bin
│ │ ├── node-pre-gyp
│ │ └── node-pre-gyp.cmd
│ │ ├── lib
│ │ ├── build.js
│ │ ├── clean.js
│ │ ├── info.js
│ │ ├── install.js
│ │ ├── node-pre-gyp.js
│ │ ├── package.js
│ │ ├── pre-binding.js
│ │ ├── publish.js
│ │ ├── rebuild.js
│ │ ├── reinstall.js
│ │ ├── reveal.js
│ │ ├── testbinary.js
│ │ ├── testpackage.js
│ │ ├── unpublish.js
│ │ └── util
│ │ │ ├── abi_crosswalk.json
│ │ │ ├── compile.js
│ │ │ ├── nw-pre-gyp
│ │ │ ├── index.html
│ │ │ └── package.json
│ │ │ ├── s3_setup.js
│ │ │ └── versioning.js
│ │ ├── node_modules
│ │ ├── .bin
│ │ │ ├── mkdirp
│ │ │ ├── nopt
│ │ │ ├── rc
│ │ │ ├── rimraf
│ │ │ └── semver
│ │ ├── mkdirp
│ │ │ ├── .npmignore
│ │ │ ├── .travis.yml
│ │ │ ├── LICENSE
│ │ │ ├── bin
│ │ │ │ ├── cmd.js
│ │ │ │ └── usage.txt
│ │ │ ├── examples
│ │ │ │ └── pow.js
│ │ │ ├── index.js
│ │ │ ├── node_modules
│ │ │ │ └── minimist
│ │ │ │ │ ├── .travis.yml
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── example
│ │ │ │ │ └── parse.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ ├── readme.markdown
│ │ │ │ │ └── test
│ │ │ │ │ ├── dash.js
│ │ │ │ │ ├── default_bool.js
│ │ │ │ │ ├── dotted.js
│ │ │ │ │ ├── long.js
│ │ │ │ │ ├── parse.js
│ │ │ │ │ ├── parse_modified.js
│ │ │ │ │ ├── short.js
│ │ │ │ │ └── whitespace.js
│ │ │ ├── package.json
│ │ │ ├── readme.markdown
│ │ │ └── test
│ │ │ │ ├── chmod.js
│ │ │ │ ├── clobber.js
│ │ │ │ ├── mkdirp.js
│ │ │ │ ├── opts_fs.js
│ │ │ │ ├── opts_fs_sync.js
│ │ │ │ ├── perm.js
│ │ │ │ ├── perm_sync.js
│ │ │ │ ├── race.js
│ │ │ │ ├── rel.js
│ │ │ │ ├── return.js
│ │ │ │ ├── return_sync.js
│ │ │ │ ├── root.js
│ │ │ │ ├── sync.js
│ │ │ │ ├── umask.js
│ │ │ │ └── umask_sync.js
│ │ ├── nopt
│ │ │ ├── .npmignore
│ │ │ ├── LICENSE
│ │ │ ├── README.md
│ │ │ ├── bin
│ │ │ │ └── nopt.js
│ │ │ ├── examples
│ │ │ │ └── my-program.js
│ │ │ ├── lib
│ │ │ │ └── nopt.js
│ │ │ ├── node_modules
│ │ │ │ └── abbrev
│ │ │ │ │ ├── CONTRIBUTING.md
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── abbrev.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── test.js
│ │ │ ├── package.json
│ │ │ └── test
│ │ │ │ └── basic.js
│ │ ├── npmlog
│ │ │ ├── .npmrc
│ │ │ ├── LICENSE
│ │ │ ├── README.md
│ │ │ ├── example.js
│ │ │ ├── log.js
│ │ │ ├── node_modules
│ │ │ │ └── ansi
│ │ │ │ │ ├── .jshintrc
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── History.md
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── examples
│ │ │ │ │ ├── beep
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── clear
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── cursorPosition.js
│ │ │ │ │ └── progress
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── lib
│ │ │ │ │ ├── ansi.js
│ │ │ │ │ └── newlines.js
│ │ │ │ │ └── package.json
│ │ │ ├── package.json
│ │ │ └── test
│ │ │ │ └── basic.js
│ │ ├── rc
│ │ │ ├── .npmignore
│ │ │ ├── LICENSE.APACHE2
│ │ │ ├── LICENSE.BSD
│ │ │ ├── LICENSE.MIT
│ │ │ ├── README.md
│ │ │ ├── browser.js
│ │ │ ├── index.js
│ │ │ ├── lib
│ │ │ │ └── utils.js
│ │ │ ├── node_modules
│ │ │ │ ├── deep-extend
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── test
│ │ │ │ │ │ ├── index.spec.js
│ │ │ │ │ │ └── mocha.opts
│ │ │ │ ├── ini
│ │ │ │ │ ├── .npm-completion.tmp
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── ini.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── test
│ │ │ │ │ │ ├── bar.js
│ │ │ │ │ │ ├── fixtures
│ │ │ │ │ │ └── foo.ini
│ │ │ │ │ │ └── foo.js
│ │ │ │ ├── minimist
│ │ │ │ │ ├── .travis.yml
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── example
│ │ │ │ │ │ └── parse.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ ├── readme.markdown
│ │ │ │ │ └── test
│ │ │ │ │ │ ├── bool.js
│ │ │ │ │ │ ├── dash.js
│ │ │ │ │ │ ├── default_bool.js
│ │ │ │ │ │ ├── dotted.js
│ │ │ │ │ │ ├── long.js
│ │ │ │ │ │ ├── num.js
│ │ │ │ │ │ ├── parse.js
│ │ │ │ │ │ ├── parse_modified.js
│ │ │ │ │ │ ├── short.js
│ │ │ │ │ │ └── whitespace.js
│ │ │ │ └── strip-json-comments
│ │ │ │ │ ├── cli.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ ├── readme.md
│ │ │ │ │ └── strip-json-comments.js
│ │ │ ├── package.json
│ │ │ └── test
│ │ │ │ ├── ini.js
│ │ │ │ ├── nested-env-vars.js
│ │ │ │ └── test.js
│ │ ├── request
│ │ │ ├── .eslintrc
│ │ │ ├── .npmignore
│ │ │ ├── .travis.yml
│ │ │ ├── CHANGELOG.md
│ │ │ ├── CONTRIBUTING.md
│ │ │ ├── LICENSE
│ │ │ ├── README.md
│ │ │ ├── disabled.appveyor.yml
│ │ │ ├── examples
│ │ │ │ └── README.md
│ │ │ ├── index.js
│ │ │ ├── lib
│ │ │ │ ├── cookies.js
│ │ │ │ ├── copy.js
│ │ │ │ ├── debug.js
│ │ │ │ └── helpers.js
│ │ │ ├── node_modules
│ │ │ │ ├── aws-sign2
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── package.json
│ │ │ │ ├── bl
│ │ │ │ │ ├── .jshintrc
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── .travis.yml
│ │ │ │ │ ├── LICENSE.md
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── bl.js
│ │ │ │ │ ├── node_modules
│ │ │ │ │ │ └── readable-stream
│ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── duplex.js
│ │ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ ├── _stream_duplex.js
│ │ │ │ │ │ │ ├── _stream_passthrough.js
│ │ │ │ │ │ │ ├── _stream_readable.js
│ │ │ │ │ │ │ ├── _stream_transform.js
│ │ │ │ │ │ │ └── _stream_writable.js
│ │ │ │ │ │ │ ├── node_modules
│ │ │ │ │ │ │ ├── core-util-is
│ │ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ │ ├── float.patch
│ │ │ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ │ │ └── util.js
│ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ └── util.js
│ │ │ │ │ │ │ ├── inherits
│ │ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ │ ├── inherits.js
│ │ │ │ │ │ │ │ ├── inherits_browser.js
│ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ └── test.js
│ │ │ │ │ │ │ ├── isarray
│ │ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ │ ├── build
│ │ │ │ │ │ │ │ │ └── build.js
│ │ │ │ │ │ │ │ ├── component.json
│ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ └── package.json
│ │ │ │ │ │ │ └── string_decoder
│ │ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ └── package.json
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ ├── passthrough.js
│ │ │ │ │ │ │ ├── readable.js
│ │ │ │ │ │ │ ├── transform.js
│ │ │ │ │ │ │ └── writable.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── test
│ │ │ │ │ │ ├── basic-test.js
│ │ │ │ │ │ ├── sauce.js
│ │ │ │ │ │ └── test.js
│ │ │ │ ├── caseless
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── test.js
│ │ │ │ ├── combined-stream
│ │ │ │ │ ├── License
│ │ │ │ │ ├── Readme.md
│ │ │ │ │ ├── lib
│ │ │ │ │ │ └── combined_stream.js
│ │ │ │ │ ├── node_modules
│ │ │ │ │ │ └── delayed-stream
│ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ ├── License
│ │ │ │ │ │ │ ├── Makefile
│ │ │ │ │ │ │ ├── Readme.md
│ │ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ └── delayed_stream.js
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ └── test
│ │ │ │ │ │ │ ├── common.js
│ │ │ │ │ │ │ ├── integration
│ │ │ │ │ │ │ ├── test-delayed-http-upload.js
│ │ │ │ │ │ │ ├── test-delayed-stream-auto-pause.js
│ │ │ │ │ │ │ ├── test-delayed-stream-pause.js
│ │ │ │ │ │ │ ├── test-delayed-stream.js
│ │ │ │ │ │ │ ├── test-handle-source-errors.js
│ │ │ │ │ │ │ ├── test-max-data-size.js
│ │ │ │ │ │ │ ├── test-pipe-resumes.js
│ │ │ │ │ │ │ └── test-proxy-readable.js
│ │ │ │ │ │ │ └── run.js
│ │ │ │ │ └── package.json
│ │ │ │ ├── forever-agent
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── package.json
│ │ │ │ ├── form-data
│ │ │ │ │ ├── License
│ │ │ │ │ ├── Readme.md
│ │ │ │ │ ├── lib
│ │ │ │ │ │ └── form_data.js
│ │ │ │ │ ├── node_modules
│ │ │ │ │ │ ├── async
│ │ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── component.json
│ │ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ │ └── async.js
│ │ │ │ │ │ │ └── package.json
│ │ │ │ │ │ ├── mime-types
│ │ │ │ │ │ │ ├── HISTORY.md
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ ├── node_modules
│ │ │ │ │ │ │ │ └── mime-db
│ │ │ │ │ │ │ │ │ ├── HISTORY.md
│ │ │ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ │ │ ├── db.json
│ │ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ │ └── package.json
│ │ │ │ │ │ │ └── package.json
│ │ │ │ │ │ └── mime
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── mime.js
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ ├── test.js
│ │ │ │ │ │ │ └── types
│ │ │ │ │ │ │ ├── mime.types
│ │ │ │ │ │ │ └── node.types
│ │ │ │ │ └── package.json
│ │ │ │ ├── hawk
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── .travis.yml
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── example
│ │ │ │ │ │ └── usage.js
│ │ │ │ │ ├── images
│ │ │ │ │ │ ├── hawk.png
│ │ │ │ │ │ └── logo.png
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── lib
│ │ │ │ │ │ ├── browser.js
│ │ │ │ │ │ ├── client.js
│ │ │ │ │ │ ├── crypto.js
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ ├── server.js
│ │ │ │ │ │ └── utils.js
│ │ │ │ │ ├── node_modules
│ │ │ │ │ │ ├── boom
│ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── Makefile
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── images
│ │ │ │ │ │ │ │ └── boom.png
│ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ │ └── index.js
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ └── test
│ │ │ │ │ │ │ │ └── index.js
│ │ │ │ │ │ ├── cryptiles
│ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── Makefile
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ │ └── index.js
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ └── test
│ │ │ │ │ │ │ │ └── index.js
│ │ │ │ │ │ ├── hoek
│ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── Makefile
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── images
│ │ │ │ │ │ │ │ └── hoek.png
│ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ │ ├── escape.js
│ │ │ │ │ │ │ │ └── index.js
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ └── test
│ │ │ │ │ │ │ │ ├── escaper.js
│ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ └── modules
│ │ │ │ │ │ │ │ ├── test1.js
│ │ │ │ │ │ │ │ ├── test2.js
│ │ │ │ │ │ │ │ └── test3.js
│ │ │ │ │ │ └── sntp
│ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── Makefile
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── examples
│ │ │ │ │ │ │ ├── offset.js
│ │ │ │ │ │ │ └── time.js
│ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ └── index.js
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ └── test
│ │ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── test
│ │ │ │ │ │ ├── browser.js
│ │ │ │ │ │ ├── client.js
│ │ │ │ │ │ ├── crypto.js
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ ├── message.js
│ │ │ │ │ │ ├── readme.js
│ │ │ │ │ │ ├── server.js
│ │ │ │ │ │ ├── uri.js
│ │ │ │ │ │ └── utils.js
│ │ │ │ ├── http-signature
│ │ │ │ │ ├── .dir-locals.el
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── http_signing.md
│ │ │ │ │ ├── lib
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ ├── parser.js
│ │ │ │ │ │ ├── signer.js
│ │ │ │ │ │ ├── util.js
│ │ │ │ │ │ └── verify.js
│ │ │ │ │ ├── node_modules
│ │ │ │ │ │ ├── asn1
│ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ │ ├── ber
│ │ │ │ │ │ │ │ │ ├── errors.js
│ │ │ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ │ │ ├── reader.js
│ │ │ │ │ │ │ │ │ ├── types.js
│ │ │ │ │ │ │ │ │ └── writer.js
│ │ │ │ │ │ │ │ └── index.js
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ └── tst
│ │ │ │ │ │ │ │ └── ber
│ │ │ │ │ │ │ │ ├── reader.test.js
│ │ │ │ │ │ │ │ └── writer.test.js
│ │ │ │ │ │ ├── assert-plus
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── assert.js
│ │ │ │ │ │ │ └── package.json
│ │ │ │ │ │ └── ctype
│ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ ├── CHANGELOG
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── README
│ │ │ │ │ │ │ ├── README.old
│ │ │ │ │ │ │ ├── ctf.js
│ │ │ │ │ │ │ ├── ctio.js
│ │ │ │ │ │ │ ├── ctype.js
│ │ │ │ │ │ │ ├── man
│ │ │ │ │ │ │ └── man3ctype
│ │ │ │ │ │ │ │ └── ctio.3ctype
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ ├── tools
│ │ │ │ │ │ │ ├── jsl.conf
│ │ │ │ │ │ │ └── jsstyle
│ │ │ │ │ │ │ └── tst
│ │ │ │ │ │ │ ├── ctf
│ │ │ │ │ │ │ ├── float.json
│ │ │ │ │ │ │ ├── int.json
│ │ │ │ │ │ │ ├── psinfo.json
│ │ │ │ │ │ │ ├── struct.json
│ │ │ │ │ │ │ ├── tst.fail.js
│ │ │ │ │ │ │ ├── tst.float.js
│ │ │ │ │ │ │ ├── tst.int.js
│ │ │ │ │ │ │ ├── tst.psinfo.js
│ │ │ │ │ │ │ ├── tst.struct.js
│ │ │ │ │ │ │ ├── tst.typedef.js
│ │ │ │ │ │ │ └── typedef.json
│ │ │ │ │ │ │ ├── ctio
│ │ │ │ │ │ │ ├── float
│ │ │ │ │ │ │ │ ├── tst.rfloat.js
│ │ │ │ │ │ │ │ └── tst.wfloat.js
│ │ │ │ │ │ │ ├── int
│ │ │ │ │ │ │ │ ├── tst.64.js
│ │ │ │ │ │ │ │ ├── tst.rint.js
│ │ │ │ │ │ │ │ ├── tst.wbounds.js
│ │ │ │ │ │ │ │ └── tst.wint.js
│ │ │ │ │ │ │ └── uint
│ │ │ │ │ │ │ │ ├── tst.64.js
│ │ │ │ │ │ │ │ ├── tst.roundtrip.js
│ │ │ │ │ │ │ │ ├── tst.ruint.js
│ │ │ │ │ │ │ │ └── tst.wuint.js
│ │ │ │ │ │ │ └── ctype
│ │ │ │ │ │ │ ├── tst.basicr.js
│ │ │ │ │ │ │ ├── tst.basicw.js
│ │ │ │ │ │ │ ├── tst.char.js
│ │ │ │ │ │ │ ├── tst.endian.js
│ │ │ │ │ │ │ ├── tst.oldwrite.js
│ │ │ │ │ │ │ ├── tst.readSize.js
│ │ │ │ │ │ │ ├── tst.structw.js
│ │ │ │ │ │ │ └── tst.writeStruct.js
│ │ │ │ │ └── package.json
│ │ │ │ ├── json-stringify-safe
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── package.json
│ │ │ │ │ ├── stringify.js
│ │ │ │ │ └── test.js
│ │ │ │ ├── mime-types
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── .travis.yml
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── SOURCES.md
│ │ │ │ │ ├── component.json
│ │ │ │ │ ├── lib
│ │ │ │ │ │ ├── custom.json
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ ├── mime.json
│ │ │ │ │ │ └── node.json
│ │ │ │ │ └── package.json
│ │ │ │ ├── node-uuid
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── LICENSE.md
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── benchmark
│ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ ├── bench.gnu
│ │ │ │ │ │ ├── bench.sh
│ │ │ │ │ │ ├── benchmark-native.c
│ │ │ │ │ │ └── benchmark.js
│ │ │ │ │ ├── bin
│ │ │ │ │ │ └── uuid
│ │ │ │ │ ├── component.json
│ │ │ │ │ ├── package.json
│ │ │ │ │ ├── test
│ │ │ │ │ │ ├── compare_v1.js
│ │ │ │ │ │ ├── test.html
│ │ │ │ │ │ └── test.js
│ │ │ │ │ └── uuid.js
│ │ │ │ ├── oauth-sign
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── test.js
│ │ │ │ ├── qs
│ │ │ │ │ ├── .jshintignore
│ │ │ │ │ ├── .jshintrc
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── .travis.yml
│ │ │ │ │ ├── CHANGELOG.md
│ │ │ │ │ ├── CONTRIBUTING.md
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── lib
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ ├── parse.js
│ │ │ │ │ │ ├── stringify.js
│ │ │ │ │ │ └── utils.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── test
│ │ │ │ │ │ ├── parse.js
│ │ │ │ │ │ └── stringify.js
│ │ │ │ ├── stringstream
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── .travis.yml
│ │ │ │ │ ├── LICENSE.txt
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── example.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── stringstream.js
│ │ │ │ ├── tough-cookie
│ │ │ │ │ ├── .jshintrc
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── .travis.yml
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── generate-pubsuffix.js
│ │ │ │ │ ├── lib
│ │ │ │ │ │ ├── cookie.js
│ │ │ │ │ │ ├── memstore.js
│ │ │ │ │ │ ├── pubsuffix.js
│ │ │ │ │ │ └── store.js
│ │ │ │ │ ├── node_modules
│ │ │ │ │ │ └── punycode
│ │ │ │ │ │ │ ├── LICENSE-MIT.txt
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ └── punycode.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ ├── public-suffix.txt
│ │ │ │ │ └── test.js
│ │ │ │ └── tunnel-agent
│ │ │ │ │ ├── .jshintrc
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── package.json
│ │ │ ├── package.json
│ │ │ ├── release.sh
│ │ │ └── request.js
│ │ ├── rimraf
│ │ │ ├── AUTHORS
│ │ │ ├── LICENSE
│ │ │ ├── README.md
│ │ │ ├── bin.js
│ │ │ ├── package.json
│ │ │ ├── rimraf.js
│ │ │ └── test
│ │ │ │ ├── run.sh
│ │ │ │ ├── setup.sh
│ │ │ │ ├── test-async.js
│ │ │ │ └── test-sync.js
│ │ ├── semver
│ │ │ ├── .npmignore
│ │ │ ├── LICENSE
│ │ │ ├── Makefile
│ │ │ ├── README.md
│ │ │ ├── bin
│ │ │ │ └── semver
│ │ │ ├── foot.js.txt
│ │ │ ├── head.js.txt
│ │ │ ├── package.json
│ │ │ ├── semver.browser.js
│ │ │ ├── semver.browser.js.gz
│ │ │ ├── semver.js
│ │ │ ├── semver.min.js
│ │ │ ├── semver.min.js.gz
│ │ │ └── test
│ │ │ │ ├── amd.js
│ │ │ │ ├── clean.js
│ │ │ │ ├── gtr.js
│ │ │ │ ├── index.js
│ │ │ │ ├── ltr.js
│ │ │ │ └── no-module.js
│ │ ├── tar-pack
│ │ │ ├── .npmignore
│ │ │ ├── .travis.yml
│ │ │ ├── README.md
│ │ │ ├── index.js
│ │ │ ├── node_modules
│ │ │ │ ├── debug
│ │ │ │ │ ├── Readme.md
│ │ │ │ │ ├── debug.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── lib
│ │ │ │ │ │ └── debug.js
│ │ │ │ │ └── package.json
│ │ │ │ ├── fstream-ignore
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── example
│ │ │ │ │ │ └── basic.js
│ │ │ │ │ ├── ignore.js
│ │ │ │ │ ├── node_modules
│ │ │ │ │ │ ├── inherits
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── inherits.js
│ │ │ │ │ │ │ ├── inherits_browser.js
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ └── test.js
│ │ │ │ │ │ └── minimatch
│ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── minimatch.js
│ │ │ │ │ │ │ ├── node_modules
│ │ │ │ │ │ │ ├── lru-cache
│ │ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ │ ├── CONTRIBUTORS
│ │ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ │ │ └── lru-cache.js
│ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ └── test
│ │ │ │ │ │ │ │ │ ├── basic.js
│ │ │ │ │ │ │ │ │ ├── foreach.js
│ │ │ │ │ │ │ │ │ └── memory-leak.js
│ │ │ │ │ │ │ └── sigmund
│ │ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ │ ├── bench.js
│ │ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ │ ├── sigmund.js
│ │ │ │ │ │ │ │ └── test
│ │ │ │ │ │ │ │ └── basic.js
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ └── test
│ │ │ │ │ │ │ ├── basic.js
│ │ │ │ │ │ │ ├── brace-expand.js
│ │ │ │ │ │ │ ├── caching.js
│ │ │ │ │ │ │ ├── defaults.js
│ │ │ │ │ │ │ └── extglob-ending-with-state-char.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── test
│ │ │ │ │ │ ├── .ignore
│ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ ├── 00-setup.js
│ │ │ │ │ │ ├── basic.js
│ │ │ │ │ │ ├── common.js
│ │ │ │ │ │ ├── ignore-most.js
│ │ │ │ │ │ ├── nested-ignores.js
│ │ │ │ │ │ ├── unignore-child.js
│ │ │ │ │ │ └── zz-cleanup.js
│ │ │ │ ├── fstream
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── .travis.yml
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── examples
│ │ │ │ │ │ ├── filter-pipe.js
│ │ │ │ │ │ ├── pipe.js
│ │ │ │ │ │ ├── reader.js
│ │ │ │ │ │ └── symlink-write.js
│ │ │ │ │ ├── fstream.js
│ │ │ │ │ ├── lib
│ │ │ │ │ │ ├── abstract.js
│ │ │ │ │ │ ├── collect.js
│ │ │ │ │ │ ├── dir-reader.js
│ │ │ │ │ │ ├── dir-writer.js
│ │ │ │ │ │ ├── file-reader.js
│ │ │ │ │ │ ├── file-writer.js
│ │ │ │ │ │ ├── get-type.js
│ │ │ │ │ │ ├── link-reader.js
│ │ │ │ │ │ ├── link-writer.js
│ │ │ │ │ │ ├── proxy-reader.js
│ │ │ │ │ │ ├── proxy-writer.js
│ │ │ │ │ │ ├── reader.js
│ │ │ │ │ │ ├── socket-reader.js
│ │ │ │ │ │ └── writer.js
│ │ │ │ │ ├── node_modules
│ │ │ │ │ │ ├── graceful-fs
│ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── fs.js
│ │ │ │ │ │ │ ├── graceful-fs.js
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ ├── polyfills.js
│ │ │ │ │ │ │ └── test
│ │ │ │ │ │ │ │ ├── max-open.js
│ │ │ │ │ │ │ │ ├── open.js
│ │ │ │ │ │ │ │ ├── readdir-sort.js
│ │ │ │ │ │ │ │ └── write-then-read.js
│ │ │ │ │ │ └── inherits
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── inherits.js
│ │ │ │ │ │ │ ├── inherits_browser.js
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ └── test.js
│ │ │ │ │ └── package.json
│ │ │ │ ├── graceful-fs
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── graceful-fs.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── test
│ │ │ │ │ │ ├── open.js
│ │ │ │ │ │ └── ulimit.js
│ │ │ │ ├── once
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── once.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── test
│ │ │ │ │ │ └── once.js
│ │ │ │ ├── readable-stream
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── duplex.js
│ │ │ │ │ ├── lib
│ │ │ │ │ │ ├── _stream_duplex.js
│ │ │ │ │ │ ├── _stream_passthrough.js
│ │ │ │ │ │ ├── _stream_readable.js
│ │ │ │ │ │ ├── _stream_transform.js
│ │ │ │ │ │ └── _stream_writable.js
│ │ │ │ │ ├── node_modules
│ │ │ │ │ │ ├── core-util-is
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── float.patch
│ │ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ │ └── util.js
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ └── util.js
│ │ │ │ │ │ ├── inherits
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── inherits.js
│ │ │ │ │ │ │ ├── inherits_browser.js
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ └── test.js
│ │ │ │ │ │ ├── isarray
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── build
│ │ │ │ │ │ │ │ └── build.js
│ │ │ │ │ │ │ ├── component.json
│ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ └── package.json
│ │ │ │ │ │ └── string_decoder
│ │ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ └── package.json
│ │ │ │ │ ├── package.json
│ │ │ │ │ ├── passthrough.js
│ │ │ │ │ ├── readable.js
│ │ │ │ │ ├── transform.js
│ │ │ │ │ └── writable.js
│ │ │ │ ├── tar
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── .travis.yml
│ │ │ │ │ ├── LICENCE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── examples
│ │ │ │ │ │ ├── extracter.js
│ │ │ │ │ │ ├── packer.js
│ │ │ │ │ │ └── reader.js
│ │ │ │ │ ├── lib
│ │ │ │ │ │ ├── buffer-entry.js
│ │ │ │ │ │ ├── entry-writer.js
│ │ │ │ │ │ ├── entry.js
│ │ │ │ │ │ ├── extended-header-writer.js
│ │ │ │ │ │ ├── extended-header.js
│ │ │ │ │ │ ├── extract.js
│ │ │ │ │ │ ├── global-header-writer.js
│ │ │ │ │ │ ├── header.js
│ │ │ │ │ │ ├── pack.js
│ │ │ │ │ │ └── parse.js
│ │ │ │ │ ├── node_modules
│ │ │ │ │ │ ├── block-stream
│ │ │ │ │ │ │ ├── LICENCE
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── bench
│ │ │ │ │ │ │ │ ├── block-stream-pause.js
│ │ │ │ │ │ │ │ ├── block-stream.js
│ │ │ │ │ │ │ │ ├── dropper-pause.js
│ │ │ │ │ │ │ │ └── dropper.js
│ │ │ │ │ │ │ ├── block-stream.js
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ └── test
│ │ │ │ │ │ │ │ ├── basic.js
│ │ │ │ │ │ │ │ ├── nopad-thorough.js
│ │ │ │ │ │ │ │ ├── nopad.js
│ │ │ │ │ │ │ │ ├── pause-resume.js
│ │ │ │ │ │ │ │ ├── thorough.js
│ │ │ │ │ │ │ │ └── two-stream.js
│ │ │ │ │ │ └── inherits
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── inherits.js
│ │ │ │ │ │ │ ├── inherits_browser.js
│ │ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ │ └── test.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ ├── tar.js
│ │ │ │ │ └── test
│ │ │ │ │ │ ├── 00-setup-fixtures.js
│ │ │ │ │ │ ├── extract.js
│ │ │ │ │ │ ├── fixtures.tgz
│ │ │ │ │ │ ├── header.js
│ │ │ │ │ │ ├── pack-no-proprietary.js
│ │ │ │ │ │ ├── pack.js
│ │ │ │ │ │ ├── parse.js
│ │ │ │ │ │ └── zz-cleanup.js
│ │ │ │ └── uid-number
│ │ │ │ │ ├── LICENCE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── get-uid-gid.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── uid-number.js
│ │ │ ├── package.json
│ │ │ └── test
│ │ │ │ ├── fixtures
│ │ │ │ ├── packed-file.txt
│ │ │ │ ├── packed.tar
│ │ │ │ ├── packed.tar.gz
│ │ │ │ └── to-pack
│ │ │ │ │ ├── bar.txt
│ │ │ │ │ └── foo.txt
│ │ │ │ └── index.js
│ │ └── tar
│ │ │ ├── .npmignore
│ │ │ ├── .travis.yml
│ │ │ ├── LICENCE
│ │ │ ├── README.md
│ │ │ ├── examples
│ │ │ ├── extracter.js
│ │ │ ├── packer.js
│ │ │ └── reader.js
│ │ │ ├── lib
│ │ │ ├── buffer-entry.js
│ │ │ ├── entry-writer.js
│ │ │ ├── entry.js
│ │ │ ├── extended-header-writer.js
│ │ │ ├── extended-header.js
│ │ │ ├── extract.js
│ │ │ ├── global-header-writer.js
│ │ │ ├── header.js
│ │ │ ├── pack.js
│ │ │ └── parse.js
│ │ │ ├── node_modules
│ │ │ ├── block-stream
│ │ │ │ ├── LICENCE
│ │ │ │ ├── README.md
│ │ │ │ ├── bench
│ │ │ │ │ ├── block-stream-pause.js
│ │ │ │ │ ├── block-stream.js
│ │ │ │ │ ├── dropper-pause.js
│ │ │ │ │ └── dropper.js
│ │ │ │ ├── block-stream.js
│ │ │ │ ├── package.json
│ │ │ │ └── test
│ │ │ │ │ ├── basic.js
│ │ │ │ │ ├── nopad-thorough.js
│ │ │ │ │ ├── nopad.js
│ │ │ │ │ ├── pause-resume.js
│ │ │ │ │ ├── thorough.js
│ │ │ │ │ └── two-stream.js
│ │ │ ├── fstream
│ │ │ │ ├── .npmignore
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── examples
│ │ │ │ │ ├── filter-pipe.js
│ │ │ │ │ ├── pipe.js
│ │ │ │ │ ├── reader.js
│ │ │ │ │ └── symlink-write.js
│ │ │ │ ├── fstream.js
│ │ │ │ ├── lib
│ │ │ │ │ ├── abstract.js
│ │ │ │ │ ├── collect.js
│ │ │ │ │ ├── dir-reader.js
│ │ │ │ │ ├── dir-writer.js
│ │ │ │ │ ├── file-reader.js
│ │ │ │ │ ├── file-writer.js
│ │ │ │ │ ├── get-type.js
│ │ │ │ │ ├── link-reader.js
│ │ │ │ │ ├── link-writer.js
│ │ │ │ │ ├── proxy-reader.js
│ │ │ │ │ ├── proxy-writer.js
│ │ │ │ │ ├── reader.js
│ │ │ │ │ ├── socket-reader.js
│ │ │ │ │ └── writer.js
│ │ │ │ ├── node_modules
│ │ │ │ │ └── graceful-fs
│ │ │ │ │ │ ├── .npmignore
│ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ ├── fs.js
│ │ │ │ │ │ ├── graceful-fs.js
│ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ ├── polyfills.js
│ │ │ │ │ │ └── test
│ │ │ │ │ │ ├── max-open.js
│ │ │ │ │ │ ├── open.js
│ │ │ │ │ │ ├── readdir-sort.js
│ │ │ │ │ │ └── write-then-read.js
│ │ │ │ └── package.json
│ │ │ └── inherits
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── inherits.js
│ │ │ │ ├── inherits_browser.js
│ │ │ │ ├── package.json
│ │ │ │ └── test.js
│ │ │ ├── package.json
│ │ │ ├── tar.js
│ │ │ └── test
│ │ │ ├── 00-setup-fixtures.js
│ │ │ ├── extract-move.js
│ │ │ ├── extract.js
│ │ │ ├── fixtures.tgz
│ │ │ ├── header.js
│ │ │ ├── pack-no-proprietary.js
│ │ │ ├── pack.js
│ │ │ ├── parse.js
│ │ │ └── zz-cleanup.js
│ │ └── package.json
│ ├── package.json
│ ├── sqlite3.js
│ └── src
│ ├── async.h
│ ├── database.cc
│ ├── database.h
│ ├── gcc-preinclude.h
│ ├── macros.h
│ ├── node_sqlite3.cc
│ ├── statement.cc
│ ├── statement.h
│ └── threading.h
└── tests
├── Certificate.js
└── tests.js
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2015 Denis Glazkov
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
23 |
--------------------------------------------------------------------------------
/base.node.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | /**
4 | * base.network NodeJS-server 0.1 (c) 2015 Denis Glazkov | https://github.com/basenetwork/
5 | *
6 | * http://base.network/
7 | *
8 | */
9 |
10 | //------- start node-server -----------
11 | require("./lib/").startServer(process.argv);
12 |
--------------------------------------------------------------------------------
/data/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/basenetwork/base.server-node/8aa9d3c1fadd34d2e4a97401bbad5add7717f4a3/data/favicon.ico
--------------------------------------------------------------------------------
/data/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | base.network - Independent Distributed Network
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/data/nodes.dat:
--------------------------------------------------------------------------------
1 | {"nid":"5.9.123.140/8080"}
2 | {"nid":"5.9.123.140/8081"}
3 | {"nid":"5.9.123.140/8082"}
4 | {"nid":"185.26.120.78/8494"}
5 | {"nid":"185.26.120.22/8678"}
6 |
--------------------------------------------------------------------------------
/data/registrars.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "zone": "base",
4 | "zoneDNS": "base.network",
5 | "cert": "AA3Evvx1ARDVVyiPWZ1197l3MAOPe2U1FR7hjxQpL6TQmqf8dxEEoB/AV19Um49u9U7Lb8Lx9ujX2MurTd6qnWw="
6 | }
7 | ]
--------------------------------------------------------------------------------
/lib/index.js:
--------------------------------------------------------------------------------
1 | var Server = require("./Server");
2 |
3 | module.exports = {
4 |
5 | Server: Server,
6 |
7 | startServer: function(argv) {
8 | return new Server(argv);
9 | }
10 | };
--------------------------------------------------------------------------------
/node_modules/jsrsasign/Makefile:
--------------------------------------------------------------------------------
1 | all:
2 | echo aaa
3 |
4 | aaa:
5 | cat \
6 | lib/header.js \
7 | ../jsrsasign-latest-all-min.js \
8 | ../../../../jsjws/_gitpg/jsjws/ext/json-sans-eval-min.js \
9 | ../../../../jsjws/_gitpg/jsjws/jws-3.0.min.js \
10 | ../../../../jsjws/_gitpg/jsjws/jwsjs-2.0.min.js \
11 | lib/footer.js \
12 | > lib/jsrsasign.js
13 |
14 |
--------------------------------------------------------------------------------
/node_modules/jsrsasign/_t2.js:
--------------------------------------------------------------------------------
1 | var j = require('./jsrsasign');
2 |
3 | var o1 = j.asn1.ASN1Util.newObject({int: {int: 1234567}});
4 | console.log(o1.getEncodedHex());
5 |
6 |
--------------------------------------------------------------------------------
/node_modules/jsrsasign/lib/header.js:
--------------------------------------------------------------------------------
1 |
2 | var navigator = {};
3 | navigator.uesrAgent = false;
4 |
5 | var window = {};
6 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/deps/extract.py:
--------------------------------------------------------------------------------
1 | import sys
2 | import tarfile
3 | import os
4 |
5 | tarball = os.path.abspath(sys.argv[1])
6 | dirname = os.path.abspath(sys.argv[2])
7 | tfile = tarfile.open(tarball,'r:gz');
8 | tfile.extractall(dirname)
9 | sys.exit(0)
10 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/deps/sqlite-autoconf-3080701.tar.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/basenetwork/base.server-node/8aa9d3c1fadd34d2e4a97401bbad5add7717f4a3/node_modules/sqlite3/deps/sqlite-autoconf-3080701.tar.gz
--------------------------------------------------------------------------------
/node_modules/sqlite3/lib/binding/node-v11-darwin-x64/node_sqlite3.node:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/basenetwork/base.server-node/8aa9d3c1fadd34d2e4a97401bbad5add7717f4a3/node_modules/sqlite3/lib/binding/node-v11-darwin-x64/node_sqlite3.node
--------------------------------------------------------------------------------
/node_modules/sqlite3/lib/binding/node-v14-darwin-x64/node_sqlite3.node:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/basenetwork/base.server-node/8aa9d3c1fadd34d2e4a97401bbad5add7717f4a3/node_modules/sqlite3/lib/binding/node-v14-darwin-x64/node_sqlite3.node
--------------------------------------------------------------------------------
/node_modules/sqlite3/lib/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./sqlite3');
2 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/.bin/node-pre-gyp:
--------------------------------------------------------------------------------
1 | ../node-pre-gyp/bin/node-pre-gyp
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/nan/.dntrc:
--------------------------------------------------------------------------------
1 | ## DNT config file
2 | ## see https://github.com/rvagg/dnt
3 |
4 | NODE_VERSIONS="\
5 | master \
6 | v0.11.13 \
7 | v0.10.30 \
8 | v0.10.29 \
9 | v0.10.28 \
10 | v0.10.26 \
11 | v0.10.25 \
12 | v0.10.24 \
13 | v0.10.23 \
14 | v0.10.22 \
15 | v0.10.21 \
16 | v0.10.20 \
17 | v0.10.19 \
18 | v0.8.28 \
19 | v0.8.27 \
20 | v0.8.26 \
21 | v0.8.24 \
22 | "
23 | OUTPUT_PREFIX="nan-"
24 | TEST_CMD=" \
25 | cd /dnt/ && \
26 | npm install && \
27 | node_modules/.bin/node-gyp --nodedir /usr/src/node/ rebuild --directory test && \
28 | node_modules/.bin/tap --gc test/js/*-test.js \
29 | "
30 |
31 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/nan/appveyor.yml:
--------------------------------------------------------------------------------
1 | # http://www.appveyor.com/docs/appveyor-yml
2 |
3 | # Test against these versions of Node.js.
4 | environment:
5 | matrix:
6 | - nodejs_version: "0.8"
7 | - nodejs_version: "0.10"
8 | - nodejs_version: "0.11"
9 |
10 | # Install scripts. (runs after repo cloning)
11 | install:
12 | # Get the latest stable version of Node 0.STABLE.latest
13 | - npm install npm
14 | - move node_modules npm
15 | - ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)
16 | # Typical npm stuff.
17 | - npm/.bin/npm install
18 | - npm/.bin/npm run rebuild-tests
19 |
20 | # Post-install test scripts.
21 | test_script:
22 | # Output useful info for debugging.
23 | - node --version
24 | - npm --version
25 | - cmd: npm test
26 |
27 | # Don't actually build.
28 | build: off
29 |
30 | # Set build version format here instead of in the admin panel.
31 | version: "{build}"
32 |
33 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/nan/include_dirs.js:
--------------------------------------------------------------------------------
1 | console.log(require('path').relative('.', __dirname));
2 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/appveyor.yml:
--------------------------------------------------------------------------------
1 | environment:
2 | matrix:
3 | - nodejs_version: 0.10.32
4 | - nodejs_version: 0.11.13
5 |
6 | platform:
7 | - x64
8 | - x86
9 |
10 | shallow_clone: true
11 |
12 | install:
13 | #- ps: Update-NodeJsInstallation $env:nodejs_version $env:Platform
14 | # http://help.appveyor.com/discussions/problems/618-nodejs-10030-doesnt-work-on-appveyor-cant-find-npm#comment_34002825
15 | - ps: Install-Product node $env:nodejs_version $env:Platform
16 | - node --version
17 | - npm --version
18 | - SET PATH=%APPDATA%\npm;%PATH%
19 | - npm update -g npm
20 | - npm --version
21 | - node -e "console.log(process.arch);"
22 | - SET PATH=C:\Program Files (x86)\MSBuild\12.0\bin\;%PATH%
23 | - if "%PLATFORM%" == "x64" set PATH=C:\Python27-x64;%PATH%
24 | - if "%PLATFORM%" == "x86" SET PATH=C:\python27;%PATH%
25 | - npm install
26 | - npm test
27 | - .\scripts\test.bat
28 |
29 | build: off
30 | test: off
31 | deploy: off
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/bin/node-pre-gyp.cmd:
--------------------------------------------------------------------------------
1 | @echo off
2 | node "%~dp0\node-pre-gyp" %*
3 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/lib/clean.js:
--------------------------------------------------------------------------------
1 |
2 | module.exports = exports = clean
3 |
4 | exports.usage = 'Removes the entire folder containing the compiled .node module'
5 |
6 | var fs = require('fs')
7 | , rm = require('rimraf')
8 | , path = require('path')
9 | , exists = require('fs').exists || require('path').exists
10 | , log = require('npmlog')
11 | , versioning = require('./util/versioning.js')
12 |
13 | function clean (gyp, argv, callback) {
14 | var package_json = JSON.parse(fs.readFileSync('./package.json'));
15 | var opts = versioning.evaluate(package_json, gyp.opts);
16 | var to_delete = opts.module_path;
17 | exists(to_delete, function(found) {
18 | if (found) {
19 | if (!gyp.opts.silent_clean) console.log('['+package_json.name+'] Removing "%s"', to_delete);
20 | return rm(to_delete, callback);
21 | }
22 | return callback();
23 | })
24 | }
25 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/lib/pre-binding.js:
--------------------------------------------------------------------------------
1 | var fs = require('fs');
2 | var versioning = require('../lib/util/versioning.js')
3 | var existsSync = require('fs').existsSync || require('path').existsSync;
4 | var path = require('path');
5 |
6 | module.exports = exports;
7 |
8 | exports.usage = 'Finds the require path for the node-pre-gyp installed module'
9 |
10 | exports.validate = function(package_json) {
11 | versioning.validate_config(package_json);
12 | }
13 |
14 | exports.find = function(package_json_path,opts) {
15 | if (!existsSync(package_json_path)) {
16 | throw new Error("package.json does not exist at " + package_json_path);
17 | }
18 | var package_json = require(package_json_path);
19 | versioning.validate_config(package_json);
20 | opts = opts || {};
21 | if (!opts.module_root) opts.module_root = path.dirname(package_json_path);
22 | var meta = versioning.evaluate(package_json,opts);
23 | return meta.module;
24 | }
25 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/lib/rebuild.js:
--------------------------------------------------------------------------------
1 |
2 | module.exports = exports = rebuild
3 |
4 | exports.usage = 'Runs "clean" and "build" at once'
5 |
6 | function rebuild (gyp, argv, callback) {
7 | gyp.todo.unshift(
8 | { name: 'clean', args: [] }
9 | , { name: 'build', args: ['rebuild'] }
10 | )
11 | process.nextTick(callback)
12 | }
13 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/lib/reinstall.js:
--------------------------------------------------------------------------------
1 |
2 | module.exports = exports = rebuild
3 |
4 | exports.usage = 'Runs "clean" and "install" at once'
5 |
6 | function rebuild (gyp, argv, callback) {
7 | gyp.todo.unshift(
8 | { name: 'clean', args: [] }
9 | , { name: 'install', args: [] }
10 | )
11 | process.nextTick(callback)
12 | }
13 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/lib/reveal.js:
--------------------------------------------------------------------------------
1 |
2 | module.exports = exports = reveal
3 |
4 | exports.usage = 'Reveals data on the versioned binary'
5 |
6 | var fs = require('fs')
7 | , path = require('path')
8 | , log = require('npmlog')
9 | , versioning = require('./util/versioning.js');
10 |
11 | function unix_paths(key, val) {
12 | return val && val.replace ? val.replace(/\\/g, '/') : val;
13 | }
14 |
15 | function reveal(gyp, argv, callback) {
16 | var package_json = JSON.parse(fs.readFileSync('./package.json'));
17 | var opts = versioning.evaluate(package_json, gyp.opts);
18 | var hit = false;
19 | // if a second arg is passed look to see
20 | // if it is a known option
21 | var args = gyp.opts.argv.cooked;
22 | var find_val = args[args.indexOf('reveal')+1];
23 | if (find_val && opts.hasOwnProperty(find_val)) {
24 | console.log(opts[find_val].replace(/\\/g, '/'));
25 | hit = true;
26 | }
27 | // otherwise return all options as json
28 | if (!hit) {
29 | console.log(JSON.stringify(opts,unix_paths,2));
30 | }
31 | return callback();
32 | }
33 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/lib/util/nw-pre-gyp/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Node-webkit-based module test
6 |
22 |
23 |
24 | Node-webkit-based module test
25 |
26 |
27 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/lib/util/nw-pre-gyp/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "main": "index.html",
3 | "name": "nw-pre-gyp-module-test",
4 | "description": "Node-webkit-based module test.",
5 | "version": "0.0.1",
6 | "window": {
7 | "show": false
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/lib/util/s3_setup.js:
--------------------------------------------------------------------------------
1 |
2 | module.exports = exports;
3 |
4 | var url = require('url')
5 |
6 | var URI_REGEX="^(.*)\.(s3(?:-.*)?)\.amazonaws\.com$";
7 |
8 | module.exports.detect = function(to,config) {
9 | var uri = url.parse(to);
10 | var hostname_matches = uri.hostname.match(URI_REGEX);
11 |
12 | config.prefix = (!uri.pathname || uri.pathname == '/') ? '' : uri.pathname.replace('/','');
13 |
14 | if(!hostname_matches) {
15 | return;
16 | }
17 |
18 | if (!config.bucket) {
19 | config.bucket = hostname_matches[1];
20 | }
21 |
22 | if (!config.region) {
23 | var s3_domain = hostname_matches[2];
24 | if (s3_domain.slice(0,3) == 's3-' &&
25 | s3_domain.length >= 3) {
26 | // it appears the region is explicit in the url
27 | config.region = s3_domain.replace('s3-','');
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/.bin/mkdirp:
--------------------------------------------------------------------------------
1 | ../mkdirp/bin/cmd.js
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/.bin/nopt:
--------------------------------------------------------------------------------
1 | ../nopt/bin/nopt.js
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/.bin/rc:
--------------------------------------------------------------------------------
1 | ../rc/index.js
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/.bin/rimraf:
--------------------------------------------------------------------------------
1 | ../rimraf/bin.js
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/.bin/semver:
--------------------------------------------------------------------------------
1 | ../semver/bin/semver
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/mkdirp/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules/
2 | npm-debug.log
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/mkdirp/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.6
4 | - 0.8
5 | - "0.10"
6 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/mkdirp/bin/cmd.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | var mkdirp = require('../');
4 | var minimist = require('minimist');
5 | var fs = require('fs');
6 |
7 | var argv = minimist(process.argv.slice(2), {
8 | alias: { m: 'mode', h: 'help' },
9 | string: [ 'mode' ]
10 | });
11 | if (argv.help) {
12 | fs.createReadStream(__dirname + '/usage.txt').pipe(process.stdout);
13 | return;
14 | }
15 |
16 | var paths = argv._.slice();
17 | var mode = argv.mode ? parseInt(argv.mode, 8) : undefined;
18 |
19 | (function next () {
20 | if (paths.length === 0) return;
21 | var p = paths.shift();
22 |
23 | if (mode === undefined) mkdirp(p, cb)
24 | else mkdirp(p, mode, cb)
25 |
26 | function cb (err) {
27 | if (err) {
28 | console.error(err.message);
29 | process.exit(1);
30 | }
31 | else next();
32 | }
33 | })();
34 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/mkdirp/bin/usage.txt:
--------------------------------------------------------------------------------
1 | usage: mkdirp [DIR1,DIR2..] {OPTIONS}
2 |
3 | Create each supplied directory including any necessary parent directories that
4 | don't yet exist.
5 |
6 | If the directory already exists, do nothing.
7 |
8 | OPTIONS are:
9 |
10 | -m, --mode If a directory needs to be created, set the mode as an octal
11 | permission string.
12 |
13 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/mkdirp/examples/pow.js:
--------------------------------------------------------------------------------
1 | var mkdirp = require('mkdirp');
2 |
3 | mkdirp('/tmp/foo/bar/baz', function (err) {
4 | if (err) console.error(err)
5 | else console.log('pow!')
6 | });
7 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.8"
4 | - "0.10"
5 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/LICENSE:
--------------------------------------------------------------------------------
1 | This software is released under the MIT license:
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of
4 | this software and associated documentation files (the "Software"), to deal in
5 | the Software without restriction, including without limitation the rights to
6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
7 | the Software, and to permit persons to whom the Software is furnished to do so,
8 | subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in all
11 | copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
15 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
16 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
18 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/example/parse.js:
--------------------------------------------------------------------------------
1 | var argv = require('../')(process.argv.slice(2));
2 | console.dir(argv);
3 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/test/dash.js:
--------------------------------------------------------------------------------
1 | var parse = require('../');
2 | var test = require('tape');
3 |
4 | test('-', function (t) {
5 | t.plan(5);
6 | t.deepEqual(parse([ '-n', '-' ]), { n: '-', _: [] });
7 | t.deepEqual(parse([ '-' ]), { _: [ '-' ] });
8 | t.deepEqual(parse([ '-f-' ]), { f: '-', _: [] });
9 | t.deepEqual(
10 | parse([ '-b', '-' ], { boolean: 'b' }),
11 | { b: true, _: [ '-' ] }
12 | );
13 | t.deepEqual(
14 | parse([ '-s', '-' ], { string: 's' }),
15 | { s: '-', _: [] }
16 | );
17 | });
18 |
19 | test('-a -- b', function (t) {
20 | t.plan(3);
21 | t.deepEqual(parse([ '-a', '--', 'b' ]), { a: true, _: [ 'b' ] });
22 | t.deepEqual(parse([ '--a', '--', 'b' ]), { a: true, _: [ 'b' ] });
23 | t.deepEqual(parse([ '--a', '--', 'b' ]), { a: true, _: [ 'b' ] });
24 | });
25 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/test/default_bool.js:
--------------------------------------------------------------------------------
1 | var test = require('tape');
2 | var parse = require('../');
3 |
4 | test('boolean default true', function (t) {
5 | var argv = parse([], {
6 | boolean: 'sometrue',
7 | default: { sometrue: true }
8 | });
9 | t.equal(argv.sometrue, true);
10 | t.end();
11 | });
12 |
13 | test('boolean default false', function (t) {
14 | var argv = parse([], {
15 | boolean: 'somefalse',
16 | default: { somefalse: false }
17 | });
18 | t.equal(argv.somefalse, false);
19 | t.end();
20 | });
21 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/test/dotted.js:
--------------------------------------------------------------------------------
1 | var parse = require('../');
2 | var test = require('tape');
3 |
4 | test('dotted alias', function (t) {
5 | var argv = parse(['--a.b', '22'], {default: {'a.b': 11}, alias: {'a.b': 'aa.bb'}});
6 | t.equal(argv.a.b, 22);
7 | t.equal(argv.aa.bb, 22);
8 | t.end();
9 | });
10 |
11 | test('dotted default', function (t) {
12 | var argv = parse('', {default: {'a.b': 11}, alias: {'a.b': 'aa.bb'}});
13 | t.equal(argv.a.b, 11);
14 | t.equal(argv.aa.bb, 11);
15 | t.end();
16 | });
17 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/test/long.js:
--------------------------------------------------------------------------------
1 | var test = require('tape');
2 | var parse = require('../');
3 |
4 | test('long opts', function (t) {
5 | t.deepEqual(
6 | parse([ '--bool' ]),
7 | { bool : true, _ : [] },
8 | 'long boolean'
9 | );
10 | t.deepEqual(
11 | parse([ '--pow', 'xixxle' ]),
12 | { pow : 'xixxle', _ : [] },
13 | 'long capture sp'
14 | );
15 | t.deepEqual(
16 | parse([ '--pow=xixxle' ]),
17 | { pow : 'xixxle', _ : [] },
18 | 'long capture eq'
19 | );
20 | t.deepEqual(
21 | parse([ '--host', 'localhost', '--port', '555' ]),
22 | { host : 'localhost', port : 555, _ : [] },
23 | 'long captures sp'
24 | );
25 | t.deepEqual(
26 | parse([ '--host=localhost', '--port=555' ]),
27 | { host : 'localhost', port : 555, _ : [] },
28 | 'long captures eq'
29 | );
30 | t.end();
31 | });
32 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/test/parse_modified.js:
--------------------------------------------------------------------------------
1 | var parse = require('../');
2 | var test = require('tape');
3 |
4 | test('parse with modifier functions' , function (t) {
5 | t.plan(1);
6 |
7 | var argv = parse([ '-b', '123' ], { boolean: 'b' });
8 | t.deepEqual(argv, { b: true, _: ['123'] });
9 | });
10 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist/test/whitespace.js:
--------------------------------------------------------------------------------
1 | var parse = require('../');
2 | var test = require('tape');
3 |
4 | test('whitespace should be whitespace' , function (t) {
5 | t.plan(1);
6 | var x = parse([ '-x', '\t' ]).x;
7 | t.equal(x, '\t');
8 | });
9 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/mkdirp/test/clobber.js:
--------------------------------------------------------------------------------
1 | var mkdirp = require('../').mkdirp;
2 | var path = require('path');
3 | var fs = require('fs');
4 | var test = require('tap').test;
5 |
6 | var ps = [ '', 'tmp' ];
7 |
8 | for (var i = 0; i < 25; i++) {
9 | var dir = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
10 | ps.push(dir);
11 | }
12 |
13 | var file = ps.join('/');
14 |
15 | // a file in the way
16 | var itw = ps.slice(0, 3).join('/');
17 |
18 |
19 | test('clobber-pre', function (t) {
20 | console.error("about to write to "+itw)
21 | fs.writeFileSync(itw, 'I AM IN THE WAY, THE TRUTH, AND THE LIGHT.');
22 |
23 | fs.stat(itw, function (er, stat) {
24 | t.ifError(er)
25 | t.ok(stat && stat.isFile(), 'should be file')
26 | t.end()
27 | })
28 | })
29 |
30 | test('clobber', function (t) {
31 | t.plan(2);
32 | mkdirp(file, 0755, function (err) {
33 | t.ok(err);
34 | t.equal(err.code, 'ENOTDIR');
35 | t.end();
36 | });
37 | });
38 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/mkdirp/test/mkdirp.js:
--------------------------------------------------------------------------------
1 | var mkdirp = require('../');
2 | var path = require('path');
3 | var fs = require('fs');
4 | var exists = fs.exists || path.exists;
5 | var test = require('tap').test;
6 |
7 | test('woo', function (t) {
8 | t.plan(5);
9 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
10 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
11 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
12 |
13 | var file = '/tmp/' + [x,y,z].join('/');
14 |
15 | mkdirp(file, 0755, function (err) {
16 | t.ifError(err);
17 | exists(file, function (ex) {
18 | t.ok(ex, 'file created');
19 | fs.stat(file, function (err, stat) {
20 | t.ifError(err);
21 | t.equal(stat.mode & 0777, 0755);
22 | t.ok(stat.isDirectory(), 'target not a directory');
23 | })
24 | })
25 | });
26 | });
27 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/mkdirp/test/opts_fs.js:
--------------------------------------------------------------------------------
1 | var mkdirp = require('../');
2 | var path = require('path');
3 | var test = require('tap').test;
4 | var mockfs = require('mock-fs');
5 |
6 | test('opts.fs', function (t) {
7 | t.plan(5);
8 |
9 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
10 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
11 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
12 |
13 | var file = '/beep/boop/' + [x,y,z].join('/');
14 | var xfs = mockfs.fs();
15 |
16 | mkdirp(file, { fs: xfs, mode: 0755 }, function (err) {
17 | t.ifError(err);
18 | xfs.exists(file, function (ex) {
19 | t.ok(ex, 'created file');
20 | xfs.stat(file, function (err, stat) {
21 | t.ifError(err);
22 | t.equal(stat.mode & 0777, 0755);
23 | t.ok(stat.isDirectory(), 'target not a directory');
24 | });
25 | });
26 | });
27 | });
28 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/mkdirp/test/opts_fs_sync.js:
--------------------------------------------------------------------------------
1 | var mkdirp = require('../');
2 | var path = require('path');
3 | var test = require('tap').test;
4 | var mockfs = require('mock-fs');
5 |
6 | test('opts.fs sync', function (t) {
7 | t.plan(4);
8 |
9 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
10 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
11 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
12 |
13 | var file = '/beep/boop/' + [x,y,z].join('/');
14 | var xfs = mockfs.fs();
15 |
16 | mkdirp.sync(file, { fs: xfs, mode: 0755 });
17 | xfs.exists(file, function (ex) {
18 | t.ok(ex, 'created file');
19 | xfs.stat(file, function (err, stat) {
20 | t.ifError(err);
21 | t.equal(stat.mode & 0777, 0755);
22 | t.ok(stat.isDirectory(), 'target not a directory');
23 | });
24 | });
25 | });
26 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/mkdirp/test/perm.js:
--------------------------------------------------------------------------------
1 | var mkdirp = require('../');
2 | var path = require('path');
3 | var fs = require('fs');
4 | var exists = fs.exists || path.exists;
5 | var test = require('tap').test;
6 |
7 | test('async perm', function (t) {
8 | t.plan(5);
9 | var file = '/tmp/' + (Math.random() * (1<<30)).toString(16);
10 |
11 | mkdirp(file, 0755, function (err) {
12 | t.ifError(err);
13 | exists(file, function (ex) {
14 | t.ok(ex, 'file created');
15 | fs.stat(file, function (err, stat) {
16 | t.ifError(err);
17 | t.equal(stat.mode & 0777, 0755);
18 | t.ok(stat.isDirectory(), 'target not a directory');
19 | })
20 | })
21 | });
22 | });
23 |
24 | test('async root perm', function (t) {
25 | mkdirp('/tmp', 0755, function (err) {
26 | if (err) t.fail(err);
27 | t.end();
28 | });
29 | t.end();
30 | });
31 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/mkdirp/test/perm_sync.js:
--------------------------------------------------------------------------------
1 | var mkdirp = require('../');
2 | var path = require('path');
3 | var fs = require('fs');
4 | var exists = fs.exists || path.exists;
5 | var test = require('tap').test;
6 |
7 | test('sync perm', function (t) {
8 | t.plan(4);
9 | var file = '/tmp/' + (Math.random() * (1<<30)).toString(16) + '.json';
10 |
11 | mkdirp.sync(file, 0755);
12 | exists(file, function (ex) {
13 | t.ok(ex, 'file created');
14 | fs.stat(file, function (err, stat) {
15 | t.ifError(err);
16 | t.equal(stat.mode & 0777, 0755);
17 | t.ok(stat.isDirectory(), 'target not a directory');
18 | });
19 | });
20 | });
21 |
22 | test('sync root perm', function (t) {
23 | t.plan(3);
24 |
25 | var file = '/tmp';
26 | mkdirp.sync(file, 0755);
27 | exists(file, function (ex) {
28 | t.ok(ex, 'file created');
29 | fs.stat(file, function (err, stat) {
30 | t.ifError(err);
31 | t.ok(stat.isDirectory(), 'target not a directory');
32 | })
33 | });
34 | });
35 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/mkdirp/test/rel.js:
--------------------------------------------------------------------------------
1 | var mkdirp = require('../');
2 | var path = require('path');
3 | var fs = require('fs');
4 | var exists = fs.exists || path.exists;
5 | var test = require('tap').test;
6 |
7 | test('rel', function (t) {
8 | t.plan(5);
9 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
10 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
11 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
12 |
13 | var cwd = process.cwd();
14 | process.chdir('/tmp');
15 |
16 | var file = [x,y,z].join('/');
17 |
18 | mkdirp(file, 0755, function (err) {
19 | t.ifError(err);
20 | exists(file, function (ex) {
21 | t.ok(ex, 'file created');
22 | fs.stat(file, function (err, stat) {
23 | t.ifError(err);
24 | process.chdir(cwd);
25 | t.equal(stat.mode & 0777, 0755);
26 | t.ok(stat.isDirectory(), 'target not a directory');
27 | })
28 | })
29 | });
30 | });
31 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/mkdirp/test/return.js:
--------------------------------------------------------------------------------
1 | var mkdirp = require('../');
2 | var path = require('path');
3 | var fs = require('fs');
4 | var test = require('tap').test;
5 |
6 | test('return value', function (t) {
7 | t.plan(4);
8 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
9 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
10 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
11 |
12 | var file = '/tmp/' + [x,y,z].join('/');
13 |
14 | // should return the first dir created.
15 | // By this point, it would be profoundly surprising if /tmp didn't
16 | // already exist, since every other test makes things in there.
17 | mkdirp(file, function (err, made) {
18 | t.ifError(err);
19 | t.equal(made, '/tmp/' + x);
20 | mkdirp(file, function (err, made) {
21 | t.ifError(err);
22 | t.equal(made, null);
23 | });
24 | });
25 | });
26 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/mkdirp/test/return_sync.js:
--------------------------------------------------------------------------------
1 | var mkdirp = require('../');
2 | var path = require('path');
3 | var fs = require('fs');
4 | var test = require('tap').test;
5 |
6 | test('return value', function (t) {
7 | t.plan(2);
8 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
9 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
10 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
11 |
12 | var file = '/tmp/' + [x,y,z].join('/');
13 |
14 | // should return the first dir created.
15 | // By this point, it would be profoundly surprising if /tmp didn't
16 | // already exist, since every other test makes things in there.
17 | // Note that this will throw on failure, which will fail the test.
18 | var made = mkdirp.sync(file);
19 | t.equal(made, '/tmp/' + x);
20 |
21 | // making the same file again should have no effect.
22 | made = mkdirp.sync(file);
23 | t.equal(made, null);
24 | });
25 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/mkdirp/test/root.js:
--------------------------------------------------------------------------------
1 | var mkdirp = require('../');
2 | var path = require('path');
3 | var fs = require('fs');
4 | var test = require('tap').test;
5 |
6 | test('root', function (t) {
7 | // '/' on unix, 'c:/' on windows.
8 | var file = path.resolve('/');
9 |
10 | mkdirp(file, 0755, function (err) {
11 | if (err) throw err
12 | fs.stat(file, function (er, stat) {
13 | if (er) throw er
14 | t.ok(stat.isDirectory(), 'target is a directory');
15 | t.end();
16 | })
17 | });
18 | });
19 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/mkdirp/test/sync.js:
--------------------------------------------------------------------------------
1 | var mkdirp = require('../');
2 | var path = require('path');
3 | var fs = require('fs');
4 | var exists = fs.exists || path.exists;
5 | var test = require('tap').test;
6 |
7 | test('sync', function (t) {
8 | t.plan(4);
9 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
10 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
11 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
12 |
13 | var file = '/tmp/' + [x,y,z].join('/');
14 |
15 | try {
16 | mkdirp.sync(file, 0755);
17 | } catch (err) {
18 | t.fail(err);
19 | return t.end();
20 | }
21 |
22 | exists(file, function (ex) {
23 | t.ok(ex, 'file created');
24 | fs.stat(file, function (err, stat) {
25 | t.ifError(err);
26 | t.equal(stat.mode & 0777, 0755);
27 | t.ok(stat.isDirectory(), 'target not a directory');
28 | });
29 | });
30 | });
31 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/mkdirp/test/umask.js:
--------------------------------------------------------------------------------
1 | var mkdirp = require('../');
2 | var path = require('path');
3 | var fs = require('fs');
4 | var exists = fs.exists || path.exists;
5 | var test = require('tap').test;
6 |
7 | test('implicit mode from umask', function (t) {
8 | t.plan(5);
9 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
10 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
11 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
12 |
13 | var file = '/tmp/' + [x,y,z].join('/');
14 |
15 | mkdirp(file, function (err) {
16 | t.ifError(err);
17 | exists(file, function (ex) {
18 | t.ok(ex, 'file created');
19 | fs.stat(file, function (err, stat) {
20 | t.ifError(err);
21 | t.equal(stat.mode & 0777, 0777 & (~process.umask()));
22 | t.ok(stat.isDirectory(), 'target not a directory');
23 | });
24 | })
25 | });
26 | });
27 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/mkdirp/test/umask_sync.js:
--------------------------------------------------------------------------------
1 | var mkdirp = require('../');
2 | var path = require('path');
3 | var fs = require('fs');
4 | var exists = fs.exists || path.exists;
5 | var test = require('tap').test;
6 |
7 | test('umask sync modes', function (t) {
8 | t.plan(4);
9 | var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
10 | var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
11 | var z = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
12 |
13 | var file = '/tmp/' + [x,y,z].join('/');
14 |
15 | try {
16 | mkdirp.sync(file);
17 | } catch (err) {
18 | t.fail(err);
19 | return t.end();
20 | }
21 |
22 | exists(file, function (ex) {
23 | t.ok(ex, 'file created');
24 | fs.stat(file, function (err, stat) {
25 | t.ifError(err);
26 | t.equal(stat.mode & 0777, (0777 & (~process.umask())));
27 | t.ok(stat.isDirectory(), 'target not a directory');
28 | });
29 | });
30 | });
31 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/nopt/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/nopt/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright 2009, 2010, 2011 Isaac Z. Schlueter.
2 | All rights reserved.
3 |
4 | Permission is hereby granted, free of charge, to any person
5 | obtaining a copy of this software and associated documentation
6 | files (the "Software"), to deal in the Software without
7 | restriction, including without limitation the rights to use,
8 | copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the
10 | Software is furnished to do so, subject to the following
11 | conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
18 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
20 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
21 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23 | OTHER DEALINGS IN THE SOFTWARE.
24 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/nopt/examples/my-program.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | //process.env.DEBUG_NOPT = 1
4 |
5 | // my-program.js
6 | var nopt = require("../lib/nopt")
7 | , Stream = require("stream").Stream
8 | , path = require("path")
9 | , knownOpts = { "foo" : [String, null]
10 | , "bar" : [Stream, Number]
11 | , "baz" : path
12 | , "bloo" : [ "big", "medium", "small" ]
13 | , "flag" : Boolean
14 | , "pick" : Boolean
15 | }
16 | , shortHands = { "foofoo" : ["--foo", "Mr. Foo"]
17 | , "b7" : ["--bar", "7"]
18 | , "m" : ["--bloo", "medium"]
19 | , "p" : ["--pick"]
20 | , "f" : ["--flag", "true"]
21 | , "g" : ["--flag"]
22 | , "s" : "--flag"
23 | }
24 | // everything is optional.
25 | // knownOpts and shorthands default to {}
26 | // arg list defaults to process.argv
27 | // slice defaults to 2
28 | , parsed = nopt(knownOpts, shortHands, process.argv, 2)
29 |
30 | console.log("parsed =\n"+ require("util").inspect(parsed))
31 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | To get started, sign the
3 | Contributor License Agreement.
4 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/README.md:
--------------------------------------------------------------------------------
1 | # abbrev-js
2 |
3 | Just like [ruby's Abbrev](http://apidock.com/ruby/Abbrev).
4 |
5 | Usage:
6 |
7 | var abbrev = require("abbrev");
8 | abbrev("foo", "fool", "folding", "flop");
9 |
10 | // returns:
11 | { fl: 'flop'
12 | , flo: 'flop'
13 | , flop: 'flop'
14 | , fol: 'folding'
15 | , fold: 'folding'
16 | , foldi: 'folding'
17 | , foldin: 'folding'
18 | , folding: 'folding'
19 | , foo: 'foo'
20 | , fool: 'fool'
21 | }
22 |
23 | This is handy for command-line scripts, or other cases where you want to be able to accept shorthands.
24 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/npmlog/.npmrc:
--------------------------------------------------------------------------------
1 | save-prefix = ~
2 | proprietary-attribs = false
3 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/.jshintrc:
--------------------------------------------------------------------------------
1 | {
2 | "laxcomma": true,
3 | "asi": true
4 | }
5 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/History.md:
--------------------------------------------------------------------------------
1 |
2 | 0.3.0 / 2014-05-09
3 | ==================
4 |
5 | * package: remove "test" script and "devDependencies"
6 | * package: remove "engines" section
7 | * pacakge: remove "bin" section
8 | * package: beautify
9 | * examples: remove `starwars` example (#15)
10 | * Documented goto, horizontalAbsolute, and eraseLine methods in README.md (#12, @Jammerwoch)
11 | * add `.jshintrc` file
12 |
13 | < 0.3.0
14 | =======
15 |
16 | * Prehistoric
17 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/examples/beep/index.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | /**
4 | * Invokes the terminal "beep" sound once per second on every exact second.
5 | */
6 |
7 | process.title = 'beep'
8 |
9 | var cursor = require('../../')(process.stdout)
10 |
11 | function beep () {
12 | cursor.beep()
13 | setTimeout(beep, 1000 - (new Date()).getMilliseconds())
14 | }
15 |
16 | setTimeout(beep, 1000 - (new Date()).getMilliseconds())
17 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/examples/clear/index.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | /**
4 | * Like GNU ncurses "clear" command.
5 | * https://github.com/mscdex/node-ncurses/blob/master/deps/ncurses/progs/clear.c
6 | */
7 |
8 | process.title = 'clear'
9 |
10 | function lf () { return '\n' }
11 |
12 | require('../../')(process.stdout)
13 | .write(Array.apply(null, Array(process.stdout.getWindowSize()[1])).map(lf).join(''))
14 | .eraseData(2)
15 | .goto(1, 1)
16 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/ansi/examples/cursorPosition.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | var tty = require('tty')
4 | var cursor = require('../')(process.stdout)
5 |
6 | // listen for the queryPosition report on stdin
7 | process.stdin.resume()
8 | raw(true)
9 |
10 | process.stdin.once('data', function (b) {
11 | var match = /\[(\d+)\;(\d+)R$/.exec(b.toString())
12 | if (match) {
13 | var xy = match.slice(1, 3).reverse().map(Number)
14 | console.error(xy)
15 | }
16 |
17 | // cleanup and close stdin
18 | raw(false)
19 | process.stdin.pause()
20 | })
21 |
22 |
23 | // send the query position request code to stdout
24 | cursor.queryPosition()
25 |
26 | function raw (mode) {
27 | if (process.stdin.setRawMode) {
28 | process.stdin.setRawMode(mode)
29 | } else {
30 | tty.setRawMode(mode)
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/rc/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | node_modules/*
3 | npm_debug.log
4 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/rc/LICENSE.APACHE2:
--------------------------------------------------------------------------------
1 | Apache License, Version 2.0
2 |
3 | Copyright (c) 2011 Dominic Tarr
4 |
5 | Licensed under the Apache License, Version 2.0 (the "License");
6 | you may not use this file except in compliance with the License.
7 | You may obtain a copy of the License at
8 |
9 | http://www.apache.org/licenses/LICENSE-2.0
10 |
11 | Unless required by applicable law or agreed to in writing, software
12 | distributed under the License is distributed on an "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | See the License for the specific language governing permissions and
15 | limitations under the License.
16 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/rc/LICENSE.MIT:
--------------------------------------------------------------------------------
1 | The MIT License
2 |
3 | Copyright (c) 2011 Dominic Tarr
4 |
5 | Permission is hereby granted, free of charge,
6 | to any person obtaining a copy of this software and
7 | associated documentation files (the "Software"), to
8 | deal in the Software without restriction, including
9 | without limitation the rights to use, copy, modify,
10 | merge, publish, distribute, sublicense, and/or sell
11 | copies of the Software, and to permit persons to whom
12 | the Software is furnished to do so,
13 | subject to the following conditions:
14 |
15 | The above copyright notice and this permission notice
16 | shall be included in all copies or substantial portions of the Software.
17 |
18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
20 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
21 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
22 | ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
23 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/rc/browser.js:
--------------------------------------------------------------------------------
1 |
2 | // when this is loaded into the browser,
3 | // just use the defaults...
4 |
5 | module.exports = function (name, defaults) {
6 | return defaults
7 | }
8 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/rc/node_modules/deep-extend/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/rc/node_modules/deep-extend/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2013 Viacheslav Lotsmanov
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of
6 | this software and associated documentation files (the "Software"), to deal in
7 | the Software without restriction, including without limitation the rights to
8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9 | the Software, and to permit persons to whom the Software is furnished to do so,
10 | subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/rc/node_modules/deep-extend/README.md:
--------------------------------------------------------------------------------
1 | Node.JS module “Deep Extend”
2 | ============================
3 |
4 | Recursive object extending.
5 |
6 | Install
7 | -----
8 |
9 | npm install deep-extend
10 |
11 | Usage
12 | -----
13 |
14 | var deepExtend = require('deep-extend');
15 | var obj1 = {
16 | a: 1,
17 | b: 2,
18 | d: {
19 | a: 1,
20 | b: [],
21 | c: { test1: 123, test2: 321 }
22 | },
23 | f: 5,
24 | g: 123
25 | };
26 | var obj2 = {
27 | b: 3,
28 | c: 5,
29 | d: {
30 | b: { first: 'one', second: 'two' },
31 | c: { test2: 222 }
32 | },
33 | e: { one: 1, two: 2 },
34 | f: [],
35 | g: (void 0)
36 | };
37 |
38 | deepExtend(obj1, obj2);
39 |
40 | console.log(obj1);
41 | /*
42 | { a: 1,
43 | b: 3,
44 | d:
45 | { a: 1,
46 | b: { first: 'one', second: 'two' },
47 | c: { test1: 123, test2: 222 } },
48 | f: [],
49 | c: 5,
50 | e: { one: 1, two: 2 },
51 | g: undefined }
52 | */
53 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/rc/node_modules/deep-extend/test/mocha.opts:
--------------------------------------------------------------------------------
1 | --reporter spec
2 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/rc/node_modules/ini/.npm-completion.tmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/basenetwork/base.server-node/8aa9d3c1fadd34d2e4a97401bbad5add7717f4a3/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/rc/node_modules/ini/.npm-completion.tmp
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/rc/node_modules/ini/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/rc/node_modules/ini/test/bar.js:
--------------------------------------------------------------------------------
1 | //test that parse(stringify(obj) deepEqu
2 |
3 | var ini = require('../')
4 | var test = require('tap').test
5 |
6 | var data = {
7 | 'number': {count: 10},
8 | 'string': {drink: 'white russian'},
9 | 'boolean': {isTrue: true},
10 | 'nested boolean': {theDude: {abides: true, rugCount: 1}}
11 | }
12 |
13 |
14 | test('parse(stringify(x)) deepEqual x', function (t) {
15 |
16 | for (var k in data) {
17 | var s = ini.stringify(data[k])
18 | console.log(s, data[k])
19 | t.deepEqual(ini.parse(s), data[k])
20 | }
21 |
22 | t.end()
23 | })
24 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/rc/node_modules/ini/test/fixtures/foo.ini:
--------------------------------------------------------------------------------
1 | o = p
2 |
3 | a with spaces = b c
4 |
5 | ; wrap in quotes to JSON-decode and preserve spaces
6 | " xa n p " = "\"\r\nyoyoyo\r\r\n"
7 |
8 | ; wrap in quotes to get a key with a bracket, not a section.
9 | "[disturbing]" = hey you never know
10 |
11 | ; Test arrays
12 | zr[] = deedee
13 | ar[] = one
14 | ar[] = three
15 | ; This should be included in the array
16 | ar = this is included
17 |
18 | ; Test resetting of a value (and not turn it into an array)
19 | br = cold
20 | br = warm
21 |
22 | ; a section
23 | [a]
24 | av = a val
25 | e = { o: p, a: { av: a val, b: { c: { e: "this [value]" } } } }
26 | j = "{ o: "p", a: { av: "a val", b: { c: { e: "this [value]" } } } }"
27 | "[]" = a square?
28 |
29 | ; Nested array
30 | cr[] = four
31 | cr[] = eight
32 |
33 | ; nested child without middle parent
34 | ; should create otherwise-empty a.b
35 | [a.b.c]
36 | e = 1
37 | j = 2
38 |
39 | ; dots in the section name should be literally interpreted
40 | [x\.y\.z]
41 | x.y.z = xyz
42 |
43 | [x\.y\.z.a\.b\.c]
44 | a.b.c = abc
45 |
46 | ; this next one is not a comment! it's escaped!
47 | nocomment = this\; this is not a comment
48 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.8"
4 | - "0.10"
5 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/LICENSE:
--------------------------------------------------------------------------------
1 | This software is released under the MIT license:
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of
4 | this software and associated documentation files (the "Software"), to deal in
5 | the Software without restriction, including without limitation the rights to
6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
7 | the Software, and to permit persons to whom the Software is furnished to do so,
8 | subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in all
11 | copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
15 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
16 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
18 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/example/parse.js:
--------------------------------------------------------------------------------
1 | var argv = require('../')(process.argv.slice(2));
2 | console.dir(argv);
3 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/dash.js:
--------------------------------------------------------------------------------
1 | var parse = require('../');
2 | var test = require('tape');
3 |
4 | test('-', function (t) {
5 | t.plan(5);
6 | t.deepEqual(parse([ '-n', '-' ]), { n: '-', _: [] });
7 | t.deepEqual(parse([ '-' ]), { _: [ '-' ] });
8 | t.deepEqual(parse([ '-f-' ]), { f: '-', _: [] });
9 | t.deepEqual(
10 | parse([ '-b', '-' ], { boolean: 'b' }),
11 | { b: true, _: [ '-' ] }
12 | );
13 | t.deepEqual(
14 | parse([ '-s', '-' ], { string: 's' }),
15 | { s: '-', _: [] }
16 | );
17 | });
18 |
19 | test('-a -- b', function (t) {
20 | t.plan(3);
21 | t.deepEqual(parse([ '-a', '--', 'b' ]), { a: true, _: [ 'b' ] });
22 | t.deepEqual(parse([ '--a', '--', 'b' ]), { a: true, _: [ 'b' ] });
23 | t.deepEqual(parse([ '--a', '--', 'b' ]), { a: true, _: [ 'b' ] });
24 | });
25 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/default_bool.js:
--------------------------------------------------------------------------------
1 | var test = require('tape');
2 | var parse = require('../');
3 |
4 | test('boolean default true', function (t) {
5 | var argv = parse([], {
6 | boolean: 'sometrue',
7 | default: { sometrue: true }
8 | });
9 | t.equal(argv.sometrue, true);
10 | t.end();
11 | });
12 |
13 | test('boolean default false', function (t) {
14 | var argv = parse([], {
15 | boolean: 'somefalse',
16 | default: { somefalse: false }
17 | });
18 | t.equal(argv.somefalse, false);
19 | t.end();
20 | });
21 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/dotted.js:
--------------------------------------------------------------------------------
1 | var parse = require('../');
2 | var test = require('tape');
3 |
4 | test('dotted alias', function (t) {
5 | var argv = parse(['--a.b', '22'], {default: {'a.b': 11}, alias: {'a.b': 'aa.bb'}});
6 | t.equal(argv.a.b, 22);
7 | t.equal(argv.aa.bb, 22);
8 | t.end();
9 | });
10 |
11 | test('dotted default', function (t) {
12 | var argv = parse('', {default: {'a.b': 11}, alias: {'a.b': 'aa.bb'}});
13 | t.equal(argv.a.b, 11);
14 | t.equal(argv.aa.bb, 11);
15 | t.end();
16 | });
17 |
18 | test('dotted default with no alias', function (t) {
19 | var argv = parse('', {default: {'a.b': 11}});
20 | t.equal(argv.a.b, 11);
21 | t.end();
22 | });
23 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/long.js:
--------------------------------------------------------------------------------
1 | var test = require('tape');
2 | var parse = require('../');
3 |
4 | test('long opts', function (t) {
5 | t.deepEqual(
6 | parse([ '--bool' ]),
7 | { bool : true, _ : [] },
8 | 'long boolean'
9 | );
10 | t.deepEqual(
11 | parse([ '--pow', 'xixxle' ]),
12 | { pow : 'xixxle', _ : [] },
13 | 'long capture sp'
14 | );
15 | t.deepEqual(
16 | parse([ '--pow=xixxle' ]),
17 | { pow : 'xixxle', _ : [] },
18 | 'long capture eq'
19 | );
20 | t.deepEqual(
21 | parse([ '--host', 'localhost', '--port', '555' ]),
22 | { host : 'localhost', port : 555, _ : [] },
23 | 'long captures sp'
24 | );
25 | t.deepEqual(
26 | parse([ '--host=localhost', '--port=555' ]),
27 | { host : 'localhost', port : 555, _ : [] },
28 | 'long captures eq'
29 | );
30 | t.end();
31 | });
32 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/num.js:
--------------------------------------------------------------------------------
1 | var parse = require('../');
2 | var test = require('tape');
3 |
4 | test('nums', function (t) {
5 | var argv = parse([
6 | '-x', '1234',
7 | '-y', '5.67',
8 | '-z', '1e7',
9 | '-w', '10f',
10 | '--hex', '0xdeadbeef',
11 | '789'
12 | ]);
13 | t.deepEqual(argv, {
14 | x : 1234,
15 | y : 5.67,
16 | z : 1e7,
17 | w : '10f',
18 | hex : 0xdeadbeef,
19 | _ : [ 789 ]
20 | });
21 | t.deepEqual(typeof argv.x, 'number');
22 | t.deepEqual(typeof argv.y, 'number');
23 | t.deepEqual(typeof argv.z, 'number');
24 | t.deepEqual(typeof argv.w, 'string');
25 | t.deepEqual(typeof argv.hex, 'number');
26 | t.deepEqual(typeof argv._[0], 'number');
27 | t.end();
28 | });
29 |
30 | test('already a number', function (t) {
31 | var argv = parse([ '-x', 1234, 789 ]);
32 | t.deepEqual(argv, { x : 1234, _ : [ 789 ] });
33 | t.deepEqual(typeof argv.x, 'number');
34 | t.deepEqual(typeof argv._[0], 'number');
35 | t.end();
36 | });
37 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/parse_modified.js:
--------------------------------------------------------------------------------
1 | var parse = require('../');
2 | var test = require('tape');
3 |
4 | test('parse with modifier functions' , function (t) {
5 | t.plan(1);
6 |
7 | var argv = parse([ '-b', '123' ], { boolean: 'b' });
8 | t.deepEqual(argv, { b: true, _: ['123'] });
9 | });
10 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist/test/whitespace.js:
--------------------------------------------------------------------------------
1 | var parse = require('../');
2 | var test = require('tape');
3 |
4 | test('whitespace should be whitespace' , function (t) {
5 | t.plan(1);
6 | var x = parse([ '-x', '\t' ]).x;
7 | t.equal(x, '\t');
8 | });
9 |
--------------------------------------------------------------------------------
/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/rc/node_modules/strip-json-comments/cli.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | 'use strict';
3 | var fs = require('fs');
4 | var strip = require('./strip-json-comments');
5 | var input = process.argv[2];
6 |
7 |
8 | function getStdin(cb) {
9 | var ret = '';
10 |
11 | process.stdin.setEncoding('utf8');
12 |
13 | process.stdin.on('data', function (data) {
14 | ret += data;
15 | });
16 |
17 | process.stdin.on('end', function () {
18 | cb(ret);
19 | });
20 | }
21 |
22 | if (process.argv.indexOf('-h') !== -1 || process.argv.indexOf('--help') !== -1) {
23 | console.log('strip-json-comments >