Skip to content

Commit 07a8952

Browse files
committed
chore: update commander version
1 parent b348e66 commit 07a8952

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "http-request-mock",
3-
"version": "1.8.22",
3+
"version": "1.8.23",
44
"description": "Intercept & mock http requests issued by XMLHttpRequest, fetch, nodejs https/http module, axios, jquery, superagent, ky, node-fetch, request, got or any other request libraries by intercepting XMLHttpRequest, fetch and nodejs native requests in low level.",
55
"main": "src/index.js",
66
"module": "http-request-mock.esm.mjs",

tool/bin/cli.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
/* eslint-env node */
33

44
const { spawn } = require('child_process');
5-
const program = require('commander');
5+
const { Command } = require('commander');
6+
67
const fs = require('fs');
78
const path = require('path');
89
const readline = require('readline');
@@ -11,6 +12,8 @@ const { entryPoints, log, getAppRoot, watchDir } = require('../lib/misc.js');
1112
const WebpackPlugin = require('../plugin/webpack.js');
1213
const server = require('./server.js');
1314

15+
const program = new Command();
16+
1417
module.exports = new class CommandToolLine {
1518
constructor() {
1619
this.appRoot = getAppRoot();

0 commit comments

Comments
 (0)