├── .github
├── FUNDING.yml
└── workflows
│ └── codeql-analysis.yml
├── .history
├── README_20200611111034.md
├── README_20200611111132.md
├── README_20200611111150.md
└── README_20200611111205.md
├── .vscode
└── settings.json
├── App
├── .gitignore
├── README.md
├── cloudfunctions
│ ├── DeleteMessage
│ │ ├── index.js
│ │ └── package.json
│ ├── DeleteMyLike
│ │ ├── index.js
│ │ └── package.json
│ ├── Deletes
│ │ ├── index.js
│ │ └── package.json
│ ├── FaceAPI
│ │ ├── index.js
│ │ ├── node_modules
│ │ │ ├── .bin
│ │ │ │ ├── pbjs
│ │ │ │ ├── pbjs.cmd
│ │ │ │ ├── pbts
│ │ │ │ ├── pbts.cmd
│ │ │ │ ├── sshpk-conv
│ │ │ │ ├── sshpk-conv.cmd
│ │ │ │ ├── sshpk-sign
│ │ │ │ ├── sshpk-sign.cmd
│ │ │ │ ├── sshpk-verify
│ │ │ │ ├── sshpk-verify.cmd
│ │ │ │ ├── uuid
│ │ │ │ └── uuid.cmd
│ │ │ ├── @protobufjs
│ │ │ │ ├── aspromise
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── tests
│ │ │ │ │ │ └── index.js
│ │ │ │ ├── base64
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── tests
│ │ │ │ │ │ └── index.js
│ │ │ │ ├── codegen
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── tests
│ │ │ │ │ │ └── index.js
│ │ │ │ ├── eventemitter
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── tests
│ │ │ │ │ │ └── index.js
│ │ │ │ ├── fetch
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── tests
│ │ │ │ │ │ └── index.js
│ │ │ │ ├── float
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── bench
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ └── suite.js
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── tests
│ │ │ │ │ │ └── index.js
│ │ │ │ ├── inquire
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── tests
│ │ │ │ │ │ ├── data
│ │ │ │ │ │ ├── array.js
│ │ │ │ │ │ ├── emptyArray.js
│ │ │ │ │ │ ├── emptyObject.js
│ │ │ │ │ │ └── object.js
│ │ │ │ │ │ └── index.js
│ │ │ │ ├── path
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── tests
│ │ │ │ │ │ └── index.js
│ │ │ │ ├── pool
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── tests
│ │ │ │ │ │ └── index.js
│ │ │ │ └── utf8
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── package.json
│ │ │ │ │ └── tests
│ │ │ │ │ ├── data
│ │ │ │ │ └── utf8.txt
│ │ │ │ │ └── index.js
│ │ │ ├── @types
│ │ │ │ ├── long
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ └── package.json
│ │ │ │ └── node
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── assert.d.ts
│ │ │ │ │ ├── async_hooks.d.ts
│ │ │ │ │ ├── base.d.ts
│ │ │ │ │ ├── buffer.d.ts
│ │ │ │ │ ├── child_process.d.ts
│ │ │ │ │ ├── cluster.d.ts
│ │ │ │ │ ├── console.d.ts
│ │ │ │ │ ├── constants.d.ts
│ │ │ │ │ ├── crypto.d.ts
│ │ │ │ │ ├── dgram.d.ts
│ │ │ │ │ ├── dns.d.ts
│ │ │ │ │ ├── domain.d.ts
│ │ │ │ │ ├── events.d.ts
│ │ │ │ │ ├── fs.d.ts
│ │ │ │ │ ├── globals.d.ts
│ │ │ │ │ ├── http.d.ts
│ │ │ │ │ ├── http2.d.ts
│ │ │ │ │ ├── https.d.ts
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ ├── inspector.d.ts
│ │ │ │ │ ├── module.d.ts
│ │ │ │ │ ├── net.d.ts
│ │ │ │ │ ├── os.d.ts
│ │ │ │ │ ├── package.json
│ │ │ │ │ ├── path.d.ts
│ │ │ │ │ ├── perf_hooks.d.ts
│ │ │ │ │ ├── process.d.ts
│ │ │ │ │ ├── punycode.d.ts
│ │ │ │ │ ├── querystring.d.ts
│ │ │ │ │ ├── readline.d.ts
│ │ │ │ │ ├── repl.d.ts
│ │ │ │ │ ├── stream.d.ts
│ │ │ │ │ ├── string_decoder.d.ts
│ │ │ │ │ ├── timers.d.ts
│ │ │ │ │ ├── tls.d.ts
│ │ │ │ │ ├── trace_events.d.ts
│ │ │ │ │ ├── ts3.2
│ │ │ │ │ ├── globals.d.ts
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ └── util.d.ts
│ │ │ │ │ ├── tty.d.ts
│ │ │ │ │ ├── url.d.ts
│ │ │ │ │ ├── util.d.ts
│ │ │ │ │ ├── v8.d.ts
│ │ │ │ │ ├── vm.d.ts
│ │ │ │ │ ├── worker_threads.d.ts
│ │ │ │ │ └── zlib.d.ts
│ │ │ ├── ajv
│ │ │ │ ├── .tonic_example.js
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── dist
│ │ │ │ │ ├── ajv.bundle.js
│ │ │ │ │ ├── ajv.min.js
│ │ │ │ │ └── ajv.min.js.map
│ │ │ │ ├── lib
│ │ │ │ │ ├── ajv.d.ts
│ │ │ │ │ ├── ajv.js
│ │ │ │ │ ├── cache.js
│ │ │ │ │ ├── compile
│ │ │ │ │ │ ├── async.js
│ │ │ │ │ │ ├── equal.js
│ │ │ │ │ │ ├── error_classes.js
│ │ │ │ │ │ ├── formats.js
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ ├── resolve.js
│ │ │ │ │ │ ├── rules.js
│ │ │ │ │ │ ├── schema_obj.js
│ │ │ │ │ │ ├── ucs2length.js
│ │ │ │ │ │ └── util.js
│ │ │ │ │ ├── data.js
│ │ │ │ │ ├── dot
│ │ │ │ │ │ ├── _limit.jst
│ │ │ │ │ │ ├── _limitItems.jst
│ │ │ │ │ │ ├── _limitLength.jst
│ │ │ │ │ │ ├── _limitProperties.jst
│ │ │ │ │ │ ├── allOf.jst
│ │ │ │ │ │ ├── anyOf.jst
│ │ │ │ │ │ ├── coerce.def
│ │ │ │ │ │ ├── comment.jst
│ │ │ │ │ │ ├── const.jst
│ │ │ │ │ │ ├── contains.jst
│ │ │ │ │ │ ├── custom.jst
│ │ │ │ │ │ ├── defaults.def
│ │ │ │ │ │ ├── definitions.def
│ │ │ │ │ │ ├── dependencies.jst
│ │ │ │ │ │ ├── enum.jst
│ │ │ │ │ │ ├── errors.def
│ │ │ │ │ │ ├── format.jst
│ │ │ │ │ │ ├── if.jst
│ │ │ │ │ │ ├── items.jst
│ │ │ │ │ │ ├── missing.def
│ │ │ │ │ │ ├── multipleOf.jst
│ │ │ │ │ │ ├── not.jst
│ │ │ │ │ │ ├── oneOf.jst
│ │ │ │ │ │ ├── pattern.jst
│ │ │ │ │ │ ├── properties.jst
│ │ │ │ │ │ ├── propertyNames.jst
│ │ │ │ │ │ ├── ref.jst
│ │ │ │ │ │ ├── required.jst
│ │ │ │ │ │ ├── uniqueItems.jst
│ │ │ │ │ │ └── validate.jst
│ │ │ │ │ ├── dotjs
│ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ ├── _limit.js
│ │ │ │ │ │ ├── _limitItems.js
│ │ │ │ │ │ ├── _limitLength.js
│ │ │ │ │ │ ├── _limitProperties.js
│ │ │ │ │ │ ├── allOf.js
│ │ │ │ │ │ ├── anyOf.js
│ │ │ │ │ │ ├── comment.js
│ │ │ │ │ │ ├── const.js
│ │ │ │ │ │ ├── contains.js
│ │ │ │ │ │ ├── custom.js
│ │ │ │ │ │ ├── dependencies.js
│ │ │ │ │ │ ├── enum.js
│ │ │ │ │ │ ├── format.js
│ │ │ │ │ │ ├── if.js
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ ├── items.js
│ │ │ │ │ │ ├── multipleOf.js
│ │ │ │ │ │ ├── not.js
│ │ │ │ │ │ ├── oneOf.js
│ │ │ │ │ │ ├── pattern.js
│ │ │ │ │ │ ├── properties.js
│ │ │ │ │ │ ├── propertyNames.js
│ │ │ │ │ │ ├── ref.js
│ │ │ │ │ │ ├── required.js
│ │ │ │ │ │ ├── uniqueItems.js
│ │ │ │ │ │ └── validate.js
│ │ │ │ │ ├── keyword.js
│ │ │ │ │ └── refs
│ │ │ │ │ │ ├── data.json
│ │ │ │ │ │ ├── json-schema-draft-04.json
│ │ │ │ │ │ ├── json-schema-draft-06.json
│ │ │ │ │ │ ├── json-schema-draft-07.json
│ │ │ │ │ │ └── json-schema-secure.json
│ │ │ │ ├── package.json
│ │ │ │ └── scripts
│ │ │ │ │ ├── .eslintrc.yml
│ │ │ │ │ ├── bundle.js
│ │ │ │ │ ├── compile-dots.js
│ │ │ │ │ ├── info
│ │ │ │ │ ├── prepare-tests
│ │ │ │ │ ├── publish-built-version
│ │ │ │ │ └── travis-gh-pages
│ │ │ ├── asn1
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── lib
│ │ │ │ │ ├── ber
│ │ │ │ │ │ ├── errors.js
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ ├── reader.js
│ │ │ │ │ │ ├── types.js
│ │ │ │ │ │ └── writer.js
│ │ │ │ │ └── index.js
│ │ │ │ └── package.json
│ │ │ ├── assert-plus
│ │ │ │ ├── AUTHORS
│ │ │ │ ├── CHANGES.md
│ │ │ │ ├── README.md
│ │ │ │ ├── assert.js
│ │ │ │ └── package.json
│ │ │ ├── asynckit
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── bench.js
│ │ │ │ ├── index.js
│ │ │ │ ├── lib
│ │ │ │ │ ├── abort.js
│ │ │ │ │ ├── async.js
│ │ │ │ │ ├── defer.js
│ │ │ │ │ ├── iterate.js
│ │ │ │ │ ├── readable_asynckit.js
│ │ │ │ │ ├── readable_parallel.js
│ │ │ │ │ ├── readable_serial.js
│ │ │ │ │ ├── readable_serial_ordered.js
│ │ │ │ │ ├── state.js
│ │ │ │ │ ├── streamify.js
│ │ │ │ │ └── terminator.js
│ │ │ │ ├── package.json
│ │ │ │ ├── parallel.js
│ │ │ │ ├── serial.js
│ │ │ │ ├── serialOrdered.js
│ │ │ │ └── stream.js
│ │ │ ├── aws-sign2
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── index.js
│ │ │ │ └── package.json
│ │ │ ├── aws4
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── aws4.js
│ │ │ │ ├── lru.js
│ │ │ │ └── package.json
│ │ │ ├── bcrypt-pbkdf
│ │ │ │ ├── CONTRIBUTING.md
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── index.js
│ │ │ │ └── package.json
│ │ │ ├── caseless
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── index.js
│ │ │ │ ├── package.json
│ │ │ │ └── test.js
│ │ │ ├── combined-stream
│ │ │ │ ├── License
│ │ │ │ ├── Readme.md
│ │ │ │ ├── lib
│ │ │ │ │ └── combined_stream.js
│ │ │ │ └── package.json
│ │ │ ├── core-util-is
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── float.patch
│ │ │ │ ├── lib
│ │ │ │ │ └── util.js
│ │ │ │ ├── package.json
│ │ │ │ └── test.js
│ │ │ ├── crypto
│ │ │ │ ├── README.md
│ │ │ │ └── package.json
│ │ │ ├── dashdash
│ │ │ │ ├── CHANGES.md
│ │ │ │ ├── LICENSE.txt
│ │ │ │ ├── README.md
│ │ │ │ ├── etc
│ │ │ │ │ └── dashdash.bash_completion.in
│ │ │ │ ├── lib
│ │ │ │ │ └── dashdash.js
│ │ │ │ └── package.json
│ │ │ ├── delayed-stream
│ │ │ │ ├── .npmignore
│ │ │ │ ├── License
│ │ │ │ ├── Makefile
│ │ │ │ ├── Readme.md
│ │ │ │ ├── lib
│ │ │ │ │ └── delayed_stream.js
│ │ │ │ └── package.json
│ │ │ ├── ecc-jsbn
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── index.js
│ │ │ │ ├── lib
│ │ │ │ │ ├── LICENSE-jsbn
│ │ │ │ │ ├── ec.js
│ │ │ │ │ └── sec.js
│ │ │ │ ├── package.json
│ │ │ │ └── test.js
│ │ │ ├── extend
│ │ │ │ ├── .editorconfig
│ │ │ │ ├── .eslintrc
│ │ │ │ ├── .jscs.json
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── CHANGELOG.md
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── component.json
│ │ │ │ ├── index.js
│ │ │ │ └── package.json
│ │ │ ├── extsprintf
│ │ │ │ ├── .gitmodules
│ │ │ │ ├── .npmignore
│ │ │ │ ├── LICENSE
│ │ │ │ ├── Makefile
│ │ │ │ ├── Makefile.targ
│ │ │ │ ├── README.md
│ │ │ │ ├── jsl.node.conf
│ │ │ │ ├── lib
│ │ │ │ │ └── extsprintf.js
│ │ │ │ └── package.json
│ │ │ ├── fast-deep-equal
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── index.d.ts
│ │ │ │ ├── index.js
│ │ │ │ └── package.json
│ │ │ ├── fast-json-stable-stringify
│ │ │ │ ├── .eslintrc.yml
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── benchmark
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── test.json
│ │ │ │ ├── example
│ │ │ │ │ ├── key_cmp.js
│ │ │ │ │ ├── nested.js
│ │ │ │ │ ├── str.js
│ │ │ │ │ └── value_cmp.js
│ │ │ │ ├── index.js
│ │ │ │ ├── package.json
│ │ │ │ └── test
│ │ │ │ │ ├── cmp.js
│ │ │ │ │ ├── nested.js
│ │ │ │ │ ├── str.js
│ │ │ │ │ └── to-json.js
│ │ │ ├── forever-agent
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── index.js
│ │ │ │ └── package.json
│ │ │ ├── form-data
│ │ │ │ ├── License
│ │ │ │ ├── README.md
│ │ │ │ ├── README.md.bak
│ │ │ │ ├── lib
│ │ │ │ │ ├── browser.js
│ │ │ │ │ ├── form_data.js
│ │ │ │ │ └── populate.js
│ │ │ │ ├── package.json
│ │ │ │ └── yarn.lock
│ │ │ ├── function-bind
│ │ │ │ ├── .editorconfig
│ │ │ │ ├── .eslintrc
│ │ │ │ ├── .jscs.json
│ │ │ │ ├── .npmignore
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── implementation.js
│ │ │ │ ├── index.js
│ │ │ │ ├── package.json
│ │ │ │ └── test
│ │ │ │ │ ├── .eslintrc
│ │ │ │ │ └── index.js
│ │ │ ├── getpass
│ │ │ │ ├── .npmignore
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── lib
│ │ │ │ │ └── index.js
│ │ │ │ └── package.json
│ │ │ ├── har-schema
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── lib
│ │ │ │ │ ├── afterRequest.json
│ │ │ │ │ ├── beforeRequest.json
│ │ │ │ │ ├── browser.json
│ │ │ │ │ ├── cache.json
│ │ │ │ │ ├── content.json
│ │ │ │ │ ├── cookie.json
│ │ │ │ │ ├── creator.json
│ │ │ │ │ ├── entry.json
│ │ │ │ │ ├── har.json
│ │ │ │ │ ├── header.json
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── log.json
│ │ │ │ │ ├── page.json
│ │ │ │ │ ├── pageTimings.json
│ │ │ │ │ ├── postData.json
│ │ │ │ │ ├── query.json
│ │ │ │ │ ├── request.json
│ │ │ │ │ ├── response.json
│ │ │ │ │ └── timings.json
│ │ │ │ └── package.json
│ │ │ ├── har-validator
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── lib
│ │ │ │ │ ├── async.js
│ │ │ │ │ ├── error.js
│ │ │ │ │ └── promise.js
│ │ │ │ └── package.json
│ │ │ ├── has
│ │ │ │ ├── LICENSE-MIT
│ │ │ │ ├── README.md
│ │ │ │ ├── package.json
│ │ │ │ ├── src
│ │ │ │ │ └── index.js
│ │ │ │ └── test
│ │ │ │ │ └── index.js
│ │ │ ├── http-signature
│ │ │ │ ├── .dir-locals.el
│ │ │ │ ├── .npmignore
│ │ │ │ ├── CHANGES.md
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── http_signing.md
│ │ │ │ ├── lib
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── parser.js
│ │ │ │ │ ├── signer.js
│ │ │ │ │ ├── utils.js
│ │ │ │ │ └── verify.js
│ │ │ │ └── package.json
│ │ │ ├── is-regex
│ │ │ │ ├── .eslintrc
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── CHANGELOG.md
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── index.js
│ │ │ │ └── package.json
│ │ │ ├── is-typedarray
│ │ │ │ ├── LICENSE.md
│ │ │ │ ├── README.md
│ │ │ │ ├── index.js
│ │ │ │ ├── package.json
│ │ │ │ └── test.js
│ │ │ ├── isstream
│ │ │ │ ├── .jshintrc
│ │ │ │ ├── .npmignore
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── LICENSE.md
│ │ │ │ ├── README.md
│ │ │ │ ├── isstream.js
│ │ │ │ ├── package.json
│ │ │ │ └── test.js
│ │ │ ├── jsbn
│ │ │ │ ├── .npmignore
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── example.html
│ │ │ │ ├── example.js
│ │ │ │ ├── index.js
│ │ │ │ └── package.json
│ │ │ ├── json-schema-traverse
│ │ │ │ ├── .eslintrc.yml
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── index.js
│ │ │ │ ├── package.json
│ │ │ │ └── spec
│ │ │ │ │ ├── .eslintrc.yml
│ │ │ │ │ ├── fixtures
│ │ │ │ │ └── schema.js
│ │ │ │ │ └── index.spec.js
│ │ │ ├── json-schema
│ │ │ │ ├── README.md
│ │ │ │ ├── draft-00
│ │ │ │ │ ├── hyper-schema
│ │ │ │ │ ├── json-ref
│ │ │ │ │ ├── links
│ │ │ │ │ └── schema
│ │ │ │ ├── draft-01
│ │ │ │ │ ├── hyper-schema
│ │ │ │ │ ├── json-ref
│ │ │ │ │ ├── links
│ │ │ │ │ └── schema
│ │ │ │ ├── draft-02
│ │ │ │ │ ├── hyper-schema
│ │ │ │ │ ├── json-ref
│ │ │ │ │ ├── links
│ │ │ │ │ └── schema
│ │ │ │ ├── draft-03
│ │ │ │ │ ├── examples
│ │ │ │ │ │ ├── address
│ │ │ │ │ │ ├── calendar
│ │ │ │ │ │ ├── card
│ │ │ │ │ │ ├── geo
│ │ │ │ │ │ └── interfaces
│ │ │ │ │ ├── hyper-schema
│ │ │ │ │ ├── json-ref
│ │ │ │ │ ├── links
│ │ │ │ │ └── schema
│ │ │ │ ├── draft-04
│ │ │ │ │ ├── hyper-schema
│ │ │ │ │ ├── links
│ │ │ │ │ └── schema
│ │ │ │ ├── draft-zyp-json-schema-03.xml
│ │ │ │ ├── draft-zyp-json-schema-04.xml
│ │ │ │ ├── lib
│ │ │ │ │ ├── links.js
│ │ │ │ │ └── validate.js
│ │ │ │ ├── package.json
│ │ │ │ └── test
│ │ │ │ │ └── tests.js
│ │ │ ├── json-stringify-safe
│ │ │ │ ├── .npmignore
│ │ │ │ ├── CHANGELOG.md
│ │ │ │ ├── LICENSE
│ │ │ │ ├── Makefile
│ │ │ │ ├── README.md
│ │ │ │ ├── package.json
│ │ │ │ ├── stringify.js
│ │ │ │ └── test
│ │ │ │ │ ├── mocha.opts
│ │ │ │ │ └── stringify_test.js
│ │ │ ├── jsprim
│ │ │ │ ├── CHANGES.md
│ │ │ │ ├── CONTRIBUTING.md
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── lib
│ │ │ │ │ └── jsprim.js
│ │ │ │ └── package.json
│ │ │ ├── lodash.merge
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── index.js
│ │ │ │ └── package.json
│ │ │ ├── long
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── dist
│ │ │ │ │ ├── long.js
│ │ │ │ │ └── long.js.map
│ │ │ │ ├── index.js
│ │ │ │ ├── package.json
│ │ │ │ └── src
│ │ │ │ │ └── long.js
│ │ │ ├── mime-db
│ │ │ │ ├── HISTORY.md
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── db.json
│ │ │ │ ├── index.js
│ │ │ │ └── package.json
│ │ │ ├── mime-types
│ │ │ │ ├── HISTORY.md
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── index.js
│ │ │ │ └── package.json
│ │ │ ├── oauth-sign
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── index.js
│ │ │ │ └── package.json
│ │ │ ├── performance-now
│ │ │ │ ├── .npmignore
│ │ │ │ ├── .tm_properties
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── README.md
│ │ │ │ ├── lib
│ │ │ │ │ ├── performance-now.js
│ │ │ │ │ └── performance-now.js.map
│ │ │ │ ├── license.txt
│ │ │ │ ├── package.json
│ │ │ │ ├── src
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ └── performance-now.coffee
│ │ │ │ └── test
│ │ │ │ │ ├── mocha.opts
│ │ │ │ │ ├── performance-now.coffee
│ │ │ │ │ ├── scripts.coffee
│ │ │ │ │ └── scripts
│ │ │ │ │ ├── delayed-call.coffee
│ │ │ │ │ ├── delayed-require.coffee
│ │ │ │ │ ├── difference.coffee
│ │ │ │ │ └── initial-value.coffee
│ │ │ ├── protobufjs
│ │ │ │ ├── CHANGELOG.md
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── bin
│ │ │ │ │ ├── pbjs
│ │ │ │ │ └── pbts
│ │ │ │ ├── cli
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── bin
│ │ │ │ │ │ ├── pbjs
│ │ │ │ │ │ └── pbts
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── lib
│ │ │ │ │ │ ├── tsd-jsdoc.json
│ │ │ │ │ │ └── tsd-jsdoc
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── plugin.js
│ │ │ │ │ │ │ └── publish.js
│ │ │ │ │ ├── node_modules
│ │ │ │ │ │ ├── os-tmpdir
│ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ ├── license
│ │ │ │ │ │ │ └── readme.md
│ │ │ │ │ │ └── tmp
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ └── lib
│ │ │ │ │ │ │ └── tmp.js
│ │ │ │ │ ├── package-lock.json
│ │ │ │ │ ├── package.json
│ │ │ │ │ ├── package.standalone.json
│ │ │ │ │ ├── pbjs.d.ts
│ │ │ │ │ ├── pbjs.js
│ │ │ │ │ ├── pbts.d.ts
│ │ │ │ │ ├── pbts.js
│ │ │ │ │ ├── targets
│ │ │ │ │ │ ├── json-module.js
│ │ │ │ │ │ ├── json.js
│ │ │ │ │ │ ├── proto.js
│ │ │ │ │ │ ├── proto2.js
│ │ │ │ │ │ ├── proto3.js
│ │ │ │ │ │ ├── static-module.js
│ │ │ │ │ │ └── static.js
│ │ │ │ │ ├── util.js
│ │ │ │ │ └── wrappers
│ │ │ │ │ │ ├── amd.js
│ │ │ │ │ │ ├── closure.js
│ │ │ │ │ │ ├── commonjs.js
│ │ │ │ │ │ ├── default.js
│ │ │ │ │ │ └── es6.js
│ │ │ │ ├── dist
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── light
│ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ ├── protobuf.js
│ │ │ │ │ │ ├── protobuf.js.map
│ │ │ │ │ │ ├── protobuf.min.js
│ │ │ │ │ │ └── protobuf.min.js.map
│ │ │ │ │ ├── minimal
│ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ ├── protobuf.js
│ │ │ │ │ │ ├── protobuf.js.map
│ │ │ │ │ │ ├── protobuf.min.js
│ │ │ │ │ │ └── protobuf.min.js.map
│ │ │ │ │ ├── protobuf.js
│ │ │ │ │ ├── protobuf.js.map
│ │ │ │ │ ├── protobuf.min.js
│ │ │ │ │ └── protobuf.min.js.map
│ │ │ │ ├── ext
│ │ │ │ │ ├── debug
│ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ └── index.js
│ │ │ │ │ └── descriptor
│ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ ├── index.d.ts
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ └── test.js
│ │ │ │ ├── google
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── api
│ │ │ │ │ │ ├── annotations.json
│ │ │ │ │ │ ├── annotations.proto
│ │ │ │ │ │ ├── http.json
│ │ │ │ │ │ └── http.proto
│ │ │ │ │ └── protobuf
│ │ │ │ │ │ ├── api.json
│ │ │ │ │ │ ├── api.proto
│ │ │ │ │ │ ├── descriptor.json
│ │ │ │ │ │ ├── descriptor.proto
│ │ │ │ │ │ ├── source_context.json
│ │ │ │ │ │ ├── source_context.proto
│ │ │ │ │ │ ├── type.json
│ │ │ │ │ │ └── type.proto
│ │ │ │ ├── index.d.ts
│ │ │ │ ├── index.js
│ │ │ │ ├── light.d.ts
│ │ │ │ ├── light.js
│ │ │ │ ├── minimal.d.ts
│ │ │ │ ├── minimal.js
│ │ │ │ ├── package-lock.json
│ │ │ │ ├── package.json
│ │ │ │ ├── scripts
│ │ │ │ │ ├── changelog.js
│ │ │ │ │ └── postinstall.js
│ │ │ │ ├── src
│ │ │ │ │ ├── common.js
│ │ │ │ │ ├── converter.js
│ │ │ │ │ ├── decoder.js
│ │ │ │ │ ├── encoder.js
│ │ │ │ │ ├── enum.js
│ │ │ │ │ ├── field.js
│ │ │ │ │ ├── index-light.js
│ │ │ │ │ ├── index-minimal.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── mapfield.js
│ │ │ │ │ ├── message.js
│ │ │ │ │ ├── method.js
│ │ │ │ │ ├── namespace.js
│ │ │ │ │ ├── object.js
│ │ │ │ │ ├── oneof.js
│ │ │ │ │ ├── parse.js
│ │ │ │ │ ├── reader.js
│ │ │ │ │ ├── reader_buffer.js
│ │ │ │ │ ├── root.js
│ │ │ │ │ ├── roots.js
│ │ │ │ │ ├── rpc.js
│ │ │ │ │ ├── rpc
│ │ │ │ │ │ └── service.js
│ │ │ │ │ ├── service.js
│ │ │ │ │ ├── tokenize.js
│ │ │ │ │ ├── type.js
│ │ │ │ │ ├── types.js
│ │ │ │ │ ├── typescript.jsdoc
│ │ │ │ │ ├── util.js
│ │ │ │ │ ├── util
│ │ │ │ │ │ ├── longbits.js
│ │ │ │ │ │ └── minimal.js
│ │ │ │ │ ├── verifier.js
│ │ │ │ │ ├── wrappers.js
│ │ │ │ │ ├── writer.js
│ │ │ │ │ └── writer_buffer.js
│ │ │ │ └── tsconfig.json
│ │ │ ├── psl
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── data
│ │ │ │ │ └── rules.json
│ │ │ │ ├── dist
│ │ │ │ │ ├── psl.js
│ │ │ │ │ └── psl.min.js
│ │ │ │ ├── index.js
│ │ │ │ └── package.json
│ │ │ ├── punycode
│ │ │ │ ├── LICENSE-MIT.txt
│ │ │ │ ├── README.md
│ │ │ │ ├── package.json
│ │ │ │ ├── punycode.es6.js
│ │ │ │ └── punycode.js
│ │ │ ├── qs
│ │ │ │ ├── .editorconfig
│ │ │ │ ├── .eslintignore
│ │ │ │ ├── .eslintrc
│ │ │ │ ├── CHANGELOG.md
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── dist
│ │ │ │ │ └── qs.js
│ │ │ │ ├── lib
│ │ │ │ │ ├── formats.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── parse.js
│ │ │ │ │ ├── stringify.js
│ │ │ │ │ └── utils.js
│ │ │ │ ├── package.json
│ │ │ │ └── test
│ │ │ │ │ ├── .eslintrc
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── parse.js
│ │ │ │ │ ├── stringify.js
│ │ │ │ │ └── utils.js
│ │ │ ├── querystring
│ │ │ │ ├── .History.md.un~
│ │ │ │ ├── .Readme.md.un~
│ │ │ │ ├── .package.json.un~
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── History.md
│ │ │ │ ├── License.md
│ │ │ │ ├── Readme.md
│ │ │ │ ├── decode.js
│ │ │ │ ├── encode.js
│ │ │ │ ├── index.js
│ │ │ │ ├── package.json
│ │ │ │ └── test
│ │ │ │ │ ├── .index.js.un~
│ │ │ │ │ ├── common-index.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── tap-index.js
│ │ │ ├── request
│ │ │ │ ├── CHANGELOG.md
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── index.js
│ │ │ │ ├── lib
│ │ │ │ │ ├── auth.js
│ │ │ │ │ ├── cookies.js
│ │ │ │ │ ├── getProxyFromURI.js
│ │ │ │ │ ├── har.js
│ │ │ │ │ ├── hawk.js
│ │ │ │ │ ├── helpers.js
│ │ │ │ │ ├── multipart.js
│ │ │ │ │ ├── oauth.js
│ │ │ │ │ ├── querystring.js
│ │ │ │ │ ├── redirect.js
│ │ │ │ │ └── tunnel.js
│ │ │ │ ├── package.json
│ │ │ │ └── request.js
│ │ │ ├── safe-buffer
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── index.d.ts
│ │ │ │ ├── index.js
│ │ │ │ └── package.json
│ │ │ ├── safer-buffer
│ │ │ │ ├── LICENSE
│ │ │ │ ├── Porting-Buffer.md
│ │ │ │ ├── Readme.md
│ │ │ │ ├── dangerous.js
│ │ │ │ ├── package.json
│ │ │ │ ├── safer.js
│ │ │ │ └── tests.js
│ │ │ ├── sshpk
│ │ │ │ ├── .npmignore
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── bin
│ │ │ │ │ ├── sshpk-conv
│ │ │ │ │ ├── sshpk-sign
│ │ │ │ │ └── sshpk-verify
│ │ │ │ ├── lib
│ │ │ │ │ ├── algs.js
│ │ │ │ │ ├── certificate.js
│ │ │ │ │ ├── dhe.js
│ │ │ │ │ ├── ed-compat.js
│ │ │ │ │ ├── errors.js
│ │ │ │ │ ├── fingerprint.js
│ │ │ │ │ ├── formats
│ │ │ │ │ │ ├── auto.js
│ │ │ │ │ │ ├── dnssec.js
│ │ │ │ │ │ ├── openssh-cert.js
│ │ │ │ │ │ ├── pem.js
│ │ │ │ │ │ ├── pkcs1.js
│ │ │ │ │ │ ├── pkcs8.js
│ │ │ │ │ │ ├── putty.js
│ │ │ │ │ │ ├── rfc4253.js
│ │ │ │ │ │ ├── ssh-private.js
│ │ │ │ │ │ ├── ssh.js
│ │ │ │ │ │ ├── x509-pem.js
│ │ │ │ │ │ └── x509.js
│ │ │ │ │ ├── identity.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── key.js
│ │ │ │ │ ├── private-key.js
│ │ │ │ │ ├── signature.js
│ │ │ │ │ ├── ssh-buffer.js
│ │ │ │ │ └── utils.js
│ │ │ │ ├── man
│ │ │ │ │ └── man1
│ │ │ │ │ │ ├── sshpk-conv.1
│ │ │ │ │ │ ├── sshpk-sign.1
│ │ │ │ │ │ └── sshpk-verify.1
│ │ │ │ └── package.json
│ │ │ ├── tcb-admin-node
│ │ │ │ ├── .editorconfig
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── CHANGELOG.md
│ │ │ │ ├── README.md
│ │ │ │ ├── docs
│ │ │ │ │ ├── database.md
│ │ │ │ │ ├── functions.md
│ │ │ │ │ ├── initialization.md
│ │ │ │ │ ├── introduction.md
│ │ │ │ │ └── storage.md
│ │ │ │ ├── index.js
│ │ │ │ ├── jest.config.js
│ │ │ │ ├── package.json
│ │ │ │ ├── qcifile.yml
│ │ │ │ ├── src
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── ai
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── functions
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── storage
│ │ │ │ │ │ └── index.js
│ │ │ │ │ ├── utils
│ │ │ │ │ │ ├── auth.js
│ │ │ │ │ │ └── httpRequest.js
│ │ │ │ │ └── wx
│ │ │ │ │ │ └── index.js
│ │ │ │ ├── tsconfig.json
│ │ │ │ └── types
│ │ │ │ │ └── database
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── assert.d.ts
│ │ │ │ │ ├── collection.d.ts
│ │ │ │ │ ├── command.d.ts
│ │ │ │ │ ├── commands
│ │ │ │ │ ├── logic.d.ts
│ │ │ │ │ ├── query.d.ts
│ │ │ │ │ └── update.d.ts
│ │ │ │ │ ├── constant.d.ts
│ │ │ │ │ ├── date
│ │ │ │ │ └── index.d.ts
│ │ │ │ │ ├── db.d.ts
│ │ │ │ │ ├── decorator.d.ts
│ │ │ │ │ ├── document.d.ts
│ │ │ │ │ ├── error.d.ts
│ │ │ │ │ ├── fail-safe.d.ts
│ │ │ │ │ ├── fn
│ │ │ │ │ └── clone.d.ts
│ │ │ │ │ ├── geo
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ ├── interface.d.ts
│ │ │ │ │ ├── lineString.d.ts
│ │ │ │ │ ├── multiLineString.d.ts
│ │ │ │ │ ├── multiPoint.d.ts
│ │ │ │ │ ├── multiPolygon.d.ts
│ │ │ │ │ ├── point.d.ts
│ │ │ │ │ └── polygon.d.ts
│ │ │ │ │ ├── helper
│ │ │ │ │ └── symbol.d.ts
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ ├── msg.d.ts
│ │ │ │ │ ├── operator-map.d.ts
│ │ │ │ │ ├── promise-factory.d.ts
│ │ │ │ │ ├── query.d.ts
│ │ │ │ │ ├── regexp.d.ts
│ │ │ │ │ ├── regexp
│ │ │ │ │ ├── index.d.ts
│ │ │ │ │ └── regexp.d.ts
│ │ │ │ │ ├── request.d.ts
│ │ │ │ │ ├── serializer.d.ts
│ │ │ │ │ ├── serializer
│ │ │ │ │ ├── common.d.ts
│ │ │ │ │ ├── datatype.d.ts
│ │ │ │ │ ├── decoder.d.ts
│ │ │ │ │ ├── query.d.ts
│ │ │ │ │ └── update.d.ts
│ │ │ │ │ ├── serverDate
│ │ │ │ │ └── index.d.ts
│ │ │ │ │ ├── symbol.d.ts
│ │ │ │ │ ├── type.d.ts
│ │ │ │ │ ├── typing.d.ts
│ │ │ │ │ ├── typings.d.ts
│ │ │ │ │ ├── typings
│ │ │ │ │ └── index.d.ts
│ │ │ │ │ ├── util.d.ts
│ │ │ │ │ ├── utils.d.ts
│ │ │ │ │ ├── utils
│ │ │ │ │ ├── assert.d.ts
│ │ │ │ │ ├── decorator.d.ts
│ │ │ │ │ ├── error.d.ts
│ │ │ │ │ ├── fail-safe.d.ts
│ │ │ │ │ ├── fn
│ │ │ │ │ │ └── clone.d.ts
│ │ │ │ │ ├── msg.d.ts
│ │ │ │ │ ├── promise-factory.d.ts
│ │ │ │ │ ├── serializer.d.ts
│ │ │ │ │ ├── symbol.d.ts
│ │ │ │ │ ├── type.d.ts
│ │ │ │ │ └── utils.d.ts
│ │ │ │ │ └── validate.d.ts
│ │ │ ├── tough-cookie
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── lib
│ │ │ │ │ ├── cookie.js
│ │ │ │ │ ├── memstore.js
│ │ │ │ │ ├── pathMatch.js
│ │ │ │ │ ├── permuteDomain.js
│ │ │ │ │ ├── pubsuffix-psl.js
│ │ │ │ │ └── store.js
│ │ │ │ └── package.json
│ │ │ ├── tslib
│ │ │ │ ├── CopyrightNotice.txt
│ │ │ │ ├── LICENSE.txt
│ │ │ │ ├── README.md
│ │ │ │ ├── package.json
│ │ │ │ ├── tslib.d.ts
│ │ │ │ ├── tslib.es6.html
│ │ │ │ ├── tslib.es6.js
│ │ │ │ ├── tslib.html
│ │ │ │ └── tslib.js
│ │ │ ├── tunnel-agent
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── index.js
│ │ │ │ └── package.json
│ │ │ ├── tweetnacl
│ │ │ │ ├── .npmignore
│ │ │ │ ├── AUTHORS.md
│ │ │ │ ├── CHANGELOG.md
│ │ │ │ ├── LICENSE
│ │ │ │ ├── PULL_REQUEST_TEMPLATE.md
│ │ │ │ ├── README.md
│ │ │ │ ├── nacl-fast.js
│ │ │ │ ├── nacl-fast.min.js
│ │ │ │ ├── nacl.d.ts
│ │ │ │ ├── nacl.js
│ │ │ │ ├── nacl.min.js
│ │ │ │ └── package.json
│ │ │ ├── uri-js
│ │ │ │ ├── README.md
│ │ │ │ ├── bower.json
│ │ │ │ ├── dist
│ │ │ │ │ ├── es5
│ │ │ │ │ │ ├── uri.all.d.ts
│ │ │ │ │ │ ├── uri.all.js
│ │ │ │ │ │ ├── uri.all.js.map
│ │ │ │ │ │ ├── uri.all.min.d.ts
│ │ │ │ │ │ ├── uri.all.min.js
│ │ │ │ │ │ └── uri.all.min.js.map
│ │ │ │ │ └── esnext
│ │ │ │ │ │ ├── index.d.ts
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ ├── index.js.map
│ │ │ │ │ │ ├── regexps-iri.d.ts
│ │ │ │ │ │ ├── regexps-iri.js
│ │ │ │ │ │ ├── regexps-iri.js.map
│ │ │ │ │ │ ├── regexps-uri.d.ts
│ │ │ │ │ │ ├── regexps-uri.js
│ │ │ │ │ │ ├── regexps-uri.js.map
│ │ │ │ │ │ ├── schemes
│ │ │ │ │ │ ├── http.d.ts
│ │ │ │ │ │ ├── http.js
│ │ │ │ │ │ ├── http.js.map
│ │ │ │ │ │ ├── https.d.ts
│ │ │ │ │ │ ├── https.js
│ │ │ │ │ │ ├── https.js.map
│ │ │ │ │ │ ├── mailto.d.ts
│ │ │ │ │ │ ├── mailto.js
│ │ │ │ │ │ ├── mailto.js.map
│ │ │ │ │ │ ├── urn-uuid.d.ts
│ │ │ │ │ │ ├── urn-uuid.js
│ │ │ │ │ │ ├── urn-uuid.js.map
│ │ │ │ │ │ ├── urn.d.ts
│ │ │ │ │ │ ├── urn.js
│ │ │ │ │ │ └── urn.js.map
│ │ │ │ │ │ ├── uri.d.ts
│ │ │ │ │ │ ├── uri.js
│ │ │ │ │ │ ├── uri.js.map
│ │ │ │ │ │ ├── util.d.ts
│ │ │ │ │ │ ├── util.js
│ │ │ │ │ │ └── util.js.map
│ │ │ │ ├── package.json
│ │ │ │ ├── rollup.config.js
│ │ │ │ ├── src
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── punycode.d.ts
│ │ │ │ │ ├── regexps-iri.ts
│ │ │ │ │ ├── regexps-uri.ts
│ │ │ │ │ ├── schemes
│ │ │ │ │ │ ├── http.ts
│ │ │ │ │ │ ├── https.ts
│ │ │ │ │ │ ├── mailto.ts
│ │ │ │ │ │ ├── urn-uuid.ts
│ │ │ │ │ │ └── urn.ts
│ │ │ │ │ ├── uri.ts
│ │ │ │ │ └── util.ts
│ │ │ │ ├── tests
│ │ │ │ │ ├── qunit.css
│ │ │ │ │ ├── qunit.js
│ │ │ │ │ ├── test-es5-min.html
│ │ │ │ │ ├── test-es5.html
│ │ │ │ │ └── tests.js
│ │ │ │ ├── tsconfig.json
│ │ │ │ └── yarn.lock
│ │ │ ├── url
│ │ │ │ ├── .npmignore
│ │ │ │ ├── .travis.yml
│ │ │ │ ├── .zuul.yml
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── node_modules
│ │ │ │ │ └── punycode
│ │ │ │ │ │ ├── LICENSE-MIT.txt
│ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ ├── package.json
│ │ │ │ │ │ └── punycode.js
│ │ │ │ ├── package.json
│ │ │ │ ├── test.js
│ │ │ │ ├── url.js
│ │ │ │ └── util.js
│ │ │ ├── uuid
│ │ │ │ ├── AUTHORS
│ │ │ │ ├── CHANGELOG.md
│ │ │ │ ├── LICENSE.md
│ │ │ │ ├── README.md
│ │ │ │ ├── bin
│ │ │ │ │ └── uuid
│ │ │ │ ├── index.js
│ │ │ │ ├── lib
│ │ │ │ │ ├── bytesToUuid.js
│ │ │ │ │ ├── md5-browser.js
│ │ │ │ │ ├── md5.js
│ │ │ │ │ ├── rng-browser.js
│ │ │ │ │ ├── rng.js
│ │ │ │ │ ├── sha1-browser.js
│ │ │ │ │ ├── sha1.js
│ │ │ │ │ └── v35.js
│ │ │ │ ├── package.json
│ │ │ │ ├── v1.js
│ │ │ │ ├── v3.js
│ │ │ │ ├── v4.js
│ │ │ │ └── v5.js
│ │ │ ├── verror
│ │ │ │ ├── .npmignore
│ │ │ │ ├── CHANGES.md
│ │ │ │ ├── CONTRIBUTING.md
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── lib
│ │ │ │ │ └── verror.js
│ │ │ │ └── package.json
│ │ │ └── wx-server-sdk
│ │ │ │ ├── CHANGELOG.md
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── index.js
│ │ │ │ └── package.json
│ │ ├── package-lock.json
│ │ └── package.json
│ ├── FrofessComment
│ │ ├── index.js
│ │ └── package.json
│ ├── FrofessZan
│ │ ├── index.js
│ │ └── package.json
│ ├── Message
│ │ ├── index.js
│ │ └── package.json
│ ├── SaleComment
│ │ ├── index.js
│ │ └── package.json
│ ├── SaleZan
│ │ ├── index.js
│ │ └── package.json
│ ├── ViewNumber
│ │ ├── index.js
│ │ └── package.json
│ └── login
│ │ ├── index.js
│ │ └── package.json
├── miniprogram
│ ├── app.js
│ ├── app.json
│ ├── app.wxss
│ ├── colorui.wxss
│ ├── components
│ │ ├── get-more-loading
│ │ │ ├── get-more-loading.js
│ │ │ ├── get-more-loading.json
│ │ │ ├── get-more-loading.wxml
│ │ │ └── get-more-loading.wxss
│ │ └── not-more-tip
│ │ │ ├── not-more-tip.js
│ │ │ ├── not-more-tip.json
│ │ │ ├── not-more-tip.wxml
│ │ │ └── not-more-tip.wxss
│ ├── config.js
│ ├── icon.wxss
│ ├── image
│ │ ├── add-image.png
│ │ ├── add-image1.png
│ │ ├── add-photo.png
│ │ ├── bind-face-report.png
│ │ ├── boy-icon.png
│ │ ├── boy.png
│ │ ├── color-love.png
│ │ ├── comment-icon.png
│ │ ├── comment.png
│ │ ├── compare-add.png
│ │ ├── confirm.png
│ │ ├── ding.png
│ │ ├── empty.png
│ │ ├── fall-in-love.png
│ │ ├── fall-in-love1.png
│ │ ├── follow-icon.png
│ │ ├── girl-icon.png
│ │ ├── girl.png
│ │ ├── help-me.png
│ │ ├── iam.png
│ │ ├── ilike.png
│ │ ├── ilove.png
│ │ ├── jiantou.png
│ │ ├── letter.png
│ │ ├── letter1.png
│ │ ├── loading.gif
│ │ ├── location.png
│ │ ├── make_praise.png
│ │ ├── message.png
│ │ ├── my-message.png
│ │ ├── new-post.png
│ │ ├── pinglun.png
│ │ ├── post.png
│ │ ├── post1.png
│ │ ├── praise_user.png
│ │ ├── private.png
│ │ ├── qiqiu.png
│ │ ├── report.png
│ │ ├── sale.png
│ │ ├── sale_praise.png
│ │ ├── saylove.png
│ │ ├── seal.png
│ │ ├── select-fall-in-love.png
│ │ ├── select-fall-in-love1.png
│ │ ├── select-iam.png
│ │ ├── select-image.png
│ │ ├── select-sale.png
│ │ ├── select-saylove.png
│ │ ├── select-travel.png
│ │ ├── share.png
│ │ ├── show-label.png
│ │ ├── suggestion1.png
│ │ ├── topic.png
│ │ ├── topic_comment.png
│ │ ├── topic_praise.png
│ │ ├── topic_view.png
│ │ ├── wechat-logo.png
│ │ ├── wx_log.png
│ │ ├── xw.png
│ │ └── zan.png
│ ├── pages
│ │ ├── compare_face
│ │ │ ├── face.js
│ │ │ ├── face.json
│ │ │ ├── face.wxml
│ │ │ └── face.wxss
│ │ ├── home
│ │ │ ├── index
│ │ │ │ ├── index.js
│ │ │ │ ├── index.json
│ │ │ │ ├── index.wxml
│ │ │ │ └── index.wxss
│ │ │ ├── post
│ │ │ │ ├── post.js
│ │ │ │ ├── post.json
│ │ │ │ ├── post.wxml
│ │ │ │ └── post.wxss
│ │ │ ├── postTopic
│ │ │ │ ├── postTopic.js
│ │ │ │ ├── postTopic.json
│ │ │ │ ├── postTopic.wxml
│ │ │ │ └── postTopic.wxss
│ │ │ ├── post_detail
│ │ │ │ ├── post_detail.js
│ │ │ │ ├── post_detail.json
│ │ │ │ ├── post_detail.wxml
│ │ │ │ └── post_detail.wxss
│ │ │ ├── topic_comment
│ │ │ │ ├── topic_comment.js
│ │ │ │ ├── topic_comment.json
│ │ │ │ ├── topic_comment.wxml
│ │ │ │ └── topic_comment.wxss
│ │ │ └── topic_detail
│ │ │ │ ├── topic_detail.js
│ │ │ │ ├── topic_detail.json
│ │ │ │ ├── topic_detail.wxml
│ │ │ │ └── topic_detail.wxss
│ │ ├── index
│ │ │ ├── index.js
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ └── index.wxss
│ │ ├── personal
│ │ │ ├── index
│ │ │ │ ├── bgimg.jpg
│ │ │ │ ├── personal.js
│ │ │ │ ├── personal.json
│ │ │ │ ├── personal.wxml
│ │ │ │ └── personal.wxss
│ │ │ ├── message
│ │ │ │ ├── message.js
│ │ │ │ ├── message.json
│ │ │ │ ├── message.wxml
│ │ │ │ └── message.wxss
│ │ │ ├── post_list
│ │ │ │ ├── post_list.js
│ │ │ │ ├── post_list.json
│ │ │ │ ├── post_list.wxml
│ │ │ │ └── post_list.wxss
│ │ │ ├── sale_list
│ │ │ │ ├── sale_list.js
│ │ │ │ ├── sale_list.json
│ │ │ │ ├── sale_list.wxml
│ │ │ │ └── sale_list.wxss
│ │ │ └── topic_list
│ │ │ │ ├── topic_list.js
│ │ │ │ ├── topic_list.json
│ │ │ │ ├── topic_list.wxml
│ │ │ │ └── topic_list.wxss
│ │ ├── sale
│ │ │ ├── comment_sale
│ │ │ │ ├── comment_sale.js
│ │ │ │ ├── comment_sale.json
│ │ │ │ ├── comment_sale.wxml
│ │ │ │ └── comment_sale.wxss
│ │ │ ├── index
│ │ │ │ ├── sale.js
│ │ │ │ ├── sale.json
│ │ │ │ ├── sale.wxml
│ │ │ │ └── sale.wxss
│ │ │ └── post_sale
│ │ │ │ ├── post_sale.js
│ │ │ │ ├── post_sale.json
│ │ │ │ ├── post_sale.wxml
│ │ │ │ └── post_sale.wxss
│ │ └── sitemap.json
│ ├── sitemap.json
│ └── utils
│ │ └── util.js
└── project.config.json
├── Images
├── ali.png
├── award.jpg
├── config.png
├── face.png
├── login.png
├── love-new.png
├── message.png
├── my.png
├── sell.png
└── topic.png
├── LICENSE
└── README.md
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4 | patreon: # Replace with a single Patreon username
5 | open_collective: # Replace with a single Open Collective username
6 | ko_fi: # Replace with a single Ko-fi username
7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9 | liberapay: # Replace with a single Liberapay username
10 | issuehunt: # Replace with a single IssueHunt username
11 | otechie: # Replace with a single Otechie username
12 | custom: ['https://blog-static.cnblogs.com/files/LiangSenCheng/zanshang.gif'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
13 |
--------------------------------------------------------------------------------
/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "git.ignoreLimitWarning": true
3 | }
--------------------------------------------------------------------------------
/App/.gitignore:
--------------------------------------------------------------------------------
1 | # Windows
2 | [Dd]esktop.ini
3 | Thumbs.db
4 | $RECYCLE.BIN/
5 |
6 | # macOS
7 | .DS_Store
8 | .fseventsd
9 | .Spotlight-V100
10 | .TemporaryItems
11 | .Trashes
12 |
13 | # Node.js
14 | node_modules/
15 |
--------------------------------------------------------------------------------
/App/README.md:
--------------------------------------------------------------------------------
1 | ## 云开发 quickstart
2 |
3 | 这是云开发的快速启动指引,其中演示了如何上手使用云开发的三大基础能力:
4 |
5 | - 数据库:一个既可在小程序前端操作,也能在云函数中读写的 JSON 文档型数据库
6 | - 文件存储:在小程序前端直接上传/下载云端文件,在云开发控制台可视化管理
7 | - 云函数:在云端运行的代码,微信私有协议天然鉴权,开发者只需编写业务逻辑代码
8 |
9 | ## 参考文档
10 |
11 | - [云开发文档](https://developers.weixin.qq.com/miniprogram/dev/wxcloud/basis/getting-started.html)
12 |
13 |
--------------------------------------------------------------------------------
/App/cloudfunctions/DeleteMessage/index.js:
--------------------------------------------------------------------------------
1 | // 云函数入口文件
2 | const cloud = require('wx-server-sdk')
3 |
4 | cloud.init()
5 | const db = cloud.database()
6 | const _ = db.command
7 |
8 | // 云函数入口函数
9 | exports.main = async (event, context) => {
10 | const id = event.id
11 | const dbname = event.dbname
12 | try {
13 | return await db.collection(dbname)
14 | .where({ messageuser: id })
15 | .remove({})
16 | } catch (e) {
17 | console.error(e)
18 | }
19 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/DeleteMessage/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "DeleteMessage",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "author": "",
10 | "license": "ISC",
11 | "dependencies": {
12 | "wx-server-sdk": "latest"
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/App/cloudfunctions/DeleteMyLike/index.js:
--------------------------------------------------------------------------------
1 | // 云函数入口文件
2 | const cloud = require('wx-server-sdk')
3 |
4 | cloud.init()
5 | const db = cloud.database()
6 | const _ = db.command
7 |
8 | // 云函数入口函数
9 | exports.main = async (event, context) => {
10 | const id = event.id
11 | const dbname = event.dbname
12 | try {
13 | return await db.collection(dbname)
14 | .where({ saleid: id })
15 | .remove({})
16 | } catch (e) {
17 | console.error(e)
18 | }
19 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/DeleteMyLike/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "DeleteMyLike",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "author": "",
10 | "license": "ISC",
11 | "dependencies": {
12 | "wx-server-sdk": "latest"
13 | }
14 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/Deletes/index.js:
--------------------------------------------------------------------------------
1 | // 云函数入口文件
2 | const cloud = require('wx-server-sdk')
3 |
4 | cloud.init()
5 | const db = cloud.database()
6 | const _ = db.command
7 |
8 | // 云函数入口函数
9 | exports.main = async(event, context) => {
10 | const id = event.id
11 | const dbname = event.dbname
12 | try {
13 | return await db.collection(dbname)
14 | .doc(id)
15 | .remove({})
16 | } catch (e) {
17 | console.error(e)
18 | }
19 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/Deletes/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Deletes",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "author": "",
10 | "license": "ISC",
11 | "dependencies": {
12 | "wx-server-sdk": "latest"
13 | }
14 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/.bin/pbjs:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 |
4 | case `uname` in
5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | "$basedir/node" "$basedir/../protobufjs/bin/pbjs" "$@"
10 | ret=$?
11 | else
12 | node "$basedir/../protobufjs/bin/pbjs" "$@"
13 | ret=$?
14 | fi
15 | exit $ret
16 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/.bin/pbjs.cmd:
--------------------------------------------------------------------------------
1 | @IF EXIST "%~dp0\node.exe" (
2 | "%~dp0\node.exe" "%~dp0\..\protobufjs\bin\pbjs" %*
3 | ) ELSE (
4 | @SETLOCAL
5 | @SET PATHEXT=%PATHEXT:;.JS;=;%
6 | node "%~dp0\..\protobufjs\bin\pbjs" %*
7 | )
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/.bin/pbts:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 |
4 | case `uname` in
5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | "$basedir/node" "$basedir/../protobufjs/bin/pbts" "$@"
10 | ret=$?
11 | else
12 | node "$basedir/../protobufjs/bin/pbts" "$@"
13 | ret=$?
14 | fi
15 | exit $ret
16 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/.bin/pbts.cmd:
--------------------------------------------------------------------------------
1 | @IF EXIST "%~dp0\node.exe" (
2 | "%~dp0\node.exe" "%~dp0\..\protobufjs\bin\pbts" %*
3 | ) ELSE (
4 | @SETLOCAL
5 | @SET PATHEXT=%PATHEXT:;.JS;=;%
6 | node "%~dp0\..\protobufjs\bin\pbts" %*
7 | )
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/.bin/sshpk-conv:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 |
4 | case `uname` in
5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | "$basedir/node" "$basedir/../sshpk/bin/sshpk-conv" "$@"
10 | ret=$?
11 | else
12 | node "$basedir/../sshpk/bin/sshpk-conv" "$@"
13 | ret=$?
14 | fi
15 | exit $ret
16 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/.bin/sshpk-conv.cmd:
--------------------------------------------------------------------------------
1 | @IF EXIST "%~dp0\node.exe" (
2 | "%~dp0\node.exe" "%~dp0\..\sshpk\bin\sshpk-conv" %*
3 | ) ELSE (
4 | @SETLOCAL
5 | @SET PATHEXT=%PATHEXT:;.JS;=;%
6 | node "%~dp0\..\sshpk\bin\sshpk-conv" %*
7 | )
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/.bin/sshpk-sign:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 |
4 | case `uname` in
5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | "$basedir/node" "$basedir/../sshpk/bin/sshpk-sign" "$@"
10 | ret=$?
11 | else
12 | node "$basedir/../sshpk/bin/sshpk-sign" "$@"
13 | ret=$?
14 | fi
15 | exit $ret
16 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/.bin/sshpk-sign.cmd:
--------------------------------------------------------------------------------
1 | @IF EXIST "%~dp0\node.exe" (
2 | "%~dp0\node.exe" "%~dp0\..\sshpk\bin\sshpk-sign" %*
3 | ) ELSE (
4 | @SETLOCAL
5 | @SET PATHEXT=%PATHEXT:;.JS;=;%
6 | node "%~dp0\..\sshpk\bin\sshpk-sign" %*
7 | )
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/.bin/sshpk-verify:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3 |
4 | case `uname` in
5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6 | esac
7 |
8 | if [ -x "$basedir/node" ]; then
9 | "$basedir/node" "$basedir/../sshpk/bin/sshpk-verify" "$@"
10 | ret=$?
11 | else
12 | node "$basedir/../sshpk/bin/sshpk-verify" "$@"
13 | ret=$?
14 | fi
15 | exit $ret
16 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/.bin/sshpk-verify.cmd:
--------------------------------------------------------------------------------
1 | @IF EXIST "%~dp0\node.exe" (
2 | "%~dp0\node.exe" "%~dp0\..\sshpk\bin\sshpk-verify" %*
3 | ) ELSE (
4 | @SETLOCAL
5 | @SET PATHEXT=%PATHEXT:;.JS;=;%
6 | node "%~dp0\..\sshpk\bin\sshpk-verify" %*
7 | )
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/.bin/uuid:
--------------------------------------------------------------------------------
1 | ../uuid/bin/uuid
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/.bin/uuid.cmd:
--------------------------------------------------------------------------------
1 | @IF EXIST "%~dp0\node.exe" (
2 | "%~dp0\node.exe" "%~dp0\..\uuid\bin\uuid" %*
3 | ) ELSE (
4 | @SETLOCAL
5 | @SET PATHEXT=%PATHEXT:;.JS;=;%
6 | node "%~dp0\..\uuid\bin\uuid" %*
7 | )
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@protobufjs/aspromise/README.md:
--------------------------------------------------------------------------------
1 | @protobufjs/aspromise
2 | =====================
3 | [](https://www.npmjs.com/package/@protobufjs/aspromise)
4 |
5 | Returns a promise from a node-style callback function.
6 |
7 | API
8 | ---
9 |
10 | * **asPromise(fn: `function`, ctx: `Object`, ...params: `*`): `Promise<*>`**
11 | Returns a promise from a node-style callback function.
12 |
13 | **License:** [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause)
14 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@protobufjs/aspromise/index.d.ts:
--------------------------------------------------------------------------------
1 | export = asPromise;
2 |
3 | type asPromiseCallback = (error: Error | null, ...params: any[]) => {};
4 |
5 | /**
6 | * Returns a promise from a node-style callback function.
7 | * @memberof util
8 | * @param {asPromiseCallback} fn Function to call
9 | * @param {*} ctx Function context
10 | * @param {...*} params Function arguments
11 | * @returns {Promise<*>} Promisified function
12 | */
13 | declare function asPromise(fn: asPromiseCallback, ctx: any, ...params: any[]): Promise;
14 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@protobufjs/base64/README.md:
--------------------------------------------------------------------------------
1 | @protobufjs/base64
2 | ==================
3 | [](https://www.npmjs.com/package/@protobufjs/base64)
4 |
5 | A minimal base64 implementation for number arrays.
6 |
7 | API
8 | ---
9 |
10 | * **base64.length(string: `string`): `number`**
11 | Calculates the byte length of a base64 encoded string.
12 |
13 | * **base64.encode(buffer: `Uint8Array`, start: `number`, end: `number`): `string`**
14 | Encodes a buffer to a base64 encoded string.
15 |
16 | * **base64.decode(string: `string`, buffer: `Uint8Array`, offset: `number`): `number`**
17 | Decodes a base64 encoded string to a buffer.
18 |
19 | **License:** [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause)
20 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@protobufjs/codegen/tests/index.js:
--------------------------------------------------------------------------------
1 | var codegen = require("..");
2 |
3 | // new require("benchmark").Suite().add("add", function() {
4 |
5 | var add = codegen(["a", "b"], "add")
6 | ("// awesome comment")
7 | ("return a + b - c + %d", 1)
8 | ({ c: 1 });
9 |
10 | if (add(1, 2) !== 3)
11 | throw Error("failed");
12 |
13 | // }).on("cycle", function(event) { process.stdout.write(String(event.target) + "\n"); }).run();
14 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@protobufjs/fetch/README.md:
--------------------------------------------------------------------------------
1 | @protobufjs/fetch
2 | =================
3 | [](https://www.npmjs.com/package/@protobufjs/fetch)
4 |
5 | Fetches the contents of a file accross node and browsers.
6 |
7 | API
8 | ---
9 |
10 | * **fetch(path: `string`, [options: { binary: boolean } ], [callback: `function(error: ?Error, [contents: string])`]): `Promise|undefined`**
11 | Fetches the contents of a file.
12 |
13 | **License:** [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause)
14 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@protobufjs/fetch/tests/index.js:
--------------------------------------------------------------------------------
1 | var tape = require("tape");
2 |
3 | var fetch = require("..");
4 |
5 | tape.test("fetch", function(test) {
6 |
7 | if (typeof Promise !== "undefined") {
8 | var promise = fetch("NOTFOUND");
9 | promise.catch(function() {});
10 | test.ok(promise instanceof Promise, "should return a promise if callback has been omitted");
11 | }
12 |
13 | // TODO - some way to test this properly?
14 |
15 | test.end();
16 | });
17 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@protobufjs/inquire/.npmignore:
--------------------------------------------------------------------------------
1 | npm-debug.*
2 | node_modules/
3 | coverage/
4 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@protobufjs/inquire/README.md:
--------------------------------------------------------------------------------
1 | @protobufjs/inquire
2 | ===================
3 | [](https://www.npmjs.com/package/@protobufjs/inquire)
4 |
5 | Requires a module only if available and hides the require call from bundlers.
6 |
7 | API
8 | ---
9 |
10 | * **inquire(moduleName: `string`): `?Object`**
11 | Requires a module only if available.
12 |
13 | **License:** [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause)
14 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@protobufjs/inquire/index.d.ts:
--------------------------------------------------------------------------------
1 | export = inquire;
2 |
3 | /**
4 | * Requires a module only if available.
5 | * @memberof util
6 | * @param {string} moduleName Module to require
7 | * @returns {?Object} Required module if available and not empty, otherwise `null`
8 | */
9 | declare function inquire(moduleName: string): Object;
10 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@protobufjs/inquire/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | module.exports = inquire;
3 |
4 | /**
5 | * Requires a module only if available.
6 | * @memberof util
7 | * @param {string} moduleName Module to require
8 | * @returns {?Object} Required module if available and not empty, otherwise `null`
9 | */
10 | function inquire(moduleName) {
11 | try {
12 | var mod = eval("quire".replace(/^/,"re"))(moduleName); // eslint-disable-line no-eval
13 | if (mod && (mod.length || Object.keys(mod).length))
14 | return mod;
15 | } catch (e) {} // eslint-disable-line no-empty
16 | return null;
17 | }
18 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@protobufjs/inquire/tests/data/array.js:
--------------------------------------------------------------------------------
1 | module.exports = [1];
2 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@protobufjs/inquire/tests/data/emptyArray.js:
--------------------------------------------------------------------------------
1 | module.exports = [];
2 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@protobufjs/inquire/tests/data/emptyObject.js:
--------------------------------------------------------------------------------
1 | module.exports = {};
2 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@protobufjs/inquire/tests/data/object.js:
--------------------------------------------------------------------------------
1 | module.exports = { a: 1 };
2 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@protobufjs/path/README.md:
--------------------------------------------------------------------------------
1 | @protobufjs/path
2 | ================
3 | [](https://www.npmjs.com/package/@protobufjs/path)
4 |
5 | A minimal path module to resolve Unix, Windows and URL paths alike.
6 |
7 | API
8 | ---
9 |
10 | * **path.isAbsolute(path: `string`): `boolean`**
11 | Tests if the specified path is absolute.
12 |
13 | * **path.normalize(path: `string`): `string`**
14 | Normalizes the specified path.
15 |
16 | * **path.resolve(originPath: `string`, includePath: `string`, [alreadyNormalized=false: `boolean`]): `string`**
17 | Resolves the specified include path against the specified origin path.
18 |
19 | **License:** [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause)
20 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@protobufjs/pool/.npmignore:
--------------------------------------------------------------------------------
1 | npm-debug.*
2 | node_modules/
3 | coverage/
4 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@protobufjs/pool/README.md:
--------------------------------------------------------------------------------
1 | @protobufjs/pool
2 | ================
3 | [](https://www.npmjs.com/package/@protobufjs/pool)
4 |
5 | A general purpose buffer pool.
6 |
7 | API
8 | ---
9 |
10 | * **pool(alloc: `function(size: number): Uint8Array`, slice: `function(this: Uint8Array, start: number, end: number): Uint8Array`, [size=8192: `number`]): `function(size: number): Uint8Array`**
11 | Creates a pooled allocator.
12 |
13 | **License:** [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause)
14 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@protobufjs/utf8/.npmignore:
--------------------------------------------------------------------------------
1 | npm-debug.*
2 | node_modules/
3 | coverage/
4 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@protobufjs/utf8/README.md:
--------------------------------------------------------------------------------
1 | @protobufjs/utf8
2 | ================
3 | [](https://www.npmjs.com/package/@protobufjs/utf8)
4 |
5 | A minimal UTF8 implementation for number arrays.
6 |
7 | API
8 | ---
9 |
10 | * **utf8.length(string: `string`): `number`**
11 | Calculates the UTF8 byte length of a string.
12 |
13 | * **utf8.read(buffer: `Uint8Array`, start: `number`, end: `number`): `string`**
14 | Reads UTF8 bytes as a string.
15 |
16 | * **utf8.write(string: `string`, buffer: `Uint8Array`, offset: `number`): `number`**
17 | Writes a string as UTF8 bytes.
18 |
19 |
20 | **License:** [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause)
21 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@types/long/README.md:
--------------------------------------------------------------------------------
1 | # Installation
2 | > `npm install --save @types/long`
3 |
4 | # Summary
5 | This package contains type definitions for long.js (https://github.com/dcodeIO/long.js).
6 |
7 | # Details
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/long.
9 |
10 | ### Additional Details
11 | * Last updated: Wed, 22 Jan 2020 19:19:46 GMT
12 | * Dependencies: none
13 | * Global values: `Long`
14 |
15 | # Credits
16 | These definitions were written by Peter Kooijmans (https://github.com/peterkooijmans).
17 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@types/node/buffer.d.ts:
--------------------------------------------------------------------------------
1 | declare module "buffer" {
2 | export const INSPECT_MAX_BYTES: number;
3 | const BuffType: typeof Buffer;
4 |
5 | export type TranscodeEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "latin1" | "binary";
6 |
7 | export function transcode(source: Buffer | Uint8Array, fromEnc: TranscodeEncoding, toEnc: TranscodeEncoding): Buffer;
8 |
9 | export const SlowBuffer: {
10 | /** @deprecated since v6.0.0, use Buffer.allocUnsafeSlow() */
11 | new(size: number): Buffer;
12 | prototype: Buffer;
13 | };
14 |
15 | export { BuffType as Buffer };
16 | }
17 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@types/node/console.d.ts:
--------------------------------------------------------------------------------
1 | declare module "console" {
2 | export = console;
3 | }
4 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@types/node/domain.d.ts:
--------------------------------------------------------------------------------
1 | declare module "domain" {
2 | import * as events from "events";
3 |
4 | class Domain extends events.EventEmitter implements NodeJS.Domain {
5 | run(fn: Function): void;
6 | add(emitter: events.EventEmitter): void;
7 | remove(emitter: events.EventEmitter): void;
8 | bind(cb: (err: Error, data: any) => any): any;
9 | intercept(cb: (data: any) => any): any;
10 | members: any[];
11 | enter(): void;
12 | exit(): void;
13 | }
14 |
15 | function create(): Domain;
16 | }
17 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@types/node/module.d.ts:
--------------------------------------------------------------------------------
1 | declare module "module" {
2 | export = NodeJS.Module;
3 | }
4 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@types/node/process.d.ts:
--------------------------------------------------------------------------------
1 | declare module "process" {
2 | export = process;
3 | }
4 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@types/node/punycode.d.ts:
--------------------------------------------------------------------------------
1 | declare module "punycode" {
2 | function decode(string: string): string;
3 | function encode(string: string): string;
4 | function toUnicode(domain: string): string;
5 | function toASCII(domain: string): string;
6 | const ucs2: ucs2;
7 | interface ucs2 {
8 | decode(string: string): number[];
9 | encode(codePoints: number[]): string;
10 | }
11 | const version: any;
12 | }
13 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@types/node/querystring.d.ts:
--------------------------------------------------------------------------------
1 | declare module "querystring" {
2 | interface StringifyOptions {
3 | encodeURIComponent?: Function;
4 | }
5 |
6 | interface ParseOptions {
7 | maxKeys?: number;
8 | decodeURIComponent?: Function;
9 | }
10 |
11 | interface ParsedUrlQuery { [key: string]: string | string[]; }
12 |
13 | function stringify(obj?: {}, sep?: string, eq?: string, options?: StringifyOptions): string;
14 | function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): ParsedUrlQuery;
15 | function escape(str: string): string;
16 | function unescape(str: string): string;
17 | }
18 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@types/node/string_decoder.d.ts:
--------------------------------------------------------------------------------
1 | declare module "string_decoder" {
2 | interface NodeStringDecoder {
3 | write(buffer: Buffer): string;
4 | end(buffer?: Buffer): string;
5 | }
6 | const StringDecoder: {
7 | new(encoding?: string): NodeStringDecoder;
8 | };
9 | }
10 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@types/node/ts3.2/globals.d.ts:
--------------------------------------------------------------------------------
1 | // tslint:disable-next-line:no-bad-reference
2 | ///
3 |
4 | declare namespace NodeJS {
5 | interface HRTime {
6 | bigint(): bigint;
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@types/node/ts3.2/index.d.ts:
--------------------------------------------------------------------------------
1 | // NOTE: These definitions support NodeJS and TypeScript 3.2.
2 | // This is requried to enable typing assert in ts3.7 without causing errors
3 | // Typically type modifiations should be made in base.d.ts instead of here
4 |
5 | ///
6 |
7 | // tslint:disable-next-line:no-bad-reference
8 | ///
9 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@types/node/ts3.2/util.d.ts:
--------------------------------------------------------------------------------
1 | // tslint:disable-next-line:no-bad-reference
2 | ///
3 |
4 | declare module "util" {
5 | namespace inspect {
6 | const custom: unique symbol;
7 | }
8 | namespace promisify {
9 | const custom: unique symbol;
10 | }
11 | namespace types {
12 | function isBigInt64Array(value: any): value is BigInt64Array;
13 | function isBigUint64Array(value: any): value is BigUint64Array;
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/@types/node/tty.d.ts:
--------------------------------------------------------------------------------
1 | declare module "tty" {
2 | import * as net from "net";
3 |
4 | function isatty(fd: number): boolean;
5 | class ReadStream extends net.Socket {
6 | constructor(fd: number, options?: net.SocketConstructorOpts);
7 | isRaw: boolean;
8 | setRawMode(mode: boolean): this;
9 | isTTY: boolean;
10 | }
11 | class WriteStream extends net.Socket {
12 | constructor(fd: number);
13 | columns: number;
14 | rows: number;
15 | isTTY: boolean;
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/ajv/.tonic_example.js:
--------------------------------------------------------------------------------
1 | var Ajv = require('ajv');
2 | var ajv = new Ajv({allErrors: true});
3 |
4 | var schema = {
5 | "properties": {
6 | "foo": { "type": "string" },
7 | "bar": { "type": "number", "maximum": 3 }
8 | }
9 | };
10 |
11 | var validate = ajv.compile(schema);
12 |
13 | test({"foo": "abc", "bar": 2});
14 | test({"foo": 2, "bar": 4});
15 |
16 | function test(data) {
17 | var valid = validate(data);
18 | if (valid) console.log('Valid!');
19 | else console.log('Invalid: ' + ajv.errorsText(validate.errors));
20 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/ajv/lib/cache.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 |
4 | var Cache = module.exports = function Cache() {
5 | this._cache = {};
6 | };
7 |
8 |
9 | Cache.prototype.put = function Cache_put(key, value) {
10 | this._cache[key] = value;
11 | };
12 |
13 |
14 | Cache.prototype.get = function Cache_get(key) {
15 | return this._cache[key];
16 | };
17 |
18 |
19 | Cache.prototype.del = function Cache_del(key) {
20 | delete this._cache[key];
21 | };
22 |
23 |
24 | Cache.prototype.clear = function Cache_clear() {
25 | this._cache = {};
26 | };
27 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/ajv/lib/compile/equal.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | // do NOT remove this file - it would break pre-compiled schemas
4 | // https://github.com/epoberezkin/ajv/issues/889
5 | module.exports = require('fast-deep-equal');
6 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/ajv/lib/compile/schema_obj.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var util = require('./util');
4 |
5 | module.exports = SchemaObject;
6 |
7 | function SchemaObject(obj) {
8 | util.copy(obj, this);
9 | }
10 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/ajv/lib/compile/ucs2length.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | // https://mathiasbynens.be/notes/javascript-encoding
4 | // https://github.com/bestiejs/punycode.js - punycode.ucs2.decode
5 | module.exports = function ucs2length(str) {
6 | var length = 0
7 | , len = str.length
8 | , pos = 0
9 | , value;
10 | while (pos < len) {
11 | length++;
12 | value = str.charCodeAt(pos++);
13 | if (value >= 0xD800 && value <= 0xDBFF && pos < len) {
14 | // high surrogate, and there is a next character
15 | value = str.charCodeAt(pos);
16 | if ((value & 0xFC00) == 0xDC00) pos++; // low surrogate
17 | }
18 | }
19 | return length;
20 | };
21 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/ajv/lib/dot/_limitItems.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.errors }}
3 | {{# def.setupKeyword }}
4 | {{# def.$data }}
5 |
6 | {{ var $op = $keyword == 'maxItems' ? '>' : '<'; }}
7 | if ({{# def.$dataNotType:'number' }} {{=$data}}.length {{=$op}} {{=$schemaValue}}) {
8 | {{ var $errorKeyword = $keyword; }}
9 | {{# def.error:'_limitItems' }}
10 | } {{? $breakOnError }} else { {{?}}
11 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/ajv/lib/dot/_limitLength.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.errors }}
3 | {{# def.setupKeyword }}
4 | {{# def.$data }}
5 |
6 | {{ var $op = $keyword == 'maxLength' ? '>' : '<'; }}
7 | if ({{# def.$dataNotType:'number' }} {{# def.strLength }} {{=$op}} {{=$schemaValue}}) {
8 | {{ var $errorKeyword = $keyword; }}
9 | {{# def.error:'_limitLength' }}
10 | } {{? $breakOnError }} else { {{?}}
11 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/ajv/lib/dot/_limitProperties.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.errors }}
3 | {{# def.setupKeyword }}
4 | {{# def.$data }}
5 |
6 | {{ var $op = $keyword == 'maxProperties' ? '>' : '<'; }}
7 | if ({{# def.$dataNotType:'number' }} Object.keys({{=$data}}).length {{=$op}} {{=$schemaValue}}) {
8 | {{ var $errorKeyword = $keyword; }}
9 | {{# def.error:'_limitProperties' }}
10 | } {{? $breakOnError }} else { {{?}}
11 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/ajv/lib/dot/allOf.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.errors }}
3 | {{# def.setupKeyword }}
4 | {{# def.setupNextLevel }}
5 |
6 | {{
7 | var $currentBaseId = $it.baseId
8 | , $allSchemasEmpty = true;
9 | }}
10 |
11 | {{~ $schema:$sch:$i }}
12 | {{? {{# def.nonEmptySchema:$sch }} }}
13 | {{
14 | $allSchemasEmpty = false;
15 | $it.schema = $sch;
16 | $it.schemaPath = $schemaPath + '[' + $i + ']';
17 | $it.errSchemaPath = $errSchemaPath + '/' + $i;
18 | }}
19 |
20 | {{# def.insertSubschemaCode }}
21 |
22 | {{# def.ifResultValid }}
23 | {{?}}
24 | {{~}}
25 |
26 | {{? $breakOnError }}
27 | {{? $allSchemasEmpty }}
28 | if (true) {
29 | {{??}}
30 | {{= $closingBraces.slice(0,-1) }}
31 | {{?}}
32 | {{?}}
33 |
34 | {{# def.cleanUp }}
35 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/ajv/lib/dot/comment.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.setupKeyword }}
3 |
4 | {{ var $comment = it.util.toQuotedString($schema); }}
5 | {{? it.opts.$comment === true }}
6 | console.log({{=$comment}});
7 | {{?? typeof it.opts.$comment == 'function' }}
8 | self._opts.$comment({{=$comment}}, {{=it.util.toQuotedString($errSchemaPath)}}, validate.root.schema);
9 | {{?}}
10 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/ajv/lib/dot/const.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.errors }}
3 | {{# def.setupKeyword }}
4 | {{# def.$data }}
5 |
6 | {{? !$isData }}
7 | var schema{{=$lvl}} = validate.schema{{=$schemaPath}};
8 | {{?}}
9 | var {{=$valid}} = equal({{=$data}}, schema{{=$lvl}});
10 | {{# def.checkError:'const' }}
11 | {{? $breakOnError }} else { {{?}}
12 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/ajv/lib/dot/enum.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.errors }}
3 | {{# def.setupKeyword }}
4 | {{# def.$data }}
5 |
6 | {{
7 | var $i = 'i' + $lvl
8 | , $vSchema = 'schema' + $lvl;
9 | }}
10 |
11 | {{? !$isData }}
12 | var {{=$vSchema}} = validate.schema{{=$schemaPath}};
13 | {{?}}
14 | var {{=$valid}};
15 |
16 | {{?$isData}}{{# def.check$dataIsArray }}{{?}}
17 |
18 | {{=$valid}} = false;
19 |
20 | for (var {{=$i}}=0; {{=$i}}<{{=$vSchema}}.length; {{=$i}}++)
21 | if (equal({{=$data}}, {{=$vSchema}}[{{=$i}}])) {
22 | {{=$valid}} = true;
23 | break;
24 | }
25 |
26 | {{? $isData }} } {{?}}
27 |
28 | {{# def.checkError:'enum' }}
29 |
30 | {{? $breakOnError }} else { {{?}}
31 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/ajv/lib/dot/multipleOf.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.errors }}
3 | {{# def.setupKeyword }}
4 | {{# def.$data }}
5 |
6 | var division{{=$lvl}};
7 | if ({{?$isData}}
8 | {{=$schemaValue}} !== undefined && (
9 | typeof {{=$schemaValue}} != 'number' ||
10 | {{?}}
11 | (division{{=$lvl}} = {{=$data}} / {{=$schemaValue}},
12 | {{? it.opts.multipleOfPrecision }}
13 | Math.abs(Math.round(division{{=$lvl}}) - division{{=$lvl}}) > 1e-{{=it.opts.multipleOfPrecision}}
14 | {{??}}
15 | division{{=$lvl}} !== parseInt(division{{=$lvl}})
16 | {{?}}
17 | )
18 | {{?$isData}} ) {{?}} ) {
19 | {{# def.error:'multipleOf' }}
20 | } {{? $breakOnError }} else { {{?}}
21 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/ajv/lib/dot/pattern.jst:
--------------------------------------------------------------------------------
1 | {{# def.definitions }}
2 | {{# def.errors }}
3 | {{# def.setupKeyword }}
4 | {{# def.$data }}
5 |
6 | {{
7 | var $regexp = $isData
8 | ? '(new RegExp(' + $schemaValue + '))'
9 | : it.usePattern($schema);
10 | }}
11 |
12 | if ({{# def.$dataNotType:'string' }} !{{=$regexp}}.test({{=$data}}) ) {
13 | {{# def.error:'pattern' }}
14 | } {{? $breakOnError }} else { {{?}}
15 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/ajv/lib/dotjs/README.md:
--------------------------------------------------------------------------------
1 | These files are compiled dot templates from dot folder.
2 |
3 | Do NOT edit them directly, edit the templates and run `npm run build` from main ajv folder.
4 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/ajv/lib/dotjs/comment.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | module.exports = function generate_comment(it, $keyword, $ruleType) {
3 | var out = ' ';
4 | var $schema = it.schema[$keyword];
5 | var $errSchemaPath = it.errSchemaPath + '/' + $keyword;
6 | var $breakOnError = !it.opts.allErrors;
7 | var $comment = it.util.toQuotedString($schema);
8 | if (it.opts.$comment === true) {
9 | out += ' console.log(' + ($comment) + ');';
10 | } else if (typeof it.opts.$comment == 'function') {
11 | out += ' self._opts.$comment(' + ($comment) + ', ' + (it.util.toQuotedString($errSchemaPath)) + ', validate.root.schema);';
12 | }
13 | return out;
14 | }
15 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/ajv/lib/refs/data.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "http://json-schema.org/draft-07/schema#",
3 | "$id": "https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/data.json#",
4 | "description": "Meta-schema for $data reference (JSON Schema extension proposal)",
5 | "type": "object",
6 | "required": [ "$data" ],
7 | "properties": {
8 | "$data": {
9 | "type": "string",
10 | "anyOf": [
11 | { "format": "relative-json-pointer" },
12 | { "format": "json-pointer" }
13 | ]
14 | }
15 | },
16 | "additionalProperties": false
17 | }
18 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/ajv/scripts/.eslintrc.yml:
--------------------------------------------------------------------------------
1 | rules:
2 | no-console: 0
3 | no-empty: [2, allowEmptyCatch: true]
4 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/ajv/scripts/info:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | 'use strict';
4 |
5 | var fs = require('fs');
6 | var name = process.argv[2] || '.';
7 | var property = process.argv[3] || 'version';
8 | if (name != '.') name = 'node_modules/' + name;
9 | var json = JSON.parse(fs.readFileSync(name + '/package.json', 'utf8'));
10 | console.log(json[property]);
11 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/ajv/scripts/prepare-tests:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | set -e
4 |
5 | mkdir -p .browser
6 |
7 | echo
8 | echo Preparing browser tests:
9 |
10 | find spec -type f -name '*.spec.js' | \
11 | xargs -I {} sh -c \
12 | 'export f="{}"; echo $f; browserify $f -t require-globify -t brfs -x ajv -u buffer -o $(echo $f | sed -e "s/spec/.browser/");'
13 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/asn1/lib/ber/errors.js:
--------------------------------------------------------------------------------
1 | // Copyright 2011 Mark Cavage All rights reserved.
2 |
3 |
4 | module.exports = {
5 |
6 | newInvalidAsn1Error: function (msg) {
7 | var e = new Error();
8 | e.name = 'InvalidAsn1Error';
9 | e.message = msg || '';
10 | return e;
11 | }
12 |
13 | };
14 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/asn1/lib/ber/index.js:
--------------------------------------------------------------------------------
1 | // Copyright 2011 Mark Cavage All rights reserved.
2 |
3 | var errors = require('./errors');
4 | var types = require('./types');
5 |
6 | var Reader = require('./reader');
7 | var Writer = require('./writer');
8 |
9 |
10 | // --- Exports
11 |
12 | module.exports = {
13 |
14 | Reader: Reader,
15 |
16 | Writer: Writer
17 |
18 | };
19 |
20 | for (var t in types) {
21 | if (types.hasOwnProperty(t))
22 | module.exports[t] = types[t];
23 | }
24 | for (var e in errors) {
25 | if (errors.hasOwnProperty(e))
26 | module.exports[e] = errors[e];
27 | }
28 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/asn1/lib/ber/types.js:
--------------------------------------------------------------------------------
1 | // Copyright 2011 Mark Cavage All rights reserved.
2 |
3 |
4 | module.exports = {
5 | EOC: 0,
6 | Boolean: 1,
7 | Integer: 2,
8 | BitString: 3,
9 | OctetString: 4,
10 | Null: 5,
11 | OID: 6,
12 | ObjectDescriptor: 7,
13 | External: 8,
14 | Real: 9, // float
15 | Enumeration: 10,
16 | PDV: 11,
17 | Utf8String: 12,
18 | RelativeOID: 13,
19 | Sequence: 16,
20 | Set: 17,
21 | NumericString: 18,
22 | PrintableString: 19,
23 | T61String: 20,
24 | VideotexString: 21,
25 | IA5String: 22,
26 | UTCTime: 23,
27 | GeneralizedTime: 24,
28 | GraphicString: 25,
29 | VisibleString: 26,
30 | GeneralString: 28,
31 | UniversalString: 29,
32 | CharacterString: 30,
33 | BMPString: 31,
34 | Constructor: 32,
35 | Context: 128
36 | };
37 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/asn1/lib/index.js:
--------------------------------------------------------------------------------
1 | // Copyright 2011 Mark Cavage All rights reserved.
2 |
3 | // If you have no idea what ASN.1 or BER is, see this:
4 | // ftp://ftp.rsa.com/pub/pkcs/ascii/layman.asc
5 |
6 | var Ber = require('./ber/index');
7 |
8 |
9 |
10 | // --- Exported API
11 |
12 | module.exports = {
13 |
14 | Ber: Ber,
15 |
16 | BerReader: Ber.Reader,
17 |
18 | BerWriter: Ber.Writer
19 |
20 | };
21 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/assert-plus/AUTHORS:
--------------------------------------------------------------------------------
1 | Dave Eddy
2 | Fred Kuo
3 | Lars-Magnus Skog
4 | Mark Cavage
5 | Patrick Mooney
6 | Rob Gulewich
7 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/assert-plus/CHANGES.md:
--------------------------------------------------------------------------------
1 | # assert-plus Changelog
2 |
3 | ## 1.0.0
4 |
5 | - *BREAKING* assert.number (and derivatives) now accept Infinity as valid input
6 | - Add assert.finite check. Previous assert.number callers should use this if
7 | they expect Infinity inputs to throw.
8 |
9 | ## 0.2.0
10 |
11 | - Fix `assert.object(null)` so it throws
12 | - Fix optional/arrayOf exports for non-type-of asserts
13 | - Add optiona/arrayOf exports for Stream/Date/Regex/uuid
14 | - Add basic unit test coverage
15 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/asynckit/index.js:
--------------------------------------------------------------------------------
1 | module.exports =
2 | {
3 | parallel : require('./parallel.js'),
4 | serial : require('./serial.js'),
5 | serialOrdered : require('./serialOrdered.js')
6 | };
7 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/asynckit/lib/abort.js:
--------------------------------------------------------------------------------
1 | // API
2 | module.exports = abort;
3 |
4 | /**
5 | * Aborts leftover active jobs
6 | *
7 | * @param {object} state - current state object
8 | */
9 | function abort(state)
10 | {
11 | Object.keys(state.jobs).forEach(clean.bind(state));
12 |
13 | // reset leftover jobs
14 | state.jobs = {};
15 | }
16 |
17 | /**
18 | * Cleans up leftover job by invoking abort function for the provided job id
19 | *
20 | * @this state
21 | * @param {string|number} key - job id to abort
22 | */
23 | function clean(key)
24 | {
25 | if (typeof this.jobs[key] == 'function')
26 | {
27 | this.jobs[key]();
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/asynckit/lib/async.js:
--------------------------------------------------------------------------------
1 | var defer = require('./defer.js');
2 |
3 | // API
4 | module.exports = async;
5 |
6 | /**
7 | * Runs provided callback asynchronously
8 | * even if callback itself is not
9 | *
10 | * @param {function} callback - callback to invoke
11 | * @returns {function} - augmented callback
12 | */
13 | function async(callback)
14 | {
15 | var isAsync = false;
16 |
17 | // check if async happened
18 | defer(function() { isAsync = true; });
19 |
20 | return function async_callback(err, result)
21 | {
22 | if (isAsync)
23 | {
24 | callback(err, result);
25 | }
26 | else
27 | {
28 | defer(function nextTick_callback()
29 | {
30 | callback(err, result);
31 | });
32 | }
33 | };
34 | }
35 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/asynckit/lib/defer.js:
--------------------------------------------------------------------------------
1 | module.exports = defer;
2 |
3 | /**
4 | * Runs provided function on next iteration of the event loop
5 | *
6 | * @param {function} fn - function to run
7 | */
8 | function defer(fn)
9 | {
10 | var nextTick = typeof setImmediate == 'function'
11 | ? setImmediate
12 | : (
13 | typeof process == 'object' && typeof process.nextTick == 'function'
14 | ? process.nextTick
15 | : null
16 | );
17 |
18 | if (nextTick)
19 | {
20 | nextTick(fn);
21 | }
22 | else
23 | {
24 | setTimeout(fn, 0);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/asynckit/lib/readable_parallel.js:
--------------------------------------------------------------------------------
1 | var parallel = require('../parallel.js');
2 |
3 | // API
4 | module.exports = ReadableParallel;
5 |
6 | /**
7 | * Streaming wrapper to `asynckit.parallel`
8 | *
9 | * @param {array|object} list - array or object (named list) to iterate over
10 | * @param {function} iterator - iterator to run
11 | * @param {function} callback - invoked when all elements processed
12 | * @returns {stream.Readable#}
13 | */
14 | function ReadableParallel(list, iterator, callback)
15 | {
16 | if (!(this instanceof ReadableParallel))
17 | {
18 | return new ReadableParallel(list, iterator, callback);
19 | }
20 |
21 | // turn on object mode
22 | ReadableParallel.super_.call(this, {objectMode: true});
23 |
24 | this._start(parallel, list, iterator, callback);
25 | }
26 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/asynckit/lib/readable_serial.js:
--------------------------------------------------------------------------------
1 | var serial = require('../serial.js');
2 |
3 | // API
4 | module.exports = ReadableSerial;
5 |
6 | /**
7 | * Streaming wrapper to `asynckit.serial`
8 | *
9 | * @param {array|object} list - array or object (named list) to iterate over
10 | * @param {function} iterator - iterator to run
11 | * @param {function} callback - invoked when all elements processed
12 | * @returns {stream.Readable#}
13 | */
14 | function ReadableSerial(list, iterator, callback)
15 | {
16 | if (!(this instanceof ReadableSerial))
17 | {
18 | return new ReadableSerial(list, iterator, callback);
19 | }
20 |
21 | // turn on object mode
22 | ReadableSerial.super_.call(this, {objectMode: true});
23 |
24 | this._start(serial, list, iterator, callback);
25 | }
26 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/asynckit/lib/terminator.js:
--------------------------------------------------------------------------------
1 | var abort = require('./abort.js')
2 | , async = require('./async.js')
3 | ;
4 |
5 | // API
6 | module.exports = terminator;
7 |
8 | /**
9 | * Terminates jobs in the attached state context
10 | *
11 | * @this AsyncKitState#
12 | * @param {function} callback - final callback to invoke after termination
13 | */
14 | function terminator(callback)
15 | {
16 | if (!Object.keys(this.jobs).length)
17 | {
18 | return;
19 | }
20 |
21 | // fast forward iteration index
22 | this.index = this.size;
23 |
24 | // abort jobs
25 | abort(this);
26 |
27 | // send back results we have so far
28 | async(callback)(null, this.results);
29 | }
30 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/asynckit/serial.js:
--------------------------------------------------------------------------------
1 | var serialOrdered = require('./serialOrdered.js');
2 |
3 | // Public API
4 | module.exports = serial;
5 |
6 | /**
7 | * Runs iterator over provided array elements in series
8 | *
9 | * @param {array|object} list - array or object (named list) to iterate over
10 | * @param {function} iterator - iterator to run
11 | * @param {function} callback - invoked when all elements processed
12 | * @returns {function} - jobs terminator
13 | */
14 | function serial(list, iterator, callback)
15 | {
16 | return serialOrdered(list, iterator, null, callback);
17 | }
18 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/asynckit/stream.js:
--------------------------------------------------------------------------------
1 | var inherits = require('util').inherits
2 | , Readable = require('stream').Readable
3 | , ReadableAsyncKit = require('./lib/readable_asynckit.js')
4 | , ReadableParallel = require('./lib/readable_parallel.js')
5 | , ReadableSerial = require('./lib/readable_serial.js')
6 | , ReadableSerialOrdered = require('./lib/readable_serial_ordered.js')
7 | ;
8 |
9 | // API
10 | module.exports =
11 | {
12 | parallel : ReadableParallel,
13 | serial : ReadableSerial,
14 | serialOrdered : ReadableSerialOrdered,
15 | };
16 |
17 | inherits(ReadableAsyncKit, Readable);
18 |
19 | inherits(ReadableParallel, ReadableAsyncKit);
20 | inherits(ReadableSerial, ReadableAsyncKit);
21 | inherits(ReadableSerialOrdered, ReadableAsyncKit);
22 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/aws-sign2/README.md:
--------------------------------------------------------------------------------
1 | aws-sign
2 | ========
3 |
4 | AWS signing. Originally pulled from LearnBoost/knox, maintained as vendor in request, now a standalone module.
5 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/aws4/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.10"
4 | - "0.12"
5 | - "4"
6 | - "6"
7 | - "8"
8 | - "10"
9 | - "12"
10 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/bcrypt-pbkdf/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | # Contributing
2 |
3 | This repository uses [cr.joyent.us](https://cr.joyent.us) (Gerrit) for new
4 | changes. Anyone can submit changes. To get started, see the [cr.joyent.us user
5 | guide](https://github.com/joyent/joyent-gerrit/blob/master/docs/user/README.md).
6 | This repo does not use GitHub pull requests.
7 |
8 | See the [Joyent Engineering
9 | Guidelines](https://github.com/joyent/eng/blob/master/docs/index.md) for general
10 | best practices expected in this repository.
11 |
12 | If you're changing something non-trivial or user-facing, you may want to submit
13 | an issue first.
14 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/core-util-is/README.md:
--------------------------------------------------------------------------------
1 | # core-util-is
2 |
3 | The `util.is*` functions introduced in Node v0.12.
4 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/crypto/README.md:
--------------------------------------------------------------------------------
1 | # Deprecated Package
2 |
3 | This package is no longer supported and has been deprecated. To avoid malicious use, npm is hanging on to the package name.
4 |
5 | It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.
6 |
7 | Please contact support@npmjs.com if you have questions about this package.
8 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/delayed-stream/.npmignore:
--------------------------------------------------------------------------------
1 | test
2 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/delayed-stream/Makefile:
--------------------------------------------------------------------------------
1 | SHELL := /bin/bash
2 |
3 | test:
4 | @./test/run.js
5 |
6 | .PHONY: test
7 |
8 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/ecc-jsbn/README.md:
--------------------------------------------------------------------------------
1 | ecc-jsbn
2 | ========
3 |
4 | ECC package based on [jsbn](https://github.com/andyperlitch/jsbn) from [Tom Wu](http://www-cs-students.stanford.edu/~tjw/).
5 |
6 | This is a subset of the same interface as the [node compiled module](https://github.com/quartzjer/ecc), but works in the browser too.
7 |
8 | Also uses point compression now from [https://github.com/kaielvin](https://github.com/kaielvin/jsbn-ec-point-compression).
9 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/ecc-jsbn/test.js:
--------------------------------------------------------------------------------
1 | var ecc = require("./index.js");
2 | var key1 = new ecc.ECKey(ecc.ECCurves.secp160r1);
3 | var key2 = new ecc.ECKey(ecc.ECCurves.secp160r1);
4 | console.log(key1.deriveSharedSecret(key2));
5 | var key3 = new ecc.ECKey(ecc.ECCurves.secp160r1,key1.PrivateKey);
6 | var key4 = new ecc.ECKey(ecc.ECCurves.secp160r1,key2.PublicKey,true);
7 | console.log(key3.deriveSharedSecret(key4));
8 |
9 | var key1 = new ecc.ECKey(ecc.ECCurves.secp256r1);
10 | var key2 = new ecc.ECKey(ecc.ECCurves.secp256r1);
11 | console.log(key1.deriveSharedSecret(key2));
12 | var key3 = new ecc.ECKey(ecc.ECCurves.secp256r1,key1.PrivateKey);
13 | var key4 = new ecc.ECKey(ecc.ECCurves.secp256r1,key2.PublicKey,true);
14 | console.log(key3.deriveSharedSecret(key4));
15 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/extend/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | indent_style = tab
5 | indent_size = 4
6 | end_of_line = lf
7 | charset = utf-8
8 | trim_trailing_whitespace = true
9 | insert_final_newline = true
10 | max_line_length = 150
11 |
12 | [CHANGELOG.md]
13 | indent_style = space
14 | indent_size = 2
15 |
16 | [*.json]
17 | max_line_length = off
18 |
19 | [Makefile]
20 | max_line_length = off
21 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/extend/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb",
5 |
6 | "rules": {
7 | "complexity": [2, 20],
8 | "eqeqeq": [2, "allow-null"],
9 | "func-name-matching": [1],
10 | "max-depth": [1, 4],
11 | "max-statements": [2, 26],
12 | "no-extra-parens": [1],
13 | "no-magic-numbers": [0],
14 | "no-restricted-syntax": [2, "BreakStatement", "ContinueStatement", "DebuggerStatement", "LabeledStatement", "WithStatement"],
15 | "sort-keys": [0],
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/extend/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "extend",
3 | "author": "Stefan Thomas (http://www.justmoon.net)",
4 | "version": "3.0.0",
5 | "description": "Port of jQuery.extend for node.js and the browser.",
6 | "scripts": [
7 | "index.js"
8 | ],
9 | "contributors": [
10 | {
11 | "name": "Jordan Harband",
12 | "url": "https://github.com/ljharb"
13 | }
14 | ],
15 | "keywords": [
16 | "extend",
17 | "clone",
18 | "merge"
19 | ],
20 | "repository" : {
21 | "type": "git",
22 | "url": "https://github.com/justmoon/node-extend.git"
23 | },
24 | "dependencies": {
25 | },
26 | "devDependencies": {
27 | "tape" : "~3.0.0",
28 | "covert": "~0.4.0",
29 | "jscs": "~1.6.2"
30 | }
31 | }
32 |
33 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/extsprintf/.gitmodules:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/cloudfunctions/FaceAPI/node_modules/extsprintf/.gitmodules
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/extsprintf/.npmignore:
--------------------------------------------------------------------------------
1 | /deps
2 | /examples
3 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/extsprintf/Makefile:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (c) 2012, Joyent, Inc. All rights reserved.
3 | #
4 | # Makefile: top-level Makefile
5 | #
6 | # This Makefile contains only repo-specific logic and uses included makefiles
7 | # to supply common targets (javascriptlint, jsstyle, restdown, etc.), which are
8 | # used by other repos as well.
9 | #
10 |
11 | #
12 | # Files
13 | #
14 | JSL = jsl
15 | JSSTYLE = jsstyle
16 | JS_FILES := $(shell find examples lib -name '*.js')
17 | JSL_FILES_NODE = $(JS_FILES)
18 | JSSTYLE_FILES = $(JS_FILES)
19 | JSL_CONF_NODE = jsl.node.conf
20 |
21 | # Default target is "check"
22 | check:
23 |
24 | include ./Makefile.targ
25 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/fast-deep-equal/index.d.ts:
--------------------------------------------------------------------------------
1 | declare module 'fast-deep-equal' {
2 | const equal: (a: any, b: any) => boolean;
3 | export = equal;
4 | }
5 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/fast-json-stable-stringify/.eslintrc.yml:
--------------------------------------------------------------------------------
1 | extends: eslint:recommended
2 | env:
3 | node: true
4 | browser: true
5 | rules:
6 | block-scoped-var: 2
7 | callback-return: 2
8 | dot-notation: 2
9 | indent: 2
10 | linebreak-style: [2, unix]
11 | new-cap: 2
12 | no-console: [2, allow: [warn, error]]
13 | no-else-return: 2
14 | no-eq-null: 2
15 | no-fallthrough: 2
16 | no-invalid-this: 2
17 | no-return-assign: 2
18 | no-shadow: 1
19 | no-trailing-spaces: 2
20 | no-use-before-define: [2, nofunc]
21 | quotes: [2, single, avoid-escape]
22 | semi: [2, always]
23 | strict: [2, global]
24 | valid-jsdoc: [2, requireReturn: false]
25 | no-control-regex: 0
26 | no-useless-escape: 2
27 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/fast-json-stable-stringify/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "8"
4 | - "10"
5 | - "12"
6 | - "13"
7 | after_script:
8 | - coveralls < coverage/lcov.info
9 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/fast-json-stable-stringify/example/key_cmp.js:
--------------------------------------------------------------------------------
1 | var stringify = require('../');
2 |
3 | var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };
4 | var s = stringify(obj, function (a, b) {
5 | return a.key < b.key ? 1 : -1;
6 | });
7 | console.log(s);
8 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/fast-json-stable-stringify/example/nested.js:
--------------------------------------------------------------------------------
1 | var stringify = require('../');
2 | var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };
3 | console.log(stringify(obj));
4 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/fast-json-stable-stringify/example/str.js:
--------------------------------------------------------------------------------
1 | var stringify = require('../');
2 | var obj = { c: 6, b: [4,5], a: 3 };
3 | console.log(stringify(obj));
4 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/fast-json-stable-stringify/example/value_cmp.js:
--------------------------------------------------------------------------------
1 | var stringify = require('../');
2 |
3 | var obj = { d: 6, c: 5, b: [{z:3,y:2,x:1},9], a: 10 };
4 | var s = stringify(obj, function (a, b) {
5 | return a.value < b.value ? 1 : -1;
6 | });
7 | console.log(s);
8 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/fast-json-stable-stringify/test/cmp.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var test = require('tape');
4 | var stringify = require('../');
5 |
6 | test('custom comparison function', function (t) {
7 | t.plan(1);
8 | var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };
9 | var s = stringify(obj, function (a, b) {
10 | return a.key < b.key ? 1 : -1;
11 | });
12 | t.equal(s, '{"c":8,"b":[{"z":6,"y":5,"x":4},7],"a":3}');
13 | });
14 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/fast-json-stable-stringify/test/to-json.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var test = require('tape');
4 | var stringify = require('../');
5 |
6 | test('toJSON function', function (t) {
7 | t.plan(1);
8 | var obj = { one: 1, two: 2, toJSON: function() { return { one: 1 }; } };
9 | t.equal(stringify(obj), '{"one":1}' );
10 | });
11 |
12 | test('toJSON returns string', function (t) {
13 | t.plan(1);
14 | var obj = { one: 1, two: 2, toJSON: function() { return 'one'; } };
15 | t.equal(stringify(obj), '"one"');
16 | });
17 |
18 | test('toJSON returns array', function (t) {
19 | t.plan(1);
20 | var obj = { one: 1, two: 2, toJSON: function() { return ['one']; } };
21 | t.equal(stringify(obj), '["one"]');
22 | });
23 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/forever-agent/README.md:
--------------------------------------------------------------------------------
1 | forever-agent
2 | =============
3 |
4 | HTTP Agent that keeps socket connections alive between keep-alive requests. Formerly part of mikeal/request, now a standalone module.
5 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/form-data/lib/browser.js:
--------------------------------------------------------------------------------
1 | /* eslint-env browser */
2 | module.exports = typeof self == 'object' ? self.FormData : window.FormData;
3 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/form-data/lib/populate.js:
--------------------------------------------------------------------------------
1 | // populates missing values
2 | module.exports = function(dst, src) {
3 |
4 | Object.keys(src).forEach(function(prop)
5 | {
6 | dst[prop] = dst[prop] || src[prop];
7 | });
8 |
9 | return dst;
10 | };
11 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/function-bind/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | indent_style = tab
5 | indent_size = 4
6 | end_of_line = lf
7 | charset = utf-8
8 | trim_trailing_whitespace = true
9 | insert_final_newline = true
10 | max_line_length = 120
11 |
12 | [CHANGELOG.md]
13 | indent_style = space
14 | indent_size = 2
15 |
16 | [*.json]
17 | max_line_length = off
18 |
19 | [Makefile]
20 | max_line_length = off
21 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/function-bind/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb",
5 |
6 | "rules": {
7 | "func-name-matching": 0,
8 | "indent": [2, 4],
9 | "max-nested-callbacks": [2, 3],
10 | "max-params": [2, 3],
11 | "max-statements": [2, 20],
12 | "no-new-func": [1],
13 | "strict": [0]
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/function-bind/.npmignore:
--------------------------------------------------------------------------------
1 | # gitignore
2 | .DS_Store
3 | .monitor
4 | .*.swp
5 | .nodemonignore
6 | releases
7 | *.log
8 | *.err
9 | fleet.json
10 | public/browserify
11 | bin/*.json
12 | .bin
13 | build
14 | compile
15 | .lock-wscript
16 | coverage
17 | node_modules
18 |
19 | # Only apps should have lockfiles
20 | npm-shrinkwrap.json
21 | package-lock.json
22 | yarn.lock
23 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/function-bind/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var implementation = require('./implementation');
4 |
5 | module.exports = Function.prototype.bind || implementation;
6 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/function-bind/test/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "rules": {
3 | "array-bracket-newline": 0,
4 | "array-element-newline": 0,
5 | "max-statements-per-line": [2, { "max": 2 }],
6 | "no-invalid-this": 0,
7 | "no-magic-numbers": 0,
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/getpass/.npmignore:
--------------------------------------------------------------------------------
1 | .gitmodules
2 | deps
3 | docs
4 | Makefile
5 | node_modules
6 | test
7 | tools
8 | coverage
9 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/getpass/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "5.10"
4 | - "4.4"
5 | - "4.1"
6 | - "0.12"
7 | - "0.10"
8 | before_install:
9 | - "make check"
10 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/har-schema/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2015, Ahmad Nassri
2 |
3 | Permission to use, copy, modify, and/or distribute this software for any
4 | purpose with or without fee is hereby granted, provided that the above
5 | copyright notice and this permission notice appear in all copies.
6 |
7 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/har-schema/lib/browser.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "browser.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "name",
7 | "version"
8 | ],
9 | "properties": {
10 | "name": {
11 | "type": "string"
12 | },
13 | "version": {
14 | "type": "string"
15 | },
16 | "comment": {
17 | "type": "string"
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/har-schema/lib/cache.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "cache.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "properties": {
5 | "beforeRequest": {
6 | "oneOf": [
7 | { "type": "null" },
8 | { "$ref": "beforeRequest.json#" }
9 | ]
10 | },
11 | "afterRequest": {
12 | "oneOf": [
13 | { "type": "null" },
14 | { "$ref": "afterRequest.json#" }
15 | ]
16 | },
17 | "comment": {
18 | "type": "string"
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/har-schema/lib/content.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "content.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "size",
7 | "mimeType"
8 | ],
9 | "properties": {
10 | "size": {
11 | "type": "integer"
12 | },
13 | "compression": {
14 | "type": "integer"
15 | },
16 | "mimeType": {
17 | "type": "string"
18 | },
19 | "text": {
20 | "type": "string"
21 | },
22 | "encoding": {
23 | "type": "string"
24 | },
25 | "comment": {
26 | "type": "string"
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/har-schema/lib/cookie.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "cookie.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "name",
7 | "value"
8 | ],
9 | "properties": {
10 | "name": {
11 | "type": "string"
12 | },
13 | "value": {
14 | "type": "string"
15 | },
16 | "path": {
17 | "type": "string"
18 | },
19 | "domain": {
20 | "type": "string"
21 | },
22 | "expires": {
23 | "type": ["string", "null"],
24 | "format": "date-time"
25 | },
26 | "httpOnly": {
27 | "type": "boolean"
28 | },
29 | "secure": {
30 | "type": "boolean"
31 | },
32 | "comment": {
33 | "type": "string"
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/har-schema/lib/creator.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "creator.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "name",
7 | "version"
8 | ],
9 | "properties": {
10 | "name": {
11 | "type": "string"
12 | },
13 | "version": {
14 | "type": "string"
15 | },
16 | "comment": {
17 | "type": "string"
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/har-schema/lib/har.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "har.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "log"
7 | ],
8 | "properties": {
9 | "log": {
10 | "$ref": "log.json#"
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/har-schema/lib/header.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "header.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "name",
7 | "value"
8 | ],
9 | "properties": {
10 | "name": {
11 | "type": "string"
12 | },
13 | "value": {
14 | "type": "string"
15 | },
16 | "comment": {
17 | "type": "string"
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/har-schema/lib/index.js:
--------------------------------------------------------------------------------
1 | 'use strict'
2 |
3 | module.exports = {
4 | afterRequest: require('./afterRequest.json'),
5 | beforeRequest: require('./beforeRequest.json'),
6 | browser: require('./browser.json'),
7 | cache: require('./cache.json'),
8 | content: require('./content.json'),
9 | cookie: require('./cookie.json'),
10 | creator: require('./creator.json'),
11 | entry: require('./entry.json'),
12 | har: require('./har.json'),
13 | header: require('./header.json'),
14 | log: require('./log.json'),
15 | page: require('./page.json'),
16 | pageTimings: require('./pageTimings.json'),
17 | postData: require('./postData.json'),
18 | query: require('./query.json'),
19 | request: require('./request.json'),
20 | response: require('./response.json'),
21 | timings: require('./timings.json')
22 | }
23 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/har-schema/lib/log.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "log.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "version",
7 | "creator",
8 | "entries"
9 | ],
10 | "properties": {
11 | "version": {
12 | "type": "string"
13 | },
14 | "creator": {
15 | "$ref": "creator.json#"
16 | },
17 | "browser": {
18 | "$ref": "browser.json#"
19 | },
20 | "pages": {
21 | "type": "array",
22 | "items": {
23 | "$ref": "page.json#"
24 | }
25 | },
26 | "entries": {
27 | "type": "array",
28 | "items": {
29 | "$ref": "entry.json#"
30 | }
31 | },
32 | "comment": {
33 | "type": "string"
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/har-schema/lib/page.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "page.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "optional": true,
6 | "required": [
7 | "startedDateTime",
8 | "id",
9 | "title",
10 | "pageTimings"
11 | ],
12 | "properties": {
13 | "startedDateTime": {
14 | "type": "string",
15 | "format": "date-time",
16 | "pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))"
17 | },
18 | "id": {
19 | "type": "string",
20 | "unique": true
21 | },
22 | "title": {
23 | "type": "string"
24 | },
25 | "pageTimings": {
26 | "$ref": "pageTimings.json#"
27 | },
28 | "comment": {
29 | "type": "string"
30 | }
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/har-schema/lib/pageTimings.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "pageTimings.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "properties": {
6 | "onContentLoad": {
7 | "type": "number",
8 | "min": -1
9 | },
10 | "onLoad": {
11 | "type": "number",
12 | "min": -1
13 | },
14 | "comment": {
15 | "type": "string"
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/har-schema/lib/query.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "query.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "name",
7 | "value"
8 | ],
9 | "properties": {
10 | "name": {
11 | "type": "string"
12 | },
13 | "value": {
14 | "type": "string"
15 | },
16 | "comment": {
17 | "type": "string"
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/har-validator/lib/error.js:
--------------------------------------------------------------------------------
1 | function HARError (errors) {
2 | var message = 'validation failed'
3 |
4 | this.name = 'HARError'
5 | this.message = message
6 | this.errors = errors
7 |
8 | if (typeof Error.captureStackTrace === 'function') {
9 | Error.captureStackTrace(this, this.constructor)
10 | } else {
11 | this.stack = (new Error(message)).stack
12 | }
13 | }
14 |
15 | HARError.prototype = Error.prototype
16 |
17 | module.exports = HARError
18 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/has/README.md:
--------------------------------------------------------------------------------
1 | # has
2 |
3 | > Object.prototype.hasOwnProperty.call shortcut
4 |
5 | ## Installation
6 |
7 | ```sh
8 | npm install --save has
9 | ```
10 |
11 | ## Usage
12 |
13 | ```js
14 | var has = require('has');
15 |
16 | has({}, 'hasOwnProperty'); // false
17 | has(Object.prototype, 'hasOwnProperty'); // true
18 | ```
19 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/has/src/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var bind = require('function-bind');
4 |
5 | module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
6 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/has/test/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var test = require('tape');
4 | var has = require('../');
5 |
6 | test('has', function (t) {
7 | t.equal(has({}, 'hasOwnProperty'), false, 'object literal does not have own property "hasOwnProperty"');
8 | t.equal(has(Object.prototype, 'hasOwnProperty'), true, 'Object.prototype has own property "hasOwnProperty"');
9 | t.end();
10 | });
11 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/http-signature/.dir-locals.el:
--------------------------------------------------------------------------------
1 | ((nil . ((indent-tabs-mode . nil)
2 | (tab-width . 8)
3 | (fill-column . 80)))
4 | (js-mode . ((js-indent-level . 2)
5 | (indent-tabs-mode . nil)
6 | )))
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/http-signature/.npmignore:
--------------------------------------------------------------------------------
1 | .gitmodules
2 | deps
3 | docs
4 | Makefile
5 | node_modules
6 | test
7 | tools
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/http-signature/lib/index.js:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Joyent, Inc.
2 |
3 | var parser = require('./parser');
4 | var signer = require('./signer');
5 | var verify = require('./verify');
6 | var utils = require('./utils');
7 |
8 |
9 |
10 | ///--- API
11 |
12 | module.exports = {
13 |
14 | parse: parser.parseRequest,
15 | parseRequest: parser.parseRequest,
16 |
17 | sign: signer.signRequest,
18 | signRequest: signer.signRequest,
19 | createSigner: signer.createSigner,
20 | isSigner: signer.isSigner,
21 |
22 | sshKeyToPEM: utils.sshKeyToPEM,
23 | sshKeyFingerprint: utils.fingerprint,
24 | pemToRsaSSHKey: utils.pemToRsaSSHKey,
25 |
26 | verify: verify.verifySignature,
27 | verifySignature: verify.verifySignature,
28 | verifyHMAC: verify.verifyHMAC
29 | };
30 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/is-regex/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb",
5 |
6 | "rules": {
7 | "id-length": [1]
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/is-regex/.travis.yml:
--------------------------------------------------------------------------------
1 | version: ~> 1.0
2 | language: node_js
3 | os:
4 | - linux
5 | import:
6 | - ljharb/travis-ci:node/all.yml
7 | - ljharb/travis-ci:node/pretest.yml
8 | - ljharb/travis-ci:node/posttest.yml
9 | - ljharb/travis-ci:node/coverage.yml
10 | matrix:
11 | allow_failures:
12 | - env: COVERAGE=true
13 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/is-typedarray/README.md:
--------------------------------------------------------------------------------
1 | # is-typedarray [](http://github.com/badges/stability-badges)
2 |
3 | Detect whether or not an object is a
4 | [Typed Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays).
5 |
6 | ## Usage
7 |
8 | [](https://nodei.co/npm/is-typedarray/)
9 |
10 | ### isTypedArray(array)
11 |
12 | Returns `true` when array is a Typed Array, and `false` when it is not.
13 |
14 | ## License
15 |
16 | MIT. See [LICENSE.md](http://github.com/hughsk/is-typedarray/blob/master/LICENSE.md) for details.
17 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/isstream/.npmignore:
--------------------------------------------------------------------------------
1 | *.tgz
2 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/isstream/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.8"
4 | - "0.10"
5 | - "0.11"
6 | branches:
7 | only:
8 | - master
9 | notifications:
10 | email:
11 | - rod@vagg.org
12 | script: npm test
13 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/isstream/isstream.js:
--------------------------------------------------------------------------------
1 | var stream = require('stream')
2 |
3 |
4 | function isStream (obj) {
5 | return obj instanceof stream.Stream
6 | }
7 |
8 |
9 | function isReadable (obj) {
10 | return isStream(obj) && typeof obj._read == 'function' && typeof obj._readableState == 'object'
11 | }
12 |
13 |
14 | function isWritable (obj) {
15 | return isStream(obj) && typeof obj._write == 'function' && typeof obj._writableState == 'object'
16 | }
17 |
18 |
19 | function isDuplex (obj) {
20 | return isReadable(obj) && isWritable(obj)
21 | }
22 |
23 |
24 | module.exports = isStream
25 | module.exports.isReadable = isReadable
26 | module.exports.isWritable = isWritable
27 | module.exports.isDuplex = isDuplex
28 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/jsbn/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .DS_Store
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/jsbn/example.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/jsbn/example.js:
--------------------------------------------------------------------------------
1 | var BigInteger = require('./');
2 | var a = new BigInteger('91823918239182398123');
3 | console.log(a.bitLength());
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/json-schema-traverse/.eslintrc.yml:
--------------------------------------------------------------------------------
1 | extends: eslint:recommended
2 | env:
3 | node: true
4 | browser: true
5 | rules:
6 | block-scoped-var: 2
7 | complexity: [2, 13]
8 | curly: [2, multi-or-nest, consistent]
9 | dot-location: [2, property]
10 | dot-notation: 2
11 | indent: [2, 2, SwitchCase: 1]
12 | linebreak-style: [2, unix]
13 | new-cap: 2
14 | no-console: [2, allow: [warn, error]]
15 | no-else-return: 2
16 | no-eq-null: 2
17 | no-fallthrough: 2
18 | no-invalid-this: 2
19 | no-return-assign: 2
20 | no-shadow: 1
21 | no-trailing-spaces: 2
22 | no-use-before-define: [2, nofunc]
23 | quotes: [2, single, avoid-escape]
24 | semi: [2, always]
25 | strict: [2, global]
26 | valid-jsdoc: [2, requireReturn: false]
27 | no-control-regex: 0
28 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/json-schema-traverse/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "4"
4 | - "6"
5 | - "7"
6 | - "8"
7 | after_script:
8 | - coveralls < coverage/lcov.info
9 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/json-schema-traverse/spec/.eslintrc.yml:
--------------------------------------------------------------------------------
1 | parserOptions:
2 | ecmaVersion: 6
3 | globals:
4 | beforeEach: false
5 | describe: false
6 | it: false
7 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/json-schema/README.md:
--------------------------------------------------------------------------------
1 | JSON Schema is a repository for the JSON Schema specification, reference schemas and a CommonJS implementation of JSON Schema (not the only JavaScript implementation of JSON Schema, JSV is another excellent JavaScript validator).
2 |
3 | Code is licensed under the AFL or BSD license as part of the Persevere
4 | project which is administered under the Dojo foundation,
5 | and all contributions require a Dojo CLA.
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/json-schema/draft-00/json-ref:
--------------------------------------------------------------------------------
1 | {
2 | "$schema" : "http://json-schema.org/draft-00/hyper-schema#",
3 | "id" : "http://json-schema.org/draft-00/json-ref#",
4 |
5 | "items" : {"$ref" : "#"},
6 | "additionalProperties" : {"$ref" : "#"},
7 |
8 | "links" : [
9 | {
10 | "href" : "{$ref}",
11 | "rel" : "full"
12 | },
13 |
14 | {
15 | "href" : "{$schema}",
16 | "rel" : "describedby"
17 | },
18 |
19 | {
20 | "href" : "{id}",
21 | "rel" : "self"
22 | }
23 | ],
24 |
25 | "fragmentResolution" : "dot-delimited"
26 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/json-schema/draft-00/links:
--------------------------------------------------------------------------------
1 | {
2 | "$schema" : "http://json-schema.org/draft-00/hyper-schema#",
3 | "id" : "http://json-schema.org/draft-00/links#",
4 | "type" : "object",
5 |
6 | "properties" : {
7 | "href" : {
8 | "type" : "string"
9 | },
10 |
11 | "rel" : {
12 | "type" : "string"
13 | },
14 |
15 | "method" : {
16 | "type" : "string",
17 | "default" : "GET",
18 | "optional" : true
19 | },
20 |
21 | "enctype" : {
22 | "type" : "string",
23 | "requires" : "method",
24 | "optional" : true
25 | },
26 |
27 | "properties" : {
28 | "type" : "object",
29 | "additionalProperties" : {"$ref" : "http://json-schema.org/draft-00/hyper-schema#"},
30 | "optional" : true
31 | }
32 | }
33 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/json-schema/draft-01/json-ref:
--------------------------------------------------------------------------------
1 | {
2 | "$schema" : "http://json-schema.org/draft-01/hyper-schema#",
3 | "id" : "http://json-schema.org/draft-01/json-ref#",
4 |
5 | "items" : {"$ref" : "#"},
6 | "additionalProperties" : {"$ref" : "#"},
7 |
8 | "links" : [
9 | {
10 | "href" : "{$ref}",
11 | "rel" : "full"
12 | },
13 |
14 | {
15 | "href" : "{$schema}",
16 | "rel" : "describedby"
17 | },
18 |
19 | {
20 | "href" : "{id}",
21 | "rel" : "self"
22 | }
23 | ],
24 |
25 | "fragmentResolution" : "dot-delimited"
26 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/json-schema/draft-01/links:
--------------------------------------------------------------------------------
1 | {
2 | "$schema" : "http://json-schema.org/draft-01/hyper-schema#",
3 | "id" : "http://json-schema.org/draft-01/links#",
4 | "type" : "object",
5 |
6 | "properties" : {
7 | "href" : {
8 | "type" : "string"
9 | },
10 |
11 | "rel" : {
12 | "type" : "string"
13 | },
14 |
15 | "method" : {
16 | "type" : "string",
17 | "default" : "GET",
18 | "optional" : true
19 | },
20 |
21 | "enctype" : {
22 | "type" : "string",
23 | "requires" : "method",
24 | "optional" : true
25 | },
26 |
27 | "properties" : {
28 | "type" : "object",
29 | "additionalProperties" : {"$ref" : "http://json-schema.org/draft-01/hyper-schema#"},
30 | "optional" : true
31 | }
32 | }
33 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/json-schema/draft-02/json-ref:
--------------------------------------------------------------------------------
1 | {
2 | "$schema" : "http://json-schema.org/draft-02/hyper-schema#",
3 | "id" : "http://json-schema.org/draft-02/json-ref#",
4 |
5 | "items" : {"$ref" : "#"},
6 | "additionalProperties" : {"$ref" : "#"},
7 |
8 | "links" : [
9 | {
10 | "href" : "{$ref}",
11 | "rel" : "full"
12 | },
13 |
14 | {
15 | "href" : "{$schema}",
16 | "rel" : "describedby"
17 | },
18 |
19 | {
20 | "href" : "{id}",
21 | "rel" : "self"
22 | }
23 | ],
24 |
25 | "fragmentResolution" : "dot-delimited"
26 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/json-schema/draft-02/links:
--------------------------------------------------------------------------------
1 | {
2 | "$schema" : "http://json-schema.org/draft-02/hyper-schema#",
3 | "id" : "http://json-schema.org/draft-02/links#",
4 | "type" : "object",
5 |
6 | "properties" : {
7 | "href" : {
8 | "type" : "string"
9 | },
10 |
11 | "rel" : {
12 | "type" : "string"
13 | },
14 |
15 | "targetSchema" : {"$ref" : "http://json-schema.org/draft-02/hyper-schema#"},
16 |
17 | "method" : {
18 | "type" : "string",
19 | "default" : "GET",
20 | "optional" : true
21 | },
22 |
23 | "enctype" : {
24 | "type" : "string",
25 | "requires" : "method",
26 | "optional" : true
27 | },
28 |
29 | "properties" : {
30 | "type" : "object",
31 | "additionalProperties" : {"$ref" : "http://json-schema.org/draft-02/hyper-schema#"},
32 | "optional" : true
33 | }
34 | }
35 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/json-schema/draft-03/examples/address:
--------------------------------------------------------------------------------
1 | {
2 | "description" : "An Address following the convention of http://microformats.org/wiki/hcard",
3 | "type" : "object",
4 | "properties" : {
5 | "post-office-box" : { "type" : "string" },
6 | "extended-address" : { "type" : "string" },
7 | "street-address" : { "type":"string" },
8 | "locality" : { "type" : "string", "required" : true },
9 | "region" : { "type" : "string", "required" : true },
10 | "postal-code" : { "type" : "string" },
11 | "country-name" : { "type" : "string", "required" : true }
12 | },
13 | "dependencies" : {
14 | "post-office-box" : "street-address",
15 | "extended-address" : "street-address",
16 | "street-address" : "region",
17 | "locality" : "region",
18 | "region" : "country-name"
19 | }
20 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/json-schema/draft-03/examples/geo:
--------------------------------------------------------------------------------
1 | {
2 | "description" : "A geographical coordinate",
3 | "type" : "object",
4 | "properties" : {
5 | "latitude" : { "type" : "number" },
6 | "longitude" : { "type" : "number" }
7 | }
8 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/json-schema/draft-03/json-ref:
--------------------------------------------------------------------------------
1 | {
2 | "$schema" : "http://json-schema.org/draft-03/hyper-schema#",
3 | "id" : "http://json-schema.org/draft-03/json-ref#",
4 |
5 | "additionalItems" : {"$ref" : "#"},
6 | "additionalProperties" : {"$ref" : "#"},
7 |
8 | "links" : [
9 | {
10 | "href" : "{id}",
11 | "rel" : "self"
12 | },
13 |
14 | {
15 | "href" : "{$ref}",
16 | "rel" : "full"
17 | },
18 |
19 | {
20 | "href" : "{$schema}",
21 | "rel" : "describedby"
22 | }
23 | ],
24 |
25 | "fragmentResolution" : "dot-delimited"
26 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/json-stringify-safe/.npmignore:
--------------------------------------------------------------------------------
1 | /*.tgz
2 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/json-stringify-safe/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | ## Unreleased
2 | - Fixes stringify to only take ancestors into account when checking
3 | circularity.
4 | It previously assumed every visited object was circular which led to [false
5 | positives][issue9].
6 | Uses the tiny serializer I wrote for [Must.js][must] a year and a half ago.
7 | - Fixes calling the `replacer` function in the proper context (`thisArg`).
8 | - Fixes calling the `cycleReplacer` function in the proper context (`thisArg`).
9 | - Speeds serializing by a factor of
10 | Big-O(h-my-god-it-linearly-searched-every-object) it had ever seen. Searching
11 | only the ancestors for a circular references speeds up things considerably.
12 |
13 | [must]: https://github.com/moll/js-must
14 | [issue9]: https://github.com/isaacs/json-stringify-safe/issues/9
15 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/json-stringify-safe/test/mocha.opts:
--------------------------------------------------------------------------------
1 | --recursive
2 | --require must
3 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/lodash.merge/README.md:
--------------------------------------------------------------------------------
1 | # lodash.merge v4.6.2
2 |
3 | The [Lodash](https://lodash.com/) method `_.merge` exported as a [Node.js](https://nodejs.org/) module.
4 |
5 | ## Installation
6 |
7 | Using npm:
8 | ```bash
9 | $ {sudo -H} npm i -g npm
10 | $ npm i --save lodash.merge
11 | ```
12 |
13 | In Node.js:
14 | ```js
15 | var merge = require('lodash.merge');
16 | ```
17 |
18 | See the [documentation](https://lodash.com/docs#merge) or [package source](https://github.com/lodash/lodash/blob/4.6.2-npm-packages/lodash.merge) for more details.
19 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/long/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require("./src/long");
2 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/mime-db/index.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * mime-db
3 | * Copyright(c) 2014 Jonathan Ong
4 | * MIT Licensed
5 | */
6 |
7 | /**
8 | * Module exports.
9 | */
10 |
11 | module.exports = require('./db.json')
12 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/oauth-sign/README.md:
--------------------------------------------------------------------------------
1 | oauth-sign
2 | ==========
3 |
4 | OAuth 1 signing. Formerly a vendor lib in mikeal/request, now a standalone module.
5 |
6 | ## Supported Method Signatures
7 |
8 | - HMAC-SHA1
9 | - HMAC-SHA256
10 | - RSA-SHA1
11 | - PLAINTEXT
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/performance-now/.npmignore:
--------------------------------------------------------------------------------
1 | .DS_Store
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/performance-now/.tm_properties:
--------------------------------------------------------------------------------
1 | excludeDirectories = "{.git,node_modules}"
2 | excludeInFolderSearch = "{excludeDirectories,lib}"
3 |
4 | includeFiles = "{.gitignore,.npmignore,.travis.yml}"
5 |
6 | [ attr.untitled ]
7 | fileType = 'source.coffee'
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/performance-now/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "node"
4 | - "6"
5 | - "4"
6 | - "0.12"
7 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/performance-now/src/index.d.ts:
--------------------------------------------------------------------------------
1 | // This file describes the package to typescript.
2 |
3 | /**
4 | * Returns the number of milliseconds since the page was loaded (if browser)
5 | * or the node process was started.
6 | */
7 | declare function now(): number;
8 | export = now;
9 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/performance-now/src/performance-now.coffee:
--------------------------------------------------------------------------------
1 | if performance? and performance.now
2 | module.exports = -> performance.now()
3 | else if process? and process.hrtime
4 | module.exports = -> (getNanoSeconds() - nodeLoadTime) / 1e6
5 | hrtime = process.hrtime
6 | getNanoSeconds = ->
7 | hr = hrtime()
8 | hr[0] * 1e9 + hr[1]
9 | moduleLoadTime = getNanoSeconds()
10 | upTime = process.uptime() * 1e9
11 | nodeLoadTime = moduleLoadTime - upTime
12 | else if Date.now
13 | module.exports = -> Date.now() - loadTime
14 | loadTime = Date.now()
15 | else
16 | module.exports = -> new Date().getTime() - loadTime
17 | loadTime = new Date().getTime()
18 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/performance-now/test/mocha.opts:
--------------------------------------------------------------------------------
1 | --require coffee-script/register
2 | --compilers coffee:coffee-script/register
3 | --reporter spec
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/performance-now/test/scripts/delayed-call.coffee:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ./node_modules/.bin/coffee
2 |
3 | ###
4 | Expected output is a number above 350 and below 600.
5 | The time reported is relative to the time the node.js process was started
6 | this is approximately at `(Date.now() process.uptime() * 1000)`
7 | ###
8 |
9 | delay = require "call-delayed"
10 | now = require "../../lib/performance-now"
11 | delay 250, -> console.log now().toFixed 3
12 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/performance-now/test/scripts/delayed-require.coffee:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ./node_modules/.bin/coffee
2 |
3 | ###
4 | Expected output is a number above 350 and below 600.
5 | The time reported is relative to the time the node.js process was started
6 | this is approximately at `(Date.now() process.uptime() * 1000)`
7 | ###
8 |
9 | delay = require "call-delayed"
10 | delay 250, ->
11 | now = require "../../lib/performance-now"
12 | console.log now().toFixed 3
13 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/performance-now/test/scripts/difference.coffee:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ./node_modules/.bin/coffee
2 |
3 | # Expected output is above 0.005 and below 0.07.
4 |
5 | now = require('../../lib/performance-now')
6 | console.log -(now() - now()).toFixed 3
7 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/performance-now/test/scripts/initial-value.coffee:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ./node_modules/.bin/coffee
2 |
3 | ###
4 | Expected output is a number above 100 and below 350.
5 | The time reported is relative to the time the node.js process was started
6 | this is approximately at `(Date.now() process.uptime() * 1000)`
7 | ###
8 |
9 | now = require '../../lib/performance-now'
10 | console.log now().toFixed 3
11 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/bin/pbjs:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var path = require("path"),
3 | cli = require(path.join(__dirname, "..", "cli", "pbjs.js"));
4 | var ret = cli.main(process.argv.slice(2));
5 | if (typeof ret === 'number')
6 | process.exit(ret);
7 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/bin/pbts:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var path = require("path"),
3 | cli = require(path.join(__dirname, "..", "cli", "pbts.js"));
4 | var ret = cli.main(process.argv.slice(2));
5 | if (typeof ret === 'number')
6 | process.exit(ret);
7 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/cli/README.md:
--------------------------------------------------------------------------------
1 | protobufjs-cli
2 | ==============
3 | [](https://www.npmjs.com/package/protobufjs-cli)
4 |
5 | Command line interface (CLI) for [protobuf.js](https://github.com/dcodeIO/protobuf.js). Translates between file formats and generates static code as well as TypeScript definitions.
6 |
7 | * [CLI Documentation](https://github.com/dcodeIO/protobuf.js#command-line)
8 |
9 | **Note** that moving the CLI to its own package is a work in progress. At the moment, it's still part of the main package.
10 |
11 | **License:** [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause)
12 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/cli/bin/pbjs:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var path = require("path"),
3 | cli = require(path.join(__dirname, "..", "pbjs.js"));
4 | var ret = cli.main(process.argv.slice(2));
5 | if (typeof ret === 'number')
6 | process.exit(ret);
7 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/cli/bin/pbts:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var path = require("path"),
3 | cli = require(path.join(__dirname, "..", "pbts.js"));
4 | var ret = cli.main(process.argv.slice(2));
5 | if (typeof ret === 'number')
6 | process.exit(ret);
7 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/cli/index.d.ts:
--------------------------------------------------------------------------------
1 | import * as pbjs from "./pbjs.js";
2 | import * as pbts from "./pbts.js";
3 | export { pbjs, pbts };
4 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/cli/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | exports.pbjs = require("./pbjs");
3 | exports.pbts = require("./pbts");
4 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/cli/lib/tsd-jsdoc.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": {
3 | "allowUnknownTags": false
4 | },
5 | "plugins": [
6 | "./tsd-jsdoc/plugin"
7 | ],
8 | "opts": {
9 | "encoding" : "utf8",
10 | "recurse" : true,
11 | "lenient" : true,
12 | "template" : "./tsd-jsdoc",
13 |
14 | "private" : false,
15 | "comments" : true,
16 | "destination" : false
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/cli/lib/tsd-jsdoc/plugin.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | exports.defineTags = function(dictionary) {
3 |
4 | dictionary.defineTag("template", {
5 | mustHaveValue: true,
6 | canHaveType: false,
7 | canHaveName: false,
8 | onTagged: function(doclet, tag) {
9 | (doclet.templates || (doclet.templates = [])).push(tag.text);
10 | }
11 | });
12 |
13 | dictionary.defineTag("tstype", {
14 | mustHaveValue: true,
15 | canHaveType: false,
16 | canHaveName: false,
17 | onTagged: function(doclet, tag) {
18 | doclet.tsType = tag.text;
19 | }
20 | });
21 | };
22 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/cli/node_modules/os-tmpdir/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | var isWindows = process.platform === 'win32';
3 | var trailingSlashRe = isWindows ? /[^:]\\$/ : /.\/$/;
4 |
5 | // https://github.com/nodejs/node/blob/3e7a14381497a3b73dda68d05b5130563cdab420/lib/os.js#L25-L43
6 | module.exports = function () {
7 | var path;
8 |
9 | if (isWindows) {
10 | path = process.env.TEMP ||
11 | process.env.TMP ||
12 | (process.env.SystemRoot || process.env.windir) + '\\temp';
13 | } else {
14 | path = process.env.TMPDIR ||
15 | process.env.TMP ||
16 | process.env.TEMP ||
17 | '/tmp';
18 | }
19 |
20 | if (trailingSlashRe.test(path)) {
21 | path = path.slice(0, -1);
22 | }
23 |
24 | return path;
25 | };
26 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/cli/package-lock.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "6.7.0",
3 | "lockfileVersion": 1,
4 | "requires": true,
5 | "dependencies": {
6 | "os-tmpdir": {
7 | "version": "1.0.2",
8 | "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
9 | "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ="
10 | },
11 | "tmp": {
12 | "version": "0.0.33",
13 | "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz",
14 | "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==",
15 | "requires": {
16 | "os-tmpdir": "1.0.2"
17 | }
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/cli/package.json:
--------------------------------------------------------------------------------
1 | {"version": "6.7.0"}
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/cli/pbjs.d.ts:
--------------------------------------------------------------------------------
1 | type pbjsCallback = (err: Error|null, output?: string) => void;
2 |
3 | /**
4 | * Runs pbjs programmatically.
5 | * @param {string[]} args Command line arguments
6 | * @param {function(?Error, string=)} [callback] Optional completion callback
7 | * @returns {number|undefined} Exit code, if known
8 | */
9 | export function main(args: string[], callback?: pbjsCallback): number|undefined;
10 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/cli/pbts.d.ts:
--------------------------------------------------------------------------------
1 | type pbtsCallback = (err: Error|null, output?: string) => void;
2 |
3 | /**
4 | * Runs pbts programmatically.
5 | * @param {string[]} args Command line arguments
6 | * @param {function(?Error, string=)} [callback] Optional completion callback
7 | * @returns {number|undefined} Exit code, if known
8 | */
9 | export function main(args: string[], callback?: pbtsCallback): number|undefined;
10 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/cli/targets/json.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | module.exports = json_target;
3 |
4 | json_target.description = "JSON representation";
5 |
6 | function json_target(root, options, callback) {
7 | callback(null, JSON.stringify(root, null, 2));
8 | }
9 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/cli/targets/proto2.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | module.exports = proto2_target;
3 |
4 | var protobuf = require("../..");
5 |
6 | proto2_target.description = "Protocol Buffers, Version 2";
7 |
8 | function proto2_target(root, options, callback) {
9 | require("./proto")(root, protobuf.util.merge(options, { syntax: "proto2" }), callback);
10 | }
11 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/cli/targets/proto3.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | module.exports = proto3_target;
3 |
4 | var protobuf = require("../..");
5 |
6 | proto3_target.description = "Protocol Buffers, Version 3";
7 |
8 | function proto3_target(root, options, callback) {
9 | require("./proto")(root, protobuf.util.merge(options, { syntax: "proto3" }), callback);
10 | }
11 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/cli/wrappers/amd.js:
--------------------------------------------------------------------------------
1 | define([$DEPENDENCY], function($protobuf) {
2 | "use strict";
3 |
4 | $OUTPUT;
5 |
6 | return $root;
7 | });
8 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/cli/wrappers/closure.js:
--------------------------------------------------------------------------------
1 | (function($protobuf) {
2 | "use strict";
3 |
4 | $OUTPUT;
5 |
6 | return $root;
7 | })(protobuf);
8 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/cli/wrappers/commonjs.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var $protobuf = require($DEPENDENCY);
4 |
5 | $OUTPUT;
6 |
7 | module.exports = $root;
8 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/cli/wrappers/default.js:
--------------------------------------------------------------------------------
1 | (function(global, factory) { /* global define, require, module */
2 |
3 | /* AMD */ if (typeof define === 'function' && define.amd)
4 | define([$DEPENDENCY], factory);
5 |
6 | /* CommonJS */ else if (typeof require === 'function' && typeof module === 'object' && module && module.exports)
7 | module.exports = factory(require($DEPENDENCY));
8 |
9 | })(this, function($protobuf) {
10 | "use strict";
11 |
12 | $OUTPUT;
13 |
14 | return $root;
15 | });
16 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/cli/wrappers/es6.js:
--------------------------------------------------------------------------------
1 | import * as $protobuf from $DEPENDENCY;
2 |
3 | $OUTPUT;
4 |
5 | export { $root as default };
6 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/ext/debug/README.md:
--------------------------------------------------------------------------------
1 | protobufjs/ext/debug
2 | =========================
3 |
4 | Experimental debugging extension.
5 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/google/README.md:
--------------------------------------------------------------------------------
1 | This folder contains stripped and pre-parsed definitions of common Google types. These files are not used by protobuf.js directly but are here so you can use or include them where required.
2 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/google/api/annotations.proto:
--------------------------------------------------------------------------------
1 | syntax = "proto3";
2 |
3 | package google.api;
4 |
5 | import "google/api/http.proto";
6 | import "google/protobuf/descriptor.proto";
7 |
8 | extend google.protobuf.MethodOptions {
9 |
10 | HttpRule http = 72295728;
11 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/google/api/http.proto:
--------------------------------------------------------------------------------
1 | syntax = "proto3";
2 |
3 | package google.api;
4 |
5 | message Http {
6 |
7 | repeated HttpRule rules = 1;
8 | }
9 |
10 | message HttpRule {
11 |
12 | oneof pattern {
13 |
14 | string get = 2;
15 | string put = 3;
16 | string post = 4;
17 | string delete = 5;
18 | string patch = 6;
19 | CustomHttpPattern custom = 8;
20 | }
21 |
22 | string selector = 1;
23 | string body = 7;
24 | repeated HttpRule additional_bindings = 11;
25 | }
26 |
27 | message CustomHttpPattern {
28 |
29 | string kind = 1;
30 | string path = 2;
31 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/google/protobuf/api.proto:
--------------------------------------------------------------------------------
1 | syntax = "proto3";
2 |
3 | package google.protobuf;
4 |
5 | import "google/protobuf/source_context.proto";
6 | import "google/protobuf/type.proto";
7 |
8 | message Api {
9 |
10 | string name = 1;
11 | repeated Method methods = 2;
12 | repeated Option options = 3;
13 | string version = 4;
14 | SourceContext source_context = 5;
15 | repeated Mixin mixins = 6;
16 | Syntax syntax = 7;
17 | }
18 |
19 | message Method {
20 |
21 | string name = 1;
22 | string request_type_url = 2;
23 | bool request_streaming = 3;
24 | string response_type_url = 4;
25 | bool response_streaming = 5;
26 | repeated Option options = 6;
27 | Syntax syntax = 7;
28 | }
29 |
30 | message Mixin {
31 |
32 | string name = 1;
33 | string root = 2;
34 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/google/protobuf/source_context.json:
--------------------------------------------------------------------------------
1 | {
2 | "nested": {
3 | "google": {
4 | "nested": {
5 | "protobuf": {
6 | "nested": {
7 | "SourceContext": {
8 | "fields": {
9 | "fileName": {
10 | "type": "string",
11 | "id": 1
12 | }
13 | }
14 | }
15 | }
16 | }
17 | }
18 | }
19 | }
20 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/google/protobuf/source_context.proto:
--------------------------------------------------------------------------------
1 | syntax = "proto3";
2 |
3 | package google.protobuf;
4 |
5 | message SourceContext {
6 | string file_name = 1;
7 | }
8 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/index.js:
--------------------------------------------------------------------------------
1 | // full library entry point.
2 |
3 | "use strict";
4 | module.exports = require("./src/index");
5 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/light.d.ts:
--------------------------------------------------------------------------------
1 | export as namespace protobuf;
2 | export * from "./index";
3 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/light.js:
--------------------------------------------------------------------------------
1 | // light library entry point.
2 |
3 | "use strict";
4 | module.exports = require("./src/index-light");
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/minimal.d.ts:
--------------------------------------------------------------------------------
1 | export as namespace protobuf;
2 | export * from "./index";
3 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/minimal.js:
--------------------------------------------------------------------------------
1 | // minimal library entry point.
2 |
3 | "use strict";
4 | module.exports = require("./src/index-minimal");
5 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/src/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | var protobuf = module.exports = require("./index-light");
3 |
4 | protobuf.build = "full";
5 |
6 | // Parser
7 | protobuf.tokenize = require("./tokenize");
8 | protobuf.parse = require("./parse");
9 | protobuf.common = require("./common");
10 |
11 | // Configure parser
12 | protobuf.Root._configure(protobuf.Type, protobuf.parse, protobuf.common);
13 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/src/roots.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | module.exports = {};
3 |
4 | /**
5 | * Named roots.
6 | * This is where pbjs stores generated structures (the option `-r, --root` specifies a name).
7 | * Can also be used manually to make roots available accross modules.
8 | * @name roots
9 | * @type {Object.}
10 | * @example
11 | * // pbjs -r myroot -o compiled.js ...
12 | *
13 | * // in another module:
14 | * require("./compiled.js");
15 | *
16 | * // in any subsequent module:
17 | * var root = protobuf.roots["myroot"];
18 | */
19 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/src/typescript.jsdoc:
--------------------------------------------------------------------------------
1 | /**
2 | * Constructor type.
3 | * @interface Constructor
4 | * @extends Function
5 | * @template T
6 | * @tstype new(...params: any[]): T; prototype: T;
7 | */
8 |
9 | /**
10 | * Properties type.
11 | * @typedef Properties
12 | * @template T
13 | * @type {Object.}
14 | * @tstype { [P in keyof T]?: T[P] }
15 | */
16 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/protobufjs/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "target": "ES5",
4 | "experimentalDecorators": true,
5 | "emitDecoratorMetadata": true
6 | }
7 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/qs/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | indent_style = space
5 | indent_size = 4
6 | end_of_line = lf
7 | charset = utf-8
8 | trim_trailing_whitespace = true
9 | insert_final_newline = true
10 | max_line_length = 140
11 |
12 | [test/*]
13 | max_line_length = off
14 |
15 | [*.md]
16 | max_line_length = off
17 |
18 | [*.json]
19 | max_line_length = off
20 |
21 | [Makefile]
22 | max_line_length = off
23 |
24 | [CHANGELOG.md]
25 | indent_style = space
26 | indent_size = 2
27 |
28 | [LICENSE]
29 | indent_size = 2
30 | max_line_length = off
31 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/qs/.eslintignore:
--------------------------------------------------------------------------------
1 | dist
2 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/qs/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb",
5 |
6 | "rules": {
7 | "complexity": 0,
8 | "consistent-return": 1,
9 | "func-name-matching": 0,
10 | "id-length": [2, { "min": 1, "max": 25, "properties": "never" }],
11 | "indent": [2, 4],
12 | "max-params": [2, 12],
13 | "max-statements": [2, 45],
14 | "no-continue": 1,
15 | "no-magic-numbers": 0,
16 | "no-restricted-syntax": [2, "BreakStatement", "DebuggerStatement", "ForInStatement", "LabeledStatement", "WithStatement"],
17 | "operator-linebreak": [2, "before"],
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/qs/lib/formats.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var replace = String.prototype.replace;
4 | var percentTwenties = /%20/g;
5 |
6 | module.exports = {
7 | 'default': 'RFC3986',
8 | formatters: {
9 | RFC1738: function (value) {
10 | return replace.call(value, percentTwenties, '+');
11 | },
12 | RFC3986: function (value) {
13 | return value;
14 | }
15 | },
16 | RFC1738: 'RFC1738',
17 | RFC3986: 'RFC3986'
18 | };
19 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/qs/lib/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var stringify = require('./stringify');
4 | var parse = require('./parse');
5 | var formats = require('./formats');
6 |
7 | module.exports = {
8 | formats: formats,
9 | parse: parse,
10 | stringify: stringify
11 | };
12 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/qs/test/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "rules": {
3 | "array-bracket-newline": 0,
4 | "array-element-newline": 0,
5 | "consistent-return": 2,
6 | "max-lines": 0,
7 | "max-nested-callbacks": [2, 3],
8 | "max-statements": 0,
9 | "no-buffer-constructor": 0,
10 | "no-extend-native": 0,
11 | "no-magic-numbers": 0,
12 | "object-curly-newline": 0,
13 | "sort-keys": 0
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/qs/test/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | require('./parse');
4 |
5 | require('./stringify');
6 |
7 | require('./utils');
8 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/querystring/.History.md.un~:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/cloudfunctions/FaceAPI/node_modules/querystring/.History.md.un~
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/querystring/.Readme.md.un~:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/cloudfunctions/FaceAPI/node_modules/querystring/.Readme.md.un~
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/querystring/.package.json.un~:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/cloudfunctions/FaceAPI/node_modules/querystring/.package.json.un~
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/querystring/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - 0.6
4 | - 0.8
5 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/querystring/History.md:
--------------------------------------------------------------------------------
1 | # 0.2.0 / 2013-02-21
2 |
3 | - Refactor into function per-module idiomatic style.
4 | - Improved test coverage.
5 |
6 | # 0.1.0 / 2011-12-13
7 |
8 | - Minor project reorganization
9 |
10 | # 0.0.3 / 2011-04-16
11 | - Support for AMD module loaders
12 |
13 | # 0.0.2 / 2011-04-16
14 |
15 | - Ported unit tests
16 | - Removed functionality that depended on Buffers
17 |
18 | # 0.0.1 / 2011-04-15
19 |
20 | - Initial release
21 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/querystring/Readme.md:
--------------------------------------------------------------------------------
1 | # querystring
2 |
3 | [](http://travis-ci.org/Gozala/querystring)
4 |
5 |
6 | [](http://ci.testling.com/Gozala/querystring)
7 |
8 |
9 |
10 | Node's querystring module for all engines.
11 |
12 | ## Install ##
13 |
14 | npm install querystring
15 |
16 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/querystring/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | exports.decode = exports.parse = require('./decode');
4 | exports.encode = exports.stringify = require('./encode');
5 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/querystring/test/.index.js.un~:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/cloudfunctions/FaceAPI/node_modules/querystring/test/.index.js.un~
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/querystring/test/common-index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | require("test").run(require("./index"))
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/querystring/test/tap-index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | require("retape")(require("./index"))
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/sshpk/.npmignore:
--------------------------------------------------------------------------------
1 | .gitmodules
2 | deps
3 | docs
4 | Makefile
5 | node_modules
6 | test
7 | tools
8 | coverage
9 | man/src
10 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/sshpk/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "5.10"
4 | - "4.4"
5 | - "4.1"
6 | - "0.12"
7 | - "0.10"
8 | before_install:
9 | - "make check"
10 | after_success:
11 | - '[ "${TRAVIS_NODE_VERSION}" = "4.4" ] && make codecovio'
12 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [**]
4 | end_of_line = lf
5 | charset = utf-8
6 | insert_final_newline = true
7 | indent_style = space
8 | indent_size = 2
9 | trim_trailing_whitespace = true
10 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/.travis.yml:
--------------------------------------------------------------------------------
1 | ---
2 | language: node_js
3 | node_js:
4 | - 8
5 | - 10
6 | cache:
7 | directories:
8 | - node_modules
9 | script: npm test
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/docs/functions.md:
--------------------------------------------------------------------------------
1 | ## 云函数
2 |
3 | ### 执行函数
4 | callFunction(object)
5 |
6 | 请求参数
7 |
8 | | 字段 | 类型 | 必填 | 说明
9 | | --- | --- | --- | ---
10 | | name | string | 是 | 云函数名称
11 | | data | object | 否 | 云函数参数
12 |
13 | 响应参数
14 |
15 | | 字段 | 类型 | 必填 | 说明
16 | | --- | --- | --- | ---
17 | | code | string | 否 | 状态码,操作成功则不返回
18 | | message | string | 否 | 错误描述
19 | | result | object | 否 | 云函数执行结果
20 | | requestId | string | 否 | 请求序列号,用于错误排查
21 |
22 | 示例代码
23 |
24 | ```javascript
25 | const app = require("tcb-admin-node");
26 | let result = await app.callFunction({
27 | name: "test",
28 | data: { a: 1 }
29 | });
30 | ```
31 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/docs/introduction.md:
--------------------------------------------------------------------------------
1 | ## 介绍
2 | TCB 提供开发应用所需服务和基础设施。tcb admin Node.js SDK 让你可以在服务端(如腾讯云云函数或 CVM 等)使用 Node.js 服务访问 TCB 的的服务。
3 |
4 | 需要 Node.js v8.9 及以上版本。
5 |
6 | ## 安装
7 | tcb admin Node.js SDK 可以通过npm安装:
8 | ```bash
9 | npm install --save tcb-admin-node@latest
10 | ```
11 |
12 | 要在你的代码内使用该模块:
13 | ```js
14 | const app = require("tcb-admin-node");
15 | ```
16 | 或
17 | ```js
18 | import * as app from "tcb-admin-node";
19 | ```
20 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/jest.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | "transform": {
3 | "^.+\\.tsx?$": "ts-jest"
4 | },
5 | "transformIgnorePatterns": [
6 | "/node_modules/(?!@cloudbase).+\\.js$"
7 | ],
8 | globals: {
9 | 'ts-jest': {
10 | isolatedModules: true
11 | },
12 | },
13 | "verbose": true,
14 | "testURL": "http://localhost/",
15 | "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
16 | "moduleFileExtensions": [
17 | "ts",
18 | "tsx",
19 | "js",
20 | "jsx",
21 | "json",
22 | "node"
23 | ],
24 | "testEnvironment": "node",
25 | "setupTestFrameworkScriptFile": "/test/setup.js"
26 | };
27 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/qcifile.yml:
--------------------------------------------------------------------------------
1 | # QCIFile的命名推荐:qcifile.yml,推荐放于代码库的根目录中
2 |
3 | version: 1.0 # QCIFile版本号,自己指定
4 | worker:
5 | label: tcb
6 | stages:
7 | - stage: testQCI # 自定义stage的名称,多个stage为顺序执行
8 | cmds: # 多条命令顺序执行
9 | - tnpm install
10 | - npm test
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/src/README.md:
--------------------------------------------------------------------------------
1 | # 开发目录
2 |
3 | ## 文件说明
4 |
5 | ```md
6 | - database/ // 数据库部分 ts 代码
7 | - db/ // 数据库部分 js 代码
8 | - functions/ // 云函数
9 | - storage/ // 云存储
10 | - utils/ // 工具包
11 | - index.js // 入口文件
12 | ```
13 |
14 | ## 命令说明
15 |
16 | ```shell
17 | # 数据库模块实时编译
18 | tnpm run tsc:w
19 |
20 | # 数据库模块编译
21 | tnpm run tsc
22 | ```
23 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/README.md:
--------------------------------------------------------------------------------
1 | # 索引
2 |
3 | - [Db](./db.d.ts)
4 | - [Collection](./collection.d.ts)
5 | - [Document](./document.d.ts)
6 | - [DocumentSnapshot](./documentSnapshot.d.ts)
7 | - [Query](./query.d.ts)
8 | - [Field](./field.d.ts)
9 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/collection.d.ts:
--------------------------------------------------------------------------------
1 | import { DocumentReference } from "./document";
2 | import { Query } from "./query";
3 | export declare class CollectionReference extends Query {
4 | readonly name: string;
5 | doc(docID?: string): DocumentReference;
6 | add(data: Object): Promise;
7 | }
8 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/date/index.d.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/date/index.d.ts
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/db.d.ts:
--------------------------------------------------------------------------------
1 | import { Point } from "./geo/point";
2 | import { CollectionReference } from "./collection";
3 | import { Command } from "./command";
4 | interface GeoTeyp {
5 | Point: typeof Point;
6 | }
7 | export declare class Db {
8 | Geo: GeoTeyp;
9 | command: typeof Command;
10 | RegExp: any;
11 | serverDate: any;
12 | config: any;
13 | constructor(config?: any);
14 | collection(collName: string): CollectionReference;
15 | createCollection(collName: string): Promise;
16 | }
17 | export {};
18 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/decorator.d.ts:
--------------------------------------------------------------------------------
1 | export declare function bound(target: any, propertyKey: string, descriptor: PropertyDescriptor): void;
2 | export declare function enumerable(value: boolean): (target: any, key: string) => void;
3 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/document.d.ts:
--------------------------------------------------------------------------------
1 | export declare class DocumentReference {
2 | readonly id: string;
3 | readonly projection: Object;
4 | set(data: Object): Promise;
5 | update(data: Object): Promise;
6 | remove(): Promise;
7 | get(): Promise;
8 | field(projection: Object): DocumentReference;
9 | }
10 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/error.d.ts:
--------------------------------------------------------------------------------
1 | export interface ICloudSDKError extends Error {
2 | errCode: number;
3 | errMsg: string;
4 | }
5 | export declare class CloudSDKError extends Error {
6 | errCode: number;
7 | errMsg: string;
8 | requestID?: string;
9 | constructor(options: IErrorConstructorOptions);
10 | message: string;
11 | }
12 | interface IErrorConstructorOptions {
13 | errCode?: number;
14 | errMsg: string;
15 | }
16 | export declare function isSDKError(error: any): error is CloudSDKError;
17 | export declare function returnAsCloudSDKError(err: any, appendMsg?: string): CloudSDKError;
18 | export declare function returnAsFinalCloudSDKError(err: any, apiName: string): CloudSDKError;
19 | export {};
20 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/fail-safe.d.ts:
--------------------------------------------------------------------------------
1 | import { CloudSDKError } from './error';
2 | declare type AnyFn = (...args: any[]) => T;
3 | export declare function tryCatch(fn: AnyFn, customErrorStack?: string): T | CloudSDKError;
4 | export declare function wrapWithTryCatch(fn: AnyFn, customErrorStack?: string): AnyFn;
5 | interface IWrapParamCallbacksWithTryCatchOptions {
6 | apiName: string;
7 | param: {
8 | success?: AnyFn;
9 | fail?: AnyFn;
10 | complete?: AnyFn;
11 | };
12 | }
13 | export declare function wrapParamCallbacksWithTryCatch(options: IWrapParamCallbacksWithTryCatchOptions): void;
14 | export {};
15 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/fn/clone.d.ts:
--------------------------------------------------------------------------------
1 | export declare function shallowClone(value: any, strict?: boolean): typeof value;
2 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/geo/index.d.ts:
--------------------------------------------------------------------------------
1 | export * from './point';
2 | export * from './lineString';
3 | export * from './polygon';
4 | export * from './multiPoint';
5 | export * from './multiLineString';
6 | export * from './multiPolygon';
7 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/geo/interface.d.ts:
--------------------------------------------------------------------------------
1 | export interface ISerializedPoint {
2 | type: string;
3 | coordinates: [number, number];
4 | }
5 | export interface ISerializedLineString {
6 | type: string;
7 | coordinates: [number, number][];
8 | }
9 | export interface ISerializedPolygon {
10 | type: string;
11 | coordinates: [number, number][][];
12 | }
13 | export interface ISerializedMultiPoint {
14 | type: string;
15 | coordinates: [number, number][];
16 | }
17 | export interface ISerializedMultiLineString {
18 | type: string;
19 | coordinates: [number, number][][];
20 | }
21 | export interface ISerializedMultiPolygon {
22 | type: string;
23 | coordinates: [number, number][][][];
24 | }
25 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/geo/lineString.d.ts:
--------------------------------------------------------------------------------
1 | import { Point } from './point';
2 | import { ISerializedLineString } from './interface';
3 | export declare class LineString {
4 | readonly points: Point[];
5 | constructor(points: Point[]);
6 | parse(key: any): {
7 | [x: number]: {
8 | type: string;
9 | coordinates: number[][];
10 | };
11 | };
12 | toJSON(): {
13 | type: string;
14 | coordinates: number[][];
15 | };
16 | static validate(lineString: ISerializedLineString): boolean;
17 | static isClosed(lineString: LineString): boolean;
18 | readonly _internalType: import("../utils/symbol").InternalSymbol;
19 | }
20 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/geo/multiLineString.d.ts:
--------------------------------------------------------------------------------
1 | import { LineString } from "./lineString";
2 | import { ISerializedMultiLineString } from './interface';
3 | export declare class MultiLineString {
4 | readonly lines: LineString[];
5 | constructor(lines: LineString[]);
6 | parse(key: any): {
7 | [x: number]: {
8 | type: string;
9 | coordinates: number[][][];
10 | };
11 | };
12 | toJSON(): {
13 | type: string;
14 | coordinates: number[][][];
15 | };
16 | static validate(multiLineString: ISerializedMultiLineString): boolean;
17 | readonly _internalType: import("../utils/symbol").InternalSymbol;
18 | }
19 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/geo/multiPoint.d.ts:
--------------------------------------------------------------------------------
1 | import { Point } from './point';
2 | import { ISerializedMultiPoint } from './interface';
3 | export declare class MultiPoint {
4 | readonly points: Point[];
5 | constructor(points: Point[]);
6 | parse(key: any): {
7 | [x: number]: {
8 | type: string;
9 | coordinates: number[][];
10 | };
11 | };
12 | toJSON(): {
13 | type: string;
14 | coordinates: number[][];
15 | };
16 | static validate(multiPoint: ISerializedMultiPoint): boolean;
17 | readonly _internalType: import("../utils/symbol").InternalSymbol;
18 | }
19 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/geo/multiPolygon.d.ts:
--------------------------------------------------------------------------------
1 | import { Polygon } from './polygon';
2 | import { ISerializedMultiPolygon } from './interface';
3 | export declare class MultiPolygon {
4 | readonly polygons: Polygon[];
5 | constructor(polygons: Polygon[]);
6 | parse(key: any): {
7 | [x: number]: {
8 | type: string;
9 | coordinates: number[][][][];
10 | };
11 | };
12 | toJSON(): {
13 | type: string;
14 | coordinates: number[][][][];
15 | };
16 | static validate(multiPolygon: ISerializedMultiPolygon): boolean;
17 | readonly _internalType: import("../utils/symbol").InternalSymbol;
18 | }
19 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/geo/point.d.ts:
--------------------------------------------------------------------------------
1 | import { ISerializedPoint } from './interface';
2 | export declare class Point {
3 | readonly latitude: number;
4 | readonly longitude: number;
5 | constructor(longitude: number, latitude: number);
6 | parse(key: any): {
7 | [x: number]: {
8 | type: string;
9 | coordinates: number[];
10 | };
11 | };
12 | toJSON(): {
13 | type: string;
14 | coordinates: number[];
15 | };
16 | toReadableString(): string;
17 | static validate(point: ISerializedPoint): boolean;
18 | readonly _internalType: import("../utils/symbol").InternalSymbol;
19 | }
20 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/geo/polygon.d.ts:
--------------------------------------------------------------------------------
1 | import { LineString } from "./lineString";
2 | import { ISerializedPolygon } from './interface';
3 | export declare class Polygon {
4 | readonly lines: LineString[];
5 | constructor(lines: LineString[]);
6 | parse(key: any): {
7 | [x: number]: {
8 | type: string;
9 | coordinates: number[][][];
10 | };
11 | };
12 | toJSON(): {
13 | type: string;
14 | coordinates: number[][][];
15 | };
16 | static validate(polygon: ISerializedPolygon): boolean;
17 | static isCloseLineString(lineString: any): boolean;
18 | readonly _internalType: import("../utils/symbol").InternalSymbol;
19 | }
20 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/msg.d.ts:
--------------------------------------------------------------------------------
1 | export declare function apiSuccessMsg(apiName: string): string;
2 | export declare function apiCancelMsg(apiName: string, msg: string): string;
3 | export declare function apiFailMsg(apiName: string, msg: string): string;
4 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/operator-map.d.ts:
--------------------------------------------------------------------------------
1 | export declare const OperatorMap: {
2 | [key: string]: string;
3 | };
4 | export declare function operatorToString(operator: string): string;
5 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/promise-factory.d.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/promise-factory.d.ts
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/query.d.ts:
--------------------------------------------------------------------------------
1 | import { OrderByDirection } from "./constant";
2 | interface getRes {
3 | data: any[];
4 | requestId: string;
5 | total: number;
6 | limit: number;
7 | offset: number;
8 | }
9 | export declare class Query {
10 | get(): Promise;
11 | count(): Promise;
12 | where(query: object): Query;
13 | orderBy(fieldPath: string, directionStr: OrderByDirection): Query;
14 | limit(limit: number): Query;
15 | skip(offset: number): Query;
16 | update(data: Object): Promise;
17 | field(projection: Object): Query;
18 | remove(): Promise;
19 | }
20 | export {};
21 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/regexp.d.ts:
--------------------------------------------------------------------------------
1 | export declare class RegExp {
2 | regexp: string;
3 | options: string;
4 | constructor({ regexp, options }: {
5 | regexp: any;
6 | options: any;
7 | });
8 | parse(): {
9 | $regex: string;
10 | $options: string;
11 | };
12 | readonly _internalType: import("../../../../../../Users/jimmyzhang/repo/tcb-admin-node/src/database/utils/symbol").InternalSymbol;
13 | }
14 | export declare function RegExpConstructor(param: any): RegExp;
15 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/regexp/index.d.ts:
--------------------------------------------------------------------------------
1 | export declare class RegExp {
2 | $regex: string;
3 | $options: string;
4 | constructor({ regexp, options }: {
5 | regexp: any;
6 | options: any;
7 | });
8 | parse(): {
9 | $regex: string;
10 | $options: string;
11 | };
12 | readonly _internalType: import("../utils/symbol").InternalSymbol;
13 | }
14 | export declare function RegExpConstructor(param: any): RegExp;
15 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/regexp/regexp.d.ts:
--------------------------------------------------------------------------------
1 | export declare class RegExp {
2 | regexp: string;
3 | options: string;
4 | constructor({ regexp, options }: {
5 | regexp: any;
6 | options: any;
7 | });
8 | parse(): {
9 | $regex: string;
10 | $options: string;
11 | };
12 | readonly _internalType: import("../../../../../../../Users/jimmyzhang/repo/tcb-admin-node/src/database/utils/symbol").InternalSymbol;
13 | }
14 | export declare function RegExpConstructor(param: any): RegExp;
15 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/request.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/serializer.d.ts:
--------------------------------------------------------------------------------
1 | export declare function serialize(data: any): string;
2 | export declare function toJSONSerializable(data: any, name?: string): any;
3 | export declare function deserialize(x: string): any;
4 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/serializer/common.d.ts:
--------------------------------------------------------------------------------
1 | import { LogicCommand } from '../commands/logic';
2 | export declare type IQueryCondition = Record | LogicCommand;
3 | export declare type AnyObject = {
4 | [x: string]: any;
5 | };
6 | export declare function flattenQueryObject(query: Record): Record;
7 | export declare function flattenObject(object: AnyObject): AnyObject;
8 | export declare function mergeConditionAfterEncode(query: Record, condition: Record, key: string): void;
9 | export declare function isConversionRequired(val: any): boolean;
10 | export declare function encodeInternalDataType(val: any): IQueryCondition;
11 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/serializer/datatype.d.ts:
--------------------------------------------------------------------------------
1 | import { LogicCommand } from '../commands/logic';
2 | export declare type IQueryCondition = Record | LogicCommand;
3 | export declare type AnyObject = {
4 | [x: string]: any;
5 | };
6 | export declare function serialize(val: any): IQueryCondition;
7 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/serializer/decoder.d.ts:
--------------------------------------------------------------------------------
1 | import { AnyObject } from 'typings';
2 | export declare class Decoder {
3 | private constructor();
4 | static decode(data: object | object[]): object;
5 | decodeData(data: AnyObject | AnyObject[]): AnyObject | AnyObject[];
6 | decodeObject(data: AnyObject): AnyObject;
7 | }
8 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/serializer/query.d.ts:
--------------------------------------------------------------------------------
1 | import { QueryCommand } from '../commands/query';
2 | import { LogicCommand } from '../commands/logic';
3 | export declare type IQueryCondition = Record | LogicCommand;
4 | export declare class QuerySerializer {
5 | private constructor();
6 | static encode(query: IQueryCondition | QueryCommand | LogicCommand): IQueryCondition;
7 | }
8 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/serializer/update.d.ts:
--------------------------------------------------------------------------------
1 | import { UpdateCommand } from '../commands/update';
2 | import { LogicCommand } from '../commands/logic';
3 | export declare type IQueryCondition = Record | LogicCommand;
4 | export interface IUpdateCondition {
5 | [key: string]: any;
6 | }
7 | export declare class UpdateSerializer {
8 | private constructor();
9 | static encode(query: IQueryCondition | UpdateCommand): IUpdateCondition;
10 | encodeUpdate(query: IQueryCondition | UpdateCommand): IUpdateCondition;
11 | encodeUpdateCommand(query: UpdateCommand): IQueryCondition;
12 | encodeFieldUpdateCommand(query: UpdateCommand): IQueryCondition;
13 | encodeArrayUpdateCommand(query: UpdateCommand): IQueryCondition;
14 | encodeUpdateObject(query: Record): IQueryCondition;
15 | }
16 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/serverDate/index.d.ts:
--------------------------------------------------------------------------------
1 | export declare class ServerDate {
2 | readonly offset: number;
3 | constructor({ offset }?: {
4 | offset?: number;
5 | });
6 | readonly _internalType: import("../utils/symbol").InternalSymbol;
7 | parse(): {
8 | $date: {
9 | offset: number;
10 | };
11 | };
12 | }
13 | export declare function ServerDateConstructor(opt: any): ServerDate;
14 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/symbol.d.ts:
--------------------------------------------------------------------------------
1 | declare class HiddenSymbol {
2 | constructor(target: any);
3 | }
4 | export declare class InternalSymbol extends HiddenSymbol {
5 | constructor(target: any, __mark__: any);
6 | static for(target: any): InternalSymbol;
7 | }
8 | export default InternalSymbol;
9 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/type.d.ts:
--------------------------------------------------------------------------------
1 | export declare const getType: (x: any) => string;
2 | export declare const isObject: (x: any) => x is T;
3 | export declare const isString: (x: any) => x is string;
4 | export declare const isNumber: (x: any) => x is number;
5 | export declare const isPromise: = Promise>(x: any) => x is T;
6 | declare type AnyFn = (...args: any[]) => any;
7 | export declare const isFunction: (x: any) => x is T;
8 | export declare const isArray: (x: any) => x is T;
9 | export declare const isDate: (x: any) => x is Date;
10 | export declare const isInternalObject: (x: any) => boolean;
11 | export declare const isPlainObject: (obj: any) => obj is object;
12 | export {};
13 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/util.d.ts:
--------------------------------------------------------------------------------
1 | interface DocumentModel {
2 | _id: string;
3 | }
4 | export declare class Util {
5 | static formatResDocumentData: (documents: DocumentModel[]) => {}[];
6 | static whichType: (obj: any) => String;
7 | static generateDocId: () => string;
8 | }
9 | export {};
10 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/utils.d.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/utils.d.ts
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/utils/decorator.d.ts:
--------------------------------------------------------------------------------
1 | export declare function bound(target: any, propertyKey: string, descriptor: PropertyDescriptor): void;
2 | export declare function enumerable(value: boolean): (target: any, key: string) => void;
3 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/utils/error.d.ts:
--------------------------------------------------------------------------------
1 | export interface ICloudSDKError extends Error {
2 | errCode: number;
3 | errMsg: string;
4 | }
5 | export declare class CloudSDKError extends Error {
6 | errCode: number;
7 | errMsg: string;
8 | requestID?: string;
9 | constructor(options: IErrorConstructorOptions);
10 | message: string;
11 | }
12 | interface IErrorConstructorOptions {
13 | errCode?: number;
14 | errMsg: string;
15 | }
16 | export declare function isSDKError(error: any): error is CloudSDKError;
17 | export declare function returnAsCloudSDKError(err: any, appendMsg?: string): CloudSDKError;
18 | export declare function returnAsFinalCloudSDKError(err: any, apiName: string): CloudSDKError;
19 | export {};
20 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/utils/fail-safe.d.ts:
--------------------------------------------------------------------------------
1 | import { CloudSDKError } from './error';
2 | declare type AnyFn = (...args: any[]) => T;
3 | export declare function tryCatch(fn: AnyFn, customErrorStack?: string): T | CloudSDKError;
4 | export declare function wrapWithTryCatch(fn: AnyFn, customErrorStack?: string): AnyFn;
5 | interface IWrapParamCallbacksWithTryCatchOptions {
6 | apiName: string;
7 | param: {
8 | success?: AnyFn;
9 | fail?: AnyFn;
10 | complete?: AnyFn;
11 | };
12 | }
13 | export declare function wrapParamCallbacksWithTryCatch(options: IWrapParamCallbacksWithTryCatchOptions): void;
14 | export {};
15 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/utils/fn/clone.d.ts:
--------------------------------------------------------------------------------
1 | export declare function shallowClone(value: any, strict?: boolean): typeof value;
2 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/utils/msg.d.ts:
--------------------------------------------------------------------------------
1 | export declare function apiSuccessMsg(apiName: string): string;
2 | export declare function apiCancelMsg(apiName: string, msg: string): string;
3 | export declare function apiFailMsg(apiName: string, msg: string): string;
4 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/utils/promise-factory.d.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/utils/promise-factory.d.ts
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/utils/serializer.d.ts:
--------------------------------------------------------------------------------
1 | export declare function serialize(data: any): string;
2 | export declare function toJSONSerializable(data: any, name?: string): any;
3 | export declare function deserialize(x: string): any;
4 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/utils/symbol.d.ts:
--------------------------------------------------------------------------------
1 | declare class HiddenSymbol {
2 | constructor(target: any);
3 | }
4 | export declare class InternalSymbol extends HiddenSymbol {
5 | constructor(target: any, __mark__: any);
6 | static for(target: any): InternalSymbol;
7 | }
8 | export default InternalSymbol;
9 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/utils/utils.d.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/utils/utils.d.ts
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tcb-admin-node/types/database/validate.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tslib/tslib.es6.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tslib/tslib.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tunnel-agent/README.md:
--------------------------------------------------------------------------------
1 | tunnel-agent
2 | ============
3 |
4 | HTTP proxy tunneling agent. Formerly part of mikeal/request, now a standalone module.
5 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/tweetnacl/.npmignore:
--------------------------------------------------------------------------------
1 | .eslintrc
2 | .travis.yml
3 | bower.json
4 | test
5 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uri-js/dist/esnext/index.d.ts:
--------------------------------------------------------------------------------
1 | export * from "./uri";
2 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uri-js/dist/esnext/index.js:
--------------------------------------------------------------------------------
1 | import { SCHEMES } from "./uri";
2 | import http from "./schemes/http";
3 | SCHEMES[http.scheme] = http;
4 | import https from "./schemes/https";
5 | SCHEMES[https.scheme] = https;
6 | import mailto from "./schemes/mailto";
7 | SCHEMES[mailto.scheme] = mailto;
8 | import urn from "./schemes/urn";
9 | SCHEMES[urn.scheme] = urn;
10 | import uuid from "./schemes/urn-uuid";
11 | SCHEMES[uuid.scheme] = uuid;
12 | export * from "./uri";
13 | //# sourceMappingURL=index.js.map
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uri-js/dist/esnext/index.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;AAE5B,OAAO,KAAK,MAAM,iBAAiB,CAAC;AACpC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC;AAE9B,OAAO,MAAM,MAAM,kBAAkB,CAAC;AACtC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;AAEhC,OAAO,GAAG,MAAM,eAAe,CAAC;AAChC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC;AAE1B,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;AAE5B,cAAc,OAAO,CAAC"}
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uri-js/dist/esnext/regexps-iri.d.ts:
--------------------------------------------------------------------------------
1 | import { URIRegExps } from "./uri";
2 | declare const _default: URIRegExps;
3 | export default _default;
4 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uri-js/dist/esnext/regexps-iri.js:
--------------------------------------------------------------------------------
1 | import { buildExps } from "./regexps-uri";
2 | export default buildExps(true);
3 | //# sourceMappingURL=regexps-iri.js.map
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uri-js/dist/esnext/regexps-iri.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"regexps-iri.js","sourceRoot":"","sources":["../../src/regexps-iri.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,eAAe,SAAS,CAAC,IAAI,CAAC,CAAC"}
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uri-js/dist/esnext/regexps-uri.d.ts:
--------------------------------------------------------------------------------
1 | import { URIRegExps } from "./uri";
2 | export declare function buildExps(isIRI: boolean): URIRegExps;
3 | declare const _default: URIRegExps;
4 | export default _default;
5 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uri-js/dist/esnext/schemes/http.d.ts:
--------------------------------------------------------------------------------
1 | import { URISchemeHandler } from "../uri";
2 | declare const handler: URISchemeHandler;
3 | export default handler;
4 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uri-js/dist/esnext/schemes/http.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"http.js","sourceRoot":"","sources":["../../../src/schemes/http.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,GAAoB;IAChC,MAAM,EAAG,MAAM;IAEf,UAAU,EAAG,IAAI;IAEjB,KAAK,EAAG,UAAU,UAAwB,EAAE,OAAkB;QAC7D,qBAAqB;QACrB,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE;YACrB,UAAU,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,IAAI,6BAA6B,CAAC;SACrE;QAED,OAAO,UAAU,CAAC;IACnB,CAAC;IAED,SAAS,EAAG,UAAU,UAAwB,EAAE,OAAkB;QACjE,4BAA4B;QAC5B,IAAI,UAAU,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE,KAAK,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,UAAU,CAAC,IAAI,KAAK,EAAE,EAAE;YACnH,UAAU,CAAC,IAAI,GAAG,SAAS,CAAC;SAC5B;QAED,0BAA0B;QAC1B,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE;YACrB,UAAU,CAAC,IAAI,GAAG,GAAG,CAAC;SACtB;QAED,mDAAmD;QACnD,oEAAoE;QACpE,wBAAwB;QAExB,OAAO,UAAU,CAAC;IACnB,CAAC;CACD,CAAC;AAEF,eAAe,OAAO,CAAC"}
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uri-js/dist/esnext/schemes/https.d.ts:
--------------------------------------------------------------------------------
1 | import { URISchemeHandler } from "../uri";
2 | declare const handler: URISchemeHandler;
3 | export default handler;
4 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uri-js/dist/esnext/schemes/https.js:
--------------------------------------------------------------------------------
1 | import http from "./http";
2 | const handler = {
3 | scheme: "https",
4 | domainHost: http.domainHost,
5 | parse: http.parse,
6 | serialize: http.serialize
7 | };
8 | export default handler;
9 | //# sourceMappingURL=https.js.map
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uri-js/dist/esnext/schemes/https.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"https.js","sourceRoot":"","sources":["../../../src/schemes/https.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,MAAM,OAAO,GAAoB;IAChC,MAAM,EAAG,OAAO;IAChB,UAAU,EAAG,IAAI,CAAC,UAAU;IAC5B,KAAK,EAAG,IAAI,CAAC,KAAK;IAClB,SAAS,EAAG,IAAI,CAAC,SAAS;CAC1B,CAAA;AAED,eAAe,OAAO,CAAC"}
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uri-js/dist/esnext/schemes/mailto.d.ts:
--------------------------------------------------------------------------------
1 | import { URISchemeHandler, URIComponents } from "../uri";
2 | export interface MailtoHeaders {
3 | [hfname: string]: string;
4 | }
5 | export interface MailtoComponents extends URIComponents {
6 | to: Array;
7 | headers?: MailtoHeaders;
8 | subject?: string;
9 | body?: string;
10 | }
11 | declare const handler: URISchemeHandler;
12 | export default handler;
13 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uri-js/dist/esnext/schemes/urn-uuid.d.ts:
--------------------------------------------------------------------------------
1 | import { URISchemeHandler, URIOptions } from "../uri";
2 | import { URNComponents } from "./urn";
3 | export interface UUIDComponents extends URNComponents {
4 | uuid?: string;
5 | }
6 | declare const handler: URISchemeHandler;
7 | export default handler;
8 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uri-js/dist/esnext/schemes/urn.d.ts:
--------------------------------------------------------------------------------
1 | import { URISchemeHandler, URIComponents, URIOptions } from "../uri";
2 | export interface URNComponents extends URIComponents {
3 | nid?: string;
4 | nss?: string;
5 | }
6 | export interface URNOptions extends URIOptions {
7 | nid?: string;
8 | }
9 | declare const handler: URISchemeHandler;
10 | export default handler;
11 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uri-js/dist/esnext/util.d.ts:
--------------------------------------------------------------------------------
1 | export declare function merge(...sets: Array): string;
2 | export declare function subexp(str: string): string;
3 | export declare function typeOf(o: any): string;
4 | export declare function toUpperCase(str: string): string;
5 | export declare function toArray(obj: any): Array;
6 | export declare function assign(target: object, source: any): any;
7 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uri-js/src/index.ts:
--------------------------------------------------------------------------------
1 | import { SCHEMES } from "./uri";
2 |
3 | import http from "./schemes/http";
4 | SCHEMES[http.scheme] = http;
5 |
6 | import https from "./schemes/https";
7 | SCHEMES[https.scheme] = https;
8 |
9 | import mailto from "./schemes/mailto";
10 | SCHEMES[mailto.scheme] = mailto;
11 |
12 | import urn from "./schemes/urn";
13 | SCHEMES[urn.scheme] = urn;
14 |
15 | import uuid from "./schemes/urn-uuid";
16 | SCHEMES[uuid.scheme] = uuid;
17 |
18 | export * from "./uri";
19 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uri-js/src/punycode.d.ts:
--------------------------------------------------------------------------------
1 | declare module 'punycode' {
2 | function ucs2decode(string:string):Array;
3 | function ucs2encode(array:Array):string;
4 | function decode(string:string):string;
5 | function encode(string:string):string;
6 | function toASCII(string:string):string;
7 | function toUnicode(string:string):string;
8 |
9 | interface Punycode {
10 | 'version': '2.2.0';
11 | 'ucs2': {
12 | 'decode': typeof ucs2decode;
13 | 'encode': typeof ucs2encode;
14 | },
15 | 'decode': typeof decode;
16 | 'encode': typeof encode;
17 | 'toASCII': typeof toASCII;
18 | 'toUnicode': typeof toUnicode;
19 | }
20 |
21 | const punycode:Punycode;
22 |
23 | export default punycode;
24 | }
25 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uri-js/src/regexps-iri.ts:
--------------------------------------------------------------------------------
1 | import { URIRegExps } from "./uri";
2 | import { buildExps } from "./regexps-uri";
3 |
4 | export default buildExps(true);
5 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uri-js/src/schemes/https.ts:
--------------------------------------------------------------------------------
1 | import { URISchemeHandler, URIComponents, URIOptions } from "../uri";
2 | import http from "./http";
3 |
4 | const handler:URISchemeHandler = {
5 | scheme : "https",
6 | domainHost : http.domainHost,
7 | parse : http.parse,
8 | serialize : http.serialize
9 | }
10 |
11 | export default handler;
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uri-js/tests/test-es5-min.html:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uri-js/tests/test-es5.html:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uri-js/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "module": "es2015",
4 | "target": "esnext",
5 | "noImplicitAny": true,
6 | "sourceMap": true,
7 | "alwaysStrict": true,
8 | "declaration": true,
9 | "experimentalDecorators": true,
10 | "forceConsistentCasingInFileNames": true,
11 | "importHelpers": true,
12 | "noImplicitReturns": true,
13 | "noImplicitThis": true,
14 | "outDir": "dist/esnext",
15 | "strictNullChecks": true
16 | },
17 | "include": [
18 | "src/**/*"
19 | ]
20 | }
21 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/url/.npmignore:
--------------------------------------------------------------------------------
1 | test-url.js
2 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/url/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.10"
4 | env:
5 | global:
6 | - secure: OgPRLCzHFh5WbjHEKlghHFW1oOreSF2JVUr3CMaFDi03ngTS2WONSw8mRn8SA6FTldiGGBx1n8orDzUw6cdkB7+tkU3G5B0M0V3vl823NaUFKgxsCM3UGDYfJb3yfAG5cj72rVZoX/ABd1fVuG4vBIlDLxsSlKQFMzUCFoyttr8=
7 | - secure: AiZP8GHbyx83ZBhOvOxxtpNcgNHoP+vo5G1a1OYU78EHCgHg8NRyHKyCdrBnPvw6mV2BI/8frZaXAEicsHMtHMofBYn7nibNlaajBPI8AkHtYfNSc+zO+71Kwv7VOTOKKnkMEIkqhHlc6njFoH3QaBNHsgNlzzplPxaIt8vdUVk=
8 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/url/.zuul.yml:
--------------------------------------------------------------------------------
1 | ui: mocha-tdd
2 | browsers:
3 | - name: chrome
4 | version: latest
5 | - name: firefox
6 | version: 24..latest
7 | - name: safari
8 | version: latest
9 | - name: ie
10 | version: 9..latest
11 | - name: iphone
12 | version: oldest..latest
13 | - name: ipad
14 | version: oldest..latest
15 | - name: android
16 | version: oldest..latest
17 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/url/util.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | module.exports = {
4 | isString: function(arg) {
5 | return typeof(arg) === 'string';
6 | },
7 | isObject: function(arg) {
8 | return typeof(arg) === 'object' && arg !== null;
9 | },
10 | isNull: function(arg) {
11 | return arg === null;
12 | },
13 | isNullOrUndefined: function(arg) {
14 | return arg == null;
15 | }
16 | };
17 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uuid/AUTHORS:
--------------------------------------------------------------------------------
1 | Robert Kieffer
2 | Christoph Tavan
3 | AJ ONeal
4 | Vincent Voyer
5 | Roman Shtylman
6 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uuid/index.js:
--------------------------------------------------------------------------------
1 | var v1 = require('./v1');
2 | var v4 = require('./v4');
3 |
4 | var uuid = v4;
5 | uuid.v1 = v1;
6 | uuid.v4 = v4;
7 |
8 | module.exports = uuid;
9 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uuid/lib/md5.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var crypto = require('crypto');
4 |
5 | function md5(bytes) {
6 | if (typeof Buffer.from === 'function') {
7 | // Modern Buffer API
8 | if (Array.isArray(bytes)) {
9 | bytes = Buffer.from(bytes);
10 | } else if (typeof bytes === 'string') {
11 | bytes = Buffer.from(bytes, 'utf8');
12 | }
13 | } else {
14 | // Pre-v4 Buffer API
15 | if (Array.isArray(bytes)) {
16 | bytes = new Buffer(bytes);
17 | } else if (typeof bytes === 'string') {
18 | bytes = new Buffer(bytes, 'utf8');
19 | }
20 | }
21 |
22 | return crypto.createHash('md5').update(bytes).digest();
23 | }
24 |
25 | module.exports = md5;
26 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uuid/lib/rng.js:
--------------------------------------------------------------------------------
1 | // Unique ID creation requires a high quality random # generator. In node.js
2 | // this is pretty straight-forward - we use the crypto API.
3 |
4 | var crypto = require('crypto');
5 |
6 | module.exports = function nodeRNG() {
7 | return crypto.randomBytes(16);
8 | };
9 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uuid/lib/sha1.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var crypto = require('crypto');
4 |
5 | function sha1(bytes) {
6 | if (typeof Buffer.from === 'function') {
7 | // Modern Buffer API
8 | if (Array.isArray(bytes)) {
9 | bytes = Buffer.from(bytes);
10 | } else if (typeof bytes === 'string') {
11 | bytes = Buffer.from(bytes, 'utf8');
12 | }
13 | } else {
14 | // Pre-v4 Buffer API
15 | if (Array.isArray(bytes)) {
16 | bytes = new Buffer(bytes);
17 | } else if (typeof bytes === 'string') {
18 | bytes = new Buffer(bytes, 'utf8');
19 | }
20 | }
21 |
22 | return crypto.createHash('sha1').update(bytes).digest();
23 | }
24 |
25 | module.exports = sha1;
26 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uuid/v3.js:
--------------------------------------------------------------------------------
1 | var v35 = require('./lib/v35.js');
2 | var md5 = require('./lib/md5');
3 |
4 | module.exports = v35('v3', 0x30, md5);
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uuid/v4.js:
--------------------------------------------------------------------------------
1 | var rng = require('./lib/rng');
2 | var bytesToUuid = require('./lib/bytesToUuid');
3 |
4 | function v4(options, buf, offset) {
5 | var i = buf && offset || 0;
6 |
7 | if (typeof(options) == 'string') {
8 | buf = options === 'binary' ? new Array(16) : null;
9 | options = null;
10 | }
11 | options = options || {};
12 |
13 | var rnds = options.random || (options.rng || rng)();
14 |
15 | // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
16 | rnds[6] = (rnds[6] & 0x0f) | 0x40;
17 | rnds[8] = (rnds[8] & 0x3f) | 0x80;
18 |
19 | // Copy bytes to buffer, if provided
20 | if (buf) {
21 | for (var ii = 0; ii < 16; ++ii) {
22 | buf[i + ii] = rnds[ii];
23 | }
24 | }
25 |
26 | return buf || bytesToUuid(rnds);
27 | }
28 |
29 | module.exports = v4;
30 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/uuid/v5.js:
--------------------------------------------------------------------------------
1 | var v35 = require('./lib/v35.js');
2 | var sha1 = require('./lib/sha1');
3 | module.exports = v35('v5', 0x50, sha1);
4 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/verror/.npmignore:
--------------------------------------------------------------------------------
1 | .gitignore
2 | .gitmodules
3 | deps
4 | examples
5 | experiments
6 | jsl.node.conf
7 | Makefile
8 | Makefile.targ
9 | test
10 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/verror/CHANGES.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## Not yet released
4 |
5 | None yet.
6 |
7 | ## v1.10.0
8 |
9 | * #49 want convenience functions for MultiErrors
10 |
11 | ## v1.9.0
12 |
13 | * #47 could use VError.hasCauseWithName()
14 |
15 | ## v1.8.1
16 |
17 | * #39 captureStackTrace lost when inheriting from WError
18 |
19 | ## v1.8.0
20 |
21 | * #23 Preserve original stack trace(s)
22 |
23 | ## v1.7.0
24 |
25 | * #10 better support for extra properties on Errors
26 | * #11 make it easy to find causes of a particular kind
27 | * #29 No documentation on how to Install this package
28 | * #36 elide development-only files from npm package
29 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/node_modules/wx-server-sdk/README.md:
--------------------------------------------------------------------------------
1 | 小程序云开发 Server SDK
2 | Mini-Program Server SDK
3 |
4 | - [documentation / 文档](https://developers.weixin.qq.com/miniprogram/dev/wxcloud/basis/getting-started.html)
5 | - [changelog / 更新日志](./CHANGELOG.md)
6 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FaceAPI/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "FaceAPI",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "author": "",
10 | "license": "ISC",
11 | "dependencies": {
12 | "crypto": "^1.0.1",
13 | "request": "^2.88.2",
14 | "url": "^0.11.0",
15 | "wx-server-sdk": "^1.8.3"
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FrofessComment/index.js:
--------------------------------------------------------------------------------
1 | // 云函数入口文件
2 | const cloud = require('wx-server-sdk')
3 |
4 | cloud.init()
5 | const db = cloud.database()
6 | const _ = db.command
7 |
8 | // 云函数入口函数
9 | exports.main = async(event, context) => {
10 | console.log(event)
11 | const objId = event.id
12 | const dbname = event.dbname
13 | const newcomment_number = event.newcomment_number
14 | const comments = event.comments
15 | try {
16 | return await db.collection(dbname)
17 | .doc(objId)
18 | .update({
19 | // data 传入需要局部更新的数据
20 | data: {
21 | // 表示将 done 字段置为 true
22 | comment_number: newcomment_number,
23 | comment: comments
24 | }
25 | })
26 | } catch (e) {
27 | console.error(e)
28 | }
29 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/FrofessComment/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "FrofessComment",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "author": "",
10 | "license": "ISC",
11 | "dependencies": {
12 | "wx-server-sdk": "latest"
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/App/cloudfunctions/FrofessZan/index.js:
--------------------------------------------------------------------------------
1 | // 云函数入口文件
2 | const cloud = require('wx-server-sdk')
3 |
4 | cloud.init()
5 | const db = cloud.database()
6 | const _ = db.command
7 |
8 | // 云函数入口函数
9 | exports.main = async(event, context) => {
10 | const id = event.id
11 | const dbname = event.dbname
12 | const newpraise_number = event.newpraise_number
13 | const zan = event.zan
14 | try {
15 | return await db.collection(dbname)
16 | .doc(id)
17 | .update({
18 | // data 传入需要局部更新的数据
19 | data: {
20 | // 表示将 done 字段置为 true
21 | praise_number: newpraise_number,
22 | parise: zan
23 | }
24 | })
25 |
26 | } catch (e) {
27 | console.error(e)
28 | }
29 |
30 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/FrofessZan/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "FrofessZan",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "author": "",
10 | "license": "ISC",
11 | "dependencies": {
12 | "wx-server-sdk": "latest"
13 | }
14 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/Message/index.js:
--------------------------------------------------------------------------------
1 | // 云函数入口文件
2 | const cloud = require('wx-server-sdk')
3 |
4 | cloud.init()
5 | const db = cloud.database()
6 | const _ = db.command
7 |
8 | // 云函数入口函数
9 | exports.main = async (event, context) => {
10 | const objId = event.id
11 | try {
12 | return await db.collection('message')
13 | .where({ messageuser: objId })
14 | .update({
15 | data: {
16 | isread: true
17 | },
18 | success: console.log,
19 | fail: console.error
20 | })
21 |
22 | } catch (e) {
23 | console.error(e)
24 | }
25 |
26 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/Message/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Message",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "author": "",
10 | "license": "ISC",
11 | "dependencies": {
12 | "wx-server-sdk": "latest"
13 | }
14 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/SaleComment/index.js:
--------------------------------------------------------------------------------
1 | // 云函数入口文件
2 | const cloud = require('wx-server-sdk')
3 |
4 | cloud.init()
5 | const db = cloud.database()
6 | const _ = db.command
7 |
8 | // 云函数入口函数
9 | exports.main = async (event, context) => {
10 | const objId = event.id
11 | const newcomment_number = event.newcomment_number
12 | const comments = event.comments
13 | try {
14 | return await db.collection('sale_friends')
15 | .doc(objId)
16 | .update({
17 | // data 传入需要局部更新的数据
18 | data: {
19 | // 表示将 done 字段置为 true
20 | comment_number: newcomment_number,
21 | comments: comments
22 | }
23 | })
24 |
25 | } catch (e) {
26 | console.error(e)
27 | }
28 |
29 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/SaleComment/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "SaleComment",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "author": "",
10 | "license": "ISC",
11 | "dependencies": {
12 | "wx-server-sdk": "latest"
13 | }
14 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/SaleZan/index.js:
--------------------------------------------------------------------------------
1 | // 云函数入口文件
2 | const cloud = require('wx-server-sdk')
3 |
4 | cloud.init()
5 | const db = cloud.database()
6 | const _ = db.command
7 |
8 | // 云函数入口函数
9 | exports.main = async (event, context) => {
10 | const objId = event.id
11 | const newpraise_number = event.praise_number
12 | const praise = event.praise
13 | try {
14 | return await db.collection('sale_friends')
15 | .doc(objId)
16 | .update({
17 | // data 传入需要局部更新的数据
18 | data: {
19 | // 表示将 done 字段置为 true
20 | praise_number: newpraise_number,
21 | praise: praise
22 | }
23 | })
24 |
25 | } catch (e) {
26 | console.error(e)
27 | }
28 |
29 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/SaleZan/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "SaleZan",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "author": "",
10 | "license": "ISC",
11 | "dependencies": {
12 | "wx-server-sdk": "latest"
13 | }
14 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/ViewNumber/index.js:
--------------------------------------------------------------------------------
1 | // 云函数入口文件
2 | const cloud = require('wx-server-sdk')
3 |
4 | cloud.init()
5 | const db = cloud.database()
6 | const _ = db.command
7 |
8 | // 云函数入口函数
9 | exports.main = async (event, context) => {
10 | console.log(event)
11 | const objId = event.id
12 | const dbname = event.dbname
13 | const view_number = event.view_number
14 | try {
15 | return await db.collection(dbname)
16 | .doc(objId)
17 | .update({
18 | // data 传入需要局部更新的数据
19 | data: {
20 | // 表示将 done 字段置为 true
21 | view_number: view_number
22 | }
23 | })
24 | } catch (e) {
25 | console.error(e)
26 | }
27 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/ViewNumber/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ViewNumber",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "author": "",
10 | "license": "ISC",
11 | "dependencies": {
12 | "wx-server-sdk": "latest"
13 | }
14 | }
--------------------------------------------------------------------------------
/App/cloudfunctions/login/index.js:
--------------------------------------------------------------------------------
1 | // 云函数模板
2 | // 部署:在 cloud-functions/login 文件夹右击选择 “上传并部署”
3 |
4 | const cloud = require('wx-server-sdk')
5 |
6 | // 初始化 cloud
7 | cloud.init()
8 |
9 | /**
10 | * 这个示例将经自动鉴权过的小程序用户 openid 返回给小程序端
11 | *
12 | * event 参数包含小程序端调用传入的 data
13 | *
14 | */
15 | exports.main = (event, context) => {
16 | console.log(event)
17 | console.log(context)
18 |
19 | // 可执行其他自定义逻辑
20 | // console.log 的内容可以在云开发云函数调用日志查看
21 |
22 | // 获取 WX Context (微信调用上下文),包括 OPENID、APPID、及 UNIONID(需满足 UNIONID 获取条件)
23 | const wxContext = cloud.getWXContext()
24 |
25 | return {
26 | event,
27 | openid: wxContext.OPENID,
28 | appid: wxContext.APPID,
29 | unionid: wxContext.UNIONID,
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/App/cloudfunctions/login/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "login",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "author": "",
10 | "license": "ISC",
11 | "dependencies": {
12 | "wx-server-sdk": "latest"
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/App/miniprogram/components/get-more-loading/get-more-loading.js:
--------------------------------------------------------------------------------
1 | // components/get-more-loading/get-more-loading.js
2 | Component({
3 | /**
4 | * 组件的属性列表
5 | */
6 | properties: {
7 |
8 | },
9 |
10 | /**
11 | * 组件的初始数据
12 | */
13 | data: {
14 | showGeMoreLoadin: true
15 | },
16 |
17 | /**
18 | * 组件的方法列表
19 | */
20 | methods: {
21 |
22 | }
23 | })
24 |
--------------------------------------------------------------------------------
/App/miniprogram/components/get-more-loading/get-more-loading.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {}
4 | }
--------------------------------------------------------------------------------
/App/miniprogram/components/get-more-loading/get-more-loading.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 加载中
5 |
6 |
7 |
--------------------------------------------------------------------------------
/App/miniprogram/components/get-more-loading/get-more-loading.wxss:
--------------------------------------------------------------------------------
1 | /** 加载更多 **/
2 | .get-more{
3 | height: 50rpx;
4 | display: flex;
5 | flex-direction: row;
6 | align-items: center;
7 | justify-content: space-around;
8 | font-size: 25rpx;
9 | font-weight: 200;
10 | width: 100%;
11 | background: #F2F2F2;
12 | padding-top: 20rpx;
13 | padding-bottom: 20rpx;
14 | }
15 |
16 | .get-more .image{
17 | width: 40rpx;
18 | height: 40rpx;
19 | }
20 |
21 | .get-more .get-more-item{
22 | display: flex;
23 | flex-direction: row;
24 | justify-content: center;
25 | align-items: center;
26 | }
27 |
28 | .loading{
29 | margin-left: 15rpx;
30 | }
31 |
--------------------------------------------------------------------------------
/App/miniprogram/components/not-more-tip/not-more-tip.js:
--------------------------------------------------------------------------------
1 |
2 | Component({
3 | /**
4 | * 组件的属性列表
5 | */
6 | properties: {
7 |
8 | },
9 |
10 | /**
11 | * 组件的初始数据
12 | */
13 | data: {
14 |
15 | },
16 |
17 | /**
18 | * 组件的方法列表
19 | */
20 | methods: {
21 |
22 | }
23 | })
24 |
--------------------------------------------------------------------------------
/App/miniprogram/components/not-more-tip/not-more-tip.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {}
4 | }
--------------------------------------------------------------------------------
/App/miniprogram/components/not-more-tip/not-more-tip.wxml:
--------------------------------------------------------------------------------
1 |
2 | 别扯啦,到底了
3 |
--------------------------------------------------------------------------------
/App/miniprogram/components/not-more-tip/not-more-tip.wxss:
--------------------------------------------------------------------------------
1 | .no-more-data{
2 | width: 100%;
3 | padding-top: 20rpx;
4 | padding-bottom: 20rpx;
5 | justify-content: space-around;
6 | align-items: center;
7 | font-size: 25rpx;
8 | font-weight: 200;
9 | text-align: center;
10 | color: darkgray;
11 | }
12 |
--------------------------------------------------------------------------------
/App/miniprogram/config.js:
--------------------------------------------------------------------------------
1 | /**
2 | * 这是小程序的配置文件
3 | */
4 |
5 | // 云开发环境ID
6 | const CLOUNDID = ''
7 | // 消息刷新时间,单位:毫秒
8 | // 默认10秒刷新一次,即10000毫秒
9 | // 根据实际需要进行调节
10 | const FLASHTIME = 10000000
11 |
12 | module.exports = {
13 | CLOUNDID,
14 | FLASHTIME
15 | }
--------------------------------------------------------------------------------
/App/miniprogram/image/add-image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/add-image.png
--------------------------------------------------------------------------------
/App/miniprogram/image/add-image1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/add-image1.png
--------------------------------------------------------------------------------
/App/miniprogram/image/add-photo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/add-photo.png
--------------------------------------------------------------------------------
/App/miniprogram/image/bind-face-report.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/bind-face-report.png
--------------------------------------------------------------------------------
/App/miniprogram/image/boy-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/boy-icon.png
--------------------------------------------------------------------------------
/App/miniprogram/image/boy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/boy.png
--------------------------------------------------------------------------------
/App/miniprogram/image/color-love.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/color-love.png
--------------------------------------------------------------------------------
/App/miniprogram/image/comment-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/comment-icon.png
--------------------------------------------------------------------------------
/App/miniprogram/image/comment.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/comment.png
--------------------------------------------------------------------------------
/App/miniprogram/image/compare-add.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/compare-add.png
--------------------------------------------------------------------------------
/App/miniprogram/image/confirm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/confirm.png
--------------------------------------------------------------------------------
/App/miniprogram/image/ding.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/ding.png
--------------------------------------------------------------------------------
/App/miniprogram/image/empty.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/empty.png
--------------------------------------------------------------------------------
/App/miniprogram/image/fall-in-love.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/fall-in-love.png
--------------------------------------------------------------------------------
/App/miniprogram/image/fall-in-love1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/fall-in-love1.png
--------------------------------------------------------------------------------
/App/miniprogram/image/follow-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/follow-icon.png
--------------------------------------------------------------------------------
/App/miniprogram/image/girl-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/girl-icon.png
--------------------------------------------------------------------------------
/App/miniprogram/image/girl.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/girl.png
--------------------------------------------------------------------------------
/App/miniprogram/image/help-me.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/help-me.png
--------------------------------------------------------------------------------
/App/miniprogram/image/iam.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/iam.png
--------------------------------------------------------------------------------
/App/miniprogram/image/ilike.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/ilike.png
--------------------------------------------------------------------------------
/App/miniprogram/image/ilove.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/ilove.png
--------------------------------------------------------------------------------
/App/miniprogram/image/jiantou.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/jiantou.png
--------------------------------------------------------------------------------
/App/miniprogram/image/letter.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/letter.png
--------------------------------------------------------------------------------
/App/miniprogram/image/letter1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/letter1.png
--------------------------------------------------------------------------------
/App/miniprogram/image/loading.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/loading.gif
--------------------------------------------------------------------------------
/App/miniprogram/image/location.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/location.png
--------------------------------------------------------------------------------
/App/miniprogram/image/make_praise.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/make_praise.png
--------------------------------------------------------------------------------
/App/miniprogram/image/message.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/message.png
--------------------------------------------------------------------------------
/App/miniprogram/image/my-message.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/my-message.png
--------------------------------------------------------------------------------
/App/miniprogram/image/new-post.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/new-post.png
--------------------------------------------------------------------------------
/App/miniprogram/image/pinglun.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/pinglun.png
--------------------------------------------------------------------------------
/App/miniprogram/image/post.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/post.png
--------------------------------------------------------------------------------
/App/miniprogram/image/post1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/post1.png
--------------------------------------------------------------------------------
/App/miniprogram/image/praise_user.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/praise_user.png
--------------------------------------------------------------------------------
/App/miniprogram/image/private.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/private.png
--------------------------------------------------------------------------------
/App/miniprogram/image/qiqiu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/qiqiu.png
--------------------------------------------------------------------------------
/App/miniprogram/image/report.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/report.png
--------------------------------------------------------------------------------
/App/miniprogram/image/sale.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/sale.png
--------------------------------------------------------------------------------
/App/miniprogram/image/sale_praise.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/sale_praise.png
--------------------------------------------------------------------------------
/App/miniprogram/image/saylove.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/saylove.png
--------------------------------------------------------------------------------
/App/miniprogram/image/seal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/seal.png
--------------------------------------------------------------------------------
/App/miniprogram/image/select-fall-in-love.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/select-fall-in-love.png
--------------------------------------------------------------------------------
/App/miniprogram/image/select-fall-in-love1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/select-fall-in-love1.png
--------------------------------------------------------------------------------
/App/miniprogram/image/select-iam.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/select-iam.png
--------------------------------------------------------------------------------
/App/miniprogram/image/select-image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/select-image.png
--------------------------------------------------------------------------------
/App/miniprogram/image/select-sale.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/select-sale.png
--------------------------------------------------------------------------------
/App/miniprogram/image/select-saylove.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/select-saylove.png
--------------------------------------------------------------------------------
/App/miniprogram/image/select-travel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/select-travel.png
--------------------------------------------------------------------------------
/App/miniprogram/image/share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/share.png
--------------------------------------------------------------------------------
/App/miniprogram/image/show-label.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/show-label.png
--------------------------------------------------------------------------------
/App/miniprogram/image/suggestion1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/suggestion1.png
--------------------------------------------------------------------------------
/App/miniprogram/image/topic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/topic.png
--------------------------------------------------------------------------------
/App/miniprogram/image/topic_comment.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/topic_comment.png
--------------------------------------------------------------------------------
/App/miniprogram/image/topic_praise.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/topic_praise.png
--------------------------------------------------------------------------------
/App/miniprogram/image/topic_view.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/topic_view.png
--------------------------------------------------------------------------------
/App/miniprogram/image/wechat-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/wechat-logo.png
--------------------------------------------------------------------------------
/App/miniprogram/image/wx_log.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/wx_log.png
--------------------------------------------------------------------------------
/App/miniprogram/image/xw.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/xw.png
--------------------------------------------------------------------------------
/App/miniprogram/image/zan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/image/zan.png
--------------------------------------------------------------------------------
/App/miniprogram/pages/compare_face/face.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {}
3 | }
--------------------------------------------------------------------------------
/App/miniprogram/pages/home/index/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "enablePullDownRefresh": true,
3 | "backgroundTextStyle": "dark",
4 | "usingComponents": {
5 | "get-more-loading": "/components/get-more-loading/get-more-loading",
6 | "not-more": "/components/not-more-tip/not-more-tip"
7 | }
8 | }
--------------------------------------------------------------------------------
/App/miniprogram/pages/home/post/post.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我要向Ta表白",
3 | "usingComponents": {
4 |
5 | }
6 | }
--------------------------------------------------------------------------------
/App/miniprogram/pages/home/postTopic/postTopic.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "发布话题",
3 | "usingComponents": {}
4 | }
--------------------------------------------------------------------------------
/App/miniprogram/pages/home/post_detail/post_detail.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "表白墙详情"
3 | }
--------------------------------------------------------------------------------
/App/miniprogram/pages/home/topic_comment/topic_comment.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "评论话题",
3 | "usingComponents": {
4 | }
5 | }
--------------------------------------------------------------------------------
/App/miniprogram/pages/home/topic_comment/topic_comment.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
10 |
11 |
12 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/App/miniprogram/pages/home/topic_detail/topic_detail.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "话题详情"
3 | }
--------------------------------------------------------------------------------
/App/miniprogram/pages/index/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTextStyle":"white",
3 | "navigationBarBackgroundColor":"#43CD80",
4 | "navigationBarTitleText": "欢迎来到SayLove~",
5 | "usingComponents": {}
6 | }
--------------------------------------------------------------------------------
/App/miniprogram/pages/index/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Hello , 欢迎使用 SayLove!
6 |
7 |
10 |
11 |
--------------------------------------------------------------------------------
/App/miniprogram/pages/personal/index/bgimg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/pages/personal/index/bgimg.jpg
--------------------------------------------------------------------------------
/App/miniprogram/pages/personal/index/personal.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {}
3 | }
--------------------------------------------------------------------------------
/App/miniprogram/pages/personal/message/message.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "消息",
3 | "usingComponents": {
4 | "get-more-loading": "/components/get-more-loading/get-more-loading",
5 | "not-more": "/components/not-more-tip/not-more-tip"
6 | }
7 | }
--------------------------------------------------------------------------------
/App/miniprogram/pages/personal/post_list/post_list.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我的表白墙",
3 | "usingComponents": {
4 | "get-more-loading": "/components/get-more-loading/get-more-loading",
5 | "not-more": "/components/not-more-tip/not-more-tip"
6 | }
7 | }
--------------------------------------------------------------------------------
/App/miniprogram/pages/personal/sale_list/sale_list.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我的卖舍友",
3 | "usingComponents": {
4 | "get-more-loading": "/components/get-more-loading/get-more-loading",
5 | "not-more": "/components/not-more-tip/not-more-tip"
6 | }
7 | }
--------------------------------------------------------------------------------
/App/miniprogram/pages/personal/topic_list/topic_list.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我的话题",
3 | "usingComponents": {
4 | "get-more-loading": "/components/get-more-loading/get-more-loading",
5 | "not-more": "/components/not-more-tip/not-more-tip"
6 | }
7 | }
--------------------------------------------------------------------------------
/App/miniprogram/pages/sale/comment_sale/comment_sale.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "舍友详情"
3 | }
--------------------------------------------------------------------------------
/App/miniprogram/pages/sale/index/sale.json:
--------------------------------------------------------------------------------
1 | {
2 | "enablePullDownRefresh": true,
3 | "backgroundTextStyle": "dark",
4 | "usingComponents": {
5 | "get-more-loading": "/components/get-more-loading/get-more-loading",
6 | "not-more": "/components/not-more-tip/not-more-tip"
7 | }
8 | }
--------------------------------------------------------------------------------
/App/miniprogram/pages/sale/post_sale/post_sale.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "我要卖舍友",
3 | "usingComponents": {
4 | }
5 | }
--------------------------------------------------------------------------------
/App/miniprogram/pages/sitemap.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/App/miniprogram/pages/sitemap.json
--------------------------------------------------------------------------------
/App/miniprogram/sitemap.json:
--------------------------------------------------------------------------------
1 | {
2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
3 | "rules": [
4 | {
5 | "action": "allow",
6 | "page": "*"
7 | }
8 | ]
9 | }
--------------------------------------------------------------------------------
/App/miniprogram/utils/util.js:
--------------------------------------------------------------------------------
1 | const formatTime = date => {
2 | const year = date.getFullYear()
3 | const month = date.getMonth() + 1
4 | const day = date.getDate()
5 | const hour = date.getHours()
6 | const minute = date.getMinutes()
7 | const second = date.getSeconds()
8 |
9 | return [year, month, day].map(formatNumber).join('/') + ' ' + [hour, minute, second].map(formatNumber).join(':')
10 | }
11 |
12 | const formatNumber = n => {
13 | n = n.toString()
14 | return n[1] ? n : '0' + n
15 | }
16 |
17 | module.exports = {
18 | formatTime: formatTime
19 | }
20 |
--------------------------------------------------------------------------------
/Images/ali.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/Images/ali.png
--------------------------------------------------------------------------------
/Images/award.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/Images/award.jpg
--------------------------------------------------------------------------------
/Images/config.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/Images/config.png
--------------------------------------------------------------------------------
/Images/face.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/Images/face.png
--------------------------------------------------------------------------------
/Images/login.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/Images/login.png
--------------------------------------------------------------------------------
/Images/love-new.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/Images/love-new.png
--------------------------------------------------------------------------------
/Images/message.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/Images/message.png
--------------------------------------------------------------------------------
/Images/my.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/Images/my.png
--------------------------------------------------------------------------------
/Images/sell.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/Images/sell.png
--------------------------------------------------------------------------------
/Images/topic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lx164/SayLove/a8fcd02b7901ed15f3f894e337b1db950c1b05b5/Images/topic.png
--------------------------------------------------------------------------------