1.修复上传漏洞和SQL注入漏洞-移除安装模块所有的代码
This commit is contained in:
@@ -16,12 +16,6 @@ return [
|
||||
'rollback' => ['cwd' => '', 'command' => 'php vendor/bin/phinx rollback'],
|
||||
'breakpoint' => ['cwd' => '', 'command' => 'php vendor/bin/phinx breakpoint'],
|
||||
],
|
||||
'install' => [
|
||||
'cnpm' => 'npm install cnpm -g --registry=https://registry.npmmirror.com',
|
||||
'yarn' => 'npm install -g yarn',
|
||||
'pnpm' => 'npm install -g pnpm',
|
||||
'ni' => 'npm install -g @antfu/ni',
|
||||
],
|
||||
'version' => [
|
||||
'npm' => 'npm -v',
|
||||
'cnpm' => 'cnpm -v',
|
||||
@@ -29,13 +23,6 @@ return [
|
||||
'pnpm' => 'pnpm -v',
|
||||
'node' => 'node -v',
|
||||
],
|
||||
'test' => [
|
||||
'npm' => ['cwd' => 'public/npm-install-test', 'command' => 'npm install'],
|
||||
'cnpm' => ['cwd' => 'public/npm-install-test', 'command' => 'cnpm install'],
|
||||
'yarn' => ['cwd' => 'public/npm-install-test', 'command' => 'yarn install'],
|
||||
'pnpm' => ['cwd' => 'public/npm-install-test', 'command' => 'pnpm install'],
|
||||
'ni' => ['cwd' => 'public/npm-install-test', 'command' => 'ni install'],
|
||||
],
|
||||
'web-install' => [
|
||||
'npm' => ['cwd' => 'web', 'command' => 'npm install'],
|
||||
'cnpm' => ['cwd' => 'web', 'command' => 'cnpm install'],
|
||||
|
||||
Reference in New Issue
Block a user