diff --git a/lib/DatabaseCrudHandler.ts b/lib/DatabaseCrudHandler.ts index 0d9b155..cf3d1ce 100644 --- a/lib/DatabaseCrudHandler.ts +++ b/lib/DatabaseCrudHandler.ts @@ -1,6 +1,6 @@ import { Request, Response, Router } from 'express'; -import { http } from '@scode/consts'; -import { ControlModel, DatabaseModel } from '@scode/modelling'; +import { http } from '@sapphirecode/consts'; +import { ControlModel, DatabaseModel } from '@sapphirecode/modelling'; import { CrudHandler } from './CrudHandler'; import { HttpHandler } from './HttpHandler'; import { DatabaseCrudOptionsReader } from './DatabaseCrudOptionsReader'; diff --git a/yarn.lock b/yarn.lock index 9a0e971..2d61c95 100644 --- a/yarn.lock +++ b/yarn.lock @@ -30,41 +30,40 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@scode/consts@^1.1.9": - version "1.1.11" - resolved "https://npm.scode.ovh/@scode%2fconsts/-/consts-1.1.11.tgz#68b78116e6f3f022ea5a656f7c1f2442b702dd26" - integrity sha512-YYxqTDvyYoMihSe6SKEJfWtsMJFKMJ2tiZLHWacn15AlSnUzBXQVqmrrBSHn/CnfZk/5hZmkwUETcdjBVUH02A== +"@sapphirecode/consts@^1.1.9": + version "1.1.13" + resolved "https://registry.yarnpkg.com/@sapphirecode/consts/-/consts-1.1.13.tgz#f6bb47098577e7e1ca2dc9e11657fa8a32a3f0dd" + integrity sha512-MBapHmd1FqyxxEC/Acdm/3h+k41cE6QbU0F97NgojJMTTShmnRhTqXH17829yO400T9Ma+SlKfNZEUIshzdJaw== -"@scode/eslint-config-es6@^1.0.1": - version "1.0.28" - resolved "https://npm.scode.ovh/@scode%2feslint-config-es6/-/eslint-config-es6-1.0.28.tgz#95afeb862c49623a2f5d0f64a47761422078f323" - integrity sha512-3E21VH1CBLRgLn6ozBKNDuSYKWPpBv457l9CgH/Zy0wrSNlVrxVcO8miZ4Razq759gkLu1ueslTBePGy+rP6Lg== +"@sapphirecode/eslint-config-es6@^1.0.1": + version "1.0.35" + resolved "https://registry.yarnpkg.com/@sapphirecode/eslint-config-es6/-/eslint-config-es6-1.0.35.tgz#564e9ab8ced1f25caca217fb6a3675c18d478c0c" + integrity sha512-KEgwxkVhjA6+njWneXWgl+n2u2n2WSGETDUKr/OaZgv5ap/QtWy72m5KYEoAGbfEGFSnar9gqLuKsRIMl1lAXg== dependencies: - "@scode/eslint-config" "^2.0.1" + "@sapphirecode/eslint-config" "^2.0.1" eslint-plugin-import "^2.20.1" -"@scode/eslint-config-ts@^1.0.29": - version "1.0.31" - resolved "https://npm.scode.ovh/@scode%2feslint-config-ts/-/eslint-config-ts-1.0.31.tgz#2934314acbf28d07a989d1fa3c0cfa59ab17b1bf" - integrity sha512-sJz85zW6NUKe2tM4g9F398kwPHXA4FklLbAZ60XvrwupqNCELKmwncwoRw509s4D7rInF4iQv8r7/qRIHetUPQ== +"@sapphirecode/eslint-config-ts@^1.0.29": + version "1.0.38" + resolved "https://registry.yarnpkg.com/@sapphirecode/eslint-config-ts/-/eslint-config-ts-1.0.38.tgz#9c2c80be2b6bee6a0c8dc2a9d0504869d46f5882" + integrity sha512-sOzBGUmpc12/j5Z2opMTqpU/XztZOdRQy+/+0wLMLATs9PVHW55oprvWLDQoWttH763v2DwU3PNvoXILq1eHGw== dependencies: - "@scode/eslint-config-es6" "^1.0.1" + "@sapphirecode/eslint-config-es6" "^1.0.1" "@typescript-eslint/eslint-plugin" "^2.26.0" "@typescript-eslint/parser" "^2.26.0" -"@scode/eslint-config@^2.0.1": - version "2.0.16" - resolved "https://npm.scode.ovh/@scode%2feslint-config/-/eslint-config-2.0.16.tgz#99ba872cbdc850d3865dde3d91568fb549980b88" - integrity sha512-Q0GC5T0T5qlGNyv+HJ7zx6VWJMA9tlZcU5TGA+uYI7xyNvumrP40bFeujCCsYJ9BxuEhqfbzW8rmZonzRYNe+w== +"@sapphirecode/eslint-config@^2.0.1": + version "2.0.23" + resolved "https://registry.yarnpkg.com/@sapphirecode/eslint-config/-/eslint-config-2.0.23.tgz#1669742219dab81ac83914d8826d88f06492ba2c" + integrity sha512-GO5KDZ58z59raCUkX7CzlATkqGETsOts2S/kOoxNhZR6+rdXQqkrA8BI4/degzZiWnKYn3KkQhyYvXv7fXKkFg== dependencies: - eslint-plugin-jsdoc "^24.0.0" eslint-plugin-node "^11.0.0" eslint-plugin-sort-requires-by-path "^1.0.2" -"@scode/modelling@^1.0.19": - version "1.0.23" - resolved "https://npm.scode.ovh/@scode%2fmodelling/-/modelling-1.0.23.tgz#ec7eabeebfcaa7a6805960dce3aff73d0e560062" - integrity sha512-pfVlIEqUDaWu5pnc1jHOuM5+91zsQvqkra4gVp4CAwWPyGqS83p77LfU4PdTyy4I8QiKV8qrOXMTnMO6DmUTzw== +"@sapphirecode/modelling@^1.0.19": + version "1.0.27" + resolved "https://registry.yarnpkg.com/@sapphirecode/modelling/-/modelling-1.0.27.tgz#a14627137045d33670cc57958a45fb91b5f030ce" + integrity sha512-lv/pWdLkwapIzI5LJlBR4566/hpZJ83IYGU7yZ3Qo4k8YIIp7cYioLuQbAlUxC9lUp1MkXk9Gm5PTBE8+Oi2tg== "@types/body-parser@*": version "1.19.0" @@ -92,11 +91,12 @@ integrity sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag== "@types/express-serve-static-core@*": - version "4.17.5" - resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.5.tgz#a00ac7dadd746ae82477443e4d480a6a93ea083c" - integrity sha512-578YH5Lt88AKoADy0b2jQGwJtrBxezXtVe/MBqWXKZpqx91SnC0pVkVCcxcytz3lWW+cHBYDi3Ysh0WXc+rAYw== + version "4.17.6" + resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.6.tgz#ec825455acb075e7fc804f4f7b7734e043003f43" + integrity sha512-U2oynuRIB17GIbEdvjFrrEACOy7GQkzsX7bPEBz1H41vZYEU4j0fLL97sawmHDwHUXpUQDBMHIyM9vejqP9o1A== dependencies: "@types/node" "*" + "@types/qs" "*" "@types/range-parser" "*" "@types/express@^4.17.6": @@ -120,14 +120,14 @@ integrity sha512-FwI9gX75FgVBJ7ywgnq/P7tw+/o1GUbtP0KzbtusLigAOgIgNISRK0ZPl4qertvXSIE8YbsVJueQ90cDt9YYyw== "@types/node@*": - version "13.13.4" - resolved "https://registry.yarnpkg.com/@types/node/-/node-13.13.4.tgz#1581d6c16e3d4803eb079c87d4ac893ee7501c2c" - integrity sha512-x26ur3dSXgv5AwKS0lNfbjpCakGIduWU1DU91Zz58ONRWrIKGunmZBNv4P7N+e27sJkiGDsw/3fT4AtsqQBrBA== + version "13.13.5" + resolved "https://registry.yarnpkg.com/@types/node/-/node-13.13.5.tgz#96ec3b0afafd64a4ccea9107b75bf8489f0e5765" + integrity sha512-3ySmiBYJPqgjiHA7oEaIo2Rzz0HrOZ7yrNO5HWyaE5q0lQ3BppDZ3N53Miz8bw2I7gh1/zir2MGVZBvpb1zq9g== "@types/qs@*": - version "6.9.1" - resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.1.tgz#937fab3194766256ee09fcd40b781740758617e7" - integrity sha512-lhbQXx9HKZAPgBkISrBcmAcMpZsmpe/Cd/hY7LGZS5OfkySUBItnPZHgQPssWYUET8elF+yCFBbP1Q0RZPTdaw== + version "6.9.2" + resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.2.tgz#faab98ec4f96ee72c829b7ec0983af4f4d343113" + integrity sha512-a9bDi4Z3zCZf4Lv1X/vwnvbbDYSNz59h3i3KdyuYYN+YrLjSeJD0dnphdULDfySvUv6Exy/O0K6wX/kQpnPQ+A== "@types/range-parser@*": version "1.2.3" @@ -376,11 +376,6 @@ color-name@~1.1.4: resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== -comment-parser@^0.7.2: - version "0.7.2" - resolved "https://registry.yarnpkg.com/comment-parser/-/comment-parser-0.7.2.tgz#baf6d99b42038678b81096f15b630d18142f4b8a" - integrity sha512-4Rjb1FnxtOcv9qsfuaNuVsmmVn4ooVoBHzYfyKteiXwIU84PClyGA5jASoFMwPV93+FPh9spwueXauxFJZkGAg== - concat-map@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" @@ -585,19 +580,6 @@ eslint-plugin-import@^2.20.1: read-pkg-up "^2.0.0" resolve "^1.12.0" -eslint-plugin-jsdoc@^24.0.0: - version "24.0.2" - resolved "https://registry.yarnpkg.com/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-24.0.2.tgz#c679c7afac42cf872ffb1a6a246b5518b7b8eed4" - integrity sha512-tvk/jPpIP6MBVZETYnurKL/VGKzSinSbhpz1x+CzDOX20bmhRnCiexrgre4xF0WD/feg7ARKTVLCygVB3pfG5Q== - dependencies: - comment-parser "^0.7.2" - debug "^4.1.1" - jsdoctypeparser "^6.1.0" - lodash "^4.17.15" - regextras "^0.7.0" - semver "^6.3.0" - spdx-expression-parse "^3.0.0" - eslint-plugin-node@^11.0.0: version "11.1.0" resolved "https://registry.yarnpkg.com/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz#c95544416ee4ada26740a30474eefc5402dc671d" @@ -1097,11 +1079,6 @@ js-yaml@^3.13.1: argparse "^1.0.7" esprima "^4.0.0" -jsdoctypeparser@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/jsdoctypeparser/-/jsdoctypeparser-6.1.0.tgz#acfb936c26300d98f1405cb03e20b06748e512a8" - integrity sha512-UCQBZ3xCUBv/PLfwKAJhp6jmGOSLFNKzrotXGNgbKhWvz27wPsCsVeP7gIcHPElQw2agBmynAitXqhxR58XAmA== - json-schema-traverse@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" @@ -1464,11 +1441,6 @@ regexpp@^3.0.0: resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.1.0.tgz#206d0ad0a5648cffbdb8ae46438f3dc51c9f78e2" integrity sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q== -regextras@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/regextras/-/regextras-0.7.0.tgz#2298bef8cfb92b1b7e3b9b12aa8f69547b7d71e4" - integrity sha512-ds+fL+Vhl918gbAUb0k2gVKbTZLsg84Re3DI6p85Et0U0tYME3hyW4nMK8Px4dtDaBA2qNjvG5uWyW7eK5gfmw== - resolve-from@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" @@ -1747,9 +1719,9 @@ toidentifier@1.0.0: integrity sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw== tslib@^1.8.1, tslib@^1.9.0: - version "1.11.1" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.11.1.tgz#eb15d128827fbee2841549e171f45ed338ac7e35" - integrity sha512-aZW88SY8kQbU7gpV19lN24LtXh/yD4ZZg6qieAJDDg+YBsJcSmLGK9QpnUjAKVG/xefmvJGd1WUmfpT/g6AJGA== + version "1.11.2" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.11.2.tgz#9c79d83272c9a7aaf166f73915c9667ecdde3cc9" + integrity sha512-tTSkux6IGPnUGUd1XAZHcpu85MOkIl5zX49pO+jfsie3eP0B6pyhOlLXm3cAC6T7s+euSDDUUV+Acop5WmtkVg== tsutils@^3.17.1: version "3.17.1"