测试版

This commit is contained in:
COOL 2025-01-22 20:41:32 +08:00
parent df24c6295d
commit 9c6894f1d0
10 changed files with 151 additions and 1482 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@cool-midway/core",
"version": "8.0.0",
"version": "8.0.0-beta.1",
"description": "cool-admin midway core",
"main": "dist/index.js",
"typings": "index.d.ts",
@ -32,7 +32,6 @@
"url": "https://cool-js.com"
},
"devDependencies": {
"@midwayjs/cli": "2.1.1",
"@midwayjs/core": "^3.20.0",
"@midwayjs/koa": "^3.20.0",
"@midwayjs/logger": "^3.4.2",
@ -52,10 +51,9 @@
},
"dependencies": {
"@cool-midway/cache-manager-fs-hash": "^7.0.0",
"@midwayjs/cache": "^3.14.0",
"@midwayjs/cache-manager": "^3.20.0",
"axios": "^1.7.9",
"commander": "^13.0.0",
"commander": "^13.1.0",
"download": "^8.0.0",
"glob": "^11.0.1",
"javascript-obfuscator": "^4.1.1",

521
core/pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -10,9 +10,9 @@ class FsCacheStore {
constructor(options = {}) {
options = {
...options,
path: 'cache',
ttl: -1,
...options,
};
this.options = options;
this.store = FsStore.create(options);

View File

@ -21,12 +21,11 @@ import { CoolEventManager } from './event';
import { CoolEps } from './rest/eps';
import { CoolDecorator } from './decorator';
import * as cache from '@midwayjs/cache-manager';
import * as _cache from '@midwayjs/cache';
import { LocationUtil } from './util/location';
@Configuration({
namespace: 'cool',
imports: [_cache, cache],
imports: [cache],
importConfigs: [
{
default: DefaultConfig,

View File

@ -6,7 +6,7 @@ import { CoolValidateException } from '../exception/validate';
import { ERRINFO } from '../constant/global';
import { Application, Context } from '@midwayjs/koa';
import { TypeORMDataSourceManager } from '@midwayjs/typeorm';
import { Repository, SelectQueryBuilder } from 'typeorm';
import { Repository } from 'typeorm';
import { QueryOp } from '../decorator/controller';
import * as _ from 'lodash';
import { CoolEventManager } from '../event';
@ -138,11 +138,7 @@ export abstract class BaseService {
* @param autoSort
* @param connectionName
*/
async entityRenderPage(
find: SelectQueryBuilder<any>,
query,
autoSort = true
) {
async entityRenderPage(find: any, query, autoSort = true) {
return await this.service.entityRenderPage(find, query, autoSort);
}

View File

@ -1,6 +1,6 @@
{
"name": "@cool-midway/rpc",
"version": "8.0.0",
"version": "8.0.0-beta.2",
"description": "cool-admin midway rpc",
"main": "dist/index.js",
"typings": "index.d.ts",
@ -29,8 +29,7 @@
"url": "https://cool-js.com"
},
"devDependencies": {
"@cool-midway/core": "file:/Users/ap/Documents/src/admin/midway-packages/core",
"@midwayjs/cli": "^2.1.1",
"@cool-midway/core": "8.0.0-beta.1",
"@midwayjs/core": "^3.20.0",
"@midwayjs/koa": "^3.20.0",
"@midwayjs/logger": "^3.4.2",

416
rpc/pnpm-lock.yaml generated
View File

@ -16,11 +16,8 @@ importers:
version: 0.14.35(debug@4.4.0)(ioredis@5.4.2)
devDependencies:
'@cool-midway/core':
specifier: file:/Users/ap/Documents/src/admin/midway-packages/core
version: file:../core(debug@4.4.0)
'@midwayjs/cli':
specifier: ^2.1.1
version: 2.1.1(@midwayjs/mock@3.20.0)(@types/node@22.10.7)(typescript@5.7.3)
specifier: 8.0.0-beta.1
version: 8.0.0-beta.1(debug@4.4.0)
'@midwayjs/core':
specifier: ^3.20.0
version: 3.20.0
@ -261,8 +258,8 @@ packages:
resolution: {integrity: sha512-Bl43bVCUm0V+w1wkfOicRfiHHZtaH1mQCp06baNapG86uC7OiXwMrml5+cvZD+mYSHdP07qUxtqkL8oUhrgAfg==}
engines: {node: '>=8.0.0'}
'@cool-midway/core@file:../core':
resolution: {directory: ../core, type: directory}
'@cool-midway/core@8.0.0-beta.1':
resolution: {integrity: sha512-3pNmtB2f3MrkBPCJlFiizWui1FqGxti8VBaBtOWJhg66tZeNdsSQsnG4/o1R2WfLHjlMkSMsCL0Jrl7HC7/Aig==}
hasBin: true
'@cspotcode/source-map-support@0.8.1':
@ -421,41 +418,6 @@ packages:
resolution: {integrity: sha512-dbEidbEMwbgCGYjbQt+EyFhqRXgOfkj80JrbCSPki33EhAxCcNjg8popJCe25iVKMU4JlKQrLm7mcJyk3R4z2g==}
engines: {node: '>=12'}
'@midwayjs/cache@3.14.0':
resolution: {integrity: sha512-WUDOanpD+vpNnWZ4q91FvlHpNCRSNHKtgVlTZNVmL9VhNt/weqB8VZhDGbGzzg6NM2k9rfwD3TevoolAee4fZw==}
engines: {node: '>=12'}
'@midwayjs/cli-plugin-build@2.1.0':
resolution: {integrity: sha512-yV1KyqPaOI/vJ3zpHZQ5wf4DZqhGp46tpqS8EFa3lPCkE+QLI3w4+NlE4WSUH2ZNOJHiXi34sL36pRFViWiazw==}
engines: {node: '>= 10'}
'@midwayjs/cli-plugin-check@2.1.0':
resolution: {integrity: sha512-FjKpy8dKzBcuNX+2OHbzVuzeu8MMfWaoXtS586stCArm7jwK7JC55H8hag9a+Tlsf0K9QbXw9hRz7D9CH+UTpg==}
engines: {node: '>= 10'}
'@midwayjs/cli-plugin-clean@2.1.0':
resolution: {integrity: sha512-qm/9IlrFdGj/bX1xOkEWMithFzV4YO7VJo0Hz/OzJBmS0Vh+S7kRfeah+xoeioGRcD+jDkHn09jOedpzm4k3GQ==}
engines: {node: '>= 10'}
'@midwayjs/cli-plugin-dev@2.1.1':
resolution: {integrity: sha512-Ku0oFEyKQggrz/IZo6RKTtHvNF8PMWxQ2Pbj4fDx/XWoiZ0OSPcDl6lwUWToqmKy+1i0JXcpauM8AYImWGW2Lw==}
engines: {node: '>= 10'}
peerDependencies:
'@midwayjs/mock': '*'
'@midwayjs/cli-plugin-test@2.1.0':
resolution: {integrity: sha512-lYYLV0HqInB9NgZvDyVrrBnPoQfsVzzJTytRjCKGS8KsUQNYE8j/q4RsK3sBY5aj/0bKL2B6YBImYwoBy7jvPw==}
engines: {node: '>= 10'}
'@midwayjs/cli@2.1.1':
resolution: {integrity: sha512-PgP2s6XsMEtdt6fVvqwzsurioWpxSMfni2GcU9RdyBEqjpXoqpGp4WlfqDUCR2NaEwfC3Mhh1n/W3BiVb8b6bQ==}
engines: {node: '>= 10.0.0'}
hasBin: true
'@midwayjs/command-core@2.1.0':
resolution: {integrity: sha512-N9GxcfDt65FzsmM3aQV3R50tEobqGkfKKrJl6COTrrzHBw1KPQtKQDNICoBAylgvdqofoTW6f/7npMrTXCpMhg==}
engines: {node: '>= 10'}
'@midwayjs/cookies@1.2.0':
resolution: {integrity: sha512-gdfAXk3+uL+9qcNo9lNnUFJCUGXXxCitBjyz9QJR08dcZ11mqTbxVNXhea525e3ZwKREy6f4PHAWofFwlPOZzQ==}
engines: {node: '>=10'}
@ -464,10 +426,6 @@ packages:
resolution: {integrity: sha512-Y7FrdaWgIUdyl0kVub+YhAIimgZugOPYw3ud/aUcB813ZN17IbGnmSFFyssO5xcoH8c8D0PRWVrT0jUdWUdS9A==}
engines: {node: '>=12'}
'@midwayjs/debugger@1.0.9':
resolution: {integrity: sha512-weDe6otEd75wxndIYRt5eKkhrI/e14leVn1ctwE1nXrxt0EVGda/ZTfMDB3TkF3ogwYJYoDQxUBiA9TUY5qgQQ==}
engines: {node: '>=10.3.0'}
'@midwayjs/glob@1.1.1':
resolution: {integrity: sha512-xoNU+JdCxE214KQrB0qgs88+Da7KYVICeuTL9VeKwaxZXj6a/PbpmEaH4+5BHLvZRRe78tHGR19+nKZrmMHBJg==}
@ -475,18 +433,10 @@ packages:
resolution: {integrity: sha512-1G24TqwfxQxRculIyVNZDocoFSREL7BOK9d9B2ufGduPIVRJ4g7LL1ggRDuSWKyjysX7SzeIhVqEjN8zHqfLMA==}
engines: {node: '>=12'}
'@midwayjs/locate@1.8.1':
resolution: {integrity: sha512-ZlYKENlBOtN6ODZk9+iHdJcrV+IYk+CZXqyQMT6VzTmBoE/z/HnAxKq39uJsn+dzDTR+c18/qdYVRZ0feKSHMw==}
'@midwayjs/logger@3.4.2':
resolution: {integrity: sha512-BxSdSMog4jxeqpHwgauuKZT6iAiu/Vr1HDjO9l81iqU+l8c9veAJVeLT08nTqKdjUiQXnxTaW6nYlvnzF2HdMA==}
engines: {node: '>=10'}
'@midwayjs/luckyeye@1.1.0':
resolution: {integrity: sha512-B/bBKJjyFT22a0K0K9R+b03tijGL7A8LQshfTha6KanqlYhpuEKA9N1IdR0+2yS4pQtVYJrddjcZ8ZR49ihQ6A==}
engines: {node: '>= 10.0.0'}
hasBin: true
'@midwayjs/mock@3.20.0':
resolution: {integrity: sha512-ZZASgdhHWkqyXuuNxMozKhCTDY6/wCCiogHL+Y/YGW50VdMfs2DXMzCH7Y3eihDF8IcZa7V0z48S9dA/aOB2Eg==}
engines: {node: '>=12'}
@ -495,10 +445,6 @@ packages:
resolution: {integrity: sha512-qzK74Ethi3VfBqw71v8RixVXdJDzkAsb7MakYr6e8C0wx42+fCktk6UaPl374u/Z8rHGWmiS4PLQQWMDg7CExQ==}
engines: {node: '>=12'}
'@midwayjs/serverless-spec-builder@2.1.0':
resolution: {integrity: sha512-OGf2zQ+RxctguVNpSXJAGAM9qeP97vD9S0Cc8hwiMomTYjNWW5WvRKtCyb8KWBnP2hEkWPuhPJ4WQo8wEg0AgQ==}
engines: {node: '>= 10'}
'@midwayjs/session@3.20.0':
resolution: {integrity: sha512-W5y6Q6JYx7y6gqfztOKjF/CxBtd298R2/sd/DpH0U+JwJECnG6+T528jbP2s6TPYUOjx12nVvRMHQ9w+VtM3qw==}
engines: {node: '>=12'}
@ -508,9 +454,6 @@ packages:
engines: {node: '>=12'}
hasBin: true
'@midwayjs/version@3.20.0':
resolution: {integrity: sha512-Z7kVoUIHoSdrLc1IuJfINDKaVciRRPCZWMwA7UmKcRpC9gOH/F3J9v9EQfYtIEqaIyOKei/EU5yl3OLfjjPnpA==}
'@nodelib/fs.scandir@2.1.5':
resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
engines: {node: '>= 8'}
@ -616,9 +559,6 @@ packages:
'@types/express@5.0.0':
resolution: {integrity: sha512-DvZriSMehGHL1ZNLzi6MidnsDhUZM/x2pRdDIKdwbUNqqwHxMlRdkxtn6/EPKyqKpHqTl/4nRZsRNLpZxZRpPQ==}
'@types/glob@7.2.0':
resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==}
'@types/graceful-fs@4.1.9':
resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==}
@ -643,9 +583,6 @@ packages:
'@types/json-schema@7.0.15':
resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==}
'@types/json5@0.0.29':
resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==}
'@types/keygrip@1.0.6':
resolution: {integrity: sha512-lZuNAY9xeJt7Bx4t4dx0rYCDqGPW8RXhQZK1td7d4H6E9zYbLoOtjBvfwdTKpsyxQI/2jv+armjX/RW+ZNpXOQ==}
@ -664,9 +601,6 @@ packages:
'@types/minimatch@3.0.5':
resolution: {integrity: sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==}
'@types/minimatch@5.1.2':
resolution: {integrity: sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==}
'@types/minimist@1.2.5':
resolution: {integrity: sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==}
@ -770,10 +704,6 @@ packages:
resolution: {integrity: sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
'@vercel/ncc@0.30.0':
resolution: {integrity: sha512-16ePj2GkwjomvE0HLL5ny+d+sudOwvZNYW8vjpMh3cyWdFxoMI8KSQiolVxeHBULbU1C5mVxLK5nL9NtnnpIew==}
hasBin: true
accepts@1.3.8:
resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==}
engines: {node: '>= 0.6'}
@ -802,10 +732,6 @@ packages:
engines: {node: '>=0.4.0'}
hasBin: true
address@1.2.2:
resolution: {integrity: sha512-4B/qKCfeE/ODUaAUpSwfzazo5x29WD4r3vXiWsB7I2mSDAihwEqKO+g8GELZUQSSAo5e1XTYh3ZVfLyxBc12nA==}
engines: {node: '>= 10.0.0'}
agent-base@7.1.3:
resolution: {integrity: sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==}
engines: {node: '>= 14'}
@ -918,9 +844,6 @@ packages:
async@2.6.4:
resolution: {integrity: sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==}
async@3.2.3:
resolution: {integrity: sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==}
async@3.2.6:
resolution: {integrity: sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==}
@ -1042,9 +965,6 @@ packages:
resolution: {integrity: sha512-IKufZ1o4Ut42YUrZSo8+qnMTrFuKkvyoLXUywKz9GJ5BrhOFGhLdkx9sG4KAnVvbY6kEcSFjLQul+DVmBm2bgA==}
engines: {node: '>= 6.0.0'}
cache-manager@3.6.3:
resolution: {integrity: sha512-dS4DnV6c6cQcVH5OxzIU1XZaACXwvVIiUPkFytnRmLOACuBGv3GQgRQ1RJGRRw4/9DF14ZK2RFlZu1TUgDniMg==}
cacheable-request@2.1.4:
resolution: {integrity: sha512-vag0O2LKZ/najSoUwDbVlnlCFvhBE/7mGTY2B5FgCBDcRD+oVV1HYTOwM6JZfMg/hIcM6IwnTZ1uQQL5/X3xIQ==}
@ -1213,8 +1133,8 @@ packages:
resolution: {integrity: sha512-zS5PnTI22FIRM6ylNW8G4Ap0IEOyk62fhLSD0+uHRT9McRCLGpkVNvao4bjimpK/GShynyQkFFxHhwMcETmduA==}
engines: {node: '>=14'}
commander@13.0.0:
resolution: {integrity: sha512-oPYleIY8wmTVzkvQq10AEok6YcTC4sRUBl8F9gVuwchGVUCTbl/vhLTaQqutuuySYOsu8YTgV+OxKc/8Yvx+mQ==}
commander@13.1.0:
resolution: {integrity: sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==}
engines: {node: '>=18'}
commander@2.15.1:
@ -1430,11 +1350,6 @@ packages:
resolution: {integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==}
engines: {node: '>=8'}
detect-port@1.6.1:
resolution: {integrity: sha512-CmnVc+Hek2egPx1PeTFVta2W78xy2K/9Rkf6cC4T59S50tVnzKj+tnx5mmx5lwvCkujZ4uRrpRSuV+IVs3f90Q==}
engines: {node: '>= 4.0.0'}
hasBin: true
dezalgo@1.0.4:
resolution: {integrity: sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==}
@ -1772,9 +1687,6 @@ packages:
resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==}
engines: {node: '>=8'}
find-root@1.1.0:
resolution: {integrity: sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==}
find-up@4.1.0:
resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==}
engines: {node: '>=8'}
@ -1819,10 +1731,6 @@ packages:
fs-constants@1.0.0:
resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==}
fs-extra@8.1.0:
resolution: {integrity: sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==}
engines: {node: '>=6 <7 || >=8'}
fs.realpath@1.0.0:
resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}
@ -1921,10 +1829,6 @@ packages:
resolution: {integrity: sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==}
engines: {node: '>=8'}
globby@10.0.2:
resolution: {integrity: sha512-7dUi7RvCoT/xast/o/dLN53oqND4yk0nsHkhRgn9w65C4PofCLOoJ39iSOg+qVDdWQPIEj+eszMHQ+aLVwwQSg==}
engines: {node: '>=8'}
globby@11.1.0:
resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==}
engines: {node: '>=10'}
@ -2441,18 +2345,11 @@ packages:
json-stringify-safe@5.0.1:
resolution: {integrity: sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==}
json5@1.0.2:
resolution: {integrity: sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==}
hasBin: true
json5@2.2.3:
resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==}
engines: {node: '>=6'}
hasBin: true
jsonfile@4.0.0:
resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==}
jsonwebtoken@9.0.2:
resolution: {integrity: sha512-PRp66vJ865SSqOlgqS8hujT5U4AOgMfhrwYIuIhfKaoSCZcirrmASQr8CX7cUg+RMih+hgznrjp99o+W4pJLHQ==}
engines: {node: '>=12', npm: '>=6'}
@ -2530,9 +2427,6 @@ packages:
libphonenumber-js@1.11.18:
resolution: {integrity: sha512-okMm/MCoFrm1vByeVFLBdkFIXLSHy/AIK2AEGgY3eoicfWZeOZqv3GfhtQgICkzs/tqorAMm3a4GBg5qNCrqzg==}
light-spinner@1.0.4:
resolution: {integrity: sha512-2ugkvDHNKM0uGNCXDEMXjl8xm4TPDLYCQYFD2Oqd3J6ZL8bIQsjzB++yYgvWU4MX3zd3HYAT/crZtnSFrYIpvA==}
lines-and-columns@1.2.4:
resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==}
@ -2675,10 +2569,6 @@ packages:
resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==}
engines: {node: '>=8.6'}
midway-version@1.4.0:
resolution: {integrity: sha512-2Z8RFK3VeKVWsyz8vs8hrQr27UYjxKLFpqTiQqWrnDtHrcd8OJoR3x6FxtJHGdNepX4ByVvx5Qx6bEqifQUK4A==}
hasBin: true
mime-db@1.52.0:
resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==}
engines: {node: '>= 0.6'}
@ -2738,10 +2628,6 @@ packages:
resolution: {integrity: sha512-umcy022ILvb5/3Djuu8LWeqUa8D68JaBzlttKeMWen48SjabqS3iY5w/vzeMzMUNhLDifyhbOwKDSznB1vvrwg==}
engines: {node: '>= 18'}
mkdirp@0.5.6:
resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==}
hasBin: true
mkdirp@1.0.4:
resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==}
engines: {node: '>=10'}
@ -2757,9 +2643,6 @@ packages:
engines: {node: '>=10'}
hasBin: true
mod-info@1.0.2:
resolution: {integrity: sha512-Z5FvCUYLg0OvZSg36Ltx0PjY3/LvSb+woTzDa1vSYcJ41ViaGC1nQnvnFLuziQgFvXCeH01X8eUFOsSt7/Q3Cg==}
module-details-from-path@1.0.3:
resolution: {integrity: sha512-ySViT69/76t8VhE1xXHK6Ch4NcDd26gx0MzKXLO+F7NOtnqH68d9zF94nT8ZWSxXh8ELOERsnJO/sWt1xZYw5A==}
@ -3252,9 +3135,6 @@ packages:
queue-microtask@1.2.3:
resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}
queue@6.0.2:
resolution: {integrity: sha512-iHZWu+q3IdFZFX36ro/lKBkSvfkztY5Y7HMiPlOUjhupPcG2JMfst2KKEpu5XndviX/3UhFbRngUPNKtgvtZiA==}
quick-lru@4.0.1:
resolution: {integrity: sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==}
engines: {node: '>=8'}
@ -3605,10 +3485,6 @@ packages:
resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==}
engines: {node: '>=12'}
strip-bom@3.0.0:
resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==}
engines: {node: '>=4'}
strip-bom@4.0.0:
resolution: {integrity: sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==}
engines: {node: '>=8'}
@ -3775,9 +3651,6 @@ packages:
resolution: {integrity: sha512-Ibv4KAWfFkFdKJxnWfVtdOmB0Zi1RJVxcbPGiCDsFpCQSsmpWyuzHG3rQyI5YkobWwxFPEyQfu1hdo4qLG2zPw==}
hasBin: true
tsconfig-paths@3.15.0:
resolution: {integrity: sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==}
tslib@1.14.1:
resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==}
@ -3907,11 +3780,6 @@ packages:
typeorm-aurora-data-api-driver:
optional: true
typescript@4.9.5:
resolution: {integrity: sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==}
engines: {node: '>=4.2.0'}
hasBin: true
typescript@5.7.3:
resolution: {integrity: sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==}
engines: {node: '>=14.17'}
@ -3927,10 +3795,6 @@ packages:
resolution: {integrity: sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==}
engines: {node: '>=8'}
universalify@0.1.2:
resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==}
engines: {node: '>= 4.0.0'}
unpipe@1.0.0:
resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==}
engines: {node: '>= 0.8'}
@ -4328,13 +4192,12 @@ snapshots:
dependencies:
lockfile: 1.0.4
'@cool-midway/core@file:../core(debug@4.4.0)':
'@cool-midway/core@8.0.0-beta.1(debug@4.4.0)':
dependencies:
'@cool-midway/cache-manager-fs-hash': 7.0.0
'@midwayjs/cache': 3.14.0
'@midwayjs/cache-manager': 3.20.0
axios: 1.7.9(debug@4.4.0)
commander: 13.0.0
commander: 13.1.0
download: 8.0.0
glob: 11.0.1
javascript-obfuscator: 4.1.1
@ -4355,6 +4218,7 @@ snapshots:
'@cspotcode/source-map-support@0.8.1':
dependencies:
'@jridgewell/trace-mapping': 0.3.9
optional: true
'@eslint-community/eslint-utils@4.4.1(eslint@7.32.0)':
dependencies:
@ -4608,6 +4472,7 @@ snapshots:
dependencies:
'@jridgewell/resolve-uri': 3.1.2
'@jridgewell/sourcemap-codec': 1.5.0
optional: true
'@koa/router@12.0.2':
dependencies:
@ -4626,100 +4491,6 @@ snapshots:
lodash.clonedeep: 4.5.0
lru-cache: 7.18.3
'@midwayjs/cache@3.14.0':
dependencies:
cache-manager: 3.6.3
'@midwayjs/cli-plugin-build@2.1.0':
dependencies:
'@midwayjs/command-core': 2.1.0
'@vercel/ncc': 0.30.0
fs-extra: 8.1.0
globby: 10.0.2
'@midwayjs/cli-plugin-check@2.1.0':
dependencies:
'@midwayjs/command-core': 2.1.0
'@midwayjs/locate': 1.8.1
'@midwayjs/luckyeye': 1.1.0
chalk: 4.1.2
fs-extra: 8.1.0
globby: 10.0.2
js-yaml: 4.1.0
midway-version: 1.4.0
'@midwayjs/cli-plugin-clean@2.1.0':
dependencies:
'@midwayjs/command-core': 2.1.0
'@midwayjs/serverless-spec-builder': 2.1.0
fs-extra: 8.1.0
'@midwayjs/cli-plugin-dev@2.1.1(@midwayjs/mock@3.20.0)':
dependencies:
'@midwayjs/command-core': 2.1.0
'@midwayjs/debugger': 1.0.9
'@midwayjs/mock': 3.20.0
chalk: 4.1.2
chokidar: 3.6.0
detect-port: 1.6.1
fs-extra: 8.1.0
json5: 2.2.3
koa: 2.15.3
light-spinner: 1.0.4
md5: 2.3.0
node-fetch: 2.7.0
tsconfig-paths: 3.15.0
typescript: 4.9.5
ws: 7.5.10
transitivePeerDependencies:
- bufferutil
- encoding
- supports-color
- utf-8-validate
'@midwayjs/cli-plugin-test@2.1.0(@types/node@22.10.7)':
dependencies:
'@midwayjs/command-core': 2.1.0
globby: 10.0.2
ts-node: 10.9.2(@types/node@22.10.7)(typescript@4.9.5)
typescript: 4.9.5
transitivePeerDependencies:
- '@swc/core'
- '@swc/wasm'
- '@types/node'
'@midwayjs/cli@2.1.1(@midwayjs/mock@3.20.0)(@types/node@22.10.7)(typescript@5.7.3)':
dependencies:
'@midwayjs/cli-plugin-build': 2.1.0
'@midwayjs/cli-plugin-check': 2.1.0
'@midwayjs/cli-plugin-clean': 2.1.0
'@midwayjs/cli-plugin-dev': 2.1.1(@midwayjs/mock@3.20.0)
'@midwayjs/cli-plugin-test': 2.1.0(@types/node@22.10.7)
'@midwayjs/command-core': 2.1.0
enquirer: 2.4.1
minimist: 1.2.8
mod-info: 1.0.2
source-map-support: 0.5.21
ts-node: 10.9.2(@types/node@22.10.7)(typescript@5.7.3)
transitivePeerDependencies:
- '@midwayjs/mock'
- '@swc/core'
- '@swc/wasm'
- '@types/node'
- bufferutil
- encoding
- supports-color
- typescript
- utf-8-validate
'@midwayjs/command-core@2.1.0':
dependencies:
fs-extra: 8.1.0
globby: 10.0.2
light-spinner: 1.0.4
minimist: 1.2.8
p-limit: 3.1.0
'@midwayjs/cookies@1.2.0':
dependencies:
scmp: 2.1.0
@ -4732,15 +4503,6 @@ snapshots:
picomatch: 2.3.1
reflect-metadata: 0.2.2
'@midwayjs/debugger@1.0.9':
dependencies:
node-fetch: 2.7.0
ws: 7.5.10
transitivePeerDependencies:
- bufferutil
- encoding
- utf-8-validate
'@midwayjs/glob@1.1.1':
dependencies:
picomatch: 2.3.1
@ -4759,24 +4521,11 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@midwayjs/locate@1.8.1':
dependencies:
fs-extra: 8.1.0
globby: 10.0.2
'@midwayjs/logger@3.4.2':
dependencies:
dayjs: 1.11.13
safe-stable-stringify: 2.5.0
'@midwayjs/luckyeye@1.1.0':
dependencies:
find-root: 1.1.0
ms: 2.1.3
queue: 6.0.2
semver: 7.6.3
supports-color: 8.1.1
'@midwayjs/mock@3.20.0':
dependencies:
'@midwayjs/async-hooks-context-manager': 3.20.0
@ -4794,20 +4543,12 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@midwayjs/serverless-spec-builder@2.1.0':
dependencies:
ejs: 3.1.10
js-yaml: 4.1.0
mkdirp: 0.5.6
'@midwayjs/session@3.20.0':
dependencies:
'@midwayjs/cookies': 1.2.0
'@midwayjs/typeorm@3.20.0': {}
'@midwayjs/version@3.20.0': {}
'@nodelib/fs.scandir@2.1.5':
dependencies:
'@nodelib/fs.stat': 2.0.5
@ -4896,13 +4637,17 @@ snapshots:
'@tootallnate/quickjs-emscripten@0.23.0': {}
'@tsconfig/node10@1.0.11': {}
'@tsconfig/node10@1.0.11':
optional: true
'@tsconfig/node12@1.0.11': {}
'@tsconfig/node12@1.0.11':
optional: true
'@tsconfig/node14@1.0.3': {}
'@tsconfig/node14@1.0.3':
optional: true
'@tsconfig/node16@1.0.4': {}
'@tsconfig/node16@1.0.4':
optional: true
'@types/accepts@1.3.7':
dependencies:
@ -4963,11 +4708,6 @@ snapshots:
'@types/qs': 6.9.17
'@types/serve-static': 1.15.7
'@types/glob@7.2.0':
dependencies:
'@types/minimatch': 5.1.2
'@types/node': 22.10.7
'@types/graceful-fs@4.1.9':
dependencies:
'@types/node': 22.10.7
@ -4993,8 +4733,6 @@ snapshots:
'@types/json-schema@7.0.15': {}
'@types/json5@0.0.29': {}
'@types/keygrip@1.0.6': {}
'@types/keyv@3.1.4':
@ -5020,8 +4758,6 @@ snapshots:
'@types/minimatch@3.0.5': {}
'@types/minimatch@5.1.2': {}
'@types/minimist@1.2.5': {}
'@types/node@22.10.7':
@ -5154,8 +4890,6 @@ snapshots:
'@typescript-eslint/types': 5.62.0
eslint-visitor-keys: 3.4.3
'@vercel/ncc@0.30.0': {}
accepts@1.3.8:
dependencies:
mime-types: 2.1.35
@ -5168,15 +4902,15 @@ snapshots:
acorn-walk@8.3.4:
dependencies:
acorn: 8.14.0
optional: true
acorn@7.4.1: {}
acorn@8.14.0: {}
acorn@8.14.0:
optional: true
acorn@8.8.2: {}
address@1.2.2: {}
agent-base@7.1.3: {}
ajv@6.12.6:
@ -5238,7 +4972,8 @@ snapshots:
dependencies:
file-type: 4.4.0
arg@4.1.3: {}
arg@4.1.3:
optional: true
argparse@1.0.10:
dependencies:
@ -5280,8 +5015,6 @@ snapshots:
dependencies:
lodash: 4.17.21
async@3.2.3: {}
async@3.2.6: {}
asynckit@0.4.0: {}
@ -5441,12 +5174,6 @@ snapshots:
mime-types: 2.1.35
ylru: 1.4.0
cache-manager@3.6.3:
dependencies:
async: 3.2.3
lodash.clonedeep: 4.5.0
lru-cache: 6.0.0
cacheable-request@2.1.4:
dependencies:
clone-response: 1.0.2
@ -5633,7 +5360,7 @@ snapshots:
commander@10.0.0: {}
commander@13.0.0: {}
commander@13.1.0: {}
commander@2.15.1: {}
@ -5690,7 +5417,8 @@ snapshots:
- supports-color
- ts-node
create-require@1.1.1: {}
create-require@1.1.1:
optional: true
croner@4.1.97: {}
@ -5823,13 +5551,6 @@ snapshots:
detect-newline@3.1.0: {}
detect-port@1.6.1:
dependencies:
address: 1.2.2
debug: 4.4.0
transitivePeerDependencies:
- supports-color
dezalgo@1.0.4:
dependencies:
asap: 2.0.6
@ -5837,7 +5558,8 @@ snapshots:
diff-sequences@29.6.3: {}
diff@4.0.2: {}
diff@4.0.2:
optional: true
dir-glob@3.0.1:
dependencies:
@ -6182,8 +5904,6 @@ snapshots:
dependencies:
to-regex-range: 5.0.1
find-root@1.1.0: {}
find-up@4.1.0:
dependencies:
locate-path: 5.0.0
@ -6236,12 +5956,6 @@ snapshots:
fs-constants@1.0.0: {}
fs-extra@8.1.0:
dependencies:
graceful-fs: 4.2.11
jsonfile: 4.0.0
universalify: 0.1.2
fs.realpath@1.0.0: {}
fsevents@2.3.3:
@ -6347,17 +6061,6 @@ snapshots:
dependencies:
type-fest: 0.20.2
globby@10.0.2:
dependencies:
'@types/glob': 7.2.0
array-union: 2.1.0
dir-glob: 3.0.1
fast-glob: 3.3.3
glob: 7.2.3
ignore: 5.3.2
merge2: 1.4.1
slash: 3.0.0
globby@11.1.0:
dependencies:
array-union: 2.1.0
@ -7101,16 +6804,8 @@ snapshots:
json-stringify-safe@5.0.1:
optional: true
json5@1.0.2:
dependencies:
minimist: 1.2.8
json5@2.2.3: {}
jsonfile@4.0.0:
optionalDependencies:
graceful-fs: 4.2.11
jsonwebtoken@9.0.2:
dependencies:
jws: 3.2.2
@ -7220,8 +6915,6 @@ snapshots:
libphonenumber-js@1.11.18: {}
light-spinner@1.0.4: {}
lines-and-columns@1.2.4: {}
locate-path@5.0.0:
@ -7343,11 +7036,6 @@ snapshots:
braces: 3.0.3
picomatch: 2.3.1
midway-version@1.4.0:
dependencies:
'@midwayjs/version': 3.20.0
compare-versions: 6.1.1
mime-db@1.52.0: {}
mime-db@1.53.0: {}
@ -7395,18 +7083,12 @@ snapshots:
minipass: 7.1.2
rimraf: 5.0.10
mkdirp@0.5.6:
dependencies:
minimist: 1.2.8
mkdirp@1.0.4: {}
mkdirp@2.1.3: {}
mkdirp@3.0.1: {}
mod-info@1.0.2: {}
module-details-from-path@1.0.3: {}
moleculer@0.14.35(debug@4.4.0)(ioredis@5.4.2):
@ -7882,10 +7564,6 @@ snapshots:
queue-microtask@1.2.3: {}
queue@6.0.2:
dependencies:
inherits: 2.0.4
quick-lru@4.0.1: {}
raw-body@2.5.2:
@ -8235,8 +7913,6 @@ snapshots:
dependencies:
ansi-regex: 6.1.0
strip-bom@3.0.0: {}
strip-bom@4.0.0: {}
strip-dirs@2.1.0:
@ -8386,24 +8062,6 @@ snapshots:
'@jest/types': 29.6.3
babel-jest: 29.7.0(@babel/core@7.26.0)
ts-node@10.9.2(@types/node@22.10.7)(typescript@4.9.5):
dependencies:
'@cspotcode/source-map-support': 0.8.1
'@tsconfig/node10': 1.0.11
'@tsconfig/node12': 1.0.11
'@tsconfig/node14': 1.0.3
'@tsconfig/node16': 1.0.4
'@types/node': 22.10.7
acorn: 8.14.0
acorn-walk: 8.3.4
arg: 4.1.3
create-require: 1.1.1
diff: 4.0.2
make-error: 1.3.6
typescript: 4.9.5
v8-compile-cache-lib: 3.0.1
yn: 3.1.1
ts-node@10.9.2(@types/node@22.10.7)(typescript@5.7.3):
dependencies:
'@cspotcode/source-map-support': 0.8.1
@ -8421,6 +8079,7 @@ snapshots:
typescript: 5.7.3
v8-compile-cache-lib: 3.0.1
yn: 3.1.1
optional: true
tsc-alias@1.8.10:
dependencies:
@ -8431,13 +8090,6 @@ snapshots:
normalize-path: 3.0.0
plimit-lit: 1.6.1
tsconfig-paths@3.15.0:
dependencies:
'@types/json5': 0.0.29
json5: 1.0.2
minimist: 1.2.8
strip-bom: 3.0.0
tslib@1.14.1: {}
tslib@1.9.3: {}
@ -8514,8 +8166,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
typescript@4.9.5: {}
typescript@5.7.3: {}
unbzip2-stream@1.4.3:
@ -8529,8 +8179,6 @@ snapshots:
dependencies:
crypto-random-string: 2.0.0
universalify@0.1.2: {}
unpipe@1.0.0: {}
update-browserslist-db@1.1.2(browserslist@4.24.4):
@ -8580,7 +8228,8 @@ snapshots:
uuid@9.0.1: {}
v8-compile-cache-lib@3.0.1: {}
v8-compile-cache-lib@3.0.1:
optional: true
v8-compile-cache@2.4.0: {}
@ -8709,6 +8358,7 @@ snapshots:
ylru@1.4.0: {}
yn@3.1.1: {}
yn@3.1.1:
optional: true
yocto-queue@0.1.0: {}

View File

@ -1,6 +1,6 @@
{
"name": "@cool-midway/task",
"version": "8.0.0",
"version": "8.0.0-beta.2",
"description": "cool-admin midway task",
"main": "dist/index.js",
"typings": "index.d.ts",
@ -29,8 +29,7 @@
"url": "https://cool-js.com"
},
"devDependencies": {
"@cool-midway/core": "file:/Users/ap/Documents/src/admin/midway-packages/core",
"@midwayjs/cli": "^2.1.1",
"@cool-midway/core": "8.0.0-beta.1",
"@midwayjs/core": "^3.20.0",
"@midwayjs/mock": "^3.20.0",
"@midwayjs/redis": "^3.20.0",

663
task/pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
{
"name": "typeorm",
"name": "@cool-midway/typeorm",
"private": false,
"version": "8.0.0",
"version": "8.0.0-beta.1",
"description": "Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.",
"license": "MIT",
"readmeFilename": "README.md",