diff --git a/doc/script/0.0.1/1_accord_user/index.js b/doc/script/0.0.1/1_accord_user/index.js index e091705..fd3793b 100644 --- a/doc/script/0.0.1/1_accord_user/index.js +++ b/doc/script/0.0.1/1_accord_user/index.js @@ -6,7 +6,7 @@ try { // 连接IOT AUTH数据库 const authPool = new Pool({ user: 'postgres', - host: '10.8.30.32', + host: '10.8.30.75', database: 'iot_auth', password: '123', port: 5432, diff --git a/doc/script/0.0.1/1_accord_user/package-lock.json b/doc/script/0.0.1/1_accord_user/package-lock.json index 2793372..41d1071 100644 --- a/doc/script/0.0.1/1_accord_user/package-lock.json +++ b/doc/script/0.0.1/1_accord_user/package-lock.json @@ -4,221 +4,55 @@ "lockfileVersion": 1, "requires": true, "dependencies": { - "@types/geojson": { - "version": "1.0.6", - "resolved": "http://10.8.30.22:7000/@types%2fgeojson/-/geojson-1.0.6.tgz", - "integrity": "sha1-PgKXJyjGkkjCrwjWCkjLuGgP/98=" - }, - "@types/node": { - "version": "8.0.53", - "resolved": "http://10.8.30.22:7000/@types%2fnode/-/node-8.0.53.tgz", - "integrity": "sha1-OWs1r4JvpmqtRyyMt7jV4nf05tg=" - }, - "asynckit": { - "version": "0.4.0", - "resolved": "http://10.8.30.22:7000/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" - }, - "bluebird": { - "version": "3.5.1", - "resolved": "http://10.8.30.22:7000/bluebird/-/bluebird-3.5.1.tgz", - "integrity": "sha1-2VUfnemPH82h5oPRfukaBgLuLrk=" + "adler-32": { + "version": "1.2.0", + "resolved": "http://10.8.30.22:7000/adler-32/-/adler-32-1.2.0.tgz", + "integrity": "sha1-aj5r8KY5ALoVZSgIyxXGgT0aXyU=", + "requires": { + "exit-on-epipe": "~1.0.1", + "printj": "~1.1.0" + } }, "buffer-writer": { "version": "2.0.0", "resolved": "http://10.8.30.22:7000/buffer-writer/-/buffer-writer-2.0.0.tgz", "integrity": "sha1-zn64Gjj3gp2wnIc/L7t5LAyY7AQ=" }, - "call-bind": { - "version": "1.0.2", - "resolved": "http://10.8.30.22:7000/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha1-sdTonmiBGcPJqQOtMKuy9qkZvjw=", - "requires": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" - } - }, - "cls-bluebird": { - "version": "2.0.1", - "resolved": "http://10.8.30.22:7000/cls-bluebird/-/cls-bluebird-2.0.1.tgz", - "integrity": "sha1-wlmkgK4CwOUGE0MHuxPbMERu4uc=", - "requires": { - "is-bluebird": "^1.0.2", - "shimmer": "^1.1.0" - } - }, - "combined-stream": { - "version": "1.0.8", - "resolved": "http://10.8.30.22:7000/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha1-w9RaizT9cwYxoRCoolIGgrMdWn8=", - "requires": { - "delayed-stream": "~1.0.0" - } - }, - "component-emitter": { - "version": "1.3.0", - "resolved": "http://10.8.30.22:7000/component-emitter/-/component-emitter-1.3.0.tgz", - "integrity": "sha1-FuQHD7qK4ptnnyIVhT7hgasuq8A=" - }, - "cookiejar": { - "version": "2.1.2", - "resolved": "http://10.8.30.22:7000/cookiejar/-/cookiejar-2.1.2.tgz", - "integrity": "sha1-3YojVTB1L5iPmghE8/xYnjERElw=" - }, - "crypto-js": { - "version": "3.3.0", - "resolved": "http://10.8.30.22:7000/crypto-js/-/crypto-js-3.3.0.tgz", - "integrity": "sha1-hG3RzOL2iqz6FWyFePkmpgm3l2s=" - }, - "debug": { - "version": "3.1.0", - "resolved": "http://10.8.30.22:7000/debug/-/debug-3.1.0.tgz", - "integrity": "sha1-W7WgZyYotkFJVmuhaBnmFRjGcmE=", - "requires": { - "ms": "2.0.0" - } - }, - "delayed-stream": { - "version": "1.0.0", - "resolved": "http://10.8.30.22:7000/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" - }, - "depd": { - "version": "1.1.1", - "resolved": "http://10.8.30.22:7000/depd/-/depd-1.1.1.tgz", - "integrity": "sha1-V4O04cRZ8G+lyif5kfPQbnoxA1k=" - }, - "dottie": { - "version": "2.0.0", - "resolved": "http://10.8.30.22:7000/dottie/-/dottie-2.0.0.tgz", - "integrity": "sha1-2hkZgci41xPKARXViYzzl8Lw3dA=" - }, - "fast-safe-stringify": { - "version": "2.0.7", - "resolved": "http://10.8.30.22:7000/fast-safe-stringify/-/fast-safe-stringify-2.0.7.tgz", - "integrity": "sha1-EkqohYmSYfaK7bQqfAgN6dpgh0M=" - }, - "form-data": { - "version": "3.0.1", - "resolved": "http://10.8.30.22:7000/form-data/-/form-data-3.0.1.tgz", - "integrity": "sha1-69U3kbeDVqma+aMA1CgsTV65dV8=", - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - } - }, - "formidable": { + "cfb": { "version": "1.2.2", - "resolved": "http://10.8.30.22:7000/formidable/-/formidable-1.2.2.tgz", - "integrity": "sha1-v2muopcpgmdfAIZTQrmCmG9rjdk=" - }, - "function-bind": { - "version": "1.1.1", - "resolved": "http://10.8.30.22:7000/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha1-pWiZ0+o8m6uHS7l3O3xe3pL0iV0=" - }, - "generic-pool": { - "version": "3.2.0", - "resolved": "http://10.8.30.22:7000/generic-pool/-/generic-pool-3.2.0.tgz", - "integrity": "sha1-wdSF7L1vGMBRPUdB0JimcV6u7Kg=" - }, - "get-intrinsic": { - "version": "1.1.1", - "resolved": "http://10.8.30.22:7000/get-intrinsic/-/get-intrinsic-1.1.1.tgz", - "integrity": "sha1-FfWfN2+FXERpY5SPDSTNNje0q8Y=", - "requires": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1" - } - }, - "has": { - "version": "1.0.3", - "resolved": "http://10.8.30.22:7000/has/-/has-1.0.3.tgz", - "integrity": "sha1-ci18v8H2qoJB8W3YFOAR4fQeh5Y=", + "resolved": "http://10.8.30.22:7000/cfb/-/cfb-1.2.2.tgz", + "integrity": "sha512-KfdUZsSOw19/ObEWasvBP/Ac4reZvAGauZhs6S/gqNhXhI7cKwvlH7ulj+dOEYnca4bm4SGo8C1bTAQvnTjgQA==", "requires": { - "function-bind": "^1.1.1" + "adler-32": "~1.3.0", + "crc-32": "~1.2.0" + }, + "dependencies": { + "adler-32": { + "version": "1.3.1", + "resolved": "http://10.8.30.22:7000/adler-32/-/adler-32-1.3.1.tgz", + "integrity": "sha512-ynZ4w/nUUv5rrsR8UUGoe1VC9hZj6V5hU9Qw1HlMDJGEJw5S7TfTErWTjMys6M7vr0YWcPqs3qAr4ss0nDfP+A==" + } } }, - "has-symbols": { - "version": "1.0.2", - "resolved": "http://10.8.30.22:7000/has-symbols/-/has-symbols-1.0.2.tgz", - "integrity": "sha1-Fl0wcMADCXUqEjakeTMeOsVvFCM=" - }, - "inflection": { - "version": "1.12.0", - "resolved": "http://10.8.30.22:7000/inflection/-/inflection-1.12.0.tgz", - "integrity": "sha1-ogCTVlbW9fa8TcdQLhrstwMihBY=" - }, - "inherits": { - "version": "2.0.4", - "resolved": "http://10.8.30.22:7000/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha1-D6LGT5MpF8NDOg3tVTY6rjdBa3w=" + "codepage": { + "version": "1.15.0", + "resolved": "http://10.8.30.22:7000/codepage/-/codepage-1.15.0.tgz", + "integrity": "sha1-LgBRkCSzlCTsZu6z7AcifmkmGKs=" }, - "is-bluebird": { - "version": "1.0.2", - "resolved": "http://10.8.30.22:7000/is-bluebird/-/is-bluebird-1.0.2.tgz", - "integrity": "sha1-CWQ5Bg9KpBGr7hkUOoTWpVNG1uI=" - }, - "lodash": { - "version": "4.17.4", - "resolved": "http://10.8.30.22:7000/lodash/-/lodash-4.17.4.tgz", - "integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=" + "crc-32": { + "version": "1.2.2", + "resolved": "http://10.8.30.22:7000/crc-32/-/crc-32-1.2.2.tgz", + "integrity": "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==" }, - "lru-cache": { - "version": "6.0.0", - "resolved": "http://10.8.30.22:7000/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha1-bW/mVw69lqr5D8rR2vo7JWbbOpQ=", - "requires": { - "yallist": "^4.0.0" - } + "exit-on-epipe": { + "version": "1.0.1", + "resolved": "http://10.8.30.22:7000/exit-on-epipe/-/exit-on-epipe-1.0.1.tgz", + "integrity": "sha1-C92S6H1ShdJn2qgXHQ6wYVlolpI=" }, - "methods": { + "frac": { "version": "1.1.2", - "resolved": "http://10.8.30.22:7000/methods/-/methods-1.1.2.tgz", - "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=" - }, - "mime": { - "version": "2.5.2", - "resolved": "http://10.8.30.22:7000/mime/-/mime-2.5.2.tgz", - "integrity": "sha1-bj3GzCuVEGQ4MOXxnVy3U9pe6r4=" - }, - "mime-db": { - "version": "1.47.0", - "resolved": "http://10.8.30.22:7000/mime-db/-/mime-db-1.47.0.tgz", - "integrity": "sha1-jLMT5Zll08Bc+/iYkVomevRqM1w=" - }, - "mime-types": { - "version": "2.1.30", - "resolved": "http://10.8.30.22:7000/mime-types/-/mime-types-2.1.30.tgz", - "integrity": "sha1-bnvotMR5gl+F7WMmaV23P5MF1i0=", - "requires": { - "mime-db": "1.47.0" - } - }, - "moment": { - "version": "2.19.2", - "resolved": "http://10.8.30.22:7000/moment/-/moment-2.19.2.tgz", - "integrity": "sha1-in93TJWmRVC0x+vUlmg5CPlBnb4=" - }, - "moment-timezone": { - "version": "0.5.14", - "resolved": "http://10.8.30.22:7000/moment-timezone/-/moment-timezone-0.5.14.tgz", - "integrity": "sha1-TrOP+VOLgBCLpGekWPPtQmjM/LE=", - "requires": { - "moment": ">= 2.9.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "http://10.8.30.22:7000/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "object-inspect": { - "version": "1.9.0", - "resolved": "http://10.8.30.22:7000/object-inspect/-/object-inspect-1.9.0.tgz", - "integrity": "sha1-yQUh104RJ7ZyZt7TOUrWEWmGUzo=" + "resolved": "http://10.8.30.22:7000/frac/-/frac-1.1.2.tgz", + "integrity": "sha512-w/XBfkibaTl3YDqASwfDUqkna4Z2p9cFSr1aHDt0WoMTECnRfBOv2WArlZILlqgWlmdIlALXGpM2AOhEk5W3IA==" }, "packet-reader": { "version": "1.0.0", @@ -252,14 +86,6 @@ "resolved": "http://10.8.30.22:7000/pg-connection-string/-/pg-connection-string-0.1.3.tgz", "integrity": "sha1-2hhHsglA5C7hSSvq9l1J2RskXfc=" }, - "pg-hstore": { - "version": "2.3.2", - "resolved": "http://10.8.30.22:7000/pg-hstore/-/pg-hstore-2.3.2.tgz", - "integrity": "sha1-9+8FPnubiSrphq8vfL6GQy388k8=", - "requires": { - "underscore": "^1.7.0" - } - }, "pg-int8": { "version": "1.0.1", "resolved": "http://10.8.30.22:7000/pg-int8/-/pg-int8-1.0.1.tgz", @@ -318,91 +144,10 @@ "xtend": "^4.0.0" } }, - "qs": { - "version": "6.10.1", - "resolved": "http://10.8.30.22:7000/qs/-/qs-6.10.1.tgz", - "integrity": "sha1-STFIL6jWR6Wqt5nFJx0hM7mB+2o=", - "requires": { - "side-channel": "^1.0.4" - } - }, - "readable-stream": { - "version": "3.6.0", - "resolved": "http://10.8.30.22:7000/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha1-M3u9o63AcGvT4CRCaihtS0sskZg=", - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - }, - "retry-as-promised": { - "version": "2.3.2", - "resolved": "http://10.8.30.22:7000/retry-as-promised/-/retry-as-promised-2.3.2.tgz", - "integrity": "sha1-zZdO5P2bX+A8vzGHHuSCIcB3N7c=", - "requires": { - "bluebird": "^3.4.6", - "debug": "^2.6.9" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "http://10.8.30.22:7000/debug/-/debug-2.6.9.tgz", - "integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=", - "requires": { - "ms": "2.0.0" - } - } - } - }, - "safe-buffer": { - "version": "5.2.1", - "resolved": "http://10.8.30.22:7000/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha1-Hq+fqb2x/dTsdfWPnNtOa3gn7sY=" - }, - "semver": { - "version": "5.4.1", - "resolved": "http://10.8.30.22:7000/semver/-/semver-5.4.1.tgz", - "integrity": "sha1-4FnAnYVx8FQII3M0M1BdOi8AsY4=" - }, - "sequelize": { - "version": "4.22.12", - "resolved": "http://10.8.30.22:7000/sequelize/-/sequelize-4.22.12.tgz", - "integrity": "sha1-j4/l45GiqGeNLAO5c1ZOpkV4EKI=", - "requires": { - "bluebird": "^3.4.6", - "cls-bluebird": "^2.0.1", - "debug": "^3.0.0", - "depd": "^1.1.0", - "dottie": "^2.0.0", - "generic-pool": "^3.1.8", - "inflection": "1.12.0", - "lodash": "^4.17.1", - "moment": "^2.13.0", - "moment-timezone": "^0.5.4", - "retry-as-promised": "^2.3.1", - "semver": "^5.0.1", - "terraformer-wkt-parser": "^1.1.2", - "toposort-class": "^1.0.1", - "uuid": "^3.0.0", - "validator": "^9.1.0", - "wkx": "^0.4.1" - } - }, - "shimmer": { - "version": "1.2.0", - "resolved": "http://10.8.30.22:7000/shimmer/-/shimmer-1.2.0.tgz", - "integrity": "sha1-+Wb3VVeJdj502IQRk2haXnhzZmU=" - }, - "side-channel": { - "version": "1.0.4", - "resolved": "http://10.8.30.22:7000/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha1-785cj9wQTudRslxY1CkAEfpeos8=", - "requires": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" - } + "printj": { + "version": "1.1.2", + "resolved": "http://10.8.30.22:7000/printj/-/printj-1.1.2.tgz", + "integrity": "sha1-2Q3rKXWoufYA+zoclOP0xTx4oiI=" }, "split": { "version": "1.0.1", @@ -412,69 +157,12 @@ "through": "2" } }, - "string_decoder": { - "version": "1.3.0", - "resolved": "http://10.8.30.22:7000/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha1-QvEUWUpGzxqOMLCoT1bHjD7awh4=", - "requires": { - "safe-buffer": "~5.2.0" - } - }, - "superagent": { - "version": "6.1.0", - "resolved": "http://10.8.30.22:7000/superagent/-/superagent-6.1.0.tgz", - "integrity": "sha1-CfCIB7xBEI7xZM+0vik869SA9KY=", - "requires": { - "component-emitter": "^1.3.0", - "cookiejar": "^2.1.2", - "debug": "^4.1.1", - "fast-safe-stringify": "^2.0.7", - "form-data": "^3.0.0", - "formidable": "^1.2.2", - "methods": "^1.1.2", - "mime": "^2.4.6", - "qs": "^6.9.4", - "readable-stream": "^3.6.0", - "semver": "^7.3.2" - }, - "dependencies": { - "debug": { - "version": "4.3.1", - "resolved": "http://10.8.30.22:7000/debug/-/debug-4.3.1.tgz", - "integrity": "sha1-8NIpxQXgxtjEmsVT0bE9wYP2su4=", - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "http://10.8.30.22:7000/ms/-/ms-2.1.2.tgz", - "integrity": "sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk=" - }, - "semver": { - "version": "7.3.5", - "resolved": "http://10.8.30.22:7000/semver/-/semver-7.3.5.tgz", - "integrity": "sha1-C2Ich5NI2JmOSw5L6Us/EuYBjvc=", - "requires": { - "lru-cache": "^6.0.0" - } - } - } - }, - "terraformer": { - "version": "1.0.8", - "resolved": "http://10.8.30.22:7000/terraformer/-/terraformer-1.0.8.tgz", - "integrity": "sha1-UeCtiXRvzyFh3G9lqnDkI3fItZM=", + "ssf": { + "version": "0.11.2", + "resolved": "http://10.8.30.22:7000/ssf/-/ssf-0.11.2.tgz", + "integrity": "sha1-C5lpiyN1SNCI/EPN8rcMGnUSwGw=", "requires": { - "@types/geojson": "^1.0.0" - } - }, - "terraformer-wkt-parser": { - "version": "1.1.2", - "resolved": "http://10.8.30.22:7000/terraformer-wkt-parser/-/terraformer-wkt-parser-1.1.2.tgz", - "integrity": "sha1-M2oMj8gglKWv+DKI9prt7NNpvww=", - "requires": { - "terraformer": "~1.0.5" + "frac": "~1.1.2" } }, "through": { @@ -482,48 +170,34 @@ "resolved": "http://10.8.30.22:7000/through/-/through-2.3.8.tgz", "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" }, - "toposort-class": { - "version": "1.0.1", - "resolved": "http://10.8.30.22:7000/toposort-class/-/toposort-class-1.0.1.tgz", - "integrity": "sha1-f/0feMi+KMO6Rc1OGj9e4ZO9mYg=" - }, - "underscore": { - "version": "1.8.3", - "resolved": "http://10.8.30.22:7000/underscore/-/underscore-1.8.3.tgz", - "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=" - }, - "util-deprecate": { + "wmf": { "version": "1.0.2", - "resolved": "http://10.8.30.22:7000/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" - }, - "uuid": { - "version": "3.1.0", - "resolved": "http://10.8.30.22:7000/uuid/-/uuid-3.1.0.tgz", - "integrity": "sha1-PdPT55Crwk17DToDT/q6vijrvAQ=" + "resolved": "http://10.8.30.22:7000/wmf/-/wmf-1.0.2.tgz", + "integrity": "sha1-fRnWIQcaCMK9xrfmiKnENSmMwto=" }, - "validator": { - "version": "9.1.1", - "resolved": "http://10.8.30.22:7000/validator/-/validator-9.1.1.tgz", - "integrity": "sha1-O90QZcvSj52WrIBt7gEDDTL9l+8=" + "word": { + "version": "0.3.0", + "resolved": "http://10.8.30.22:7000/word/-/word-0.3.0.tgz", + "integrity": "sha1-hUIVfk+OhJ9KNjooiZLUdhLbmWE=" }, - "wkx": { - "version": "0.4.2", - "resolved": "http://10.8.30.22:7000/wkx/-/wkx-0.4.2.tgz", - "integrity": "sha1-d201pjSlwi5lbkdEvetU+D/Szo0=", + "xlsx": { + "version": "0.17.5", + "resolved": "http://10.8.30.22:7000/xlsx/-/xlsx-0.17.5.tgz", + "integrity": "sha512-lXNU0TuYsvElzvtI6O7WIVb9Zar1XYw7Xb3VAx2wn8N/n0whBYrCnHMxtFyIiUU1Wjf09WzmLALDfBO5PqTb1g==", "requires": { - "@types/node": "*" + "adler-32": "~1.2.0", + "cfb": "^1.1.4", + "codepage": "~1.15.0", + "crc-32": "~1.2.0", + "ssf": "~0.11.2", + "wmf": "~1.0.1", + "word": "~0.3.0" } }, "xtend": { "version": "4.0.2", "resolved": "http://10.8.30.22:7000/xtend/-/xtend-4.0.2.tgz", "integrity": "sha1-u3J3n1+kZRhrH0OPZ0+jR/2121Q=" - }, - "yallist": { - "version": "4.0.0", - "resolved": "http://10.8.30.22:7000/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha1-m7knkNnA7/7GO+c1GeEaNQGaOnI=" } } }