├── unpackage └── dist │ └── build │ ├── .automator │ └── h5 │ │ └── .automator.json │ └── h5 │ └── static │ ├── css │ └── reset.css │ ├── logo.png │ ├── logo (2).png │ └── stzhang-tab │ └── stzhang-tab.png ├── static ├── css │ └── reset.css ├── logo.png ├── logo (2).png └── stzhang-tab │ └── stzhang-tab.png ├── pages └── .DS_Store ├── uniCloud-aliyun └── cloudfunctions │ ├── common │ └── baidu │ │ ├── node_modules │ │ ├── extsprintf │ │ │ ├── .gitmodules │ │ │ └── .npmignore │ │ ├── qs │ │ │ ├── .eslintignore │ │ │ ├── test │ │ │ │ ├── index.js │ │ │ │ └── .eslintrc │ │ │ └── lib │ │ │ │ ├── index.js │ │ │ │ └── formats.js │ │ ├── isstream │ │ │ ├── .npmignore │ │ │ └── .travis.yml │ │ ├── delayed-stream │ │ │ ├── .npmignore │ │ │ └── Makefile │ │ ├── performance-now │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── test │ │ │ │ ├── mocha.opts │ │ │ │ └── scripts │ │ │ │ │ ├── difference.coffee │ │ │ │ │ ├── initial-value.coffee │ │ │ │ │ ├── delayed-call.coffee │ │ │ │ │ └── delayed-require.coffee │ │ │ ├── .tm_properties │ │ │ └── src │ │ │ │ └── index.d.ts │ │ ├── jsbn │ │ │ ├── .npmignore │ │ │ ├── example.js │ │ │ └── example.html │ │ ├── json-stringify-safe │ │ │ ├── .npmignore │ │ │ └── test │ │ │ │ └── mocha.opts │ │ ├── should-type-adaptors │ │ │ └── README.md │ │ ├── should-util │ │ │ └── README.md │ │ ├── uri-js │ │ │ └── dist │ │ │ │ └── esnext │ │ │ │ ├── index.d.ts │ │ │ │ ├── regexps-iri.d.ts │ │ │ │ ├── regexps-iri.js │ │ │ │ ├── schemes │ │ │ │ ├── http.d.ts │ │ │ │ ├── wss.d.ts │ │ │ │ ├── https.d.ts │ │ │ │ ├── wss.js │ │ │ │ ├── https.js │ │ │ │ ├── ws.d.ts │ │ │ │ ├── wss.js.map │ │ │ │ ├── https.js.map │ │ │ │ ├── urn-uuid.d.ts │ │ │ │ ├── urn.d.ts │ │ │ │ └── mailto.d.ts │ │ │ │ ├── regexps-uri.d.ts │ │ │ │ ├── regexps-iri.js.map │ │ │ │ └── util.d.ts │ │ ├── debug │ │ │ ├── node.js │ │ │ ├── .coveralls.yml │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── .eslintrc │ │ │ ├── src │ │ │ │ ├── index.js │ │ │ │ └── inspector-log.js │ │ │ └── component.json │ │ ├── keep-alive-agent │ │ │ └── .npmignore │ │ ├── mocha │ │ │ ├── bin │ │ │ │ └── .eslintrc.yml │ │ │ ├── node_modules │ │ │ │ └── debug │ │ │ │ │ ├── node.js │ │ │ │ │ ├── .coveralls.yml │ │ │ │ │ ├── .npmignore │ │ │ │ │ ├── .eslintrc │ │ │ │ │ ├── .travis.yml │ │ │ │ │ └── src │ │ │ │ │ └── index.js │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ ├── browser │ │ │ │ │ ├── .eslintrc.yml │ │ │ │ │ ├── growl.js │ │ │ │ │ └── tty.js │ │ │ │ ├── interfaces │ │ │ │ │ └── index.js │ │ │ │ └── pending.js │ │ │ └── images │ │ │ │ ├── ok.png │ │ │ │ └── error.png │ │ ├── supports-color │ │ │ └── browser.js │ │ ├── tweetnacl │ │ │ └── .npmignore │ │ ├── concat-map │ │ │ ├── .travis.yml │ │ │ ├── example │ │ │ │ └── map.js │ │ │ └── index.js │ │ ├── should-type │ │ │ └── README.md │ │ ├── minimist │ │ │ ├── .travis.yml │ │ │ ├── example │ │ │ │ └── parse.js │ │ │ └── test │ │ │ │ ├── whitespace.js │ │ │ │ └── parse_modified.js │ │ ├── tough-cookie │ │ │ └── lib │ │ │ │ └── version.js │ │ ├── balanced-match │ │ │ └── .npmignore │ │ ├── fast-json-stable-stringify │ │ │ ├── .github │ │ │ │ └── FUNDING.yml │ │ │ ├── example │ │ │ │ ├── str.js │ │ │ │ ├── nested.js │ │ │ │ ├── key_cmp.js │ │ │ │ └── value_cmp.js │ │ │ ├── index.d.ts │ │ │ ├── .travis.yml │ │ │ └── test │ │ │ │ └── cmp.js │ │ ├── ajv │ │ │ ├── scripts │ │ │ │ ├── .eslintrc.yml │ │ │ │ ├── info │ │ │ │ └── prepare-tests │ │ │ └── lib │ │ │ │ ├── dotjs │ │ │ │ └── README.md │ │ │ │ ├── compile │ │ │ │ ├── schema_obj.js │ │ │ │ └── equal.js │ │ │ │ └── dot │ │ │ │ ├── const.jst │ │ │ │ ├── comment.jst │ │ │ │ ├── _limitItems.jst │ │ │ │ ├── pattern.jst │ │ │ │ ├── _limitLength.jst │ │ │ │ └── _limitProperties.jst │ │ ├── aws4 │ │ │ ├── .github │ │ │ │ └── FUNDING.yml │ │ │ └── .travis.yml │ │ ├── core-util-is │ │ │ └── README.md │ │ ├── diff │ │ │ └── runtime.js │ │ ├── fast-deep-equal │ │ │ ├── react.d.ts │ │ │ ├── es6 │ │ │ │ ├── index.d.ts │ │ │ │ └── react.d.ts │ │ │ └── index.d.ts │ │ ├── http-signature │ │ │ ├── .npmignore │ │ │ └── .dir-locals.el │ │ ├── getpass │ │ │ ├── .npmignore │ │ │ └── .travis.yml │ │ ├── underscore │ │ │ ├── modules │ │ │ │ ├── isDate.js │ │ │ │ ├── isError.js │ │ │ │ ├── isNumber.js │ │ │ │ ├── isRegExp.js │ │ │ │ ├── isString.js │ │ │ │ ├── isSymbol.js │ │ │ │ ├── _hasObjectTag.js │ │ │ │ ├── isWeakSet.js │ │ │ │ ├── isArrayBuffer.js │ │ │ │ ├── noop.js │ │ │ │ ├── isNull.js │ │ │ │ ├── isUndefined.js │ │ │ │ ├── identity.js │ │ │ │ ├── isElement.js │ │ │ │ ├── now.js │ │ │ │ ├── shuffle.js │ │ │ │ ├── reduceRight.js │ │ │ │ ├── _getLength.js │ │ │ │ ├── compact.js │ │ │ │ ├── isObject.js │ │ │ │ ├── _unescapeMap.js │ │ │ │ ├── constant.js │ │ │ │ ├── _getByteLength.js │ │ │ │ ├── reduce.js │ │ │ │ ├── negate.js │ │ │ │ ├── _keyInObj.js │ │ │ │ ├── defaults.js │ │ │ │ ├── escape.js │ │ │ │ ├── findIndex.js │ │ │ │ ├── isNaN.js │ │ │ │ ├── _escapeMap.js │ │ │ │ ├── findLastIndex.js │ │ │ │ ├── .eslintrc │ │ │ │ ├── chain.js │ │ │ │ ├── extend.js │ │ │ │ ├── unescape.js │ │ │ │ ├── isBoolean.js │ │ │ │ ├── _chainResult.js │ │ │ │ ├── _shallowProperty.js │ │ │ │ ├── zip.js │ │ │ │ ├── isArray.js │ │ │ │ ├── _has.js │ │ │ │ ├── _toPath.js │ │ │ │ ├── after.js │ │ │ │ ├── isMap.js │ │ │ │ ├── isSet.js │ │ │ │ ├── pluck.js │ │ │ │ ├── defer.js │ │ │ │ ├── once.js │ │ │ │ ├── random.js │ │ │ │ ├── isFinite.js │ │ │ │ ├── isWeakMap.js │ │ │ │ ├── uniqueId.js │ │ │ │ ├── indexBy.js │ │ │ │ ├── size.js │ │ │ │ ├── reject.js │ │ │ │ ├── _tagTester.js │ │ │ │ ├── without.js │ │ │ │ ├── _isBufferLike.js │ │ │ │ ├── findWhere.js │ │ │ │ ├── flatten.js │ │ │ │ ├── lastIndexOf.js │ │ │ │ ├── partition.js │ │ │ │ ├── where.js │ │ │ │ ├── propertyOf.js │ │ │ │ ├── tap.js │ │ │ │ ├── toPath.js │ │ │ │ ├── _deepGet.js │ │ │ │ ├── functions.js │ │ │ │ ├── extendOwn.js │ │ │ │ ├── times.js │ │ │ │ ├── wrap.js │ │ │ │ ├── clone.js │ │ │ │ ├── delay.js │ │ │ │ ├── rest.js │ │ │ │ ├── values.js │ │ │ │ ├── before.js │ │ │ │ ├── templateSettings.js │ │ │ │ ├── union.js │ │ │ │ ├── groupBy.js │ │ │ │ ├── invert.js │ │ │ │ ├── matcher.js │ │ │ │ ├── countBy.js │ │ │ │ ├── initial.js │ │ │ │ ├── filter.js │ │ │ │ ├── last.js │ │ │ │ ├── property.js │ │ │ │ ├── _toBufferView.js │ │ │ │ ├── pairs.js │ │ │ │ ├── _createSizePropertyCheck.js │ │ │ │ ├── chunk.js │ │ │ │ ├── find.js │ │ │ │ ├── create.js │ │ │ │ ├── findKey.js │ │ │ │ ├── first.js │ │ │ │ ├── contains.js │ │ │ │ ├── _isArrayLike.js │ │ │ │ ├── compose.js │ │ │ │ ├── _cb.js │ │ │ │ ├── iteratee.js │ │ │ │ ├── indexOf.js │ │ │ │ └── isMatch.js │ │ │ ├── cjs │ │ │ │ ├── isDate.js │ │ │ │ ├── noop.js │ │ │ │ ├── isError.js │ │ │ │ ├── isNull.js │ │ │ │ ├── isNumber.js │ │ │ │ ├── isRegExp.js │ │ │ │ ├── isString.js │ │ │ │ ├── isSymbol.js │ │ │ │ ├── isWeakSet.js │ │ │ │ ├── _hasObjectTag.js │ │ │ │ ├── isUndefined.js │ │ │ │ ├── isArrayBuffer.js │ │ │ │ ├── identity.js │ │ │ │ ├── isElement.js │ │ │ │ ├── shuffle.js │ │ │ │ ├── now.js │ │ │ │ ├── compact.js │ │ │ │ ├── constant.js │ │ │ │ ├── isObject.js │ │ │ │ ├── reduceRight.js │ │ │ │ ├── negate.js │ │ │ │ ├── _getLength.js │ │ │ │ ├── _keyInObj.js │ │ │ │ ├── reduce.js │ │ │ │ ├── _unescapeMap.js │ │ │ │ ├── _getByteLength.js │ │ │ │ ├── defaults.js │ │ │ │ ├── escape.js │ │ │ │ ├── isNaN.js │ │ │ │ ├── _escapeMap.js │ │ │ │ ├── findIndex.js │ │ │ │ ├── isBoolean.js │ │ │ │ ├── _has.js │ │ │ │ ├── extend.js │ │ │ │ ├── _shallowProperty.js │ │ │ │ ├── findLastIndex.js │ │ │ │ ├── chain.js │ │ │ │ ├── unescape.js │ │ │ │ ├── zip.js │ │ │ │ ├── _chainResult.js │ │ │ │ ├── after.js │ │ │ │ ├── isArray.js │ │ │ │ ├── pluck.js │ │ │ │ ├── random.js │ │ │ │ ├── index-default.js │ │ │ │ ├── once.js │ │ │ │ ├── isFinite.js │ │ │ │ ├── uniqueId.js │ │ │ │ ├── _toPath.js │ │ │ │ ├── defer.js │ │ │ │ ├── size.js │ │ │ │ ├── indexBy.js │ │ │ │ ├── isMap.js │ │ │ │ ├── isSet.js │ │ │ │ ├── _tagTester.js │ │ │ │ ├── reject.js │ │ │ │ ├── flatten.js │ │ │ │ ├── tap.js │ │ │ │ ├── where.js │ │ │ │ ├── _deepGet.js │ │ │ │ ├── findWhere.js │ │ │ │ ├── isWeakMap.js │ │ │ │ ├── functions.js │ │ │ │ ├── propertyOf.js │ │ │ │ ├── times.js │ │ │ │ ├── without.js │ │ │ │ ├── lastIndexOf.js │ │ │ │ ├── wrap.js │ │ │ │ ├── _isBufferLike.js │ │ │ │ ├── clone.js │ │ │ │ ├── partition.js │ │ │ │ ├── toPath.js │ │ │ │ ├── before.js │ │ │ │ ├── delay.js │ │ │ │ ├── rest.js │ │ │ │ ├── values.js │ │ │ │ ├── extendOwn.js │ │ │ │ ├── invert.js │ │ │ │ ├── matcher.js │ │ │ │ ├── union.js │ │ │ │ ├── groupBy.js │ │ │ │ ├── initial.js │ │ │ │ ├── countBy.js │ │ │ │ ├── templateSettings.js │ │ │ │ ├── last.js │ │ │ │ ├── filter.js │ │ │ │ ├── pairs.js │ │ │ │ ├── property.js │ │ │ │ ├── _toBufferView.js │ │ │ │ ├── chunk.js │ │ │ │ ├── _createSizePropertyCheck.js │ │ │ │ ├── find.js │ │ │ │ ├── create.js │ │ │ │ ├── first.js │ │ │ │ ├── findKey.js │ │ │ │ └── compose.js │ │ │ └── amd │ │ │ │ ├── isDate.js │ │ │ │ ├── isError.js │ │ │ │ ├── isNumber.js │ │ │ │ ├── isRegExp.js │ │ │ │ ├── isString.js │ │ │ │ ├── isSymbol.js │ │ │ │ ├── isWeakSet.js │ │ │ │ ├── _hasObjectTag.js │ │ │ │ ├── isArrayBuffer.js │ │ │ │ ├── noop.js │ │ │ │ ├── isNull.js │ │ │ │ ├── isUndefined.js │ │ │ │ ├── shuffle.js │ │ │ │ ├── identity.js │ │ │ │ ├── isElement.js │ │ │ │ ├── _unescapeMap.js │ │ │ │ ├── reduceRight.js │ │ │ │ ├── compact.js │ │ │ │ ├── _getLength.js │ │ │ │ ├── defaults.js │ │ │ │ ├── escape.js │ │ │ │ ├── now.js │ │ │ │ ├── isNaN.js │ │ │ │ ├── extend.js │ │ │ │ ├── reduce.js │ │ │ │ ├── _getByteLength.js │ │ │ │ ├── unescape.js │ │ │ │ ├── isObject.js │ │ │ │ ├── constant.js │ │ │ │ ├── findIndex.js │ │ │ │ ├── zip.js │ │ │ │ ├── findLastIndex.js │ │ │ │ ├── isArray.js │ │ │ │ ├── isBoolean.js │ │ │ │ ├── negate.js │ │ │ │ ├── pluck.js │ │ │ │ ├── _has.js │ │ │ │ ├── _keyInObj.js │ │ │ │ ├── index-default.js │ │ │ │ ├── defer.js │ │ │ │ ├── once.js │ │ │ │ ├── chain.js │ │ │ │ ├── isFinite.js │ │ │ │ ├── isMap.js │ │ │ │ ├── isSet.js │ │ │ │ ├── _chainResult.js │ │ │ │ ├── _escapeMap.js │ │ │ │ ├── reject.js │ │ │ │ ├── size.js │ │ │ │ ├── _toPath.js │ │ │ │ ├── isWeakMap.js │ │ │ │ ├── _shallowProperty.js │ │ │ │ ├── after.js │ │ │ │ ├── clone.js │ │ │ │ ├── random.js │ │ │ │ ├── indexBy.js │ │ │ │ ├── where.js │ │ │ │ ├── findWhere.js │ │ │ │ ├── uniqueId.js │ │ │ │ ├── without.js │ │ │ │ ├── propertyOf.js │ │ │ │ ├── _tagTester.js │ │ │ │ ├── lastIndexOf.js │ │ │ │ ├── _isBufferLike.js │ │ │ │ ├── flatten.js │ │ │ │ ├── toPath.js │ │ │ │ ├── extendOwn.js │ │ │ │ ├── functions.js │ │ │ │ ├── times.js │ │ │ │ ├── union.js │ │ │ │ ├── partition.js │ │ │ │ ├── wrap.js │ │ │ │ ├── matcher.js │ │ │ │ ├── tap.js │ │ │ │ ├── _deepGet.js │ │ │ │ ├── delay.js │ │ │ │ ├── rest.js │ │ │ │ ├── values.js │ │ │ │ ├── groupBy.js │ │ │ │ ├── invert.js │ │ │ │ ├── countBy.js │ │ │ │ ├── before.js │ │ │ │ ├── filter.js │ │ │ │ ├── find.js │ │ │ │ ├── initial.js │ │ │ │ ├── property.js │ │ │ │ ├── templateSettings.js │ │ │ │ ├── last.js │ │ │ │ ├── contains.js │ │ │ │ ├── create.js │ │ │ │ ├── pairs.js │ │ │ │ └── findKey.js │ │ ├── uuid │ │ │ ├── v3.js │ │ │ ├── v5.js │ │ │ ├── index.js │ │ │ ├── AUTHORS │ │ │ └── lib │ │ │ │ └── rng.js │ │ ├── form-data │ │ │ └── lib │ │ │ │ ├── browser.js │ │ │ │ └── populate.js │ │ ├── sshpk │ │ │ ├── .npmignore │ │ │ └── .travis.yml │ │ ├── tunnel-agent │ │ │ └── README.md │ │ ├── json-schema-traverse │ │ │ ├── spec │ │ │ │ └── .eslintrc.yml │ │ │ └── .travis.yml │ │ ├── verror │ │ │ └── .npmignore │ │ ├── aws-sign2 │ │ │ └── README.md │ │ ├── mkdirp │ │ │ ├── .travis.yml │ │ │ ├── examples │ │ │ │ └── pow.js │ │ │ └── bin │ │ │ │ └── usage.txt │ │ ├── asynckit │ │ │ └── index.js │ │ ├── forever-agent │ │ │ └── README.md │ │ ├── baidu-aip-sdk │ │ │ └── .travis.yml │ │ ├── mime-db │ │ │ └── index.js │ │ ├── should-format │ │ │ └── README.md │ │ ├── json-schema │ │ │ ├── draft-03 │ │ │ │ └── examples │ │ │ │ │ └── geo │ │ │ └── README.md │ │ ├── assert-plus │ │ │ └── AUTHORS │ │ ├── oauth-sign │ │ │ └── README.md │ │ ├── har-schema │ │ │ └── lib │ │ │ │ ├── har.json │ │ │ │ ├── header.json │ │ │ │ ├── pageTimings.json │ │ │ │ ├── query.json │ │ │ │ ├── browser.json │ │ │ │ └── creator.json │ │ ├── escape-string-regexp │ │ │ └── index.js │ │ ├── inherits │ │ │ └── inherits.js │ │ ├── asn1 │ │ │ └── lib │ │ │ │ ├── ber │ │ │ │ └── errors.js │ │ │ │ └── index.js │ │ ├── .bin │ │ │ ├── he.cmd │ │ │ ├── uuid.cmd │ │ │ ├── _mocha.cmd │ │ │ ├── mkdirp.cmd │ │ │ ├── mocha.cmd │ │ │ ├── sshpk-conv.cmd │ │ │ ├── sshpk-sign.cmd │ │ │ ├── sshpk-verify.cmd │ │ │ ├── he │ │ │ ├── uuid │ │ │ ├── _mocha │ │ │ ├── mocha │ │ │ ├── mkdirp │ │ │ ├── sshpk-conv │ │ │ ├── sshpk-sign │ │ │ └── sshpk-verify │ │ ├── has-flag │ │ │ └── index.js │ │ ├── growl │ │ │ └── .eslintrc.json │ │ ├── extend │ │ │ ├── .editorconfig │ │ │ └── .eslintrc │ │ ├── ecc-jsbn │ │ │ └── README.md │ │ └── har-validator │ │ │ └── lib │ │ │ └── error.js │ │ ├── index.js │ │ └── package.json │ ├── upload │ ├── upload.param.json │ └── index.js │ ├── get │ └── index.js │ ├── add │ └── index.js │ └── baidupic │ └── package.json ├── main.js ├── App.vue ├── README.md └── pages.json /unpackage/dist/build/.automator/h5/.automator.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /static/css/reset.css: -------------------------------------------------------------------------------- 1 | uni-page-head{ 2 | display:none 3 | } -------------------------------------------------------------------------------- /pages/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaikeeDu/uis/HEAD/pages/.DS_Store -------------------------------------------------------------------------------- /static/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaikeeDu/uis/HEAD/static/logo.png -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/extsprintf/.gitmodules: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/qs/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /unpackage/dist/build/h5/static/css/reset.css: -------------------------------------------------------------------------------- 1 | uni-page-head{ 2 | display:none 3 | } -------------------------------------------------------------------------------- /static/logo (2).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaikeeDu/uis/HEAD/static/logo (2).png -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/isstream/.npmignore: -------------------------------------------------------------------------------- 1 | *.tgz 2 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/delayed-stream/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/performance-now/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/jsbn/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/json-stringify-safe/.npmignore: -------------------------------------------------------------------------------- 1 | /*.tgz 2 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/extsprintf/.npmignore: -------------------------------------------------------------------------------- 1 | /deps 2 | /examples 3 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/should-type-adaptors/README.md: -------------------------------------------------------------------------------- 1 | # type-adaptors -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/should-util/README.md: -------------------------------------------------------------------------------- 1 | # util 2 | Utility functions 3 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/uri-js/dist/esnext/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from "./uri"; 2 | -------------------------------------------------------------------------------- /static/stzhang-tab/stzhang-tab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaikeeDu/uis/HEAD/static/stzhang-tab/stzhang-tab.png -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/debug/node.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./src/node'); 2 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/debug/.coveralls.yml: -------------------------------------------------------------------------------- 1 | repo_token: SIAeZjKYlHK74rbcFvNHMUzjRiMpflxve 2 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/json-stringify-safe/test/mocha.opts: -------------------------------------------------------------------------------- 1 | --recursive 2 | --require must 3 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/keep-alive-agent/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | **log 3 | .DS_Store 4 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/mocha/bin/.eslintrc.yml: -------------------------------------------------------------------------------- 1 | env: 2 | es6: true 3 | browser: false 4 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/supports-color/browser.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = false; 3 | -------------------------------------------------------------------------------- /unpackage/dist/build/h5/static/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaikeeDu/uis/HEAD/unpackage/dist/build/h5/static/logo.png -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/mocha/node_modules/debug/node.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./src/node'); 2 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/tweetnacl/.npmignore: -------------------------------------------------------------------------------- 1 | .eslintrc 2 | .travis.yml 3 | bower.json 4 | test 5 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/concat-map/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/should-type/README.md: -------------------------------------------------------------------------------- 1 | type 2 | ==== 3 | 4 | Simple module to resolve types 5 | -------------------------------------------------------------------------------- /unpackage/dist/build/h5/static/logo (2).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaikeeDu/uis/HEAD/unpackage/dist/build/h5/static/logo (2).png -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/minimist/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/mocha/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = require('./lib/mocha'); 4 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/mocha/node_modules/debug/.coveralls.yml: -------------------------------------------------------------------------------- 1 | repo_token: SIAeZjKYlHK74rbcFvNHMUzjRiMpflxve 2 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/tough-cookie/lib/version.js: -------------------------------------------------------------------------------- 1 | // generated by genversion 2 | module.exports = '2.5.0' 3 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/balanced-match/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | .gitignore 3 | .travis.yml 4 | Makefile 5 | example.js 6 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/fast-json-stable-stringify/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | tidelift: "npm/fast-json-stable-stringify" 2 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/ajv/scripts/.eslintrc.yml: -------------------------------------------------------------------------------- 1 | rules: 2 | no-console: 0 3 | no-empty: [2, allowEmptyCatch: true] 4 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/aws4/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: mhart 4 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/core-util-is/README.md: -------------------------------------------------------------------------------- 1 | # core-util-is 2 | 3 | The `util.is*` functions introduced in Node v0.12. 4 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/diff/runtime.js: -------------------------------------------------------------------------------- 1 | require('babel-core/register')({ 2 | ignore: /\/lib\/|\/node_modules\// 3 | }); 4 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/fast-deep-equal/react.d.ts: -------------------------------------------------------------------------------- 1 | declare const equal: (a: any, b: any) => boolean; 2 | export = equal; 3 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/mocha/lib/browser/.eslintrc.yml: -------------------------------------------------------------------------------- 1 | env: 2 | node: false 3 | browser: false 4 | commonjs: true 5 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/fast-deep-equal/es6/index.d.ts: -------------------------------------------------------------------------------- 1 | declare const equal: (a: any, b: any) => boolean; 2 | export = equal; 3 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/fast-deep-equal/es6/react.d.ts: -------------------------------------------------------------------------------- 1 | declare const equal: (a: any, b: any) => boolean; 2 | export = equal; 3 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/http-signature/.npmignore: -------------------------------------------------------------------------------- 1 | .gitmodules 2 | deps 3 | docs 4 | Makefile 5 | node_modules 6 | test 7 | tools -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/minimist/example/parse.js: -------------------------------------------------------------------------------- 1 | var argv = require('../')(process.argv.slice(2)); 2 | console.dir(argv); 3 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/delayed-stream/Makefile: -------------------------------------------------------------------------------- 1 | SHELL := /bin/bash 2 | 3 | test: 4 | @./test/run.js 5 | 6 | .PHONY: test 7 | 8 | -------------------------------------------------------------------------------- /unpackage/dist/build/h5/static/stzhang-tab/stzhang-tab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaikeeDu/uis/HEAD/unpackage/dist/build/h5/static/stzhang-tab/stzhang-tab.png -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/getpass/.npmignore: -------------------------------------------------------------------------------- 1 | .gitmodules 2 | deps 3 | docs 4 | Makefile 5 | node_modules 6 | test 7 | tools 8 | coverage 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/performance-now/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "node" 4 | - "6" 5 | - "4" 6 | - "0.12" 7 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/isDate.js: -------------------------------------------------------------------------------- 1 | import tagTester from './_tagTester.js'; 2 | 3 | export default tagTester('Date'); 4 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/isError.js: -------------------------------------------------------------------------------- 1 | import tagTester from './_tagTester.js'; 2 | 3 | export default tagTester('Error'); 4 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/isNumber.js: -------------------------------------------------------------------------------- 1 | import tagTester from './_tagTester.js'; 2 | 3 | export default tagTester('Number'); 4 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/isRegExp.js: -------------------------------------------------------------------------------- 1 | import tagTester from './_tagTester.js'; 2 | 3 | export default tagTester('RegExp'); 4 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/isString.js: -------------------------------------------------------------------------------- 1 | import tagTester from './_tagTester.js'; 2 | 3 | export default tagTester('String'); 4 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/isSymbol.js: -------------------------------------------------------------------------------- 1 | import tagTester from './_tagTester.js'; 2 | 3 | export default tagTester('Symbol'); 4 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/qs/test/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | require('./parse'); 4 | 5 | require('./stringify'); 6 | 7 | require('./utils'); 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/_hasObjectTag.js: -------------------------------------------------------------------------------- 1 | import tagTester from './_tagTester.js'; 2 | 3 | export default tagTester('Object'); 4 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/isWeakSet.js: -------------------------------------------------------------------------------- 1 | import tagTester from './_tagTester.js'; 2 | 3 | export default tagTester('WeakSet'); 4 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/upload/upload.param.json: -------------------------------------------------------------------------------- 1 | // 本文件中的json内容将在云函数【运行】时作为参数传给云函数。 2 | // 配置教程参考:https://uniapp.dcloud.net.cn/uniCloud/quickstart?id=runparam 3 | { 4 | } -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/jsbn/example.js: -------------------------------------------------------------------------------- 1 | var BigInteger = require('./'); 2 | var a = new BigInteger('91823918239182398123'); 3 | console.log(a.bitLength()); -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/mocha/lib/browser/growl.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | // just stub out growl 4 | 5 | module.exports = require('../utils').noop; 6 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/performance-now/test/mocha.opts: -------------------------------------------------------------------------------- 1 | --require coffee-script/register 2 | --compilers coffee:coffee-script/register 3 | --reporter spec -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/isArrayBuffer.js: -------------------------------------------------------------------------------- 1 | import tagTester from './_tagTester.js'; 2 | 3 | export default tagTester('ArrayBuffer'); 4 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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); -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/debug/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | example 5 | *.sock 6 | dist 7 | yarn.lock 8 | coverage 9 | bower.json 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/form-data/lib/browser.js: -------------------------------------------------------------------------------- 1 | /* eslint-env browser */ 2 | module.exports = typeof self == 'object' ? self.FormData : window.FormData; 3 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/noop.js: -------------------------------------------------------------------------------- 1 | // Predicate-generating function. Often useful outside of Underscore. 2 | export default function noop(){} 3 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/mocha/images/ok.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaikeeDu/uis/HEAD/uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/mocha/images/ok.png -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/isNull.js: -------------------------------------------------------------------------------- 1 | // Is a given value equal to null? 2 | export default function isNull(obj) { 3 | return obj === null; 4 | } 5 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/mocha/images/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LaikeeDu/uis/HEAD/uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/mocha/images/error.png -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/isDate.js: -------------------------------------------------------------------------------- 1 | var _tagTester = require('./_tagTester.js'); 2 | 3 | var isDate = _tagTester('Date'); 4 | 5 | module.exports = isDate; 6 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/noop.js: -------------------------------------------------------------------------------- 1 | // Predicate-generating function. Often useful outside of Underscore. 2 | function noop(){} 3 | 4 | module.exports = noop; 5 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/mocha/node_modules/debug/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | example 5 | *.sock 6 | dist 7 | yarn.lock 8 | coverage 9 | bower.json 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/isError.js: -------------------------------------------------------------------------------- 1 | var _tagTester = require('./_tagTester.js'); 2 | 3 | var isError = _tagTester('Error'); 4 | 5 | module.exports = isError; 6 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/isUndefined.js: -------------------------------------------------------------------------------- 1 | // Is a given variable undefined? 2 | export default function isUndefined(obj) { 3 | return obj === void 0; 4 | } 5 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/uri-js/dist/esnext/schemes/wss.d.ts: -------------------------------------------------------------------------------- 1 | import { URISchemeHandler } from "../uri"; 2 | declare const handler: URISchemeHandler; 3 | export default handler; 4 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/isDate.js: -------------------------------------------------------------------------------- 1 | define(['./_tagTester'], function (_tagTester) { 2 | 3 | var isDate = _tagTester('Date'); 4 | 5 | return isDate; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/isNull.js: -------------------------------------------------------------------------------- 1 | // Is a given value equal to null? 2 | function isNull(obj) { 3 | return obj === null; 4 | } 5 | 6 | module.exports = isNull; 7 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/isNumber.js: -------------------------------------------------------------------------------- 1 | var _tagTester = require('./_tagTester.js'); 2 | 3 | var isNumber = _tagTester('Number'); 4 | 5 | module.exports = isNumber; 6 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/isRegExp.js: -------------------------------------------------------------------------------- 1 | var _tagTester = require('./_tagTester.js'); 2 | 3 | var isRegExp = _tagTester('RegExp'); 4 | 5 | module.exports = isRegExp; 6 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/isString.js: -------------------------------------------------------------------------------- 1 | var _tagTester = require('./_tagTester.js'); 2 | 3 | var isString = _tagTester('String'); 4 | 5 | module.exports = isString; 6 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/isSymbol.js: -------------------------------------------------------------------------------- 1 | var _tagTester = require('./_tagTester.js'); 2 | 3 | var isSymbol = _tagTester('Symbol'); 4 | 5 | module.exports = isSymbol; 6 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/isWeakSet.js: -------------------------------------------------------------------------------- 1 | var _tagTester = require('./_tagTester.js'); 2 | 3 | var isWeakSet = _tagTester('WeakSet'); 4 | 5 | module.exports = isWeakSet; 6 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/fast-json-stable-stringify/index.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'fast-json-stable-stringify' { 2 | function stringify(obj: any): string; 3 | export = stringify; 4 | } 5 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/mkdirp/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.12" 6 | - "iojs" 7 | before_install: 8 | - npm install -g npm@~1.4.6 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/isError.js: -------------------------------------------------------------------------------- 1 | define(['./_tagTester'], function (_tagTester) { 2 | 3 | var isError = _tagTester('Error'); 4 | 5 | return isError; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/isNumber.js: -------------------------------------------------------------------------------- 1 | define(['./_tagTester'], function (_tagTester) { 2 | 3 | var isNumber = _tagTester('Number'); 4 | 5 | return isNumber; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/isRegExp.js: -------------------------------------------------------------------------------- 1 | define(['./_tagTester'], function (_tagTester) { 2 | 3 | var isRegExp = _tagTester('RegExp'); 4 | 5 | return isRegExp; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/isString.js: -------------------------------------------------------------------------------- 1 | define(['./_tagTester'], function (_tagTester) { 2 | 3 | var isString = _tagTester('String'); 4 | 5 | return isString; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/isSymbol.js: -------------------------------------------------------------------------------- 1 | define(['./_tagTester'], function (_tagTester) { 2 | 3 | var isSymbol = _tagTester('Symbol'); 4 | 5 | return isSymbol; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/identity.js: -------------------------------------------------------------------------------- 1 | // Keep the identity function around for default iteratees. 2 | export default function identity(value) { 3 | return value; 4 | } 5 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/isElement.js: -------------------------------------------------------------------------------- 1 | // Is a given value a DOM element? 2 | export default function isElement(obj) { 3 | return !!(obj && obj.nodeType === 1); 4 | } 5 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/isWeakSet.js: -------------------------------------------------------------------------------- 1 | define(['./_tagTester'], function (_tagTester) { 2 | 3 | var isWeakSet = _tagTester('WeakSet'); 4 | 5 | return isWeakSet; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/_hasObjectTag.js: -------------------------------------------------------------------------------- 1 | var _tagTester = require('./_tagTester.js'); 2 | 3 | var hasObjectTag = _tagTester('Object'); 4 | 5 | module.exports = hasObjectTag; 6 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/isUndefined.js: -------------------------------------------------------------------------------- 1 | // Is a given variable undefined? 2 | function isUndefined(obj) { 3 | return obj === void 0; 4 | } 5 | 6 | module.exports = isUndefined; 7 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/_hasObjectTag.js: -------------------------------------------------------------------------------- 1 | define(['./_tagTester'], function (_tagTester) { 2 | 3 | var hasObjectTag = _tagTester('Object'); 4 | 5 | return hasObjectTag; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/isArrayBuffer.js: -------------------------------------------------------------------------------- 1 | var _tagTester = require('./_tagTester.js'); 2 | 3 | var isArrayBuffer = _tagTester('ArrayBuffer'); 4 | 5 | module.exports = isArrayBuffer; 6 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/isArrayBuffer.js: -------------------------------------------------------------------------------- 1 | define(['./_tagTester'], function (_tagTester) { 2 | 3 | var isArrayBuffer = _tagTester('ArrayBuffer'); 4 | 5 | return isArrayBuffer; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/noop.js: -------------------------------------------------------------------------------- 1 | define(function () { 2 | 3 | // Predicate-generating function. Often useful outside of Underscore. 4 | function noop(){} 5 | 6 | return noop; 7 | 8 | }); 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/identity.js: -------------------------------------------------------------------------------- 1 | // Keep the identity function around for default iteratees. 2 | function identity(value) { 3 | return value; 4 | } 5 | 6 | module.exports = identity; 7 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/isElement.js: -------------------------------------------------------------------------------- 1 | // Is a given value a DOM element? 2 | function isElement(obj) { 3 | return !!(obj && obj.nodeType === 1); 4 | } 5 | 6 | module.exports = isElement; 7 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/now.js: -------------------------------------------------------------------------------- 1 | // A (possibly faster) way to get the current timestamp as an integer. 2 | export default Date.now || function() { 3 | return new Date().getTime(); 4 | }; 5 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/shuffle.js: -------------------------------------------------------------------------------- 1 | import sample from './sample.js'; 2 | 3 | // Shuffle a collection. 4 | export default function shuffle(obj) { 5 | return sample(obj, Infinity); 6 | } 7 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/mkdirp/examples/pow.js: -------------------------------------------------------------------------------- 1 | var mkdirp = require('mkdirp'); 2 | 3 | mkdirp('/tmp/foo/bar/baz', function (err) { 4 | if (err) console.error(err) 5 | else console.log('pow!') 6 | }); 7 | -------------------------------------------------------------------------------- /main.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import App from './App' 3 | 4 | //import '@/static/css/reset.css' 5 | Vue.config.productionTip = false 6 | 7 | App.mpType = 'app' 8 | 9 | const app = new Vue({ 10 | ...App 11 | }) 12 | app.$mount() 13 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/reduceRight.js: -------------------------------------------------------------------------------- 1 | import createReduce from './_createReduce.js'; 2 | 3 | // The right-associative version of reduce, also known as `foldr`. 4 | export default createReduce(-1); 5 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/uuid/AUTHORS: -------------------------------------------------------------------------------- 1 | Robert Kieffer 2 | Christoph Tavan 3 | AJ ONeal 4 | Vincent Voyer 5 | Roman Shtylman 6 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/shuffle.js: -------------------------------------------------------------------------------- 1 | var sample = require('./sample.js'); 2 | 3 | // Shuffle a collection. 4 | function shuffle(obj) { 5 | return sample(obj, Infinity); 6 | } 7 | 8 | module.exports = shuffle; 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/baidu-aip-sdk/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | - "5" 5 | - "6" 6 | - "7" 7 | - "8" 8 | install: 9 | - npm install mocha -g 10 | - npm install 11 | 12 | os: linux -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/mocha/lib/interfaces/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | exports.bdd = require('./bdd'); 4 | exports.tdd = require('./tdd'); 5 | exports.qunit = require('./qunit'); 6 | exports.exports = require('./exports'); 7 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/isNull.js: -------------------------------------------------------------------------------- 1 | define(function () { 2 | 3 | // Is a given value equal to null? 4 | function isNull(obj) { 5 | return obj === null; 6 | } 7 | 8 | return isNull; 9 | 10 | }); 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/now.js: -------------------------------------------------------------------------------- 1 | // A (possibly faster) way to get the current timestamp as an integer. 2 | var now = Date.now || function() { 3 | return new Date().getTime(); 4 | }; 5 | 6 | module.exports = now; 7 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/_getLength.js: -------------------------------------------------------------------------------- 1 | import shallowProperty from './_shallowProperty.js'; 2 | 3 | // Internal helper to obtain the `length` property of an object. 4 | export default shallowProperty('length'); 5 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/compact.js: -------------------------------------------------------------------------------- 1 | import filter from './filter.js'; 2 | 3 | // Trim out all falsy values from an array. 4 | export default function compact(array) { 5 | return filter(array, Boolean); 6 | } 7 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/isObject.js: -------------------------------------------------------------------------------- 1 | // Is a given variable an object? 2 | export default function isObject(obj) { 3 | var type = typeof obj; 4 | return type === 'function' || type === 'object' && !!obj; 5 | } 6 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/_unescapeMap.js: -------------------------------------------------------------------------------- 1 | import invert from './invert.js'; 2 | import escapeMap from './_escapeMap.js'; 3 | 4 | // Internal list of HTML entities for unescaping. 5 | export default invert(escapeMap); 6 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/constant.js: -------------------------------------------------------------------------------- 1 | // Predicate-generating function. Often useful outside of Underscore. 2 | export default function constant(value) { 3 | return function() { 4 | return value; 5 | }; 6 | } 7 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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/ajv-validator/ajv/issues/889 5 | module.exports = require('fast-deep-equal'); 6 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/concat-map/example/map.js: -------------------------------------------------------------------------------- 1 | var concatMap = require('../'); 2 | var xs = [ 1, 2, 3, 4, 5, 6 ]; 3 | var ys = concatMap(xs, function (x) { 4 | return x % 2 ? [ x - 0.1, x, x + 0.1 ] : []; 5 | }); 6 | console.dir(ys); 7 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/should-format/README.md: -------------------------------------------------------------------------------- 1 | format 2 | ====== 3 | 4 | [![Build Status](https://travis-ci.org/shouldjs/format.svg?branch=master)](https://travis-ci.org/shouldjs/format) 5 | 6 | Module for text inspections for instances 7 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/_getByteLength.js: -------------------------------------------------------------------------------- 1 | import shallowProperty from './_shallowProperty.js'; 2 | 3 | // Internal helper to obtain the `byteLength` property of an object. 4 | export default shallowProperty('byteLength'); 5 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/reduce.js: -------------------------------------------------------------------------------- 1 | import createReduce from './_createReduce.js'; 2 | 3 | // **Reduce** builds up a single result from a list of values, aka `inject`, 4 | // or `foldl`. 5 | export default createReduce(1); 6 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/debug/.travis.yml: -------------------------------------------------------------------------------- 1 | 2 | language: node_js 3 | node_js: 4 | - "6" 5 | - "5" 6 | - "4" 7 | 8 | install: 9 | - make node_modules 10 | 11 | script: 12 | - make lint 13 | - make test 14 | - make coveralls 15 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | ))) -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | } -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/isUndefined.js: -------------------------------------------------------------------------------- 1 | define(function () { 2 | 3 | // Is a given variable undefined? 4 | function isUndefined(obj) { 5 | return obj === void 0; 6 | } 7 | 8 | return isUndefined; 9 | 10 | }); 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/compact.js: -------------------------------------------------------------------------------- 1 | var filter = require('./filter.js'); 2 | 3 | // Trim out all falsy values from an array. 4 | function compact(array) { 5 | return filter(array, Boolean); 6 | } 7 | 8 | module.exports = compact; 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/constant.js: -------------------------------------------------------------------------------- 1 | // Predicate-generating function. Often useful outside of Underscore. 2 | function constant(value) { 3 | return function() { 4 | return value; 5 | }; 6 | } 7 | 8 | module.exports = constant; 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/isObject.js: -------------------------------------------------------------------------------- 1 | // Is a given variable an object? 2 | function isObject(obj) { 3 | var type = typeof obj; 4 | return type === 'function' || type === 'object' && !!obj; 5 | } 6 | 7 | module.exports = isObject; 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/negate.js: -------------------------------------------------------------------------------- 1 | // Returns a negated version of the passed-in predicate. 2 | export default function negate(predicate) { 3 | return function() { 4 | return !predicate.apply(this, arguments); 5 | }; 6 | } 7 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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"} -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/shuffle.js: -------------------------------------------------------------------------------- 1 | define(['./sample'], function (sample) { 2 | 3 | // Shuffle a collection. 4 | function shuffle(obj) { 5 | return sample(obj, Infinity); 6 | } 7 | 8 | return shuffle; 9 | 10 | }); 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/_keyInObj.js: -------------------------------------------------------------------------------- 1 | // Internal `_.pick` helper function to determine whether `key` is an enumerable 2 | // property name of `obj`. 3 | export default function keyInObj(value, key, obj) { 4 | return key in obj; 5 | } 6 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/defaults.js: -------------------------------------------------------------------------------- 1 | import createAssigner from './_createAssigner.js'; 2 | import allKeys from './allKeys.js'; 3 | 4 | // Fill in a given object with default properties. 5 | export default createAssigner(allKeys, true); 6 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/escape.js: -------------------------------------------------------------------------------- 1 | import createEscaper from './_createEscaper.js'; 2 | import escapeMap from './_escapeMap.js'; 3 | 4 | // Function for escaping strings to HTML interpolation. 5 | export default createEscaper(escapeMap); 6 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/identity.js: -------------------------------------------------------------------------------- 1 | define(function () { 2 | 3 | // Keep the identity function around for default iteratees. 4 | function identity(value) { 5 | return value; 6 | } 7 | 8 | return identity; 9 | 10 | }); 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/isElement.js: -------------------------------------------------------------------------------- 1 | define(function () { 2 | 3 | // Is a given value a DOM element? 4 | function isElement(obj) { 5 | return !!(obj && obj.nodeType === 1); 6 | } 7 | 8 | return isElement; 9 | 10 | }); 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/reduceRight.js: -------------------------------------------------------------------------------- 1 | var _createReduce = require('./_createReduce.js'); 2 | 3 | // The right-associative version of reduce, also known as `foldr`. 4 | var reduceRight = _createReduce(-1); 5 | 6 | module.exports = reduceRight; 7 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/findIndex.js: -------------------------------------------------------------------------------- 1 | import createPredicateIndexFinder from './_createPredicateIndexFinder.js'; 2 | 3 | // Returns the first index on an array-like that passes a truth test. 4 | export default createPredicateIndexFinder(1); 5 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/isNaN.js: -------------------------------------------------------------------------------- 1 | import { _isNaN } from './_setup.js'; 2 | import isNumber from './isNumber.js'; 3 | 4 | // Is the given value `NaN`? 5 | export default function isNaN(obj) { 6 | return isNumber(obj) && _isNaN(obj); 7 | } 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/negate.js: -------------------------------------------------------------------------------- 1 | // Returns a negated version of the passed-in predicate. 2 | function negate(predicate) { 3 | return function() { 4 | return !predicate.apply(this, arguments); 5 | }; 6 | } 7 | 8 | module.exports = negate; 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/_escapeMap.js: -------------------------------------------------------------------------------- 1 | // Internal list of HTML entities for escaping. 2 | export default { 3 | '&': '&', 4 | '<': '<', 5 | '>': '>', 6 | '"': '"', 7 | "'": ''', 8 | '`': '`' 9 | }; 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/findLastIndex.js: -------------------------------------------------------------------------------- 1 | import createPredicateIndexFinder from './_createPredicateIndexFinder.js'; 2 | 3 | // Returns the last index on an array-like that passes a truth test. 4 | export default createPredicateIndexFinder(-1); 5 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/get/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | const db = uniCloud.database() 3 | exports.main = async (event, context) => { 4 | const collection = db.collection('piclist') 5 | const res = await collection.where({'md5':event.md5}).field({'url':true}).get() 6 | return res 7 | }; 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/debug/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "browser": true, 4 | "node": true 5 | }, 6 | "rules": { 7 | "no-console": 0, 8 | "no-empty": [1, { "allowEmptyCatch": true }] 9 | }, 10 | "extends": "eslint:recommended" 11 | } 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/minimist/test/whitespace.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('whitespace should be whitespace' , function (t) { 5 | t.plan(1); 6 | var x = parse([ '-x', '\t' ]).x; 7 | t.equal(x, '\t'); 8 | }); 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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' -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/_unescapeMap.js: -------------------------------------------------------------------------------- 1 | define(['./_escapeMap', './invert'], function (_escapeMap, invert) { 2 | 3 | // Internal list of HTML entities for unescaping. 4 | var unescapeMap = invert(_escapeMap); 5 | 6 | return unescapeMap; 7 | 8 | }); 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/reduceRight.js: -------------------------------------------------------------------------------- 1 | define(['./_createReduce'], function (_createReduce) { 2 | 3 | // The right-associative version of reduce, also known as `foldr`. 4 | var reduceRight = _createReduce(-1); 5 | 6 | return reduceRight; 7 | 8 | }); 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/_getLength.js: -------------------------------------------------------------------------------- 1 | var _shallowProperty = require('./_shallowProperty.js'); 2 | 3 | // Internal helper to obtain the `length` property of an object. 4 | var getLength = _shallowProperty('length'); 5 | 6 | module.exports = getLength; 7 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/_keyInObj.js: -------------------------------------------------------------------------------- 1 | // Internal `_.pick` helper function to determine whether `key` is an enumerable 2 | // property name of `obj`. 3 | function keyInObj(value, key, obj) { 4 | return key in obj; 5 | } 6 | 7 | module.exports = keyInObj; 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "parserOptions": { 3 | "ecmaVersion": 6, 4 | "sourceType": "module", 5 | }, 6 | "plugins": [ 7 | "import" 8 | ], 9 | "extends": [ 10 | "plugin:import/errors" 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/chain.js: -------------------------------------------------------------------------------- 1 | import _ from './underscore.js'; 2 | 3 | // Start chaining a wrapped Underscore object. 4 | export default function chain(obj) { 5 | var instance = _(obj); 6 | instance._chain = true; 7 | return instance; 8 | } 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/extend.js: -------------------------------------------------------------------------------- 1 | import createAssigner from './_createAssigner.js'; 2 | import allKeys from './allKeys.js'; 3 | 4 | // Extend a given object with all the properties in passed-in object(s). 5 | export default createAssigner(allKeys); 6 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/unescape.js: -------------------------------------------------------------------------------- 1 | import createEscaper from './_createEscaper.js'; 2 | import unescapeMap from './_unescapeMap.js'; 3 | 4 | // Function for unescaping strings from HTML interpolation. 5 | export default createEscaper(unescapeMap); 6 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/compact.js: -------------------------------------------------------------------------------- 1 | define(['./filter'], function (filter) { 2 | 3 | // Trim out all falsy values from an array. 4 | function compact(array) { 5 | return filter(array, Boolean); 6 | } 7 | 8 | return compact; 9 | 10 | }); 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/reduce.js: -------------------------------------------------------------------------------- 1 | var _createReduce = require('./_createReduce.js'); 2 | 3 | // **Reduce** builds up a single result from a list of values, aka `inject`, 4 | // or `foldl`. 5 | var reduce = _createReduce(1); 6 | 7 | module.exports = reduce; 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/isBoolean.js: -------------------------------------------------------------------------------- 1 | import { toString } from './_setup.js'; 2 | 3 | // Is a given value a boolean? 4 | export default function isBoolean(obj) { 5 | return obj === true || obj === false || toString.call(obj) === '[object Boolean]'; 6 | } 7 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/_getLength.js: -------------------------------------------------------------------------------- 1 | define(['./_shallowProperty'], function (_shallowProperty) { 2 | 3 | // Internal helper to obtain the `length` property of an object. 4 | var getLength = _shallowProperty('length'); 5 | 6 | return getLength; 7 | 8 | }); 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/_unescapeMap.js: -------------------------------------------------------------------------------- 1 | var _escapeMap = require('./_escapeMap.js'); 2 | var invert = require('./invert.js'); 3 | 4 | // Internal list of HTML entities for unescaping. 5 | var unescapeMap = invert(_escapeMap); 6 | 7 | module.exports = unescapeMap; 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/_chainResult.js: -------------------------------------------------------------------------------- 1 | import _ from './underscore.js'; 2 | 3 | // Helper function to continue chaining intermediate results. 4 | export default function chainResult(instance, obj) { 5 | return instance._chain ? _(obj).chain() : obj; 6 | } 7 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/defaults.js: -------------------------------------------------------------------------------- 1 | define(['./_createAssigner', './allKeys'], function (_createAssigner, allKeys) { 2 | 3 | // Fill in a given object with default properties. 4 | var defaults = _createAssigner(allKeys, true); 5 | 6 | return defaults; 7 | 8 | }); 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/escape.js: -------------------------------------------------------------------------------- 1 | define(['./_createEscaper', './_escapeMap'], function (_createEscaper, _escapeMap) { 2 | 3 | // Function for escaping strings to HTML interpolation. 4 | var _escape = _createEscaper(_escapeMap); 5 | 6 | return _escape; 7 | 8 | }); 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/now.js: -------------------------------------------------------------------------------- 1 | define(function () { 2 | 3 | // A (possibly faster) way to get the current timestamp as an integer. 4 | var now = Date.now || function() { 5 | return new Date().getTime(); 6 | }; 7 | 8 | return now; 9 | 10 | }); 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/_shallowProperty.js: -------------------------------------------------------------------------------- 1 | // Internal helper to generate a function to obtain property `key` from `obj`. 2 | export default function shallowProperty(key) { 3 | return function(obj) { 4 | return obj == null ? void 0 : obj[key]; 5 | }; 6 | } 7 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/zip.js: -------------------------------------------------------------------------------- 1 | import restArguments from './restArguments.js'; 2 | import unzip from './unzip.js'; 3 | 4 | // Zip together multiple lists into a single array -- elements that share 5 | // an index go together. 6 | export default restArguments(unzip); 7 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/uri-js/dist/esnext/schemes/wss.js: -------------------------------------------------------------------------------- 1 | import ws from "./ws"; 2 | const handler = { 3 | scheme: "wss", 4 | domainHost: ws.domainHost, 5 | parse: ws.parse, 6 | serialize: ws.serialize 7 | }; 8 | export default handler; 9 | //# sourceMappingURL=wss.js.map -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/isNaN.js: -------------------------------------------------------------------------------- 1 | define(['./_setup', './isNumber'], function (_setup, isNumber) { 2 | 3 | // Is the given value `NaN`? 4 | function isNaN(obj) { 5 | return isNumber(obj) && _setup._isNaN(obj); 6 | } 7 | 8 | return isNaN; 9 | 10 | }); 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/_getByteLength.js: -------------------------------------------------------------------------------- 1 | var _shallowProperty = require('./_shallowProperty.js'); 2 | 3 | // Internal helper to obtain the `byteLength` property of an object. 4 | var getByteLength = _shallowProperty('byteLength'); 5 | 6 | module.exports = getByteLength; 7 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/isArray.js: -------------------------------------------------------------------------------- 1 | import { nativeIsArray } from './_setup.js'; 2 | import tagTester from './_tagTester.js'; 3 | 4 | // Is a given value an array? 5 | // Delegates to ECMA5's native `Array.isArray`. 6 | export default nativeIsArray || tagTester('Array'); 7 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/jsbn/example.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/extend.js: -------------------------------------------------------------------------------- 1 | define(['./_createAssigner', './allKeys'], function (_createAssigner, allKeys) { 2 | 3 | // Extend a given object with all the properties in passed-in object(s). 4 | var extend = _createAssigner(allKeys); 5 | 6 | return extend; 7 | 8 | }); 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/reduce.js: -------------------------------------------------------------------------------- 1 | define(['./_createReduce'], function (_createReduce) { 2 | 3 | // **Reduce** builds up a single result from a list of values, aka `inject`, 4 | // or `foldl`. 5 | var reduce = _createReduce(1); 6 | 7 | return reduce; 8 | 9 | }); 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/defaults.js: -------------------------------------------------------------------------------- 1 | var _createAssigner = require('./_createAssigner.js'); 2 | var allKeys = require('./allKeys.js'); 3 | 4 | // Fill in a given object with default properties. 5 | var defaults = _createAssigner(allKeys, true); 6 | 7 | module.exports = defaults; 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/escape.js: -------------------------------------------------------------------------------- 1 | var _createEscaper = require('./_createEscaper.js'); 2 | var _escapeMap = require('./_escapeMap.js'); 3 | 4 | // Function for escaping strings to HTML interpolation. 5 | var _escape = _createEscaper(_escapeMap); 6 | 7 | module.exports = _escape; 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/isNaN.js: -------------------------------------------------------------------------------- 1 | var _setup = require('./_setup.js'); 2 | var isNumber = require('./isNumber.js'); 3 | 4 | // Is the given value `NaN`? 5 | function isNaN(obj) { 6 | return isNumber(obj) && _setup._isNaN(obj); 7 | } 8 | 9 | module.exports = isNaN; 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/_has.js: -------------------------------------------------------------------------------- 1 | import { hasOwnProperty } from './_setup.js'; 2 | 3 | // Internal function to check whether `key` is an own property name of `obj`. 4 | export default function has(obj, key) { 5 | return obj != null && hasOwnProperty.call(obj, key); 6 | } 7 | -------------------------------------------------------------------------------- /App.vue: -------------------------------------------------------------------------------- 1 | 14 | 15 | 18 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/_getByteLength.js: -------------------------------------------------------------------------------- 1 | define(['./_shallowProperty'], function (_shallowProperty) { 2 | 3 | // Internal helper to obtain the `byteLength` property of an object. 4 | var getByteLength = _shallowProperty('byteLength'); 5 | 6 | return getByteLength; 7 | 8 | }); 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/unescape.js: -------------------------------------------------------------------------------- 1 | define(['./_createEscaper', './_unescapeMap'], function (_createEscaper, _unescapeMap) { 2 | 3 | // Function for unescaping strings from HTML interpolation. 4 | var _unescape = _createEscaper(_unescapeMap); 5 | 6 | return _unescape; 7 | 8 | }); 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/_escapeMap.js: -------------------------------------------------------------------------------- 1 | // Internal list of HTML entities for escaping. 2 | var escapeMap = { 3 | '&': '&', 4 | '<': '<', 5 | '>': '>', 6 | '"': '"', 7 | "'": ''', 8 | '`': '`' 9 | }; 10 | 11 | module.exports = escapeMap; 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/findIndex.js: -------------------------------------------------------------------------------- 1 | var _createPredicateIndexFinder = require('./_createPredicateIndexFinder.js'); 2 | 3 | // Returns the first index on an array-like that passes a truth test. 4 | var findIndex = _createPredicateIndexFinder(1); 5 | 6 | module.exports = findIndex; 7 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/isBoolean.js: -------------------------------------------------------------------------------- 1 | var _setup = require('./_setup.js'); 2 | 3 | // Is a given value a boolean? 4 | function isBoolean(obj) { 5 | return obj === true || obj === false || _setup.toString.call(obj) === '[object Boolean]'; 6 | } 7 | 8 | module.exports = isBoolean; 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/_toPath.js: -------------------------------------------------------------------------------- 1 | import _ from './underscore.js'; 2 | import './toPath.js'; 3 | 4 | // Internal wrapper for `_.toPath` to enable minification. 5 | // Similar to `cb` for `_.iteratee`. 6 | export default function toPath(path) { 7 | return _.toPath(path); 8 | } 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/after.js: -------------------------------------------------------------------------------- 1 | // Returns a function that will only be executed on and after the Nth call. 2 | export default function after(times, func) { 3 | return function() { 4 | if (--times < 1) { 5 | return func.apply(this, arguments); 6 | } 7 | }; 8 | } 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/isMap.js: -------------------------------------------------------------------------------- 1 | import tagTester from './_tagTester.js'; 2 | import { isIE11 } from './_stringTagBug.js'; 3 | import { ie11fingerprint, mapMethods } from './_methodFingerprint.js'; 4 | 5 | export default isIE11 ? ie11fingerprint(mapMethods) : tagTester('Map'); 6 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/isSet.js: -------------------------------------------------------------------------------- 1 | import tagTester from './_tagTester.js'; 2 | import { isIE11 } from './_stringTagBug.js'; 3 | import { ie11fingerprint, setMethods } from './_methodFingerprint.js'; 4 | 5 | export default isIE11 ? ie11fingerprint(setMethods) : tagTester('Set'); 6 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/pluck.js: -------------------------------------------------------------------------------- 1 | import map from './map.js'; 2 | import property from './property.js'; 3 | 4 | // Convenience version of a common use case of `_.map`: fetching a property. 5 | export default function pluck(obj, key) { 6 | return map(obj, property(key)); 7 | } 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/index.js: -------------------------------------------------------------------------------- 1 | var AipContentCensorClient = require("baidu-aip-sdk").contentCensor; 2 | // 设置APPID/AK/SK 3 | var APP_ID = ""; 4 | var API_KEY = ""; 5 | var SECRET_KEY = ""; 6 | // 新建一个对象,建议只保存一个对象调用服务接口 7 | var client = new AipContentCensorClient(APP_ID, API_KEY, SECRET_KEY); 8 | module.exports = client -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/isObject.js: -------------------------------------------------------------------------------- 1 | define(function () { 2 | 3 | // Is a given variable an object? 4 | function isObject(obj) { 5 | var type = typeof obj; 6 | return type === 'function' || type === 'object' && !!obj; 7 | } 8 | 9 | return isObject; 10 | 11 | }); 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/_has.js: -------------------------------------------------------------------------------- 1 | var _setup = require('./_setup.js'); 2 | 3 | // Internal function to check whether `key` is an own property name of `obj`. 4 | function has(obj, key) { 5 | return obj != null && _setup.hasOwnProperty.call(obj, key); 6 | } 7 | 8 | module.exports = has; 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/extend.js: -------------------------------------------------------------------------------- 1 | var _createAssigner = require('./_createAssigner.js'); 2 | var allKeys = require('./allKeys.js'); 3 | 4 | // Extend a given object with all the properties in passed-in object(s). 5 | var extend = _createAssigner(allKeys); 6 | 7 | module.exports = extend; 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/defer.js: -------------------------------------------------------------------------------- 1 | import partial from './partial.js'; 2 | import delay from './delay.js'; 3 | import _ from './underscore.js'; 4 | 5 | // Defers a function, scheduling it to run after the current call stack has 6 | // cleared. 7 | export default partial(delay, _, 1); 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/once.js: -------------------------------------------------------------------------------- 1 | import partial from './partial.js'; 2 | import before from './before.js'; 3 | 4 | // Returns a function that will be executed at most one time, no matter how 5 | // often you call it. Useful for lazy initialization. 6 | export default partial(before, 2); 7 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/random.js: -------------------------------------------------------------------------------- 1 | // Return a random integer between `min` and `max` (inclusive). 2 | export default function random(min, max) { 3 | if (max == null) { 4 | max = min; 5 | min = 0; 6 | } 7 | return min + Math.floor(Math.random() * (max - min + 1)); 8 | } 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/constant.js: -------------------------------------------------------------------------------- 1 | define(function () { 2 | 3 | // Predicate-generating function. Often useful outside of Underscore. 4 | function constant(value) { 5 | return function() { 6 | return value; 7 | }; 8 | } 9 | 10 | return constant; 11 | 12 | }); 13 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/findIndex.js: -------------------------------------------------------------------------------- 1 | define(['./_createPredicateIndexFinder'], function (_createPredicateIndexFinder) { 2 | 3 | // Returns the first index on an array-like that passes a truth test. 4 | var findIndex = _createPredicateIndexFinder(1); 5 | 6 | return findIndex; 7 | 8 | }); 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/_shallowProperty.js: -------------------------------------------------------------------------------- 1 | // Internal helper to generate a function to obtain property `key` from `obj`. 2 | function shallowProperty(key) { 3 | return function(obj) { 4 | return obj == null ? void 0 : obj[key]; 5 | }; 6 | } 7 | 8 | module.exports = shallowProperty; 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/findLastIndex.js: -------------------------------------------------------------------------------- 1 | var _createPredicateIndexFinder = require('./_createPredicateIndexFinder.js'); 2 | 3 | // Returns the last index on an array-like that passes a truth test. 4 | var findLastIndex = _createPredicateIndexFinder(-1); 5 | 6 | module.exports = findLastIndex; 7 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/isFinite.js: -------------------------------------------------------------------------------- 1 | import { _isFinite } from './_setup.js'; 2 | import isSymbol from './isSymbol.js'; 3 | 4 | // Is a given object a finite number? 5 | export default function isFinite(obj) { 6 | return !isSymbol(obj) && _isFinite(obj) && !isNaN(parseFloat(obj)); 7 | } 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/uri-js/dist/esnext/schemes/ws.d.ts: -------------------------------------------------------------------------------- 1 | import { URISchemeHandler, URIComponents } from "../uri"; 2 | export interface WSComponents extends URIComponents { 3 | resourceName?: string; 4 | secure?: boolean; 5 | } 6 | declare const handler: URISchemeHandler; 7 | export default handler; 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/add/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | const db = uniCloud.database() 3 | exports.main = async (event, context) => { 4 | const collection = db.collection('piclist') 5 | const res = await collection.add({'md5':event.md5, 'name': event.name, 'size': event.size, 'url': event.pic, 'time': Date.now()}) 6 | return res 7 | }; 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/zip.js: -------------------------------------------------------------------------------- 1 | define(['./restArguments', './unzip'], function (restArguments, unzip) { 2 | 3 | // Zip together multiple lists into a single array -- elements that share 4 | // an index go together. 5 | var zip = restArguments(unzip); 6 | 7 | return zip; 8 | 9 | }); 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/chain.js: -------------------------------------------------------------------------------- 1 | var underscore = require('./underscore.js'); 2 | 3 | // Start chaining a wrapped Underscore object. 4 | function chain(obj) { 5 | var instance = underscore(obj); 6 | instance._chain = true; 7 | return instance; 8 | } 9 | 10 | module.exports = chain; 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/unescape.js: -------------------------------------------------------------------------------- 1 | var _createEscaper = require('./_createEscaper.js'); 2 | var _unescapeMap = require('./_unescapeMap.js'); 3 | 4 | // Function for unescaping strings from HTML interpolation. 5 | var _unescape = _createEscaper(_unescapeMap); 6 | 7 | module.exports = _unescape; 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/zip.js: -------------------------------------------------------------------------------- 1 | var restArguments = require('./restArguments.js'); 2 | var unzip = require('./unzip.js'); 3 | 4 | // Zip together multiple lists into a single array -- elements that share 5 | // an index go together. 6 | var zip = restArguments(unzip); 7 | 8 | module.exports = zip; 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/isWeakMap.js: -------------------------------------------------------------------------------- 1 | import tagTester from './_tagTester.js'; 2 | import { isIE11 } from './_stringTagBug.js'; 3 | import { ie11fingerprint, weakMapMethods } from './_methodFingerprint.js'; 4 | 5 | export default isIE11 ? ie11fingerprint(weakMapMethods) : tagTester('WeakMap'); 6 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/uniqueId.js: -------------------------------------------------------------------------------- 1 | // Generate a unique integer id (unique within the entire client session). 2 | // Useful for temporary DOM ids. 3 | var idCounter = 0; 4 | export default function uniqueId(prefix) { 5 | var id = ++idCounter + ''; 6 | return prefix ? prefix + id : id; 7 | } 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/findLastIndex.js: -------------------------------------------------------------------------------- 1 | define(['./_createPredicateIndexFinder'], function (_createPredicateIndexFinder) { 2 | 3 | // Returns the last index on an array-like that passes a truth test. 4 | var findLastIndex = _createPredicateIndexFinder(-1); 5 | 6 | return findLastIndex; 7 | 8 | }); 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/_chainResult.js: -------------------------------------------------------------------------------- 1 | var underscore = require('./underscore.js'); 2 | 3 | // Helper function to continue chaining intermediate results. 4 | function chainResult(instance, obj) { 5 | return instance._chain ? underscore(obj).chain() : obj; 6 | } 7 | 8 | module.exports = chainResult; 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/isArray.js: -------------------------------------------------------------------------------- 1 | define(['./_setup', './_tagTester'], function (_setup, _tagTester) { 2 | 3 | // Is a given value an array? 4 | // Delegates to ECMA5's native `Array.isArray`. 5 | var isArray = _setup.nativeIsArray || _tagTester('Array'); 6 | 7 | return isArray; 8 | 9 | }); 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/isBoolean.js: -------------------------------------------------------------------------------- 1 | define(['./_setup'], function (_setup) { 2 | 3 | // Is a given value a boolean? 4 | function isBoolean(obj) { 5 | return obj === true || obj === false || _setup.toString.call(obj) === '[object Boolean]'; 6 | } 7 | 8 | return isBoolean; 9 | 10 | }); 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/negate.js: -------------------------------------------------------------------------------- 1 | define(function () { 2 | 3 | // Returns a negated version of the passed-in predicate. 4 | function negate(predicate) { 5 | return function() { 6 | return !predicate.apply(this, arguments); 7 | }; 8 | } 9 | 10 | return negate; 11 | 12 | }); 13 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/pluck.js: -------------------------------------------------------------------------------- 1 | define(['./property', './map'], function (property, map) { 2 | 3 | // Convenience version of a common use case of `_.map`: fetching a property. 4 | function pluck(obj, key) { 5 | return map(obj, property(key)); 6 | } 7 | 8 | return pluck; 9 | 10 | }); 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/after.js: -------------------------------------------------------------------------------- 1 | // Returns a function that will only be executed on and after the Nth call. 2 | function after(times, func) { 3 | return function() { 4 | if (--times < 1) { 5 | return func.apply(this, arguments); 6 | } 7 | }; 8 | } 9 | 10 | module.exports = after; 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/isArray.js: -------------------------------------------------------------------------------- 1 | var _setup = require('./_setup.js'); 2 | var _tagTester = require('./_tagTester.js'); 3 | 4 | // Is a given value an array? 5 | // Delegates to ECMA5's native `Array.isArray`. 6 | var isArray = _setup.nativeIsArray || _tagTester('Array'); 7 | 8 | module.exports = isArray; 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/indexBy.js: -------------------------------------------------------------------------------- 1 | import group from './_group.js'; 2 | 3 | // Indexes the object's values by a criterion, similar to `_.groupBy`, but for 4 | // when you know that your index values will be unique. 5 | export default group(function(result, value, key) { 6 | result[key] = value; 7 | }); 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/escape-string-regexp/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g; 4 | 5 | module.exports = function (str) { 6 | if (typeof str !== 'string') { 7 | throw new TypeError('Expected a string'); 8 | } 9 | 10 | return str.replace(matchOperatorsRe, '\\$&'); 11 | }; 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/_has.js: -------------------------------------------------------------------------------- 1 | define(['./_setup'], function (_setup) { 2 | 3 | // Internal function to check whether `key` is an own property name of `obj`. 4 | function has(obj, key) { 5 | return obj != null && _setup.hasOwnProperty.call(obj, key); 6 | } 7 | 8 | return has; 9 | 10 | }); 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/_keyInObj.js: -------------------------------------------------------------------------------- 1 | define(function () { 2 | 3 | // Internal `_.pick` helper function to determine whether `key` is an enumerable 4 | // property name of `obj`. 5 | function keyInObj(value, key, obj) { 6 | return key in obj; 7 | } 8 | 9 | return keyInObj; 10 | 11 | }); 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/index-default.js: -------------------------------------------------------------------------------- 1 | define(['./mixin', './index'], function (mixin, index) { 2 | 3 | // Default Export 4 | 5 | // Add all of the Underscore functions to the wrapper object. 6 | var _ = mixin(index); 7 | // Legacy Node.js API. 8 | _._ = _; 9 | 10 | return _; 11 | 12 | }); 13 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/pluck.js: -------------------------------------------------------------------------------- 1 | var property = require('./property.js'); 2 | var map = require('./map.js'); 3 | 4 | // Convenience version of a common use case of `_.map`: fetching a property. 5 | function pluck(obj, key) { 6 | return map(obj, property(key)); 7 | } 8 | 9 | module.exports = pluck; 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/random.js: -------------------------------------------------------------------------------- 1 | // Return a random integer between `min` and `max` (inclusive). 2 | function random(min, max) { 3 | if (max == null) { 4 | max = min; 5 | min = 0; 6 | } 7 | return min + Math.floor(Math.random() * (max - min + 1)); 8 | } 9 | 10 | module.exports = random; 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/size.js: -------------------------------------------------------------------------------- 1 | import isArrayLike from './_isArrayLike.js'; 2 | import keys from './keys.js'; 3 | 4 | // Return the number of elements in a collection. 5 | export default function size(obj) { 6 | if (obj == null) return 0; 7 | return isArrayLike(obj) ? obj.length : keys(obj).length; 8 | } 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | try { 2 | var util = require('util'); 3 | /* istanbul ignore next */ 4 | if (typeof util.inherits !== 'function') throw ''; 5 | module.exports = util.inherits; 6 | } catch (e) { 7 | /* istanbul ignore next */ 8 | module.exports = require('./inherits_browser.js'); 9 | } 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/defer.js: -------------------------------------------------------------------------------- 1 | define(['./underscore', './delay', './partial'], function (underscore, delay, partial) { 2 | 3 | // Defers a function, scheduling it to run after the current call stack has 4 | // cleared. 5 | var defer = partial(delay, underscore, 1); 6 | 7 | return defer; 8 | 9 | }); 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/once.js: -------------------------------------------------------------------------------- 1 | define(['./before', './partial'], function (before, partial) { 2 | 3 | // Returns a function that will be executed at most one time, no matter how 4 | // often you call it. Useful for lazy initialization. 5 | var once = partial(before, 2); 6 | 7 | return once; 8 | 9 | }); 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/index-default.js: -------------------------------------------------------------------------------- 1 | var mixin = require('./mixin.js'); 2 | var index = require('./index.js'); 3 | 4 | // Default Export 5 | 6 | // Add all of the Underscore functions to the wrapper object. 7 | var _ = mixin(index); 8 | // Legacy Node.js API. 9 | _._ = _; 10 | 11 | module.exports = _; 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/once.js: -------------------------------------------------------------------------------- 1 | var before = require('./before.js'); 2 | var partial = require('./partial.js'); 3 | 4 | // Returns a function that will be executed at most one time, no matter how 5 | // often you call it. Useful for lazy initialization. 6 | var once = partial(before, 2); 7 | 8 | module.exports = once; 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/baidupic/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "baidupic", 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 | "baidu": "file:../common/baidu" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/minimist/test/parse_modified.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('parse with modifier functions' , function (t) { 5 | t.plan(1); 6 | 7 | var argv = parse([ '-b', '123' ], { boolean: 'b' }); 8 | t.deepEqual(argv, { b: true, _: ['123'] }); 9 | }); 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/chain.js: -------------------------------------------------------------------------------- 1 | define(['./underscore'], function (underscore) { 2 | 3 | // Start chaining a wrapped Underscore object. 4 | function chain(obj) { 5 | var instance = underscore(obj); 6 | instance._chain = true; 7 | return instance; 8 | } 9 | 10 | return chain; 11 | 12 | }); 13 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/isFinite.js: -------------------------------------------------------------------------------- 1 | define(['./_setup', './isSymbol'], function (_setup, isSymbol) { 2 | 3 | // Is a given object a finite number? 4 | function isFinite(obj) { 5 | return !isSymbol(obj) && _setup._isFinite(obj) && !isNaN(parseFloat(obj)); 6 | } 7 | 8 | return isFinite; 9 | 10 | }); 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/isFinite.js: -------------------------------------------------------------------------------- 1 | var _setup = require('./_setup.js'); 2 | var isSymbol = require('./isSymbol.js'); 3 | 4 | // Is a given object a finite number? 5 | function isFinite(obj) { 6 | return !isSymbol(obj) && _setup._isFinite(obj) && !isNaN(parseFloat(obj)); 7 | } 8 | 9 | module.exports = isFinite; 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/mocha/node_modules/debug/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "browser": true, 4 | "node": true 5 | }, 6 | "globals": { 7 | "chrome": true 8 | }, 9 | "rules": { 10 | "no-console": 0, 11 | "no-empty": [1, { "allowEmptyCatch": true }] 12 | }, 13 | "extends": "eslint:recommended" 14 | } 15 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/mocha/node_modules/debug/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: node_js 4 | 5 | node_js: 6 | - "4" 7 | - "6" 8 | - "8" 9 | 10 | install: 11 | - make install 12 | 13 | script: 14 | - make lint 15 | - make test 16 | 17 | matrix: 18 | include: 19 | - node_js: '8' 20 | env: BROWSER=1 21 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/isMap.js: -------------------------------------------------------------------------------- 1 | define(['./_tagTester', './_methodFingerprint', './_stringTagBug'], function (_tagTester, _methodFingerprint, _stringTagBug) { 2 | 3 | var isMap = _stringTagBug.isIE11 ? _methodFingerprint.ie11fingerprint(_methodFingerprint.mapMethods) : _tagTester('Map'); 4 | 5 | return isMap; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/isSet.js: -------------------------------------------------------------------------------- 1 | define(['./_tagTester', './_methodFingerprint', './_stringTagBug'], function (_tagTester, _methodFingerprint, _stringTagBug) { 2 | 3 | var isSet = _stringTagBug.isIE11 ? _methodFingerprint.ie11fingerprint(_methodFingerprint.setMethods) : _tagTester('Set'); 4 | 5 | return isSet; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/uniqueId.js: -------------------------------------------------------------------------------- 1 | // Generate a unique integer id (unique within the entire client session). 2 | // Useful for temporary DOM ids. 3 | var idCounter = 0; 4 | function uniqueId(prefix) { 5 | var id = ++idCounter + ''; 6 | return prefix ? prefix + id : id; 7 | } 8 | 9 | module.exports = uniqueId; 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/mocha/lib/pending.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Expose `Pending`. 5 | */ 6 | 7 | module.exports = Pending; 8 | 9 | /** 10 | * Initialize a new `Pending` error with the given message. 11 | * 12 | * @param {string} message 13 | */ 14 | function Pending (message) { 15 | this.message = message; 16 | } 17 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/_chainResult.js: -------------------------------------------------------------------------------- 1 | define(['./underscore'], function (underscore) { 2 | 3 | // Helper function to continue chaining intermediate results. 4 | function chainResult(instance, obj) { 5 | return instance._chain ? underscore(obj).chain() : obj; 6 | } 7 | 8 | return chainResult; 9 | 10 | }); 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/_toPath.js: -------------------------------------------------------------------------------- 1 | var underscore = require('./underscore.js'); 2 | require('./toPath.js'); 3 | 4 | // Internal wrapper for `_.toPath` to enable minification. 5 | // Similar to `cb` for `_.iteratee`. 6 | function toPath(path) { 7 | return underscore.toPath(path); 8 | } 9 | 10 | module.exports = toPath; 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/reject.js: -------------------------------------------------------------------------------- 1 | import filter from './filter.js'; 2 | import negate from './negate.js'; 3 | import cb from './_cb.js'; 4 | 5 | // Return all the elements for which a truth test fails. 6 | export default function reject(obj, predicate, context) { 7 | return filter(obj, negate(cb(predicate)), context); 8 | } 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/upload/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | exports.main = async (event, context) => { 3 | //event为客户端上传的参数 4 | console.log('event : ', event) 5 | //const fs = require("fs") 6 | let result = await uniCloud.uploadFile({ 7 | cloudPath: event.filename, 8 | fileContent: event.filedata 9 | }); 10 | //返回数据给客户端 11 | return result 12 | }; 13 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/debug/src/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Detect Electron renderer process, which is node, but we should 3 | * treat as a browser. 4 | */ 5 | 6 | if (typeof process !== 'undefined' && process.type === 'renderer') { 7 | module.exports = require('./browser.js'); 8 | } else { 9 | module.exports = require('./node.js'); 10 | } 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/_escapeMap.js: -------------------------------------------------------------------------------- 1 | define(function () { 2 | 3 | // Internal list of HTML entities for escaping. 4 | var escapeMap = { 5 | '&': '&', 6 | '<': '<', 7 | '>': '>', 8 | '"': '"', 9 | "'": ''', 10 | '`': '`' 11 | }; 12 | 13 | return escapeMap; 14 | 15 | }); 16 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/_tagTester.js: -------------------------------------------------------------------------------- 1 | import { toString } from './_setup.js'; 2 | 3 | // Internal function for creating a `toString`-based type tester. 4 | export default function tagTester(name) { 5 | var tag = '[object ' + name + ']'; 6 | return function(obj) { 7 | return toString.call(obj) === tag; 8 | }; 9 | } 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/without.js: -------------------------------------------------------------------------------- 1 | import restArguments from './restArguments.js'; 2 | import difference from './difference.js'; 3 | 4 | // Return a version of the array that does not contain the specified value(s). 5 | export default restArguments(function(array, otherArrays) { 6 | return difference(array, otherArrays); 7 | }); 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/reject.js: -------------------------------------------------------------------------------- 1 | define(['./_cb', './filter', './negate'], function (_cb, filter, negate) { 2 | 3 | // Return all the elements for which a truth test fails. 4 | function reject(obj, predicate, context) { 5 | return filter(obj, negate(_cb(predicate)), context); 6 | } 7 | 8 | return reject; 9 | 10 | }); 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/size.js: -------------------------------------------------------------------------------- 1 | define(['./keys', './_isArrayLike'], function (keys, _isArrayLike) { 2 | 3 | // Return the number of elements in a collection. 4 | function size(obj) { 5 | if (obj == null) return 0; 6 | return _isArrayLike(obj) ? obj.length : keys(obj).length; 7 | } 8 | 9 | return size; 10 | 11 | }); 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/_isBufferLike.js: -------------------------------------------------------------------------------- 1 | import createSizePropertyCheck from './_createSizePropertyCheck.js'; 2 | import getByteLength from './_getByteLength.js'; 3 | 4 | // Internal helper to determine whether we should spend extensive checks against 5 | // `ArrayBuffer` et al. 6 | export default createSizePropertyCheck(getByteLength); 7 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/findWhere.js: -------------------------------------------------------------------------------- 1 | import find from './find.js'; 2 | import matcher from './matcher.js'; 3 | 4 | // Convenience version of a common use case of `_.find`: getting the first 5 | // object containing specific `key:value` pairs. 6 | export default function findWhere(obj, attrs) { 7 | return find(obj, matcher(attrs)); 8 | } 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/flatten.js: -------------------------------------------------------------------------------- 1 | import _flatten from './_flatten.js'; 2 | 3 | // Flatten out an array, either recursively (by default), or up to `depth`. 4 | // Passing `true` or `false` as `depth` means `1` or `Infinity`, respectively. 5 | export default function flatten(array, depth) { 6 | return _flatten(array, depth, false); 7 | } 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/lastIndexOf.js: -------------------------------------------------------------------------------- 1 | import findLastIndex from './findLastIndex.js'; 2 | import createIndexFinder from './_createIndexFinder.js'; 3 | 4 | // Return the position of the last occurrence of an item in an array, 5 | // or -1 if the item is not included in the array. 6 | export default createIndexFinder(-1, findLastIndex); 7 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/partition.js: -------------------------------------------------------------------------------- 1 | import group from './_group.js'; 2 | 3 | // Split a collection into two arrays: one whose elements all pass the given 4 | // truth test, and one whose elements all do not pass the truth test. 5 | export default group(function(result, value, pass) { 6 | result[pass ? 0 : 1].push(value); 7 | }, true); 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/where.js: -------------------------------------------------------------------------------- 1 | import filter from './filter.js'; 2 | import matcher from './matcher.js'; 3 | 4 | // Convenience version of a common use case of `_.filter`: selecting only 5 | // objects containing specific `key:value` pairs. 6 | export default function where(obj, attrs) { 7 | return filter(obj, matcher(attrs)); 8 | } 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/_toPath.js: -------------------------------------------------------------------------------- 1 | define(['./underscore', './toPath'], function (underscore, toPath$1) { 2 | 3 | // Internal wrapper for `_.toPath` to enable minification. 4 | // Similar to `cb` for `_.iteratee`. 5 | function toPath(path) { 6 | return underscore.toPath(path); 7 | } 8 | 9 | return toPath; 10 | 11 | }); 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/isWeakMap.js: -------------------------------------------------------------------------------- 1 | define(['./_tagTester', './_methodFingerprint', './_stringTagBug'], function (_tagTester, _methodFingerprint, _stringTagBug) { 2 | 3 | var isWeakMap = _stringTagBug.isIE11 ? _methodFingerprint.ie11fingerprint(_methodFingerprint.weakMapMethods) : _tagTester('WeakMap'); 4 | 5 | return isWeakMap; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/defer.js: -------------------------------------------------------------------------------- 1 | var underscore = require('./underscore.js'); 2 | var delay = require('./delay.js'); 3 | var partial = require('./partial.js'); 4 | 5 | // Defers a function, scheduling it to run after the current call stack has 6 | // cleared. 7 | var defer = partial(delay, underscore, 1); 8 | 9 | module.exports = defer; 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/size.js: -------------------------------------------------------------------------------- 1 | var keys = require('./keys.js'); 2 | var _isArrayLike = require('./_isArrayLike.js'); 3 | 4 | // Return the number of elements in a collection. 5 | function size(obj) { 6 | if (obj == null) return 0; 7 | return _isArrayLike(obj) ? obj.length : keys(obj).length; 8 | } 9 | 10 | module.exports = size; 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/uri-js/dist/esnext/schemes/wss.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"wss.js","sourceRoot":"","sources":["../../../src/schemes/wss.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,MAAM,CAAC;AAEtB,MAAM,OAAO,GAAoB;IAChC,MAAM,EAAG,KAAK;IACd,UAAU,EAAG,EAAE,CAAC,UAAU;IAC1B,KAAK,EAAG,EAAE,CAAC,KAAK;IAChB,SAAS,EAAG,EAAE,CAAC,SAAS;CACxB,CAAA;AAED,eAAe,OAAO,CAAC"} -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # UniCloud 云存储 2 | - 请合理使用,如果您download或者fork本项目代表您已知道上传内容需要遵守相关法律规定且将不应该应用于公开上传场景 3 | - 云函数检测使用的百度云AIP,请自行申请 4 | - 请勿滥用,盈利可以,别滥用,不然大家都没得用了 5 | - 解释权在UniCloud和Dcloud,和我没什么关系 6 | - 最后感谢Dcloud为开发者敏捷跨端开发做出的的贡献 7 | 8 | # 2021/12/20更新 9 | - 增加了拖拽上传 10 | - 增加了云数据库init文件(uniCloud,database,右键db_init.json,初始化数据库即可,可能需要新建一个数据库piclist后初始化,对该库进行覆盖) 11 | - 计划增加unicloud api,通过后端进行交互,以更合理的接入图床和作为API接口 -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/.bin/he.cmd: -------------------------------------------------------------------------------- 1 | @ECHO off 2 | SETLOCAL 3 | CALL :find_dp0 4 | 5 | IF EXIST "%dp0%\node.exe" ( 6 | SET "_prog=%dp0%\node.exe" 7 | ) ELSE ( 8 | SET "_prog=node" 9 | SET PATHEXT=%PATHEXT:;.JS;=;% 10 | ) 11 | 12 | "%_prog%" "%dp0%\..\he\bin\he" %* 13 | ENDLOCAL 14 | EXIT /b %errorlevel% 15 | :find_dp0 16 | SET dp0=%~dp0 17 | EXIT /b 18 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/mocha/node_modules/debug/src/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Detect Electron renderer process, which is node, but we should 3 | * treat as a browser. 4 | */ 5 | 6 | if (typeof process === 'undefined' || process.type === 'renderer') { 7 | module.exports = require('./browser.js'); 8 | } else { 9 | module.exports = require('./node.js'); 10 | } 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/_shallowProperty.js: -------------------------------------------------------------------------------- 1 | define(function () { 2 | 3 | // Internal helper to generate a function to obtain property `key` from `obj`. 4 | function shallowProperty(key) { 5 | return function(obj) { 6 | return obj == null ? void 0 : obj[key]; 7 | }; 8 | } 9 | 10 | return shallowProperty; 11 | 12 | }); 13 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/indexBy.js: -------------------------------------------------------------------------------- 1 | var _group = require('./_group.js'); 2 | 3 | // Indexes the object's values by a criterion, similar to `_.groupBy`, but for 4 | // when you know that your index values will be unique. 5 | var indexBy = _group(function(result, value, key) { 6 | result[key] = value; 7 | }); 8 | 9 | module.exports = indexBy; 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/propertyOf.js: -------------------------------------------------------------------------------- 1 | import noop from './noop.js'; 2 | import get from './get.js'; 3 | 4 | // Generates a function for a given object that returns a given property. 5 | export default function propertyOf(obj) { 6 | if (obj == null) return noop; 7 | return function(path) { 8 | return get(obj, path); 9 | }; 10 | } 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/tap.js: -------------------------------------------------------------------------------- 1 | // Invokes `interceptor` with the `obj` and then returns `obj`. 2 | // The primary purpose of this method is to "tap into" a method chain, in 3 | // order to perform operations on intermediate results within the chain. 4 | export default function tap(obj, interceptor) { 5 | interceptor(obj); 6 | return obj; 7 | } 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/toPath.js: -------------------------------------------------------------------------------- 1 | import _ from './underscore.js'; 2 | import isArray from './isArray.js'; 3 | 4 | // Normalize a (deep) property `path` to array. 5 | // Like `_.iteratee`, this function can be customized. 6 | export default function toPath(path) { 7 | return isArray(path) ? path : [path]; 8 | } 9 | _.toPath = toPath; 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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"} -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "baidu", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "keywords": [], 10 | "author": "", 11 | "license": "ISC", 12 | "dependencies": { 13 | "baidu-aip-sdk": "^2.4.6" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/.bin/uuid.cmd: -------------------------------------------------------------------------------- 1 | @ECHO off 2 | SETLOCAL 3 | CALL :find_dp0 4 | 5 | IF EXIST "%dp0%\node.exe" ( 6 | SET "_prog=%dp0%\node.exe" 7 | ) ELSE ( 8 | SET "_prog=node" 9 | SET PATHEXT=%PATHEXT:;.JS;=;% 10 | ) 11 | 12 | "%_prog%" "%dp0%\..\uuid\bin\uuid" %* 13 | ENDLOCAL 14 | EXIT /b %errorlevel% 15 | :find_dp0 16 | SET dp0=%~dp0 17 | EXIT /b 18 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/isMap.js: -------------------------------------------------------------------------------- 1 | var _tagTester = require('./_tagTester.js'); 2 | var _methodFingerprint = require('./_methodFingerprint.js'); 3 | var _stringTagBug = require('./_stringTagBug.js'); 4 | 5 | var isMap = _stringTagBug.isIE11 ? _methodFingerprint.ie11fingerprint(_methodFingerprint.mapMethods) : _tagTester('Map'); 6 | 7 | module.exports = isMap; 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/isSet.js: -------------------------------------------------------------------------------- 1 | var _tagTester = require('./_tagTester.js'); 2 | var _methodFingerprint = require('./_methodFingerprint.js'); 3 | var _stringTagBug = require('./_stringTagBug.js'); 4 | 5 | var isSet = _stringTagBug.isIE11 ? _methodFingerprint.ie11fingerprint(_methodFingerprint.setMethods) : _tagTester('Set'); 6 | 7 | module.exports = isSet; 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/_deepGet.js: -------------------------------------------------------------------------------- 1 | // Internal function to obtain a nested property in `obj` along `path`. 2 | export default function deepGet(obj, path) { 3 | var length = path.length; 4 | for (var i = 0; i < length; i++) { 5 | if (obj == null) return void 0; 6 | obj = obj[path[i]]; 7 | } 8 | return length ? obj : void 0; 9 | } 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/functions.js: -------------------------------------------------------------------------------- 1 | import isFunction from './isFunction.js'; 2 | 3 | // Return a sorted list of the function names available on the object. 4 | export default function functions(obj) { 5 | var names = []; 6 | for (var key in obj) { 7 | if (isFunction(obj[key])) names.push(key); 8 | } 9 | return names.sort(); 10 | } 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/.bin/_mocha.cmd: -------------------------------------------------------------------------------- 1 | @ECHO off 2 | SETLOCAL 3 | CALL :find_dp0 4 | 5 | IF EXIST "%dp0%\node.exe" ( 6 | SET "_prog=%dp0%\node.exe" 7 | ) ELSE ( 8 | SET "_prog=node" 9 | SET PATHEXT=%PATHEXT:;.JS;=;% 10 | ) 11 | 12 | "%_prog%" "%dp0%\..\mocha\bin\_mocha" %* 13 | ENDLOCAL 14 | EXIT /b %errorlevel% 15 | :find_dp0 16 | SET dp0=%~dp0 17 | EXIT /b 18 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/.bin/mkdirp.cmd: -------------------------------------------------------------------------------- 1 | @ECHO off 2 | SETLOCAL 3 | CALL :find_dp0 4 | 5 | IF EXIST "%dp0%\node.exe" ( 6 | SET "_prog=%dp0%\node.exe" 7 | ) ELSE ( 8 | SET "_prog=node" 9 | SET PATHEXT=%PATHEXT:;.JS;=;% 10 | ) 11 | 12 | "%_prog%" "%dp0%\..\mkdirp\bin\cmd.js" %* 13 | ENDLOCAL 14 | EXIT /b %errorlevel% 15 | :find_dp0 16 | SET dp0=%~dp0 17 | EXIT /b 18 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/.bin/mocha.cmd: -------------------------------------------------------------------------------- 1 | @ECHO off 2 | SETLOCAL 3 | CALL :find_dp0 4 | 5 | IF EXIST "%dp0%\node.exe" ( 6 | SET "_prog=%dp0%\node.exe" 7 | ) ELSE ( 8 | SET "_prog=node" 9 | SET PATHEXT=%PATHEXT:;.JS;=;% 10 | ) 11 | 12 | "%_prog%" "%dp0%\..\mocha\bin\mocha" %* 13 | ENDLOCAL 14 | EXIT /b %errorlevel% 15 | :find_dp0 16 | SET dp0=%~dp0 17 | EXIT /b 18 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/after.js: -------------------------------------------------------------------------------- 1 | define(function () { 2 | 3 | // Returns a function that will only be executed on and after the Nth call. 4 | function after(times, func) { 5 | return function() { 6 | if (--times < 1) { 7 | return func.apply(this, arguments); 8 | } 9 | }; 10 | } 11 | 12 | return after; 13 | 14 | }); 15 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/_tagTester.js: -------------------------------------------------------------------------------- 1 | var _setup = require('./_setup.js'); 2 | 3 | // Internal function for creating a `toString`-based type tester. 4 | function tagTester(name) { 5 | var tag = '[object ' + name + ']'; 6 | return function(obj) { 7 | return _setup.toString.call(obj) === tag; 8 | }; 9 | } 10 | 11 | module.exports = tagTester; 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/extendOwn.js: -------------------------------------------------------------------------------- 1 | import createAssigner from './_createAssigner.js'; 2 | import keys from './keys.js'; 3 | 4 | // Assigns a given object with all the own properties in the passed-in 5 | // object(s). 6 | // (https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/assign) 7 | export default createAssigner(keys); 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/times.js: -------------------------------------------------------------------------------- 1 | import optimizeCb from './_optimizeCb.js'; 2 | 3 | // Run a function **n** times. 4 | export default function times(n, iteratee, context) { 5 | var accum = Array(Math.max(0, n)); 6 | iteratee = optimizeCb(iteratee, context, 1); 7 | for (var i = 0; i < n; i++) accum[i] = iteratee(i); 8 | return accum; 9 | } 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/wrap.js: -------------------------------------------------------------------------------- 1 | import partial from './partial.js'; 2 | 3 | // Returns the first function passed as an argument to the second, 4 | // allowing you to adjust arguments, run code before and after, and 5 | // conditionally execute the original function. 6 | export default function wrap(func, wrapper) { 7 | return partial(wrapper, func); 8 | } 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/has-flag/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function (flag, argv) { 3 | argv = argv || process.argv; 4 | 5 | var terminatorPos = argv.indexOf('--'); 6 | var prefix = /^-{1,2}/.test(flag) ? '' : '--'; 7 | var pos = argv.indexOf(prefix + flag); 8 | 9 | return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos); 10 | }; 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/clone.js: -------------------------------------------------------------------------------- 1 | define(['./isObject', './isArray', './extend'], function (isObject, isArray, extend) { 2 | 3 | // Create a (shallow-cloned) duplicate of an object. 4 | function clone(obj) { 5 | if (!isObject(obj)) return obj; 6 | return isArray(obj) ? obj.slice() : extend({}, obj); 7 | } 8 | 9 | return clone; 10 | 11 | }); 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/random.js: -------------------------------------------------------------------------------- 1 | define(function () { 2 | 3 | // Return a random integer between `min` and `max` (inclusive). 4 | function random(min, max) { 5 | if (max == null) { 6 | max = min; 7 | min = 0; 8 | } 9 | return min + Math.floor(Math.random() * (max - min + 1)); 10 | } 11 | 12 | return random; 13 | 14 | }); 15 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/reject.js: -------------------------------------------------------------------------------- 1 | var _cb = require('./_cb.js'); 2 | var filter = require('./filter.js'); 3 | var negate = require('./negate.js'); 4 | 5 | // Return all the elements for which a truth test fails. 6 | function reject(obj, predicate, context) { 7 | return filter(obj, negate(_cb(predicate)), context); 8 | } 9 | 10 | module.exports = reject; 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/clone.js: -------------------------------------------------------------------------------- 1 | import isObject from './isObject.js'; 2 | import isArray from './isArray.js'; 3 | import extend from './extend.js'; 4 | 5 | // Create a (shallow-cloned) duplicate of an object. 6 | export default function clone(obj) { 7 | if (!isObject(obj)) return obj; 8 | return isArray(obj) ? obj.slice() : extend({}, obj); 9 | } 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/.bin/sshpk-conv.cmd: -------------------------------------------------------------------------------- 1 | @ECHO off 2 | SETLOCAL 3 | CALL :find_dp0 4 | 5 | IF EXIST "%dp0%\node.exe" ( 6 | SET "_prog=%dp0%\node.exe" 7 | ) ELSE ( 8 | SET "_prog=node" 9 | SET PATHEXT=%PATHEXT:;.JS;=;% 10 | ) 11 | 12 | "%_prog%" "%dp0%\..\sshpk\bin\sshpk-conv" %* 13 | ENDLOCAL 14 | EXIT /b %errorlevel% 15 | :find_dp0 16 | SET dp0=%~dp0 17 | EXIT /b 18 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/.bin/sshpk-sign.cmd: -------------------------------------------------------------------------------- 1 | @ECHO off 2 | SETLOCAL 3 | CALL :find_dp0 4 | 5 | IF EXIST "%dp0%\node.exe" ( 6 | SET "_prog=%dp0%\node.exe" 7 | ) ELSE ( 8 | SET "_prog=node" 9 | SET PATHEXT=%PATHEXT:;.JS;=;% 10 | ) 11 | 12 | "%_prog%" "%dp0%\..\sshpk\bin\sshpk-sign" %* 13 | ENDLOCAL 14 | EXIT /b %errorlevel% 15 | :find_dp0 16 | SET dp0=%~dp0 17 | EXIT /b 18 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/indexBy.js: -------------------------------------------------------------------------------- 1 | define(['./_group'], function (_group) { 2 | 3 | // Indexes the object's values by a criterion, similar to `_.groupBy`, but for 4 | // when you know that your index values will be unique. 5 | var indexBy = _group(function(result, value, key) { 6 | result[key] = value; 7 | }); 8 | 9 | return indexBy; 10 | 11 | }); 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/where.js: -------------------------------------------------------------------------------- 1 | define(['./matcher', './filter'], function (matcher, filter) { 2 | 3 | // Convenience version of a common use case of `_.filter`: selecting only 4 | // objects containing specific `key:value` pairs. 5 | function where(obj, attrs) { 6 | return filter(obj, matcher(attrs)); 7 | } 8 | 9 | return where; 10 | 11 | }); 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/flatten.js: -------------------------------------------------------------------------------- 1 | var _flatten = require('./_flatten.js'); 2 | 3 | // Flatten out an array, either recursively (by default), or up to `depth`. 4 | // Passing `true` or `false` as `depth` means `1` or `Infinity`, respectively. 5 | function flatten(array, depth) { 6 | return _flatten(array, depth, false); 7 | } 8 | 9 | module.exports = flatten; 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/tap.js: -------------------------------------------------------------------------------- 1 | // Invokes `interceptor` with the `obj` and then returns `obj`. 2 | // The primary purpose of this method is to "tap into" a method chain, in 3 | // order to perform operations on intermediate results within the chain. 4 | function tap(obj, interceptor) { 5 | interceptor(obj); 6 | return obj; 7 | } 8 | 9 | module.exports = tap; 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/where.js: -------------------------------------------------------------------------------- 1 | var matcher = require('./matcher.js'); 2 | var filter = require('./filter.js'); 3 | 4 | // Convenience version of a common use case of `_.filter`: selecting only 5 | // objects containing specific `key:value` pairs. 6 | function where(obj, attrs) { 7 | return filter(obj, matcher(attrs)); 8 | } 9 | 10 | module.exports = where; 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/.bin/sshpk-verify.cmd: -------------------------------------------------------------------------------- 1 | @ECHO off 2 | SETLOCAL 3 | CALL :find_dp0 4 | 5 | IF EXIST "%dp0%\node.exe" ( 6 | SET "_prog=%dp0%\node.exe" 7 | ) ELSE ( 8 | SET "_prog=node" 9 | SET PATHEXT=%PATHEXT:;.JS;=;% 10 | ) 11 | 12 | "%_prog%" "%dp0%\..\sshpk\bin\sshpk-verify" %* 13 | ENDLOCAL 14 | EXIT /b %errorlevel% 15 | :find_dp0 16 | SET dp0=%~dp0 17 | EXIT /b 18 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/findWhere.js: -------------------------------------------------------------------------------- 1 | define(['./matcher', './find'], function (matcher, find) { 2 | 3 | // Convenience version of a common use case of `_.find`: getting the first 4 | // object containing specific `key:value` pairs. 5 | function findWhere(obj, attrs) { 6 | return find(obj, matcher(attrs)); 7 | } 8 | 9 | return findWhere; 10 | 11 | }); 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/uniqueId.js: -------------------------------------------------------------------------------- 1 | define(function () { 2 | 3 | // Generate a unique integer id (unique within the entire client session). 4 | // Useful for temporary DOM ids. 5 | var idCounter = 0; 6 | function uniqueId(prefix) { 7 | var id = ++idCounter + ''; 8 | return prefix ? prefix + id : id; 9 | } 10 | 11 | return uniqueId; 12 | 13 | }); 14 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/without.js: -------------------------------------------------------------------------------- 1 | define(['./restArguments', './difference'], function (restArguments, difference) { 2 | 3 | // Return a version of the array that does not contain the specified value(s). 4 | var without = restArguments(function(array, otherArrays) { 5 | return difference(array, otherArrays); 6 | }); 7 | 8 | return without; 9 | 10 | }); 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/_deepGet.js: -------------------------------------------------------------------------------- 1 | // Internal function to obtain a nested property in `obj` along `path`. 2 | function deepGet(obj, path) { 3 | var length = path.length; 4 | for (var i = 0; i < length; i++) { 5 | if (obj == null) return void 0; 6 | obj = obj[path[i]]; 7 | } 8 | return length ? obj : void 0; 9 | } 10 | 11 | module.exports = deepGet; 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/findWhere.js: -------------------------------------------------------------------------------- 1 | var matcher = require('./matcher.js'); 2 | var find = require('./find.js'); 3 | 4 | // Convenience version of a common use case of `_.find`: getting the first 5 | // object containing specific `key:value` pairs. 6 | function findWhere(obj, attrs) { 7 | return find(obj, matcher(attrs)); 8 | } 9 | 10 | module.exports = findWhere; 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/isWeakMap.js: -------------------------------------------------------------------------------- 1 | var _tagTester = require('./_tagTester.js'); 2 | var _methodFingerprint = require('./_methodFingerprint.js'); 3 | var _stringTagBug = require('./_stringTagBug.js'); 4 | 5 | var isWeakMap = _stringTagBug.isIE11 ? _methodFingerprint.ie11fingerprint(_methodFingerprint.weakMapMethods) : _tagTester('WeakMap'); 6 | 7 | module.exports = isWeakMap; 8 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/delay.js: -------------------------------------------------------------------------------- 1 | import restArguments from './restArguments.js'; 2 | 3 | // Delays a function for the given number of milliseconds, and then calls 4 | // it with the arguments supplied. 5 | export default restArguments(function(func, wait, args) { 6 | return setTimeout(function() { 7 | return func.apply(null, args); 8 | }, wait); 9 | }); 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/rest.js: -------------------------------------------------------------------------------- 1 | import { slice } from './_setup.js'; 2 | 3 | // Returns everything but the first entry of the `array`. Especially useful on 4 | // the `arguments` object. Passing an **n** will return the rest N values in the 5 | // `array`. 6 | export default function rest(array, n, guard) { 7 | return slice.call(array, n == null || guard ? 1 : n); 8 | } 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/growl/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["airbnb-base", "eslint:recommended", "plugin:node/recommended"], 3 | "plugins": [ 4 | "import", 5 | "node" 6 | ], 7 | "rules": { 8 | "no-console": ["error", { "allow": ["warn", "error"] }] 9 | }, 10 | "env": { 11 | "node": true, 12 | "es6": true 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/propertyOf.js: -------------------------------------------------------------------------------- 1 | define(['./get', './noop'], function (get, noop) { 2 | 3 | // Generates a function for a given object that returns a given property. 4 | function propertyOf(obj) { 5 | if (obj == null) return noop; 6 | return function(path) { 7 | return get(obj, path); 8 | }; 9 | } 10 | 11 | return propertyOf; 12 | 13 | }); 14 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/functions.js: -------------------------------------------------------------------------------- 1 | var isFunction = require('./isFunction.js'); 2 | 3 | // Return a sorted list of the function names available on the object. 4 | function functions(obj) { 5 | var names = []; 6 | for (var key in obj) { 7 | if (isFunction(obj[key])) names.push(key); 8 | } 9 | return names.sort(); 10 | } 11 | 12 | module.exports = functions; 13 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/propertyOf.js: -------------------------------------------------------------------------------- 1 | var get = require('./get.js'); 2 | var noop = require('./noop.js'); 3 | 4 | // Generates a function for a given object that returns a given property. 5 | function propertyOf(obj) { 6 | if (obj == null) return noop; 7 | return function(path) { 8 | return get(obj, path); 9 | }; 10 | } 11 | 12 | module.exports = propertyOf; 13 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/times.js: -------------------------------------------------------------------------------- 1 | var _optimizeCb = require('./_optimizeCb.js'); 2 | 3 | // Run a function **n** times. 4 | function times(n, iteratee, context) { 5 | var accum = Array(Math.max(0, n)); 6 | iteratee = _optimizeCb(iteratee, context, 1); 7 | for (var i = 0; i < n; i++) accum[i] = iteratee(i); 8 | return accum; 9 | } 10 | 11 | module.exports = times; 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/without.js: -------------------------------------------------------------------------------- 1 | var restArguments = require('./restArguments.js'); 2 | var difference = require('./difference.js'); 3 | 4 | // Return a version of the array that does not contain the specified value(s). 5 | var without = restArguments(function(array, otherArrays) { 6 | return difference(array, otherArrays); 7 | }); 8 | 9 | module.exports = without; 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/mocha/lib/browser/tty.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | exports.isatty = function isatty () { 4 | return true; 5 | }; 6 | 7 | exports.getWindowSize = function getWindowSize () { 8 | if ('innerHeight' in global) { 9 | return [global.innerHeight, global.innerWidth]; 10 | } 11 | // In a Web Worker, the DOM Window is not available. 12 | return [640, 480]; 13 | }; 14 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/_tagTester.js: -------------------------------------------------------------------------------- 1 | define(['./_setup'], function (_setup) { 2 | 3 | // Internal function for creating a `toString`-based type tester. 4 | function tagTester(name) { 5 | var tag = '[object ' + name + ']'; 6 | return function(obj) { 7 | return _setup.toString.call(obj) === tag; 8 | }; 9 | } 10 | 11 | return tagTester; 12 | 13 | }); 14 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/lastIndexOf.js: -------------------------------------------------------------------------------- 1 | define(['./_createIndexFinder', './findLastIndex'], function (_createIndexFinder, findLastIndex) { 2 | 3 | // Return the position of the last occurrence of an item in an array, 4 | // or -1 if the item is not included in the array. 5 | var lastIndexOf = _createIndexFinder(-1, findLastIndex); 6 | 7 | return lastIndexOf; 8 | 9 | }); 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/lastIndexOf.js: -------------------------------------------------------------------------------- 1 | var _createIndexFinder = require('./_createIndexFinder.js'); 2 | var findLastIndex = require('./findLastIndex.js'); 3 | 4 | // Return the position of the last occurrence of an item in an array, 5 | // or -1 if the item is not included in the array. 6 | var lastIndexOf = _createIndexFinder(-1, findLastIndex); 7 | 8 | module.exports = lastIndexOf; 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/wrap.js: -------------------------------------------------------------------------------- 1 | var partial = require('./partial.js'); 2 | 3 | // Returns the first function passed as an argument to the second, 4 | // allowing you to adjust arguments, run code before and after, and 5 | // conditionally execute the original function. 6 | function wrap(func, wrapper) { 7 | return partial(wrapper, func); 8 | } 9 | 10 | module.exports = wrap; 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/values.js: -------------------------------------------------------------------------------- 1 | import keys from './keys.js'; 2 | 3 | // Retrieve the values of an object's properties. 4 | export default function values(obj) { 5 | var _keys = keys(obj); 6 | var length = _keys.length; 7 | var values = Array(length); 8 | for (var i = 0; i < length; i++) { 9 | values[i] = obj[_keys[i]]; 10 | } 11 | return values; 12 | } 13 | -------------------------------------------------------------------------------- /pages.json: -------------------------------------------------------------------------------- 1 | { 2 | "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages 3 | { 4 | "path": "pages/index/index", 5 | "style": { 6 | "navigationBarTitleText": "应用图床" 7 | } 8 | } 9 | ], 10 | "globalStyle": { 11 | "navigationBarTextStyle": "black", 12 | "navigationBarTitleText": "应用图床", 13 | "navigationBarBackgroundColor": "#F8F8F8", 14 | "backgroundColor": "#F8F8F8" 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/.bin/he: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../he/bin/he" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../he/bin/he" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/_isBufferLike.js: -------------------------------------------------------------------------------- 1 | define(['./_createSizePropertyCheck', './_getByteLength'], function (_createSizePropertyCheck, _getByteLength) { 2 | 3 | // Internal helper to determine whether we should spend extensive checks against 4 | // `ArrayBuffer` et al. 5 | var isBufferLike = _createSizePropertyCheck(_getByteLength); 6 | 7 | return isBufferLike; 8 | 9 | }); 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/flatten.js: -------------------------------------------------------------------------------- 1 | define(['./_flatten'], function (_flatten) { 2 | 3 | // Flatten out an array, either recursively (by default), or up to `depth`. 4 | // Passing `true` or `false` as `depth` means `1` or `Infinity`, respectively. 5 | function flatten(array, depth) { 6 | return _flatten(array, depth, false); 7 | } 8 | 9 | return flatten; 10 | 11 | }); 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/toPath.js: -------------------------------------------------------------------------------- 1 | define(['./isArray', './underscore'], function (isArray, underscore) { 2 | 3 | // Normalize a (deep) property `path` to array. 4 | // Like `_.iteratee`, this function can be customized. 5 | function toPath(path) { 6 | return isArray(path) ? path : [path]; 7 | } 8 | underscore.toPath = toPath; 9 | 10 | return toPath; 11 | 12 | }); 13 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/_isBufferLike.js: -------------------------------------------------------------------------------- 1 | var _createSizePropertyCheck = require('./_createSizePropertyCheck.js'); 2 | var _getByteLength = require('./_getByteLength.js'); 3 | 4 | // Internal helper to determine whether we should spend extensive checks against 5 | // `ArrayBuffer` et al. 6 | var isBufferLike = _createSizePropertyCheck(_getByteLength); 7 | 8 | module.exports = isBufferLike; 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/clone.js: -------------------------------------------------------------------------------- 1 | var isObject = require('./isObject.js'); 2 | var isArray = require('./isArray.js'); 3 | var extend = require('./extend.js'); 4 | 5 | // Create a (shallow-cloned) duplicate of an object. 6 | function clone(obj) { 7 | if (!isObject(obj)) return obj; 8 | return isArray(obj) ? obj.slice() : extend({}, obj); 9 | } 10 | 11 | module.exports = clone; 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/partition.js: -------------------------------------------------------------------------------- 1 | var _group = require('./_group.js'); 2 | 3 | // Split a collection into two arrays: one whose elements all pass the given 4 | // truth test, and one whose elements all do not pass the truth test. 5 | var partition = _group(function(result, value, pass) { 6 | result[pass ? 0 : 1].push(value); 7 | }, true); 8 | 9 | module.exports = partition; 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/toPath.js: -------------------------------------------------------------------------------- 1 | var isArray = require('./isArray.js'); 2 | var underscore = require('./underscore.js'); 3 | 4 | // Normalize a (deep) property `path` to array. 5 | // Like `_.iteratee`, this function can be customized. 6 | function toPath(path) { 7 | return isArray(path) ? path : [path]; 8 | } 9 | underscore.toPath = toPath; 10 | 11 | module.exports = toPath; 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/before.js: -------------------------------------------------------------------------------- 1 | // Returns a function that will only be executed up to (but not including) the 2 | // Nth call. 3 | export default function before(times, func) { 4 | var memo; 5 | return function() { 6 | if (--times > 0) { 7 | memo = func.apply(this, arguments); 8 | } 9 | if (times <= 1) func = null; 10 | return memo; 11 | }; 12 | } 13 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/templateSettings.js: -------------------------------------------------------------------------------- 1 | import _ from './underscore.js'; 2 | 3 | // By default, Underscore uses ERB-style template delimiters. Change the 4 | // following template settings to use alternative delimiters. 5 | export default _.templateSettings = { 6 | evaluate: /<%([\s\S]+?)%>/g, 7 | interpolate: /<%=([\s\S]+?)%>/g, 8 | escape: /<%-([\s\S]+?)%>/g 9 | }; 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/union.js: -------------------------------------------------------------------------------- 1 | import restArguments from './restArguments.js'; 2 | import uniq from './uniq.js'; 3 | import flatten from './_flatten.js'; 4 | 5 | // Produce an array that contains the union: each distinct element from all of 6 | // the passed-in arrays. 7 | export default restArguments(function(arrays) { 8 | return uniq(flatten(arrays, true, true)); 9 | }); 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/mkdirp/bin/usage.txt: -------------------------------------------------------------------------------- 1 | usage: mkdirp [DIR1,DIR2..] {OPTIONS} 2 | 3 | Create each supplied directory including any necessary parent directories that 4 | don't yet exist. 5 | 6 | If the directory already exists, do nothing. 7 | 8 | OPTIONS are: 9 | 10 | -m, --mode If a directory needs to be created, set the mode as an octal 11 | permission string. 12 | 13 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/groupBy.js: -------------------------------------------------------------------------------- 1 | import group from './_group.js'; 2 | import has from './_has.js'; 3 | 4 | // Groups the object's values by a criterion. Pass either a string attribute 5 | // to group by, or a function that returns the criterion. 6 | export default group(function(result, value, key) { 7 | if (has(result, key)) result[key].push(value); else result[key] = [value]; 8 | }); 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/invert.js: -------------------------------------------------------------------------------- 1 | import keys from './keys.js'; 2 | 3 | // Invert the keys and values of an object. The values must be serializable. 4 | export default function invert(obj) { 5 | var result = {}; 6 | var _keys = keys(obj); 7 | for (var i = 0, length = _keys.length; i < length; i++) { 8 | result[obj[_keys[i]]] = _keys[i]; 9 | } 10 | return result; 11 | } 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/matcher.js: -------------------------------------------------------------------------------- 1 | import extendOwn from './extendOwn.js'; 2 | import isMatch from './isMatch.js'; 3 | 4 | // Returns a predicate for checking whether an object has a given set of 5 | // `key:value` pairs. 6 | export default function matcher(attrs) { 7 | attrs = extendOwn({}, attrs); 8 | return function(obj) { 9 | return isMatch(obj, attrs); 10 | }; 11 | } 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/.bin/uuid: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../uuid/bin/uuid" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../uuid/bin/uuid" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/extendOwn.js: -------------------------------------------------------------------------------- 1 | define(['./_createAssigner', './keys'], function (_createAssigner, keys) { 2 | 3 | // Assigns a given object with all the own properties in the passed-in 4 | // object(s). 5 | // (https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/assign) 6 | var extendOwn = _createAssigner(keys); 7 | 8 | return extendOwn; 9 | 10 | }); 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/.bin/_mocha: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../mocha/bin/_mocha" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../mocha/bin/_mocha" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/.bin/mocha: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../mocha/bin/mocha" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../mocha/bin/mocha" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/functions.js: -------------------------------------------------------------------------------- 1 | define(['./isFunction'], function (isFunction) { 2 | 3 | // Return a sorted list of the function names available on the object. 4 | function functions(obj) { 5 | var names = []; 6 | for (var key in obj) { 7 | if (isFunction(obj[key])) names.push(key); 8 | } 9 | return names.sort(); 10 | } 11 | 12 | return functions; 13 | 14 | }); 15 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/times.js: -------------------------------------------------------------------------------- 1 | define(['./_optimizeCb'], function (_optimizeCb) { 2 | 3 | // Run a function **n** times. 4 | function times(n, iteratee, context) { 5 | var accum = Array(Math.max(0, n)); 6 | iteratee = _optimizeCb(iteratee, context, 1); 7 | for (var i = 0; i < n; i++) accum[i] = iteratee(i); 8 | return accum; 9 | } 10 | 11 | return times; 12 | 13 | }); 14 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/union.js: -------------------------------------------------------------------------------- 1 | define(['./_flatten', './restArguments', './uniq'], function (_flatten, restArguments, uniq) { 2 | 3 | // Produce an array that contains the union: each distinct element from all of 4 | // the passed-in arrays. 5 | var union = restArguments(function(arrays) { 6 | return uniq(_flatten(arrays, true, true)); 7 | }); 8 | 9 | return union; 10 | 11 | }); 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/before.js: -------------------------------------------------------------------------------- 1 | // Returns a function that will only be executed up to (but not including) the 2 | // Nth call. 3 | function before(times, func) { 4 | var memo; 5 | return function() { 6 | if (--times > 0) { 7 | memo = func.apply(this, arguments); 8 | } 9 | if (times <= 1) func = null; 10 | return memo; 11 | }; 12 | } 13 | 14 | module.exports = before; 15 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/delay.js: -------------------------------------------------------------------------------- 1 | var restArguments = require('./restArguments.js'); 2 | 3 | // Delays a function for the given number of milliseconds, and then calls 4 | // it with the arguments supplied. 5 | var delay = restArguments(function(func, wait, args) { 6 | return setTimeout(function() { 7 | return func.apply(null, args); 8 | }, wait); 9 | }); 10 | 11 | module.exports = delay; 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/rest.js: -------------------------------------------------------------------------------- 1 | var _setup = require('./_setup.js'); 2 | 3 | // Returns everything but the first entry of the `array`. Especially useful on 4 | // the `arguments` object. Passing an **n** will return the rest N values in the 5 | // `array`. 6 | function rest(array, n, guard) { 7 | return _setup.slice.call(array, n == null || guard ? 1 : n); 8 | } 9 | 10 | module.exports = rest; 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/values.js: -------------------------------------------------------------------------------- 1 | var keys = require('./keys.js'); 2 | 3 | // Retrieve the values of an object's properties. 4 | function values(obj) { 5 | var _keys = keys(obj); 6 | var length = _keys.length; 7 | var values = Array(length); 8 | for (var i = 0; i < length; i++) { 9 | values[i] = obj[_keys[i]]; 10 | } 11 | return values; 12 | } 13 | 14 | module.exports = values; 15 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/.bin/mkdirp: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../mkdirp/bin/cmd.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../mkdirp/bin/cmd.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/partition.js: -------------------------------------------------------------------------------- 1 | define(['./_group'], function (_group) { 2 | 3 | // Split a collection into two arrays: one whose elements all pass the given 4 | // truth test, and one whose elements all do not pass the truth test. 5 | var partition = _group(function(result, value, pass) { 6 | result[pass ? 0 : 1].push(value); 7 | }, true); 8 | 9 | return partition; 10 | 11 | }); 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/wrap.js: -------------------------------------------------------------------------------- 1 | define(['./partial'], function (partial) { 2 | 3 | // Returns the first function passed as an argument to the second, 4 | // allowing you to adjust arguments, run code before and after, and 5 | // conditionally execute the original function. 6 | function wrap(func, wrapper) { 7 | return partial(wrapper, func); 8 | } 9 | 10 | return wrap; 11 | 12 | }); 13 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/extendOwn.js: -------------------------------------------------------------------------------- 1 | var _createAssigner = require('./_createAssigner.js'); 2 | var keys = require('./keys.js'); 3 | 4 | // Assigns a given object with all the own properties in the passed-in 5 | // object(s). 6 | // (https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/assign) 7 | var extendOwn = _createAssigner(keys); 8 | 9 | module.exports = extendOwn; 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/invert.js: -------------------------------------------------------------------------------- 1 | var keys = require('./keys.js'); 2 | 3 | // Invert the keys and values of an object. The values must be serializable. 4 | function invert(obj) { 5 | var result = {}; 6 | var _keys = keys(obj); 7 | for (var i = 0, length = _keys.length; i < length; i++) { 8 | result[obj[_keys[i]]] = _keys[i]; 9 | } 10 | return result; 11 | } 12 | 13 | module.exports = invert; 14 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/countBy.js: -------------------------------------------------------------------------------- 1 | import group from './_group.js'; 2 | import has from './_has.js'; 3 | 4 | // Counts instances of an object that group by a certain criterion. Pass 5 | // either a string attribute to count by, or a function that returns the 6 | // criterion. 7 | export default group(function(result, value, key) { 8 | if (has(result, key)) result[key]++; else result[key] = 1; 9 | }); 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/.bin/sshpk-conv: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*|*MINGW*|*MSYS*) 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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/.bin/sshpk-sign: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*|*MINGW*|*MSYS*) 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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/matcher.js: -------------------------------------------------------------------------------- 1 | var extendOwn = require('./extendOwn.js'); 2 | var isMatch = require('./isMatch.js'); 3 | 4 | // Returns a predicate for checking whether an object has a given set of 5 | // `key:value` pairs. 6 | function matcher(attrs) { 7 | attrs = extendOwn({}, attrs); 8 | return function(obj) { 9 | return isMatch(obj, attrs); 10 | }; 11 | } 12 | 13 | module.exports = matcher; 14 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/.bin/sshpk-verify: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*|*MINGW*|*MSYS*) 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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/matcher.js: -------------------------------------------------------------------------------- 1 | define(['./extendOwn', './isMatch'], function (extendOwn, isMatch) { 2 | 3 | // Returns a predicate for checking whether an object has a given set of 4 | // `key:value` pairs. 5 | function matcher(attrs) { 6 | attrs = extendOwn({}, attrs); 7 | return function(obj) { 8 | return isMatch(obj, attrs); 9 | }; 10 | } 11 | 12 | return matcher; 13 | 14 | }); 15 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/tap.js: -------------------------------------------------------------------------------- 1 | define(function () { 2 | 3 | // Invokes `interceptor` with the `obj` and then returns `obj`. 4 | // The primary purpose of this method is to "tap into" a method chain, in 5 | // order to perform operations on intermediate results within the chain. 6 | function tap(obj, interceptor) { 7 | interceptor(obj); 8 | return obj; 9 | } 10 | 11 | return tap; 12 | 13 | }); 14 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/initial.js: -------------------------------------------------------------------------------- 1 | import { slice } from './_setup.js'; 2 | 3 | // Returns everything but the last entry of the array. Especially useful on 4 | // the arguments object. Passing **n** will return all the values in 5 | // the array, excluding the last N. 6 | export default function initial(array, n, guard) { 7 | return slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n))); 8 | } 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/concat-map/index.js: -------------------------------------------------------------------------------- 1 | module.exports = function (xs, fn) { 2 | var res = []; 3 | for (var i = 0; i < xs.length; i++) { 4 | var x = fn(xs[i], i); 5 | if (isArray(x)) res.push.apply(res, x); 6 | else res.push(x); 7 | } 8 | return res; 9 | }; 10 | 11 | var isArray = Array.isArray || function (xs) { 12 | return Object.prototype.toString.call(xs) === '[object Array]'; 13 | }; 14 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/_deepGet.js: -------------------------------------------------------------------------------- 1 | define(function () { 2 | 3 | // Internal function to obtain a nested property in `obj` along `path`. 4 | function deepGet(obj, path) { 5 | var length = path.length; 6 | for (var i = 0; i < length; i++) { 7 | if (obj == null) return void 0; 8 | obj = obj[path[i]]; 9 | } 10 | return length ? obj : void 0; 11 | } 12 | 13 | return deepGet; 14 | 15 | }); 16 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/delay.js: -------------------------------------------------------------------------------- 1 | define(['./restArguments'], function (restArguments) { 2 | 3 | // Delays a function for the given number of milliseconds, and then calls 4 | // it with the arguments supplied. 5 | var delay = restArguments(function(func, wait, args) { 6 | return setTimeout(function() { 7 | return func.apply(null, args); 8 | }, wait); 9 | }); 10 | 11 | return delay; 12 | 13 | }); 14 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/rest.js: -------------------------------------------------------------------------------- 1 | define(['./_setup'], function (_setup) { 2 | 3 | // Returns everything but the first entry of the `array`. Especially useful on 4 | // the `arguments` object. Passing an **n** will return the rest N values in the 5 | // `array`. 6 | function rest(array, n, guard) { 7 | return _setup.slice.call(array, n == null || guard ? 1 : n); 8 | } 9 | 10 | return rest; 11 | 12 | }); 13 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/union.js: -------------------------------------------------------------------------------- 1 | var _flatten = require('./_flatten.js'); 2 | var restArguments = require('./restArguments.js'); 3 | var uniq = require('./uniq.js'); 4 | 5 | // Produce an array that contains the union: each distinct element from all of 6 | // the passed-in arrays. 7 | var union = restArguments(function(arrays) { 8 | return uniq(_flatten(arrays, true, true)); 9 | }); 10 | 11 | module.exports = union; 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/values.js: -------------------------------------------------------------------------------- 1 | define(['./keys'], function (keys) { 2 | 3 | // Retrieve the values of an object's properties. 4 | function values(obj) { 5 | var _keys = keys(obj); 6 | var length = _keys.length; 7 | var values = Array(length); 8 | for (var i = 0; i < length; i++) { 9 | values[i] = obj[_keys[i]]; 10 | } 11 | return values; 12 | } 13 | 14 | return values; 15 | 16 | }); 17 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/ajv/lib/dot/_limitItems.jst: -------------------------------------------------------------------------------- 1 | {{# def.definitions }} 2 | {{# def.errors }} 3 | {{# def.setupKeyword }} 4 | {{# def.$data }} 5 | 6 | {{# def.numberKeyword }} 7 | 8 | {{ var $op = $keyword == 'maxItems' ? '>' : '<'; }} 9 | if ({{# def.$dataNotType:'number' }} {{=$data}}.length {{=$op}} {{=$schemaValue}}) { 10 | {{ var $errorKeyword = $keyword; }} 11 | {{# def.error:'_limitItems' }} 12 | } {{? $breakOnError }} else { {{?}} 13 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/debug/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "debug", 3 | "repo": "visionmedia/debug", 4 | "description": "small debugging utility", 5 | "version": "2.6.9", 6 | "keywords": [ 7 | "debug", 8 | "log", 9 | "debugger" 10 | ], 11 | "main": "src/browser.js", 12 | "scripts": [ 13 | "src/browser.js", 14 | "src/debug.js" 15 | ], 16 | "dependencies": { 17 | "rauchg/ms.js": "0.7.1" 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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. -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/groupBy.js: -------------------------------------------------------------------------------- 1 | define(['./_has', './_group'], function (_has, _group) { 2 | 3 | // Groups the object's values by a criterion. Pass either a string attribute 4 | // to group by, or a function that returns the criterion. 5 | var groupBy = _group(function(result, value, key) { 6 | if (_has(result, key)) result[key].push(value); else result[key] = [value]; 7 | }); 8 | 9 | return groupBy; 10 | 11 | }); 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/invert.js: -------------------------------------------------------------------------------- 1 | define(['./keys'], function (keys) { 2 | 3 | // Invert the keys and values of an object. The values must be serializable. 4 | function invert(obj) { 5 | var result = {}; 6 | var _keys = keys(obj); 7 | for (var i = 0, length = _keys.length; i < length; i++) { 8 | result[obj[_keys[i]]] = _keys[i]; 9 | } 10 | return result; 11 | } 12 | 13 | return invert; 14 | 15 | }); 16 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/groupBy.js: -------------------------------------------------------------------------------- 1 | var _has = require('./_has.js'); 2 | var _group = require('./_group.js'); 3 | 4 | // Groups the object's values by a criterion. Pass either a string attribute 5 | // to group by, or a function that returns the criterion. 6 | var groupBy = _group(function(result, value, key) { 7 | if (_has(result, key)) result[key].push(value); else result[key] = [value]; 8 | }); 9 | 10 | module.exports = groupBy; 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/filter.js: -------------------------------------------------------------------------------- 1 | import cb from './_cb.js'; 2 | import each from './each.js'; 3 | 4 | // Return all the elements that pass a truth test. 5 | export default function filter(obj, predicate, context) { 6 | var results = []; 7 | predicate = cb(predicate, context); 8 | each(obj, function(value, index, list) { 9 | if (predicate(value, index, list)) results.push(value); 10 | }); 11 | return results; 12 | } 13 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/last.js: -------------------------------------------------------------------------------- 1 | import rest from './rest.js'; 2 | 3 | // Get the last element of an array. Passing **n** will return the last N 4 | // values in the array. 5 | export default function last(array, n, guard) { 6 | if (array == null || array.length < 1) return n == null || guard ? void 0 : []; 7 | if (n == null || guard) return array[array.length - 1]; 8 | return rest(array, Math.max(0, array.length - n)); 9 | } 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/property.js: -------------------------------------------------------------------------------- 1 | import deepGet from './_deepGet.js'; 2 | import toPath from './_toPath.js'; 3 | 4 | // Creates a function that, when passed an object, will traverse that object’s 5 | // properties down the given `path`, specified as an array of keys or indices. 6 | export default function property(path) { 7 | path = toPath(path); 8 | return function(obj) { 9 | return deepGet(obj, path); 10 | }; 11 | } 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/ajv/lib/dot/_limitLength.jst: -------------------------------------------------------------------------------- 1 | {{# def.definitions }} 2 | {{# def.errors }} 3 | {{# def.setupKeyword }} 4 | {{# def.$data }} 5 | 6 | {{# def.numberKeyword }} 7 | 8 | {{ var $op = $keyword == 'maxLength' ? '>' : '<'; }} 9 | if ({{# def.$dataNotType:'number' }} {{# def.strLength }} {{=$op}} {{=$schemaValue}}) { 10 | {{ var $errorKeyword = $keyword; }} 11 | {{# def.error:'_limitLength' }} 12 | } {{? $breakOnError }} else { {{?}} 13 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/initial.js: -------------------------------------------------------------------------------- 1 | var _setup = require('./_setup.js'); 2 | 3 | // Returns everything but the last entry of the array. Especially useful on 4 | // the arguments object. Passing **n** will return all the values in 5 | // the array, excluding the last N. 6 | function initial(array, n, guard) { 7 | return _setup.slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n))); 8 | } 9 | 10 | module.exports = initial; 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/_toBufferView.js: -------------------------------------------------------------------------------- 1 | import getByteLength from './_getByteLength.js'; 2 | 3 | // Internal function to wrap or shallow-copy an ArrayBuffer, 4 | // typed array or DataView to a new view, reusing the buffer. 5 | export default function toBufferView(bufferSource) { 6 | return new Uint8Array( 7 | bufferSource.buffer || bufferSource, 8 | bufferSource.byteOffset || 0, 9 | getByteLength(bufferSource) 10 | ); 11 | } 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/pairs.js: -------------------------------------------------------------------------------- 1 | import keys from './keys.js'; 2 | 3 | // Convert an object into a list of `[key, value]` pairs. 4 | // The opposite of `_.object` with one argument. 5 | export default function pairs(obj) { 6 | var _keys = keys(obj); 7 | var length = _keys.length; 8 | var pairs = Array(length); 9 | for (var i = 0; i < length; i++) { 10 | pairs[i] = [_keys[i], obj[_keys[i]]]; 11 | } 12 | return pairs; 13 | } 14 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/countBy.js: -------------------------------------------------------------------------------- 1 | define(['./_has', './_group'], function (_has, _group) { 2 | 3 | // Counts instances of an object that group by a certain criterion. Pass 4 | // either a string attribute to count by, or a function that returns the 5 | // criterion. 6 | var countBy = _group(function(result, value, key) { 7 | if (_has(result, key)) result[key]++; else result[key] = 1; 8 | }); 9 | 10 | return countBy; 11 | 12 | }); 13 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/countBy.js: -------------------------------------------------------------------------------- 1 | var _has = require('./_has.js'); 2 | var _group = require('./_group.js'); 3 | 4 | // Counts instances of an object that group by a certain criterion. Pass 5 | // either a string attribute to count by, or a function that returns the 6 | // criterion. 7 | var countBy = _group(function(result, value, key) { 8 | if (_has(result, key)) result[key]++; else result[key] = 1; 9 | }); 10 | 11 | module.exports = countBy; 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/templateSettings.js: -------------------------------------------------------------------------------- 1 | var underscore = require('./underscore.js'); 2 | 3 | // By default, Underscore uses ERB-style template delimiters. Change the 4 | // following template settings to use alternative delimiters. 5 | var templateSettings = underscore.templateSettings = { 6 | evaluate: /<%([\s\S]+?)%>/g, 7 | interpolate: /<%=([\s\S]+?)%>/g, 8 | escape: /<%-([\s\S]+?)%>/g 9 | }; 10 | 11 | module.exports = templateSettings; 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/_createSizePropertyCheck.js: -------------------------------------------------------------------------------- 1 | import { MAX_ARRAY_INDEX } from './_setup.js'; 2 | 3 | // Common internal logic for `isArrayLike` and `isBufferLike`. 4 | export default function createSizePropertyCheck(getSizeProperty) { 5 | return function(collection) { 6 | var sizeProperty = getSizeProperty(collection); 7 | return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= MAX_ARRAY_INDEX; 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/last.js: -------------------------------------------------------------------------------- 1 | var rest = require('./rest.js'); 2 | 3 | // Get the last element of an array. Passing **n** will return the last N 4 | // values in the array. 5 | function last(array, n, guard) { 6 | if (array == null || array.length < 1) return n == null || guard ? void 0 : []; 7 | if (n == null || guard) return array[array.length - 1]; 8 | return rest(array, Math.max(0, array.length - n)); 9 | } 10 | 11 | module.exports = last; 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/chunk.js: -------------------------------------------------------------------------------- 1 | import { slice } from './_setup.js'; 2 | 3 | // Chunk a single array into multiple arrays, each containing `count` or fewer 4 | // items. 5 | export default function chunk(array, count) { 6 | if (count == null || count < 1) return []; 7 | var result = []; 8 | var i = 0, length = array.length; 9 | while (i < length) { 10 | result.push(slice.call(array, i, i += count)); 11 | } 12 | return result; 13 | } 14 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/ajv/lib/dot/_limitProperties.jst: -------------------------------------------------------------------------------- 1 | {{# def.definitions }} 2 | {{# def.errors }} 3 | {{# def.setupKeyword }} 4 | {{# def.$data }} 5 | 6 | {{# def.numberKeyword }} 7 | 8 | {{ var $op = $keyword == 'maxProperties' ? '>' : '<'; }} 9 | if ({{# def.$dataNotType:'number' }} Object.keys({{=$data}}).length {{=$op}} {{=$schemaValue}}) { 10 | {{ var $errorKeyword = $keyword; }} 11 | {{# def.error:'_limitProperties' }} 12 | } {{? $breakOnError }} else { {{?}} 13 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/before.js: -------------------------------------------------------------------------------- 1 | define(function () { 2 | 3 | // Returns a function that will only be executed up to (but not including) the 4 | // Nth call. 5 | function before(times, func) { 6 | var memo; 7 | return function() { 8 | if (--times > 0) { 9 | memo = func.apply(this, arguments); 10 | } 11 | if (times <= 1) func = null; 12 | return memo; 13 | }; 14 | } 15 | 16 | return before; 17 | 18 | }); 19 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/filter.js: -------------------------------------------------------------------------------- 1 | var _cb = require('./_cb.js'); 2 | var each = require('./each.js'); 3 | 4 | // Return all the elements that pass a truth test. 5 | function filter(obj, predicate, context) { 6 | var results = []; 7 | predicate = _cb(predicate, context); 8 | each(obj, function(value, index, list) { 9 | if (predicate(value, index, list)) results.push(value); 10 | }); 11 | return results; 12 | } 13 | 14 | module.exports = filter; 15 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/pairs.js: -------------------------------------------------------------------------------- 1 | var keys = require('./keys.js'); 2 | 3 | // Convert an object into a list of `[key, value]` pairs. 4 | // The opposite of `_.object` with one argument. 5 | function pairs(obj) { 6 | var _keys = keys(obj); 7 | var length = _keys.length; 8 | var pairs = Array(length); 9 | for (var i = 0; i < length; i++) { 10 | pairs[i] = [_keys[i], obj[_keys[i]]]; 11 | } 12 | return pairs; 13 | } 14 | 15 | module.exports = pairs; 16 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/find.js: -------------------------------------------------------------------------------- 1 | import isArrayLike from './_isArrayLike.js'; 2 | import findIndex from './findIndex.js'; 3 | import findKey from './findKey.js'; 4 | 5 | // Return the first value which passes a truth test. 6 | export default function find(obj, predicate, context) { 7 | var keyFinder = isArrayLike(obj) ? findIndex : findKey; 8 | var key = keyFinder(obj, predicate, context); 9 | if (key !== void 0 && key !== -1) return obj[key]; 10 | } 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/debug/src/inspector-log.js: -------------------------------------------------------------------------------- 1 | module.exports = inspectorLog; 2 | 3 | // black hole 4 | const nullStream = new (require('stream').Writable)(); 5 | nullStream._write = () => {}; 6 | 7 | /** 8 | * Outputs a `console.log()` to the Node.js Inspector console *only*. 9 | */ 10 | function inspectorLog() { 11 | const stdout = console._stdout; 12 | console._stdout = nullStream; 13 | console.log.apply(console, arguments); 14 | console._stdout = stdout; 15 | } 16 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/filter.js: -------------------------------------------------------------------------------- 1 | define(['./_cb', './each'], function (_cb, each) { 2 | 3 | // Return all the elements that pass a truth test. 4 | function filter(obj, predicate, context) { 5 | var results = []; 6 | predicate = _cb(predicate, context); 7 | each(obj, function(value, index, list) { 8 | if (predicate(value, index, list)) results.push(value); 9 | }); 10 | return results; 11 | } 12 | 13 | return filter; 14 | 15 | }); 16 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/find.js: -------------------------------------------------------------------------------- 1 | define(['./_isArrayLike', './findIndex', './findKey'], function (_isArrayLike, findIndex, findKey) { 2 | 3 | // Return the first value which passes a truth test. 4 | function find(obj, predicate, context) { 5 | var keyFinder = _isArrayLike(obj) ? findIndex : findKey; 6 | var key = keyFinder(obj, predicate, context); 7 | if (key !== void 0 && key !== -1) return obj[key]; 8 | } 9 | 10 | return find; 11 | 12 | }); 13 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/property.js: -------------------------------------------------------------------------------- 1 | var _deepGet = require('./_deepGet.js'); 2 | var _toPath = require('./_toPath.js'); 3 | 4 | // Creates a function that, when passed an object, will traverse that object’s 5 | // properties down the given `path`, specified as an array of keys or indices. 6 | function property(path) { 7 | path = _toPath(path); 8 | return function(obj) { 9 | return _deepGet(obj, path); 10 | }; 11 | } 12 | 13 | module.exports = property; 14 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/create.js: -------------------------------------------------------------------------------- 1 | import baseCreate from './_baseCreate.js'; 2 | import extendOwn from './extendOwn.js'; 3 | 4 | // Creates an object that inherits from the given prototype object. 5 | // If additional properties are provided then they will be added to the 6 | // created object. 7 | export default function create(prototype, props) { 8 | var result = baseCreate(prototype); 9 | if (props) extendOwn(result, props); 10 | return result; 11 | } 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/findKey.js: -------------------------------------------------------------------------------- 1 | import cb from './_cb.js'; 2 | import keys from './keys.js'; 3 | 4 | // Returns the first key on an object that passes a truth test. 5 | export default function findKey(obj, predicate, context) { 6 | predicate = cb(predicate, context); 7 | var _keys = keys(obj), key; 8 | for (var i = 0, length = _keys.length; i < length; i++) { 9 | key = _keys[i]; 10 | if (predicate(obj[key], key, obj)) return key; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/initial.js: -------------------------------------------------------------------------------- 1 | define(['./_setup'], function (_setup) { 2 | 3 | // Returns everything but the last entry of the array. Especially useful on 4 | // the arguments object. Passing **n** will return all the values in 5 | // the array, excluding the last N. 6 | function initial(array, n, guard) { 7 | return _setup.slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n))); 8 | } 9 | 10 | return initial; 11 | 12 | }); 13 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/property.js: -------------------------------------------------------------------------------- 1 | define(['./_deepGet', './_toPath'], function (_deepGet, _toPath) { 2 | 3 | // Creates a function that, when passed an object, will traverse that object’s 4 | // properties down the given `path`, specified as an array of keys or indices. 5 | function property(path) { 6 | path = _toPath(path); 7 | return function(obj) { 8 | return _deepGet(obj, path); 9 | }; 10 | } 11 | 12 | return property; 13 | 14 | }); 15 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/first.js: -------------------------------------------------------------------------------- 1 | import initial from './initial.js'; 2 | 3 | // Get the first element of an array. Passing **n** will return the first N 4 | // values in the array. The **guard** check allows it to work with `_.map`. 5 | export default function first(array, n, guard) { 6 | if (array == null || array.length < 1) return n == null || guard ? void 0 : []; 7 | if (n == null || guard) return array[0]; 8 | return initial(array, array.length - n); 9 | } 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/templateSettings.js: -------------------------------------------------------------------------------- 1 | define(['./underscore'], function (underscore) { 2 | 3 | // By default, Underscore uses ERB-style template delimiters. Change the 4 | // following template settings to use alternative delimiters. 5 | var templateSettings = underscore.templateSettings = { 6 | evaluate: /<%([\s\S]+?)%>/g, 7 | interpolate: /<%=([\s\S]+?)%>/g, 8 | escape: /<%-([\s\S]+?)%>/g 9 | }; 10 | 11 | return templateSettings; 12 | 13 | }); 14 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/_toBufferView.js: -------------------------------------------------------------------------------- 1 | var _getByteLength = require('./_getByteLength.js'); 2 | 3 | // Internal function to wrap or shallow-copy an ArrayBuffer, 4 | // typed array or DataView to a new view, reusing the buffer. 5 | function toBufferView(bufferSource) { 6 | return new Uint8Array( 7 | bufferSource.buffer || bufferSource, 8 | bufferSource.byteOffset || 0, 9 | _getByteLength(bufferSource) 10 | ); 11 | } 12 | 13 | module.exports = toBufferView; 14 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/chunk.js: -------------------------------------------------------------------------------- 1 | var _setup = require('./_setup.js'); 2 | 3 | // Chunk a single array into multiple arrays, each containing `count` or fewer 4 | // items. 5 | function chunk(array, count) { 6 | if (count == null || count < 1) return []; 7 | var result = []; 8 | var i = 0, length = array.length; 9 | while (i < length) { 10 | result.push(_setup.slice.call(array, i, i += count)); 11 | } 12 | return result; 13 | } 14 | 15 | module.exports = chunk; 16 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/contains.js: -------------------------------------------------------------------------------- 1 | import isArrayLike from './_isArrayLike.js'; 2 | import values from './values.js'; 3 | import indexOf from './indexOf.js'; 4 | 5 | // Determine if the array or object contains a given item (using `===`). 6 | export default function contains(obj, item, fromIndex, guard) { 7 | if (!isArrayLike(obj)) obj = values(obj); 8 | if (typeof fromIndex != 'number' || guard) fromIndex = 0; 9 | return indexOf(obj, item, fromIndex) >= 0; 10 | } 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/last.js: -------------------------------------------------------------------------------- 1 | define(['./rest'], function (rest) { 2 | 3 | // Get the last element of an array. Passing **n** will return the last N 4 | // values in the array. 5 | function last(array, n, guard) { 6 | if (array == null || array.length < 1) return n == null || guard ? void 0 : []; 7 | if (n == null || guard) return array[array.length - 1]; 8 | return rest(array, Math.max(0, array.length - n)); 9 | } 10 | 11 | return last; 12 | 13 | }); 14 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/_createSizePropertyCheck.js: -------------------------------------------------------------------------------- 1 | var _setup = require('./_setup.js'); 2 | 3 | // Common internal logic for `isArrayLike` and `isBufferLike`. 4 | function createSizePropertyCheck(getSizeProperty) { 5 | return function(collection) { 6 | var sizeProperty = getSizeProperty(collection); 7 | return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= _setup.MAX_ARRAY_INDEX; 8 | } 9 | } 10 | 11 | module.exports = createSizePropertyCheck; 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/_isArrayLike.js: -------------------------------------------------------------------------------- 1 | import createSizePropertyCheck from './_createSizePropertyCheck.js'; 2 | import getLength from './_getLength.js'; 3 | 4 | // Internal helper for collection methods to determine whether a collection 5 | // should be iterated as an array or as an object. 6 | // Related: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength 7 | // Avoids a very nasty iOS 8 JIT bug on ARM-64. #2094 8 | export default createSizePropertyCheck(getLength); 9 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/compose.js: -------------------------------------------------------------------------------- 1 | // Returns a function that is the composition of a list of functions, each 2 | // consuming the return value of the function that follows. 3 | export default function compose() { 4 | var args = arguments; 5 | var start = args.length - 1; 6 | return function() { 7 | var i = start; 8 | var result = args[start].apply(this, arguments); 9 | while (i--) result = args[i].call(this, result); 10 | return result; 11 | }; 12 | } 13 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/contains.js: -------------------------------------------------------------------------------- 1 | define(['./_isArrayLike', './values', './indexOf'], function (_isArrayLike, values, indexOf) { 2 | 3 | // Determine if the array or object contains a given item (using `===`). 4 | function contains(obj, item, fromIndex, guard) { 5 | if (!_isArrayLike(obj)) obj = values(obj); 6 | if (typeof fromIndex != 'number' || guard) fromIndex = 0; 7 | return indexOf(obj, item, fromIndex) >= 0; 8 | } 9 | 10 | return contains; 11 | 12 | }); 13 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/find.js: -------------------------------------------------------------------------------- 1 | var _isArrayLike = require('./_isArrayLike.js'); 2 | var findIndex = require('./findIndex.js'); 3 | var findKey = require('./findKey.js'); 4 | 5 | // Return the first value which passes a truth test. 6 | function find(obj, predicate, context) { 7 | var keyFinder = _isArrayLike(obj) ? findIndex : findKey; 8 | var key = keyFinder(obj, predicate, context); 9 | if (key !== void 0 && key !== -1) return obj[key]; 10 | } 11 | 12 | module.exports = find; 13 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/_cb.js: -------------------------------------------------------------------------------- 1 | import _ from './underscore.js'; 2 | import baseIteratee from './_baseIteratee.js'; 3 | import iteratee from './iteratee.js'; 4 | 5 | // The function we call internally to generate a callback. It invokes 6 | // `_.iteratee` if overridden, otherwise `baseIteratee`. 7 | export default function cb(value, context, argCount) { 8 | if (_.iteratee !== iteratee) return _.iteratee(value, context); 9 | return baseIteratee(value, context, argCount); 10 | } 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/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 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/create.js: -------------------------------------------------------------------------------- 1 | var _baseCreate = require('./_baseCreate.js'); 2 | var extendOwn = require('./extendOwn.js'); 3 | 4 | // Creates an object that inherits from the given prototype object. 5 | // If additional properties are provided then they will be added to the 6 | // created object. 7 | function create(prototype, props) { 8 | var result = _baseCreate(prototype); 9 | if (props) extendOwn(result, props); 10 | return result; 11 | } 12 | 13 | module.exports = create; 14 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/first.js: -------------------------------------------------------------------------------- 1 | var initial = require('./initial.js'); 2 | 3 | // Get the first element of an array. Passing **n** will return the first N 4 | // values in the array. The **guard** check allows it to work with `_.map`. 5 | function first(array, n, guard) { 6 | if (array == null || array.length < 1) return n == null || guard ? void 0 : []; 7 | if (n == null || guard) return array[0]; 8 | return initial(array, array.length - n); 9 | } 10 | 11 | module.exports = first; 12 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/iteratee.js: -------------------------------------------------------------------------------- 1 | import _ from './underscore.js'; 2 | import baseIteratee from './_baseIteratee.js'; 3 | 4 | // External wrapper for our callback generator. Users may customize 5 | // `_.iteratee` if they want additional predicate/iteratee shorthand styles. 6 | // This abstraction hides the internal-only `argCount` argument. 7 | export default function iteratee(value, context) { 8 | return baseIteratee(value, context, Infinity); 9 | } 10 | _.iteratee = iteratee; 11 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/create.js: -------------------------------------------------------------------------------- 1 | define(['./_baseCreate', './extendOwn'], function (_baseCreate, extendOwn) { 2 | 3 | // Creates an object that inherits from the given prototype object. 4 | // If additional properties are provided then they will be added to the 5 | // created object. 6 | function create(prototype, props) { 7 | var result = _baseCreate(prototype); 8 | if (props) extendOwn(result, props); 9 | return result; 10 | } 11 | 12 | return create; 13 | 14 | }); 15 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/pairs.js: -------------------------------------------------------------------------------- 1 | define(['./keys'], function (keys) { 2 | 3 | // Convert an object into a list of `[key, value]` pairs. 4 | // The opposite of `_.object` with one argument. 5 | function pairs(obj) { 6 | var _keys = keys(obj); 7 | var length = _keys.length; 8 | var pairs = Array(length); 9 | for (var i = 0; i < length; i++) { 10 | pairs[i] = [_keys[i], obj[_keys[i]]]; 11 | } 12 | return pairs; 13 | } 14 | 15 | return pairs; 16 | 17 | }); 18 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/findKey.js: -------------------------------------------------------------------------------- 1 | var keys = require('./keys.js'); 2 | var _cb = require('./_cb.js'); 3 | 4 | // Returns the first key on an object that passes a truth test. 5 | function findKey(obj, predicate, context) { 6 | predicate = _cb(predicate, context); 7 | var _keys = keys(obj), key; 8 | for (var i = 0, length = _keys.length; i < length; i++) { 9 | key = _keys[i]; 10 | if (predicate(obj[key], key, obj)) return key; 11 | } 12 | } 13 | 14 | module.exports = findKey; 15 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/indexOf.js: -------------------------------------------------------------------------------- 1 | import sortedIndex from './sortedIndex.js'; 2 | import findIndex from './findIndex.js'; 3 | import createIndexFinder from './_createIndexFinder.js'; 4 | 5 | // Return the position of the first occurrence of an item in an array, 6 | // or -1 if the item is not included in the array. 7 | // If the array is large and already in sort order, pass `true` 8 | // for **isSorted** to use binary search. 9 | export default createIndexFinder(1, findIndex, sortedIndex); 10 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/modules/isMatch.js: -------------------------------------------------------------------------------- 1 | import keys from './keys.js'; 2 | 3 | // Returns whether an object has a given set of `key:value` pairs. 4 | export default function isMatch(object, attrs) { 5 | var _keys = keys(attrs), length = _keys.length; 6 | if (object == null) return !length; 7 | var obj = Object(object); 8 | for (var i = 0; i < length; i++) { 9 | var key = _keys[i]; 10 | if (attrs[key] !== obj[key] || !(key in obj)) return false; 11 | } 12 | return true; 13 | } 14 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/amd/findKey.js: -------------------------------------------------------------------------------- 1 | define(['./keys', './_cb'], function (keys, _cb) { 2 | 3 | // Returns the first key on an object that passes a truth test. 4 | function findKey(obj, predicate, context) { 5 | predicate = _cb(predicate, context); 6 | var _keys = keys(obj), key; 7 | for (var i = 0, length = _keys.length; i < length; i++) { 8 | key = _keys[i]; 9 | if (predicate(obj[key], key, obj)) return key; 10 | } 11 | } 12 | 13 | return findKey; 14 | 15 | }); 16 | -------------------------------------------------------------------------------- /uniCloud-aliyun/cloudfunctions/common/baidu/node_modules/underscore/cjs/compose.js: -------------------------------------------------------------------------------- 1 | // Returns a function that is the composition of a list of functions, each 2 | // consuming the return value of the function that follows. 3 | function compose() { 4 | var args = arguments; 5 | var start = args.length - 1; 6 | return function() { 7 | var i = start; 8 | var result = args[start].apply(this, arguments); 9 | while (i--) result = args[i].call(this, result); 10 | return result; 11 | }; 12 | } 13 | 14 | module.exports = compose; 15 | --------------------------------------------------------------------------------