返回提交历史
Modified
.github/workflows/build.yml
+1
-1
Modified
Dockerfile
+1
-1
Modified
UPDATE AND START SERVER.bat
+2
-2
Modified
UPDATE AND START SERVER.sh
+2
-2
Modified
package-lock.json
+87
-87
XFEstudio/XFESpaceNinjaServer
chore: pass --no-audit flag to npm install commands (#3385)
Most of this is just useless fear-mongering noise that adds several seconds to the install time. Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/3385 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
5e5b19b4
代码差异
5 个文件
+93
-93
@@ -13,7 +13,7 @@ jobs:
13
13
uses: actions/setup-node@v4.0.2
14
14
with:
15
15
node-version: ">=20.18.1"
16
- run: npm ci
16
- run: npm ci --no-audit
17
17
- run: cp config-vanilla.json config.json
18
18
- run: npm run verify
19
19
- run: npm run lint:ci
@@ -4,7 +4,7 @@ WORKDIR /app
4
4
RUN apk add --no-cache bash jq
5
5
6
6
COPY package.json package-lock.json /app
7
RUN npm i --omit=dev --omit=optional
7
RUN npm i --omit=dev --omit=optional --no-audit
8
8
9
9
COPY . /app
10
10
RUN date '+%d %B %Y' > BUILD_DATE
@@ -16,10 +16,10 @@ if %errorlevel% == 0 (
16
16
echo Updating dependencies...
17
17
node scripts/raw-precheck.js > NUL
18
18
if %errorlevel% == 0 (
19
call npm i --omit=dev --omit=optional
19
call npm i --omit=dev --omit=optional --no-audit
20
20
call npm run raw
21
21
) else (
22
call npm i --omit=dev
22
call npm i --omit=dev --no-audit
23
23
call npm run build
24
24
if %errorlevel% == 0 (
25
25
call npm run start
@@ -16,10 +16,10 @@ if [ $? -eq 0 ]; then
16
16
echo "Updating dependencies..."
17
17
node scripts/raw-precheck.js > /dev/null
18
18
if [ $? -eq 0 ]; then
19
npm i --omit=dev --omit=optional
19
npm i --omit=dev --omit=optional --no-audit
20
20
npm run raw
21
21
else
22
npm i --omit=dev
22
npm i --omit=dev --no-audit
23
23
npm run build
24
24
if [ $? -eq 0 ]; then
25
25
npm run start
@@ -66,9 +66,9 @@
66
66
}
67
67
},
68
68
"node_modules/@eslint-community/eslint-utils": {
69
"version": "4.9.0",
70
"resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.0.tgz",
71
"integrity": "sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==",
69
"version": "4.9.1",
70
"resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz",
71
"integrity": "sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==",
72
72
"dev": true,
73
73
"license": "MIT",
74
74
"dependencies": {
@@ -498,20 +498,20 @@
498
498
}
499
499
},
500
500
"node_modules/@typescript-eslint/eslint-plugin": {
501
"version": "8.49.0",
502
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.49.0.tgz",
503
"integrity": "sha512-JXij0vzIaTtCwu6SxTh8qBc66kmf1xs7pI4UOiMDFVct6q86G0Zs7KRcEoJgY3Cav3x5Tq0MF5jwgpgLqgKG3A==",
501
"version": "8.56.0",
502
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.56.0.tgz",
503
"integrity": "sha512-lRyPDLzNCuae71A3t9NEINBiTn7swyOhvUj3MyUOxb8x6g6vPEFoOU+ZRmGMusNC3X3YMhqMIX7i8ShqhT74Pw==",
504
504
"dev": true,
505
505
"license": "MIT",
506
506
"dependencies": {
507
"@eslint-community/regexpp": "^4.10.0",
508
"@typescript-eslint/scope-manager": "8.49.0",
509
"@typescript-eslint/type-utils": "8.49.0",
510
"@typescript-eslint/utils": "8.49.0",
511
"@typescript-eslint/visitor-keys": "8.49.0",
512
"ignore": "^7.0.0",
507
"@eslint-community/regexpp": "^4.12.2",
508
"@typescript-eslint/scope-manager": "8.56.0",
509
"@typescript-eslint/type-utils": "8.56.0",
510
"@typescript-eslint/utils": "8.56.0",
511
"@typescript-eslint/visitor-keys": "8.56.0",
512
"ignore": "^7.0.5",
513
513
"natural-compare": "^1.4.0",
514
"ts-api-utils": "^2.1.0"
514
"ts-api-utils": "^2.4.0"
515
515
},
516
516
"engines": {
517
517
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -521,24 +521,24 @@
521
521
"url": "https://opencollective.com/typescript-eslint"
522
522
},
523
523
"peerDependencies": {
524
"@typescript-eslint/parser": "^8.49.0",
525
"eslint": "^8.57.0 || ^9.0.0",
524
"@typescript-eslint/parser": "^8.56.0",
525
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
526
526
"typescript": ">=4.8.4 <6.0.0"
527
527
}
528
528
},
529
529
"node_modules/@typescript-eslint/parser": {
530
"version": "8.49.0",
531
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.49.0.tgz",
532
"integrity": "sha512-N9lBGA9o9aqb1hVMc9hzySbhKibHmB+N3IpoShyV6HyQYRGIhlrO5rQgttypi+yEeKsKI4idxC8Jw6gXKD4THA==",
530
"version": "8.56.0",
531
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.56.0.tgz",
532
"integrity": "sha512-IgSWvLobTDOjnaxAfDTIHaECbkNlAlKv2j5SjpB2v7QHKv1FIfjwMy8FsDbVfDX/KjmCmYICcw7uGaXLhtsLNg==",
533
533
"dev": true,
534
534
"license": "MIT",
535
535
"peer": true,
536
536
"dependencies": {
537
"@typescript-eslint/scope-manager": "8.49.0",
538
"@typescript-eslint/types": "8.49.0",
539
"@typescript-eslint/typescript-estree": "8.49.0",
540
"@typescript-eslint/visitor-keys": "8.49.0",
541
"debug": "^4.3.4"
537
"@typescript-eslint/scope-manager": "8.56.0",
538
"@typescript-eslint/types": "8.56.0",
539
"@typescript-eslint/typescript-estree": "8.56.0",
540
"@typescript-eslint/visitor-keys": "8.56.0",
541
"debug": "^4.4.3"
542
542
},
543
543
"engines": {
544
544
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -548,20 +548,20 @@
548
548
"url": "https://opencollective.com/typescript-eslint"
549
549
},
550
550
"peerDependencies": {
551
"eslint": "^8.57.0 || ^9.0.0",
551
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
552
552
"typescript": ">=4.8.4 <6.0.0"
553
553
}
554
554
},
555
555
"node_modules/@typescript-eslint/project-service": {
556
"version": "8.49.0",
557
"resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.49.0.tgz",
558
"integrity": "sha512-/wJN0/DKkmRUMXjZUXYZpD1NEQzQAAn9QWfGwo+Ai8gnzqH7tvqS7oNVdTjKqOcPyVIdZdyCMoqN66Ia789e7g==",
556
"version": "8.56.0",
557
"resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.56.0.tgz",
558
"integrity": "sha512-M3rnyL1vIQOMeWxTWIW096/TtVP+8W3p/XnaFflhmcFp+U4zlxUxWj4XwNs6HbDeTtN4yun0GNTTDBw/SvufKg==",
559
559
"dev": true,
560
560
"license": "MIT",
561
561
"dependencies": {
562
"@typescript-eslint/tsconfig-utils": "^8.49.0",
563
"@typescript-eslint/types": "^8.49.0",
564
"debug": "^4.3.4"
562
"@typescript-eslint/tsconfig-utils": "^8.56.0",
563
"@typescript-eslint/types": "^8.56.0",
564
"debug": "^4.4.3"
565
565
},
566
566
"engines": {
567
567
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -575,14 +575,14 @@
575
575
}
576
576
},
577
577
"node_modules/@typescript-eslint/scope-manager": {
578
"version": "8.49.0",
579
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.49.0.tgz",
580
"integrity": "sha512-npgS3zi+/30KSOkXNs0LQXtsg9ekZ8OISAOLGWA/ZOEn0ZH74Ginfl7foziV8DT+D98WfQ5Kopwqb/PZOaIJGg==",
578
"version": "8.56.0",
579
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.56.0.tgz",
580
"integrity": "sha512-7UiO/XwMHquH+ZzfVCfUNkIXlp/yQjjnlYUyYz7pfvlK3/EyyN6BK+emDmGNyQLBtLGaYrTAI6KOw8tFucWL2w==",
581
581
"dev": true,
582
582
"license": "MIT",
583
583
"dependencies": {
584
"@typescript-eslint/types": "8.49.0",
585
"@typescript-eslint/visitor-keys": "8.49.0"
584
"@typescript-eslint/types": "8.56.0",
585
"@typescript-eslint/visitor-keys": "8.56.0"
586
586
},
587
587
"engines": {
588
588
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -593,9 +593,9 @@
593
593
}
594
594
},
595
595
"node_modules/@typescript-eslint/tsconfig-utils": {
596
"version": "8.49.0",
597
"resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.49.0.tgz",
598
"integrity": "sha512-8prixNi1/6nawsRYxet4YOhnbW+W9FK/bQPxsGB1D3ZrDzbJ5FXw5XmzxZv82X3B+ZccuSxo/X8q9nQ+mFecWA==",
596
"version": "8.56.0",
597
"resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.56.0.tgz",
598
"integrity": "sha512-bSJoIIt4o3lKXD3xmDh9chZcjCz5Lk8xS7Rxn+6l5/pKrDpkCwtQNQQwZ2qRPk7TkUYhrq3WPIHXOXlbXP0itg==",
599
599
"dev": true,
600
600
"license": "MIT",
601
601
"engines": {
@@ -610,17 +610,17 @@
610
610
}
611
611
},
612
612
"node_modules/@typescript-eslint/type-utils": {
613
"version": "8.49.0",
614
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.49.0.tgz",
615
"integrity": "sha512-KTExJfQ+svY8I10P4HdxKzWsvtVnsuCifU5MvXrRwoP2KOlNZ9ADNEWWsQTJgMxLzS5VLQKDjkCT/YzgsnqmZg==",
613
"version": "8.56.0",
614
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.56.0.tgz",
615
"integrity": "sha512-qX2L3HWOU2nuDs6GzglBeuFXviDODreS58tLY/BALPC7iu3Fa+J7EOTwnX9PdNBxUI7Uh0ntP0YWGnxCkXzmfA==",
616
616
"dev": true,
617
617
"license": "MIT",
618
618
"dependencies": {
619
"@typescript-eslint/types": "8.49.0",
620
"@typescript-eslint/typescript-estree": "8.49.0",
621
"@typescript-eslint/utils": "8.49.0",
622
"debug": "^4.3.4",
623
"ts-api-utils": "^2.1.0"
619
"@typescript-eslint/types": "8.56.0",
620
"@typescript-eslint/typescript-estree": "8.56.0",
621
"@typescript-eslint/utils": "8.56.0",
622
"debug": "^4.4.3",
623
"ts-api-utils": "^2.4.0"
624
624
},
625
625
"engines": {
626
626
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -630,14 +630,14 @@
630
630
"url": "https://opencollective.com/typescript-eslint"
631
631
},
632
632
"peerDependencies": {
633
"eslint": "^8.57.0 || ^9.0.0",
633
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
634
634
"typescript": ">=4.8.4 <6.0.0"
635
635
}
636
636
},
637
637
"node_modules/@typescript-eslint/types": {
638
"version": "8.49.0",
639
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.49.0.tgz",
640
"integrity": "sha512-e9k/fneezorUo6WShlQpMxXh8/8wfyc+biu6tnAqA81oWrEic0k21RHzP9uqqpyBBeBKu4T+Bsjy9/b8u7obXQ==",
638
"version": "8.56.0",
639
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.56.0.tgz",
640
"integrity": "sha512-DBsLPs3GsWhX5HylbP9HNG15U0bnwut55Lx12bHB9MpXxQ+R5GC8MwQe+N1UFXxAeQDvEsEDY6ZYwX03K7Z6HQ==",
641
641
"dev": true,
642
642
"license": "MIT",
643
643
"engines": {
@@ -649,21 +649,21 @@
649
649
}
650
650
},
651
651
"node_modules/@typescript-eslint/typescript-estree": {
652
"version": "8.49.0",
653
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.49.0.tgz",
654
"integrity": "sha512-jrLdRuAbPfPIdYNppHJ/D0wN+wwNfJ32YTAm10eJVsFmrVpXQnDWBn8niCSMlWjvml8jsce5E/O+86IQtTbJWA==",
652
"version": "8.56.0",
653
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.56.0.tgz",
654
"integrity": "sha512-ex1nTUMWrseMltXUHmR2GAQ4d+WjkZCT4f+4bVsps8QEdh0vlBsaCokKTPlnqBFqqGaxilDNJG7b8dolW2m43Q==",
655
655
"dev": true,
656
656
"license": "MIT",
657
657
"dependencies": {
658
"@typescript-eslint/project-service": "8.49.0",
659
"@typescript-eslint/tsconfig-utils": "8.49.0",
660
"@typescript-eslint/types": "8.49.0",
661
"@typescript-eslint/visitor-keys": "8.49.0",
662
"debug": "^4.3.4",
663
"minimatch": "^9.0.4",
664
"semver": "^7.6.0",
658
"@typescript-eslint/project-service": "8.56.0",
659
"@typescript-eslint/tsconfig-utils": "8.56.0",
660
"@typescript-eslint/types": "8.56.0",
661
"@typescript-eslint/visitor-keys": "8.56.0",
662
"debug": "^4.4.3",
663
"minimatch": "^9.0.5",
664
"semver": "^7.7.3",
665
665
"tinyglobby": "^0.2.15",
666
"ts-api-utils": "^2.1.0"
666
"ts-api-utils": "^2.4.0"
667
667
},
668
668
"engines": {
669
669
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -677,16 +677,16 @@
677
677
}
678
678
},
679
679
"node_modules/@typescript-eslint/utils": {
680
"version": "8.49.0",
681
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.49.0.tgz",
682
"integrity": "sha512-N3W7rJw7Rw+z1tRsHZbK395TWSYvufBXumYtEGzypgMUthlg0/hmCImeA8hgO2d2G4pd7ftpxxul2J8OdtdaFA==",
680
"version": "8.56.0",
681
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.56.0.tgz",
682
"integrity": "sha512-RZ3Qsmi2nFGsS+n+kjLAYDPVlrzf7UhTffrDIKr+h2yzAlYP/y5ZulU0yeDEPItos2Ph46JAL5P/On3pe7kDIQ==",
683
683
"dev": true,
684
684
"license": "MIT",
685
685
"dependencies": {
686
"@eslint-community/eslint-utils": "^4.7.0",
687
"@typescript-eslint/scope-manager": "8.49.0",
688
"@typescript-eslint/types": "8.49.0",
689
"@typescript-eslint/typescript-estree": "8.49.0"
686
"@eslint-community/eslint-utils": "^4.9.1",
687
"@typescript-eslint/scope-manager": "8.56.0",
688
"@typescript-eslint/types": "8.56.0",
689
"@typescript-eslint/typescript-estree": "8.56.0"
690
690
},
691
691
"engines": {
692
692
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -696,19 +696,19 @@
696
696
"url": "https://opencollective.com/typescript-eslint"
697
697
},
698
698
"peerDependencies": {
699
"eslint": "^8.57.0 || ^9.0.0",
699
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
700
700
"typescript": ">=4.8.4 <6.0.0"
701
701
}
702
702
},
703
703
"node_modules/@typescript-eslint/visitor-keys": {
704
"version": "8.49.0",
705
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.49.0.tgz",
706
"integrity": "sha512-LlKaciDe3GmZFphXIc79THF/YYBugZ7FS1pO581E/edlVVNbZKDy93evqmrfQ9/Y4uN0vVhX4iuchq26mK/iiA==",
704
"version": "8.56.0",
705
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.56.0.tgz",
706
"integrity": "sha512-q+SL+b+05Ud6LbEE35qe4A99P+htKTKVbyiNEe45eCbJFyh/HVK9QXwlrbz+Q4L8SOW4roxSVwXYj4DMBT7Ieg==",
707
707
"dev": true,
708
708
"license": "MIT",
709
709
"dependencies": {
710
"@typescript-eslint/types": "8.49.0",
711
"eslint-visitor-keys": "^4.2.1"
710
"@typescript-eslint/types": "8.56.0",
711
"eslint-visitor-keys": "^5.0.0"
712
712
},
713
713
"engines": {
714
714
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -719,13 +719,13 @@
719
719
}
720
720
},
721
721
"node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": {
722
"version": "4.2.1",
723
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz",
724
"integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==",
722
"version": "5.0.0",
723
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.0.tgz",
724
"integrity": "sha512-A0XeIi7CXU7nPlfHS9loMYEKxUaONu/hTEzHTGba9Huu94Cq1hPivf+DE5erJozZOky0LfvXAyrV/tcswpLI0Q==",
725
725
"dev": true,
726
726
"license": "Apache-2.0",
727
727
"engines": {
728
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
728
"node": "^20.19.0 || ^22.13.0 || >=24"
729
729
},
730
730
"funding": {
731
731
"url": "https://opencollective.com/eslint"
@@ -3235,9 +3235,9 @@
3235
3235
}
3236
3236
},
3237
3237
"node_modules/qs": {
3238
"version": "6.14.1",
3239
"resolved": "https://registry.npmjs.org/qs/-/qs-6.14.1.tgz",
3240
"integrity": "sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ==",
3238
"version": "6.15.0",
3239
"resolved": "https://registry.npmjs.org/qs/-/qs-6.15.0.tgz",
3240
"integrity": "sha512-mAZTtNCeetKMH+pSjrb76NAM8V9a05I9aBZOHztWy/UqcJdQYNsf59vrRKWnojAT9Y+GbIvoTBC++CPHqpDBhQ==",
3241
3241
"license": "BSD-3-Clause",
3242
3242
"dependencies": {
3243
3243
"side-channel": "^1.1.0"
@@ -3421,9 +3421,9 @@
3421
3421
"license": "MIT"
3422
3422
},
3423
3423
"node_modules/semver": {
3424
"version": "7.7.3",
3425
"resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz",
3426
"integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==",
3424
"version": "7.7.4",
3425
"resolved": "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz",
3426
"integrity": "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==",
3427
3427
"dev": true,
3428
3428
"license": "ISC",
3429
3429
"bin": {
@@ -3846,9 +3846,9 @@
3846
3846
}
3847
3847
},
3848
3848
"node_modules/ts-api-utils": {
3849
"version": "2.1.0",
3850
"resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.1.0.tgz",
3851
"integrity": "sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==",
3849
"version": "2.4.0",
3850
"resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.4.0.tgz",
3851
"integrity": "sha512-3TaVTaAv2gTiMB35i3FiGJaRfwb3Pyn/j3m/bfAvGe8FB7CF6u+LMYqYlDh7reQf7UNvoTvdfAqHGmPGOSsPmA==",
3852
3852
"dev": true,
3853
3853
"license": "MIT",
3854
3854
"engines": {