Commit 55572131 authored by nanahira's avatar nanahira

bump to Koishi 4.10.3

parent cdea8999
import { Context } from 'koishi';
import TargetPlugin from '../src';
import ConsolePlugin from '@koishijs/plugin-console';
import SandboxPlugin from '@koishijs/plugin-sandbox';
import * as SandboxPlugin from '@koishijs/plugin-sandbox';
import DatabasePlugin from '@koishijs/plugin-database-memory';
// import CachePlugin from '@koishijs/plugin-cache-lru';
import ExtrasInDev from './extras';
......
......@@ -9,15 +9,15 @@
"version": "3.3.0",
"license": "MIT",
"dependencies": {
"koishi-thirdeye": "^11.1.11",
"koishi-thirdeye": "^11.1.13",
"mysql": "^2.18.1",
"pg": "^8.7.3",
"typeorm": "^0.3.7"
"pg": "^8.8.0",
"typeorm": "^0.3.10"
},
"devDependencies": {
"@koishijs/plugin-console": "^4.5.4",
"@koishijs/plugin-database-memory": "^1.5.0",
"@koishijs/plugin-sandbox": "^2.2.9",
"@koishijs/plugin-database-memory": "^2.0.0",
"@koishijs/plugin-sandbox": "^2.3.5",
"@types/jest": "^29.2.0",
"@types/node": "^17.0.16",
"@typescript-eslint/eslint-plugin": "^4.33.0",
......@@ -39,7 +39,7 @@
"ws": "^8.5.0"
},
"peerDependencies": {
"koishi": "^4.9.7"
"koishi": "^4.10.3"
}
},
"node_modules/@ampproject/remapping": {
......@@ -1349,22 +1349,22 @@
}
},
"node_modules/@koishijs/core": {
"version": "4.9.7",
"resolved": "https://registry.npmjs.org/@koishijs/core/-/core-4.9.7.tgz",
"integrity": "sha512-jmt6BKvH0az25z/BJs4SNFn9dvx7Ji3TjIRl5AtvagO0bzOQfbn1Tavhtfn3sHVJqQUQIZQcFR3969G4dvchhA==",
"version": "4.10.3",
"resolved": "https://registry.npmjs.org/@koishijs/core/-/core-4.10.3.tgz",
"integrity": "sha512-h/YI1nM1gVeh/fvxIJdQpkG8l/oMdNk3ibUi0Ae6PumnMa+IsjzwbCUFAbn7jSTic/uGULBQ8ALYchba1Q+siw==",
"peer": true,
"dependencies": {
"@koishijs/utils": "^6.2.4",
"@minatojs/core": "^1.3.2",
"@satorijs/core": "^1.3.1",
"cordis": "^2.5.0",
"@koishijs/utils": "^6.2.5",
"@minatojs/core": "^2.0.1",
"@satorijs/core": "^1.4.2",
"cordis": "^2.6.0",
"cosmokit": "^1.3.3"
}
},
"node_modules/@koishijs/plugin-console": {
"version": "4.5.4",
"resolved": "https://registry.npmjs.org/@koishijs/plugin-console/-/plugin-console-4.5.4.tgz",
"integrity": "sha512-s6qsQAd5Qch4m7G0FaXZMPsgVOOnjchpCs55ElnU28FB/j7gW9OfhjpBihQ6EkK3Ll3R0IFerXnEC6mC+c5N5w==",
"version": "4.6.11",
"resolved": "https://registry.npmjs.org/@koishijs/plugin-console/-/plugin-console-4.6.11.tgz",
"integrity": "sha512-ch1xMRMWLRrVJ3eiZYpkmoDY8pKYLa4OjL+DFC39es1cJBh/jfb38vY8SDkwybtm4CMqRpjU9m4rrzww204e/Q==",
"dev": true,
"dependencies": {
"open": "^8.4.0",
......@@ -1372,35 +1372,35 @@
"ws": "^8.8.1"
},
"peerDependencies": {
"koishi": "^4.9.0"
"koishi": "^4.10.0"
}
},
"node_modules/@koishijs/plugin-database-memory": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/@koishijs/plugin-database-memory/-/plugin-database-memory-1.5.0.tgz",
"integrity": "sha512-sLqYe1w7WfzVNJSAoDhV9teEJDTpixuiJgOCzuOx5W2yoyIme1TneiMwfMG3oCdUkKW2jWtIRhqKJjnb1XM/BQ==",
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@koishijs/plugin-database-memory/-/plugin-database-memory-2.0.0.tgz",
"integrity": "sha512-KBuSdBHQQ4KgeiC3B0twAW/RX1n5g4ZuUDB7eV9XsON9ojd+zcfOw5v6h+sw9Ff0HvMNoPc+lRquPNx+kuPc/w==",
"dev": true,
"dependencies": {
"@minatojs/driver-memory": "^1.2.0"
"@minatojs/driver-memory": "^2.0.0"
},
"peerDependencies": {
"koishi": "^4.8.7"
"koishi": "^4.10.2"
}
},
"node_modules/@koishijs/plugin-sandbox": {
"version": "2.2.9",
"resolved": "https://registry.npmjs.org/@koishijs/plugin-sandbox/-/plugin-sandbox-2.2.9.tgz",
"integrity": "sha512-UOU3ZlM3Z5uW/Kd5rAsoxlACvvh8JqhPWl+nzCzu1FFptohU2vhaeHX9Hvp9d7iHppJ2JwHjSGK6Jw55yqQWjA==",
"version": "2.3.5",
"resolved": "https://registry.npmjs.org/@koishijs/plugin-sandbox/-/plugin-sandbox-2.3.5.tgz",
"integrity": "sha512-Rp8TOVvJ236Oncp00AkTZsr5Z7fTUlQXWBNCLGBURvlKJLeqOcMu7UqbbIWdNw3pebMJ8zuyRVGoFz+SoFZIKA==",
"dev": true,
"peerDependencies": {
"@koishijs/plugin-console": "^4.4.12",
"koishi": "^4.8.7"
"@koishijs/plugin-console": "^4.6.11",
"koishi": "^4.10.0"
}
},
"node_modules/@koishijs/utils": {
"version": "6.2.4",
"resolved": "https://registry.npmjs.org/@koishijs/utils/-/utils-6.2.4.tgz",
"integrity": "sha512-AfZA1TX8oOQCNFTOmG5cBRPC0YbSUPgbUYkninFg8F2sp98C8VSn1hua1OVjCM5zC9XISWtj5QpKJHPJRIa+BA==",
"version": "6.2.5",
"resolved": "https://registry.npmjs.org/@koishijs/utils/-/utils-6.2.5.tgz",
"integrity": "sha512-ZpiHO6LBRIUm/bWJlGHC2N/f6hl0jgVU2QmUwiL3PfAH4i2xu17TZpU8hoQkrP751Lw37W9GcXoxw22mGaqdXw==",
"peer": true,
"dependencies": {
"cosmokit": "^1.3.3",
......@@ -1430,24 +1430,23 @@
}
},
"node_modules/@minatojs/core": {
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/@minatojs/core/-/core-1.3.2.tgz",
"integrity": "sha512-hEMzHobEqY8yD3M5lLiUjfsvNV4NTLBZJkKNJ4wTi+zhm4LbDmaJpV0LoUtgzl8v0SE79gBYZGXNhkeMg/cX0w==",
"peer": true,
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/@minatojs/core/-/core-2.0.1.tgz",
"integrity": "sha512-li7js0EZGw3PV28VM9B/aBX2QeKwvk32U4Haf4uvq0iBTH7L4JRq4YbOqlO5ZjrExoZS4RHBZtz4wzfW3Ay3jw==",
"dependencies": {
"cosmokit": "^1.3.3"
}
},
"node_modules/@minatojs/driver-memory": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@minatojs/driver-memory/-/driver-memory-1.2.0.tgz",
"integrity": "sha512-k+fK8xFhkmGhp3irpsnW31ZxlItP2qgBGUk09JzBj3zyggImoeytuvGpFsfAEJdzD8a3zndtIRAUGyKeYpZaYA==",
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@minatojs/driver-memory/-/driver-memory-2.0.0.tgz",
"integrity": "sha512-fxM8nYKDwWqhTWncKAxGJ2HG+GH136kYV6DnI83lRUFetcUIJRlzcT4q8dH6ym8IuD3GIKCVXF67RlvyODpygg==",
"dev": true,
"dependencies": {
"cosmokit": "^1.2.1"
"cosmokit": "^1.3.3"
},
"peerDependencies": {
"@minatojs/core": "^1.3.0"
"@minatojs/core": "^2.0.0"
}
},
"node_modules/@nodelib/fs.scandir": {
......@@ -1511,37 +1510,37 @@
}
},
"node_modules/@satorijs/core": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/@satorijs/core/-/core-1.3.1.tgz",
"integrity": "sha512-kwjHQ+PYtY97/RBN2D0B5q4Duf6t5xwbHa8qQFVMQ2K1w+Rq0gbwke4eccsj6l5w0gjo5W5UIJUcnwrDYo4sww==",
"version": "1.4.2",
"resolved": "https://registry.npmjs.org/@satorijs/core/-/core-1.4.2.tgz",
"integrity": "sha512-ae51u7DJuw/E+R+93UvtBIX8AKiXy6gOzKNcyxMCuxlydVr1RWiIffeOXNwYR0Yl6PJVVNguN5zPIGI+lKvLnw==",
"peer": true,
"dependencies": {
"@satorijs/element": "^2.0.0",
"cordis": "^2.5.0",
"cordis-axios": "^2.1.3",
"@satorijs/element": "^2.1.4",
"cordis": "^2.6.0",
"cordis-axios": "^2.1.5",
"cosmokit": "^1.3.3",
"reggol": "^1.3.1",
"reggol": "^1.3.2",
"schemastery": "^3.5.4",
"ws": "^8.8.1"
}
},
"node_modules/@satorijs/element": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@satorijs/element/-/element-2.0.0.tgz",
"integrity": "sha512-Eq0Q3Z9XiSPrV5KdBZgiQK6EWPzfT7Vx0bqNyhwlByY3pSZcGGwnTw8DDIQzd2y+T5flOr36h3bASXSbxweogA==",
"version": "2.1.6",
"resolved": "https://registry.npmjs.org/@satorijs/element/-/element-2.1.6.tgz",
"integrity": "sha512-ROnWE2uLJKG7hTmukqAji3UfNzzMWCAHMKM9UvBi24uKR93rlk9lqcaRIuuPhlQwmbbwrGx3Qf+F0jkiv6LdKw==",
"peer": true,
"dependencies": {
"cosmokit": "^1.3.3"
}
},
"node_modules/@satorijs/satori": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/@satorijs/satori/-/satori-1.3.1.tgz",
"integrity": "sha512-T7elZqVtoQiXo6rLxlNx8KB0Y3b8zJuuSTjiSNjrqhEvd0QCGKxSzs3RSvCfIHqc5kdhXzdH48CEE5hQgYkrFw==",
"version": "1.4.2",
"resolved": "https://registry.npmjs.org/@satorijs/satori/-/satori-1.4.2.tgz",
"integrity": "sha512-6Sb/swPSJz64l8dz4WC+tlSfX07qK7iBDpzMvLf8h0FRYoWmYNJEFn3pXUentG3wqwVMpt/G1ERcftAmolkDWw==",
"peer": true,
"dependencies": {
"@koa/router": "^10.1.1",
"@satorijs/core": "1.3.1",
"@satorijs/core": "1.4.2",
"@types/koa": "*",
"@types/koa__router": "*",
"@types/ws": "^8.5.3",
......@@ -2518,29 +2517,6 @@
"node": ">=10"
}
},
"node_modules/are-we-there-yet/node_modules/readable-stream": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
"devOptional": true,
"dependencies": {
"inherits": "^2.0.3",
"string_decoder": "^1.1.1",
"util-deprecate": "^1.0.1"
},
"engines": {
"node": ">= 6"
}
},
"node_modules/are-we-there-yet/node_modules/string_decoder": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
"devOptional": true,
"dependencies": {
"safe-buffer": "~5.2.0"
}
},
"node_modules/arg": {
"version": "4.1.3",
"resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz",
......@@ -2577,7 +2553,7 @@
"node_modules/asynckit": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=",
"integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==",
"peer": true
},
"node_modules/axios": {
......@@ -2591,20 +2567,6 @@
"proxy-from-env": "^1.1.0"
}
},
"node_modules/axios/node_modules/form-data": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
"integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
"peer": true,
"dependencies": {
"asynckit": "^0.4.0",
"combined-stream": "^1.0.8",
"mime-types": "^2.1.12"
},
"engines": {
"node": ">= 6"
}
},
"node_modules/babel-plugin-istanbul": {
"version": "6.1.1",
"resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz",
......@@ -2751,31 +2713,6 @@
"ieee754": "^1.1.13"
}
},
"node_modules/bl/node_modules/readable-stream": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
"optional": true,
"peer": true,
"dependencies": {
"inherits": "^2.0.3",
"string_decoder": "^1.1.1",
"util-deprecate": "^1.0.1"
},
"engines": {
"node": ">= 6"
}
},
"node_modules/bl/node_modules/string_decoder": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
"optional": true,
"peer": true,
"dependencies": {
"safe-buffer": "~5.2.0"
}
},
"node_modules/brace-expansion": {
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
......@@ -3295,21 +3232,21 @@
"peer": true
},
"node_modules/cordis": {
"version": "2.5.0",
"resolved": "https://registry.npmjs.org/cordis/-/cordis-2.5.0.tgz",
"integrity": "sha512-69/LJyoaXEtimJiiYF4bMSXHlMCZLOYQ3OF1DcNFq1amAD5tODDkz0JEpcisU0YboLhUwXsUXJe/rBHkoAhUcg==",
"version": "2.6.0",
"resolved": "https://registry.npmjs.org/cordis/-/cordis-2.6.0.tgz",
"integrity": "sha512-4VUY2x6ufctBr1zYAML3c+b1eXwgY94nkqLP7/icb3QVGXMBJuH4Nztakf6ADVonN5MvgJ06RRawRvmWdx3LxA==",
"peer": true,
"dependencies": {
"cosmokit": "^1.3.3"
}
},
"node_modules/cordis-axios": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/cordis-axios/-/cordis-axios-2.1.3.tgz",
"integrity": "sha512-W6RCzZ4u+q/2D+BSAYV3aA3dMuz1bi+c9L1RI8g9SLaA5Z2QoaJ5zX1faIrS8y79AWtXm8joIGj+gzPVnvO8ww==",
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/cordis-axios/-/cordis-axios-2.1.5.tgz",
"integrity": "sha512-L5cHolNBlo4MxhfWRETpz1G20jF6J0Hu+5zPxebo0XJthqO0eI6U/2DrbQvXARnyMhuQIIZfoPJLvSNgd0Rjzw==",
"peer": true,
"dependencies": {
"axios": "^1.1.2",
"axios": "~1.1.3",
"cosmokit": "^1.3.3",
"file-type": "^16.5.4",
"mime-db": "^1.52.0",
......@@ -3319,7 +3256,7 @@
"node": ">=12.0.0"
},
"peerDependencies": {
"cordis": "^2.5.0"
"cordis": "^2.6.0"
}
},
"node_modules/cordis-axios/node_modules/mime-db": {
......@@ -3471,7 +3408,7 @@
"node_modules/delayed-stream": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
"integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=",
"integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
"peer": true,
"engines": {
"node": ">=0.4.0"
......@@ -4680,6 +4617,20 @@
}
}
},
"node_modules/form-data": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
"integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
"peer": true,
"dependencies": {
"asynckit": "^0.4.0",
"combined-stream": "^1.0.8",
"mime-types": "^2.1.12"
},
"engines": {
"node": ">= 6"
}
},
"node_modules/fresh": {
"version": "0.5.2",
"resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
......@@ -4776,9 +4727,9 @@
}
},
"node_modules/get-intrinsic": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.2.tgz",
"integrity": "sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA==",
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz",
"integrity": "sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==",
"peer": true,
"dependencies": {
"function-bind": "^1.1.1",
......@@ -6760,14 +6711,14 @@
}
},
"node_modules/koishi": {
"version": "4.9.7",
"resolved": "https://registry.npmjs.org/koishi/-/koishi-4.9.7.tgz",
"integrity": "sha512-InvvfPx5sqRkgOlTWksQu1dWjASCcf92guRGQmm+UIqZh0GBTJi+uFmpAMPA/E+nHOoLDOy/U9DVtpSPipi2+g==",
"version": "4.10.3",
"resolved": "https://registry.npmjs.org/koishi/-/koishi-4.10.3.tgz",
"integrity": "sha512-eLv4A39atVmO8E9HlUyoVtc3kGawSRxyYyuN3ROE6Sz5hvX0jq73O6CsyZaWarksRYjPHvQKqndgrBNDFOs8aQ==",
"peer": true,
"dependencies": {
"@koishijs/core": "^4.9.7",
"@koishijs/utils": "^6.2.4",
"@satorijs/satori": "^1.3.1",
"@koishijs/core": "^4.10.3",
"@koishijs/utils": "^6.2.5",
"@satorijs/satori": "^1.4.2",
"file-type": "^16.5.4",
"ns-require": "^1.1.4"
},
......@@ -6776,16 +6727,16 @@
}
},
"node_modules/koishi-thirdeye": {
"version": "11.1.11",
"resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-11.1.11.tgz",
"integrity": "sha512-c07iTH/udJUN/YI+u3N03c8TBaLB8131OXjqnr1Ip/ysxyQNlyEMTH8GDmXMYsdAeGEKvUSbDxhIOdJLVjvzKA==",
"version": "11.1.13",
"resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-11.1.13.tgz",
"integrity": "sha512-8gT8XyXjT/VqiB9U7hMdWdUVBc3mbKRFTyenwYgZDSTl7VDxgCeF42vq3AGLdTbK9d0rS9lDLbluDhyKv77o9Q==",
"dependencies": {
"minato-decorators": "^2.1.0",
"minato-decorators": "^2.2.1",
"rxjs": "^7.5.6",
"satori-decorators": "^1.1.1"
},
"peerDependencies": {
"koishi": "^4.9.7"
"koishi": "^4.10.3"
}
},
"node_modules/leven": {
......@@ -7051,15 +7002,13 @@
}
},
"node_modules/minato-decorators": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/minato-decorators/-/minato-decorators-2.1.0.tgz",
"integrity": "sha512-s4F4bCxktODrEqLRzU3ljsIipv3ExOV6qCjH+wMiMFXjMBQvy3UaodOWOYf2UZ7GRFiGT0rij9zIrBhWdJVd0A==",
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/minato-decorators/-/minato-decorators-2.2.1.tgz",
"integrity": "sha512-rxeXncznI/aShX2yI4ynP6UDIqtxPm/9R+2keACwxeN0Jzd0yh05ULS7HQZ5YG1VHrd+TJv/bqCrNObaYPe1Qg==",
"dependencies": {
"@minatojs/core": "^2.0.1",
"lodash": "^4.17.21",
"typed-reflector": "^1.0.10"
},
"peerDependencies": {
"@minatojs/core": "^1.3.0"
}
},
"node_modules/minimatch": {
......@@ -7437,31 +7386,6 @@
"node": "^12.13.0 || ^14.15.0 || >=16.0.0"
}
},
"node_modules/node-gyp/node_modules/readable-stream": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
"dev": true,
"optional": true,
"dependencies": {
"inherits": "^2.0.3",
"string_decoder": "^1.1.1",
"util-deprecate": "^1.0.1"
},
"engines": {
"node": ">= 6"
}
},
"node_modules/node-gyp/node_modules/string_decoder": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
"dev": true,
"optional": true,
"dependencies": {
"safe-buffer": "~5.2.0"
}
},
"node_modules/node-int64": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz",
......@@ -7778,14 +7702,14 @@
}
},
"node_modules/pg": {
"version": "8.7.3",
"resolved": "https://registry.npmjs.org/pg/-/pg-8.7.3.tgz",
"integrity": "sha512-HPmH4GH4H3AOprDJOazoIcpI49XFsHCe8xlrjHkWiapdbHK+HLtbm/GQzXYAZwmPju/kzKhjaSfMACG+8cgJcw==",
"version": "8.8.0",
"resolved": "https://registry.npmjs.org/pg/-/pg-8.8.0.tgz",
"integrity": "sha512-UXYN0ziKj+AeNNP7VDMwrehpACThH7LUl/p8TDFpEUuSejCUIwGSfxpHsPvtM6/WXFy6SU4E5RG4IJV/TZAGjw==",
"dependencies": {
"buffer-writer": "2.0.0",
"packet-reader": "1.0.0",
"pg-connection-string": "^2.5.0",
"pg-pool": "^3.5.1",
"pg-pool": "^3.5.2",
"pg-protocol": "^1.5.0",
"pg-types": "^2.1.0",
"pgpass": "1.x"
......@@ -7794,7 +7718,7 @@
"node": ">= 8.0.0"
},
"peerDependencies": {
"pg-native": ">=2.0.0"
"pg-native": ">=3.0.1"
},
"peerDependenciesMeta": {
"pg-native": {
......@@ -7816,9 +7740,9 @@
}
},
"node_modules/pg-pool": {
"version": "3.5.1",
"resolved": "https://registry.npmjs.org/pg-pool/-/pg-pool-3.5.1.tgz",
"integrity": "sha512-6iCR0wVrro6OOHFsyavV+i6KYL4lVNyYAB9RD18w66xSzN+d8b66HiwuP30Gp1SH5O9T82fckkzsRjlrhD0ioQ==",
"version": "3.5.2",
"resolved": "https://registry.npmjs.org/pg-pool/-/pg-pool-3.5.2.tgz",
"integrity": "sha512-His3Fh17Z4eg7oANLob6ZvH8xIVen3phEZh2QuyrIl4dQSDVEabNducv6ysROKpDNPSD+12tONZVWfSgMvDD9w==",
"peerDependencies": {
"pg": ">=8.0"
}
......@@ -8221,27 +8145,10 @@
"integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==",
"dev": true
},
"node_modules/readable-web-to-node-stream": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/readable-web-to-node-stream/-/readable-web-to-node-stream-3.0.2.tgz",
"integrity": "sha512-ePeK6cc1EcKLEhJFt/AebMCLL+GgSKhuygrZ/GLaKZYEecIgIECf4UaUuaByiGtzckwR4ain9VzUh95T1exYGw==",
"peer": true,
"dependencies": {
"readable-stream": "^3.6.0"
},
"engines": {
"node": ">=8"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/Borewit"
}
},
"node_modules/readable-web-to-node-stream/node_modules/readable-stream": {
"node_modules/readable-stream": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
"peer": true,
"dependencies": {
"inherits": "^2.0.3",
"string_decoder": "^1.1.1",
......@@ -8251,13 +8158,20 @@
"node": ">= 6"
}
},
"node_modules/readable-web-to-node-stream/node_modules/string_decoder": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
"node_modules/readable-web-to-node-stream": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/readable-web-to-node-stream/-/readable-web-to-node-stream-3.0.2.tgz",
"integrity": "sha512-ePeK6cc1EcKLEhJFt/AebMCLL+GgSKhuygrZ/GLaKZYEecIgIECf4UaUuaByiGtzckwR4ain9VzUh95T1exYGw==",
"peer": true,
"dependencies": {
"safe-buffer": "~5.2.0"
"readable-stream": "^3.6.0"
},
"engines": {
"node": ">=8"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/Borewit"
}
},
"node_modules/rechoir": {
......@@ -8290,9 +8204,9 @@
}
},
"node_modules/reggol": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/reggol/-/reggol-1.3.1.tgz",
"integrity": "sha512-KeT+Sih6edb0Ec0l7fQhkM2S4WxmQ9fh/1qftybMTyA4cr5+6lpUi3U3VrrgGF30Uppkx1YI/laq+49t/ljY6g==",
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/reggol/-/reggol-1.3.2.tgz",
"integrity": "sha512-vI+nWzdBJlO9OsrDCJ/z5NS4/o1mzHjwrZcn6LoESHn2get7LrbZ0TZB/dEkCtUlah324rxd5E2zciT/98Op1Q==",
"peer": true,
"dependencies": {
"cosmokit": "^1.3.3",
......@@ -8874,6 +8788,14 @@
"node": ">= 0.6"
}
},
"node_modules/string_decoder": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
"dependencies": {
"safe-buffer": "~5.2.0"
}
},
"node_modules/string-length": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz",
......@@ -9078,31 +9000,6 @@
"node": ">=6"
}
},
"node_modules/tar-stream/node_modules/readable-stream": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
"optional": true,
"peer": true,
"dependencies": {
"inherits": "^2.0.3",
"string_decoder": "^1.1.1",
"util-deprecate": "^1.0.1"
},
"engines": {
"node": ">= 6"
}
},
"node_modules/tar-stream/node_modules/string_decoder": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
"optional": true,
"peer": true,
"dependencies": {
"safe-buffer": "~5.2.0"
}
},
"node_modules/tar/node_modules/chownr": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz",
......@@ -9474,9 +9371,9 @@
}
},
"node_modules/typeorm": {
"version": "0.3.7",
"resolved": "https://registry.npmjs.org/typeorm/-/typeorm-0.3.7.tgz",
"integrity": "sha512-MsPJeP6Zuwfe64c++l80+VRqpGEGxf0CkztIEnehQ+CMmQPSHjOnFbFxwBuZ2jiLqZTjLk2ZqQdVF0RmvxNF3Q==",
"version": "0.3.10",
"resolved": "https://registry.npmjs.org/typeorm/-/typeorm-0.3.10.tgz",
"integrity": "sha512-VMKiM84EpJQ+Mz9xDIPqnfplWhyUy1d8ccaKdMY9obifxJOTFnv8GYVyPsGwG8Lk7Nb8MlttHyHWENGAhBA3WA==",
"dependencies": {
"@sqltools/formatter": "^1.2.2",
"app-root-path": "^3.0.0",
......@@ -11062,22 +10959,22 @@
}
},
"@koishijs/core": {
"version": "4.9.7",
"resolved": "https://registry.npmjs.org/@koishijs/core/-/core-4.9.7.tgz",
"integrity": "sha512-jmt6BKvH0az25z/BJs4SNFn9dvx7Ji3TjIRl5AtvagO0bzOQfbn1Tavhtfn3sHVJqQUQIZQcFR3969G4dvchhA==",
"version": "4.10.3",
"resolved": "https://registry.npmjs.org/@koishijs/core/-/core-4.10.3.tgz",
"integrity": "sha512-h/YI1nM1gVeh/fvxIJdQpkG8l/oMdNk3ibUi0Ae6PumnMa+IsjzwbCUFAbn7jSTic/uGULBQ8ALYchba1Q+siw==",
"peer": true,
"requires": {
"@koishijs/utils": "^6.2.4",
"@minatojs/core": "^1.3.2",
"@satorijs/core": "^1.3.1",
"cordis": "^2.5.0",
"@koishijs/utils": "^6.2.5",
"@minatojs/core": "^2.0.1",
"@satorijs/core": "^1.4.2",
"cordis": "^2.6.0",
"cosmokit": "^1.3.3"
}
},
"@koishijs/plugin-console": {
"version": "4.5.4",
"resolved": "https://registry.npmjs.org/@koishijs/plugin-console/-/plugin-console-4.5.4.tgz",
"integrity": "sha512-s6qsQAd5Qch4m7G0FaXZMPsgVOOnjchpCs55ElnU28FB/j7gW9OfhjpBihQ6EkK3Ll3R0IFerXnEC6mC+c5N5w==",
"version": "4.6.11",
"resolved": "https://registry.npmjs.org/@koishijs/plugin-console/-/plugin-console-4.6.11.tgz",
"integrity": "sha512-ch1xMRMWLRrVJ3eiZYpkmoDY8pKYLa4OjL+DFC39es1cJBh/jfb38vY8SDkwybtm4CMqRpjU9m4rrzww204e/Q==",
"dev": true,
"requires": {
"open": "^8.4.0",
......@@ -11086,25 +10983,25 @@
}
},
"@koishijs/plugin-database-memory": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/@koishijs/plugin-database-memory/-/plugin-database-memory-1.5.0.tgz",
"integrity": "sha512-sLqYe1w7WfzVNJSAoDhV9teEJDTpixuiJgOCzuOx5W2yoyIme1TneiMwfMG3oCdUkKW2jWtIRhqKJjnb1XM/BQ==",
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@koishijs/plugin-database-memory/-/plugin-database-memory-2.0.0.tgz",
"integrity": "sha512-KBuSdBHQQ4KgeiC3B0twAW/RX1n5g4ZuUDB7eV9XsON9ojd+zcfOw5v6h+sw9Ff0HvMNoPc+lRquPNx+kuPc/w==",
"dev": true,
"requires": {
"@minatojs/driver-memory": "^1.2.0"
"@minatojs/driver-memory": "^2.0.0"
}
},
"@koishijs/plugin-sandbox": {
"version": "2.2.9",
"resolved": "https://registry.npmjs.org/@koishijs/plugin-sandbox/-/plugin-sandbox-2.2.9.tgz",
"integrity": "sha512-UOU3ZlM3Z5uW/Kd5rAsoxlACvvh8JqhPWl+nzCzu1FFptohU2vhaeHX9Hvp9d7iHppJ2JwHjSGK6Jw55yqQWjA==",
"version": "2.3.5",
"resolved": "https://registry.npmjs.org/@koishijs/plugin-sandbox/-/plugin-sandbox-2.3.5.tgz",
"integrity": "sha512-Rp8TOVvJ236Oncp00AkTZsr5Z7fTUlQXWBNCLGBURvlKJLeqOcMu7UqbbIWdNw3pebMJ8zuyRVGoFz+SoFZIKA==",
"dev": true,
"requires": {}
},
"@koishijs/utils": {
"version": "6.2.4",
"resolved": "https://registry.npmjs.org/@koishijs/utils/-/utils-6.2.4.tgz",
"integrity": "sha512-AfZA1TX8oOQCNFTOmG5cBRPC0YbSUPgbUYkninFg8F2sp98C8VSn1hua1OVjCM5zC9XISWtj5QpKJHPJRIa+BA==",
"version": "6.2.5",
"resolved": "https://registry.npmjs.org/@koishijs/utils/-/utils-6.2.5.tgz",
"integrity": "sha512-ZpiHO6LBRIUm/bWJlGHC2N/f6hl0jgVU2QmUwiL3PfAH4i2xu17TZpU8hoQkrP751Lw37W9GcXoxw22mGaqdXw==",
"peer": true,
"requires": {
"cosmokit": "^1.3.3",
......@@ -11131,21 +11028,20 @@
}
},
"@minatojs/core": {
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/@minatojs/core/-/core-1.3.2.tgz",
"integrity": "sha512-hEMzHobEqY8yD3M5lLiUjfsvNV4NTLBZJkKNJ4wTi+zhm4LbDmaJpV0LoUtgzl8v0SE79gBYZGXNhkeMg/cX0w==",
"peer": true,
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/@minatojs/core/-/core-2.0.1.tgz",
"integrity": "sha512-li7js0EZGw3PV28VM9B/aBX2QeKwvk32U4Haf4uvq0iBTH7L4JRq4YbOqlO5ZjrExoZS4RHBZtz4wzfW3Ay3jw==",
"requires": {
"cosmokit": "^1.3.3"
}
},
"@minatojs/driver-memory": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@minatojs/driver-memory/-/driver-memory-1.2.0.tgz",
"integrity": "sha512-k+fK8xFhkmGhp3irpsnW31ZxlItP2qgBGUk09JzBj3zyggImoeytuvGpFsfAEJdzD8a3zndtIRAUGyKeYpZaYA==",
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@minatojs/driver-memory/-/driver-memory-2.0.0.tgz",
"integrity": "sha512-fxM8nYKDwWqhTWncKAxGJ2HG+GH136kYV6DnI83lRUFetcUIJRlzcT4q8dH6ym8IuD3GIKCVXF67RlvyODpygg==",
"dev": true,
"requires": {
"cosmokit": "^1.2.1"
"cosmokit": "^1.3.3"
}
},
"@nodelib/fs.scandir": {
......@@ -11197,37 +11093,37 @@
}
},
"@satorijs/core": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/@satorijs/core/-/core-1.3.1.tgz",
"integrity": "sha512-kwjHQ+PYtY97/RBN2D0B5q4Duf6t5xwbHa8qQFVMQ2K1w+Rq0gbwke4eccsj6l5w0gjo5W5UIJUcnwrDYo4sww==",
"version": "1.4.2",
"resolved": "https://registry.npmjs.org/@satorijs/core/-/core-1.4.2.tgz",
"integrity": "sha512-ae51u7DJuw/E+R+93UvtBIX8AKiXy6gOzKNcyxMCuxlydVr1RWiIffeOXNwYR0Yl6PJVVNguN5zPIGI+lKvLnw==",
"peer": true,
"requires": {
"@satorijs/element": "^2.0.0",
"cordis": "^2.5.0",
"cordis-axios": "^2.1.3",
"@satorijs/element": "^2.1.4",
"cordis": "^2.6.0",
"cordis-axios": "^2.1.5",
"cosmokit": "^1.3.3",
"reggol": "^1.3.1",
"reggol": "^1.3.2",
"schemastery": "^3.5.4",
"ws": "^8.8.1"
}
},
"@satorijs/element": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@satorijs/element/-/element-2.0.0.tgz",
"integrity": "sha512-Eq0Q3Z9XiSPrV5KdBZgiQK6EWPzfT7Vx0bqNyhwlByY3pSZcGGwnTw8DDIQzd2y+T5flOr36h3bASXSbxweogA==",
"version": "2.1.6",
"resolved": "https://registry.npmjs.org/@satorijs/element/-/element-2.1.6.tgz",
"integrity": "sha512-ROnWE2uLJKG7hTmukqAji3UfNzzMWCAHMKM9UvBi24uKR93rlk9lqcaRIuuPhlQwmbbwrGx3Qf+F0jkiv6LdKw==",
"peer": true,
"requires": {
"cosmokit": "^1.3.3"
}
},
"@satorijs/satori": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/@satorijs/satori/-/satori-1.3.1.tgz",
"integrity": "sha512-T7elZqVtoQiXo6rLxlNx8KB0Y3b8zJuuSTjiSNjrqhEvd0QCGKxSzs3RSvCfIHqc5kdhXzdH48CEE5hQgYkrFw==",
"version": "1.4.2",
"resolved": "https://registry.npmjs.org/@satorijs/satori/-/satori-1.4.2.tgz",
"integrity": "sha512-6Sb/swPSJz64l8dz4WC+tlSfX07qK7iBDpzMvLf8h0FRYoWmYNJEFn3pXUentG3wqwVMpt/G1ERcftAmolkDWw==",
"peer": true,
"requires": {
"@koa/router": "^10.1.1",
"@satorijs/core": "1.3.1",
"@satorijs/core": "1.4.2",
"@types/koa": "*",
"@types/koa__router": "*",
"@types/ws": "^8.5.3",
......@@ -12043,28 +11939,6 @@
"requires": {
"delegates": "^1.0.0",
"readable-stream": "^3.6.0"
},
"dependencies": {
"readable-stream": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
"devOptional": true,
"requires": {
"inherits": "^2.0.3",
"string_decoder": "^1.1.1",
"util-deprecate": "^1.0.1"
}
},
"string_decoder": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
"devOptional": true,
"requires": {
"safe-buffer": "~5.2.0"
}
}
}
},
"arg": {
......@@ -12097,7 +11971,7 @@
"asynckit": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=",
"integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==",
"peer": true
},
"axios": {
......@@ -12109,19 +11983,6 @@
"follow-redirects": "^1.15.0",
"form-data": "^4.0.0",
"proxy-from-env": "^1.1.0"
},
"dependencies": {
"form-data": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
"integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
"peer": true,
"requires": {
"asynckit": "^0.4.0",
"combined-stream": "^1.0.8",
"mime-types": "^2.1.12"
}
}
}
},
"babel-plugin-istanbul": {
......@@ -12230,28 +12091,6 @@
"base64-js": "^1.3.1",
"ieee754": "^1.1.13"
}
},
"readable-stream": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
"optional": true,
"peer": true,
"requires": {
"inherits": "^2.0.3",
"string_decoder": "^1.1.1",
"util-deprecate": "^1.0.1"
}
},
"string_decoder": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
"optional": true,
"peer": true,
"requires": {
"safe-buffer": "~5.2.0"
}
}
}
},
......@@ -12664,21 +12503,21 @@
"peer": true
},
"cordis": {
"version": "2.5.0",
"resolved": "https://registry.npmjs.org/cordis/-/cordis-2.5.0.tgz",
"integrity": "sha512-69/LJyoaXEtimJiiYF4bMSXHlMCZLOYQ3OF1DcNFq1amAD5tODDkz0JEpcisU0YboLhUwXsUXJe/rBHkoAhUcg==",
"version": "2.6.0",
"resolved": "https://registry.npmjs.org/cordis/-/cordis-2.6.0.tgz",
"integrity": "sha512-4VUY2x6ufctBr1zYAML3c+b1eXwgY94nkqLP7/icb3QVGXMBJuH4Nztakf6ADVonN5MvgJ06RRawRvmWdx3LxA==",
"peer": true,
"requires": {
"cosmokit": "^1.3.3"
}
},
"cordis-axios": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/cordis-axios/-/cordis-axios-2.1.3.tgz",
"integrity": "sha512-W6RCzZ4u+q/2D+BSAYV3aA3dMuz1bi+c9L1RI8g9SLaA5Z2QoaJ5zX1faIrS8y79AWtXm8joIGj+gzPVnvO8ww==",
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/cordis-axios/-/cordis-axios-2.1.5.tgz",
"integrity": "sha512-L5cHolNBlo4MxhfWRETpz1G20jF6J0Hu+5zPxebo0XJthqO0eI6U/2DrbQvXARnyMhuQIIZfoPJLvSNgd0Rjzw==",
"peer": true,
"requires": {
"axios": "^1.1.2",
"axios": "~1.1.3",
"cosmokit": "^1.3.3",
"file-type": "^16.5.4",
"mime-db": "^1.52.0",
......@@ -12796,7 +12635,7 @@
"delayed-stream": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
"integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=",
"integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
"peer": true
},
"delegates": {
......@@ -13597,6 +13436,17 @@
"integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==",
"peer": true
},
"form-data": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
"integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
"peer": true,
"requires": {
"asynckit": "^0.4.0",
"combined-stream": "^1.0.8",
"mime-types": "^2.1.12"
}
},
"fresh": {
"version": "0.5.2",
"resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
......@@ -13671,9 +13521,9 @@
"integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg=="
},
"get-intrinsic": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.2.tgz",
"integrity": "sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA==",
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz",
"integrity": "sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==",
"peer": true,
"requires": {
"function-bind": "^1.1.1",
......@@ -15202,24 +15052,24 @@
}
},
"koishi": {
"version": "4.9.7",
"resolved": "https://registry.npmjs.org/koishi/-/koishi-4.9.7.tgz",
"integrity": "sha512-InvvfPx5sqRkgOlTWksQu1dWjASCcf92guRGQmm+UIqZh0GBTJi+uFmpAMPA/E+nHOoLDOy/U9DVtpSPipi2+g==",
"version": "4.10.3",
"resolved": "https://registry.npmjs.org/koishi/-/koishi-4.10.3.tgz",
"integrity": "sha512-eLv4A39atVmO8E9HlUyoVtc3kGawSRxyYyuN3ROE6Sz5hvX0jq73O6CsyZaWarksRYjPHvQKqndgrBNDFOs8aQ==",
"peer": true,
"requires": {
"@koishijs/core": "^4.9.7",
"@koishijs/utils": "^6.2.4",
"@satorijs/satori": "^1.3.1",
"@koishijs/core": "^4.10.3",
"@koishijs/utils": "^6.2.5",
"@satorijs/satori": "^1.4.2",
"file-type": "^16.5.4",
"ns-require": "^1.1.4"
}
},
"koishi-thirdeye": {
"version": "11.1.11",
"resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-11.1.11.tgz",
"integrity": "sha512-c07iTH/udJUN/YI+u3N03c8TBaLB8131OXjqnr1Ip/ysxyQNlyEMTH8GDmXMYsdAeGEKvUSbDxhIOdJLVjvzKA==",
"version": "11.1.13",
"resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-11.1.13.tgz",
"integrity": "sha512-8gT8XyXjT/VqiB9U7hMdWdUVBc3mbKRFTyenwYgZDSTl7VDxgCeF42vq3AGLdTbK9d0rS9lDLbluDhyKv77o9Q==",
"requires": {
"minato-decorators": "^2.1.0",
"minato-decorators": "^2.2.1",
"rxjs": "^7.5.6",
"satori-decorators": "^1.1.1"
}
......@@ -15434,10 +15284,11 @@
"peer": true
},
"minato-decorators": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/minato-decorators/-/minato-decorators-2.1.0.tgz",
"integrity": "sha512-s4F4bCxktODrEqLRzU3ljsIipv3ExOV6qCjH+wMiMFXjMBQvy3UaodOWOYf2UZ7GRFiGT0rij9zIrBhWdJVd0A==",
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/minato-decorators/-/minato-decorators-2.2.1.tgz",
"integrity": "sha512-rxeXncznI/aShX2yI4ynP6UDIqtxPm/9R+2keACwxeN0Jzd0yh05ULS7HQZ5YG1VHrd+TJv/bqCrNObaYPe1Qg==",
"requires": {
"@minatojs/core": "^2.0.1",
"lodash": "^4.17.21",
"typed-reflector": "^1.0.10"
}
......@@ -15754,28 +15605,6 @@
"gauge": "^4.0.3",
"set-blocking": "^2.0.0"
}
},
"readable-stream": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
"dev": true,
"optional": true,
"requires": {
"inherits": "^2.0.3",
"string_decoder": "^1.1.1",
"util-deprecate": "^1.0.1"
}
},
"string_decoder": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
"dev": true,
"optional": true,
"requires": {
"safe-buffer": "~5.2.0"
}
}
}
},
......@@ -16015,14 +15844,14 @@
"peer": true
},
"pg": {
"version": "8.7.3",
"resolved": "https://registry.npmjs.org/pg/-/pg-8.7.3.tgz",
"integrity": "sha512-HPmH4GH4H3AOprDJOazoIcpI49XFsHCe8xlrjHkWiapdbHK+HLtbm/GQzXYAZwmPju/kzKhjaSfMACG+8cgJcw==",
"version": "8.8.0",
"resolved": "https://registry.npmjs.org/pg/-/pg-8.8.0.tgz",
"integrity": "sha512-UXYN0ziKj+AeNNP7VDMwrehpACThH7LUl/p8TDFpEUuSejCUIwGSfxpHsPvtM6/WXFy6SU4E5RG4IJV/TZAGjw==",
"requires": {
"buffer-writer": "2.0.0",
"packet-reader": "1.0.0",
"pg-connection-string": "^2.5.0",
"pg-pool": "^3.5.1",
"pg-pool": "^3.5.2",
"pg-protocol": "^1.5.0",
"pg-types": "^2.1.0",
"pgpass": "1.x"
......@@ -16039,9 +15868,9 @@
"integrity": "sha512-WCtabS6t3c8SkpDBUlb1kjOs7l66xsGdKpIPZsg4wR+B3+u9UAum2odSsF9tnvxg80h4ZxLWMy4pRjOsFIqQpw=="
},
"pg-pool": {
"version": "3.5.1",
"resolved": "https://registry.npmjs.org/pg-pool/-/pg-pool-3.5.1.tgz",
"integrity": "sha512-6iCR0wVrro6OOHFsyavV+i6KYL4lVNyYAB9RD18w66xSzN+d8b66HiwuP30Gp1SH5O9T82fckkzsRjlrhD0ioQ==",
"version": "3.5.2",
"resolved": "https://registry.npmjs.org/pg-pool/-/pg-pool-3.5.2.tgz",
"integrity": "sha512-His3Fh17Z4eg7oANLob6ZvH8xIVen3phEZh2QuyrIl4dQSDVEabNducv6ysROKpDNPSD+12tONZVWfSgMvDD9w==",
"requires": {}
},
"pg-protocol": {
......@@ -16337,6 +16166,16 @@
"integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==",
"dev": true
},
"readable-stream": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
"requires": {
"inherits": "^2.0.3",
"string_decoder": "^1.1.1",
"util-deprecate": "^1.0.1"
}
},
"readable-web-to-node-stream": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/readable-web-to-node-stream/-/readable-web-to-node-stream-3.0.2.tgz",
......@@ -16344,28 +16183,6 @@
"peer": true,
"requires": {
"readable-stream": "^3.6.0"
},
"dependencies": {
"readable-stream": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
"peer": true,
"requires": {
"inherits": "^2.0.3",
"string_decoder": "^1.1.1",
"util-deprecate": "^1.0.1"
}
},
"string_decoder": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
"peer": true,
"requires": {
"safe-buffer": "~5.2.0"
}
}
}
},
"rechoir": {
......@@ -16389,9 +16206,9 @@
"dev": true
},
"reggol": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/reggol/-/reggol-1.3.1.tgz",
"integrity": "sha512-KeT+Sih6edb0Ec0l7fQhkM2S4WxmQ9fh/1qftybMTyA4cr5+6lpUi3U3VrrgGF30Uppkx1YI/laq+49t/ljY6g==",
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/reggol/-/reggol-1.3.2.tgz",
"integrity": "sha512-vI+nWzdBJlO9OsrDCJ/z5NS4/o1mzHjwrZcn6LoESHn2get7LrbZ0TZB/dEkCtUlah324rxd5E2zciT/98Op1Q==",
"peer": true,
"requires": {
"cosmokit": "^1.3.3",
......@@ -16799,6 +16616,14 @@
"integrity": "sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==",
"peer": true
},
"string_decoder": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
"requires": {
"safe-buffer": "~5.2.0"
}
},
"string-length": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz",
......@@ -16961,30 +16786,6 @@
"fs-constants": "^1.0.0",
"inherits": "^2.0.3",
"readable-stream": "^3.1.1"
},
"dependencies": {
"readable-stream": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
"optional": true,
"peer": true,
"requires": {
"inherits": "^2.0.3",
"string_decoder": "^1.1.1",
"util-deprecate": "^1.0.1"
}
},
"string_decoder": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
"optional": true,
"peer": true,
"requires": {
"safe-buffer": "~5.2.0"
}
}
}
},
"terser": {
......@@ -17207,9 +17008,9 @@
}
},
"typeorm": {
"version": "0.3.7",
"resolved": "https://registry.npmjs.org/typeorm/-/typeorm-0.3.7.tgz",
"integrity": "sha512-MsPJeP6Zuwfe64c++l80+VRqpGEGxf0CkztIEnehQ+CMmQPSHjOnFbFxwBuZ2jiLqZTjLk2ZqQdVF0RmvxNF3Q==",
"version": "0.3.10",
"resolved": "https://registry.npmjs.org/typeorm/-/typeorm-0.3.10.tgz",
"integrity": "sha512-VMKiM84EpJQ+Mz9xDIPqnfplWhyUy1d8ccaKdMY9obifxJOTFnv8GYVyPsGwG8Lk7Nb8MlttHyHWENGAhBA3WA==",
"requires": {
"@sqltools/formatter": "^1.2.2",
"app-root-path": "^3.0.0",
......
......@@ -32,15 +32,15 @@
},
"homepage": "https://code.mycard.moe/3rdeye/koishi-plugin-typeorm",
"dependencies": {
"koishi-thirdeye": "^11.1.11",
"koishi-thirdeye": "^11.1.13",
"mysql": "^2.18.1",
"pg": "^8.7.3",
"typeorm": "^0.3.7"
"pg": "^8.8.0",
"typeorm": "^0.3.10"
},
"devDependencies": {
"@koishijs/plugin-console": "^4.5.4",
"@koishijs/plugin-database-memory": "^1.5.0",
"@koishijs/plugin-sandbox": "^2.2.9",
"@koishijs/plugin-database-memory": "^2.0.0",
"@koishijs/plugin-sandbox": "^2.3.5",
"@types/jest": "^29.2.0",
"@types/node": "^17.0.16",
"@typescript-eslint/eslint-plugin": "^4.33.0",
......@@ -79,6 +79,6 @@
"testEnvironment": "node"
},
"peerDependencies": {
"koishi": "^4.9.7"
"koishi": "^4.10.3"
}
}
import { Context, Fork } from 'koishi';
import { Context, ForkScope } from 'koishi';
import TypeORMPlugin from '../src';
import {
Column,
......@@ -44,7 +44,7 @@ class Magic {
describe('Koishi typeorm', () => {
let app: Context;
let pluginInstance: Fork;
let pluginInstance: ForkScope;
beforeEach(async () => {
app = new Context();
......@@ -102,7 +102,7 @@ describe('Koishi typeorm', () => {
});
it('should auto dispose when plugin gone', async () => {
let instance: Fork;
let instance: ForkScope;
await new Promise<void>((resolve) => {
instance = app.plugin(async (ctx) => {
await ctx.typeorm.create('bar', [User, Book]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment