Skip to content

Commit 0b6139b

Browse files
committed
【 update 】 commander 升级:6.1.0 to 9.0.0; review by luox
1 parent c3c51cf commit 0b6139b

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

build/pack.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
var program = require('commander');
1+
const { Command } = require('commander');
2+
const program = new Command();
23
var shell = require("shelljs");
34
require("./deps");
45
program.description('Customized pack iClient.');

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"browserify-imgify": "^0.0.1",
7272
"chromedriver": "87.0.5",
7373
"clean-css-cli": "^4.3.0",
74-
"commander": "^6.1.0",
74+
"commander": "^9.0.0",
7575
"cross-env": "^7.0.2",
7676
"css-loader": "^5.0.0",
7777
"es3ify-loader": "^0.2.0",

test/karma.conf.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// Karma configuration
22
// Generated on Fri Feb 17 2017 15:57:25 GMT+0800 (中国标准时间)
33
const fileUtil = require('karma-sonarqube-unit-reporter/src/file-util.js');
4-
const program = require('commander');
4+
const { Command } = require('commander');
5+
const program = new Command();
56
const testPath = ['./test'];
67
const testFilePattern = 'Spec.js';
78
const filesForDescriptions = fileUtil.getFilesForDescriptions(testPath, testFilePattern);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy