xshell 1.0.92 → 1.0.93

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/git.d.ts +1 -1
  2. package/git.js +2 -2
  3. package/package.json +3 -3
package/git.d.ts CHANGED
@@ -3,7 +3,7 @@ export declare class Git {
3
3
  static exe: string;
4
4
  cwd: string;
5
5
  constructor(cwd: string);
6
- static init(cwd: string): Promise<Git>;
6
+ static init(cwd: string, print?: boolean): Promise<Git>;
7
7
  static clone(repo: string, fpd: string): Promise<void>;
8
8
  call(args?: any[], { color, print }?: {
9
9
  color?: boolean;
package/git.js CHANGED
@@ -7,9 +7,9 @@ export class Git {
7
7
  constructor(cwd) {
8
8
  this.cwd = cwd;
9
9
  }
10
- static async init(cwd) {
10
+ static async init(cwd, print = true) {
11
11
  const git = new Git(cwd);
12
- await git.call(['init']);
12
+ await git.call(['init'], { print });
13
13
  return git;
14
14
  }
15
15
  static async clone(repo, fpd) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xshell",
3
- "version": "1.0.92",
3
+ "version": "1.0.93",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "bin": {
@@ -86,7 +86,7 @@
86
86
  "map-stream": "0.0.7",
87
87
  "mime-types": "^2.1.35",
88
88
  "ora": "^8.0.1",
89
- "react": "^18.2.0",
89
+ "react": "^18.3.0",
90
90
  "react-i18next": "^14.1.1",
91
91
  "react-object-model": "^1.2.3",
92
92
  "resolve-path": "^1.4.0",
@@ -121,7 +121,7 @@
121
121
  "@types/lodash": "^4.17.0",
122
122
  "@types/mime-types": "^2.1.4",
123
123
  "@types/node": "^20.12.7",
124
- "@types/react": "^18.2.79",
124
+ "@types/react": "^18.3.0",
125
125
  "@types/through2": "^2.0.41",
126
126
  "@types/tough-cookie": "^4.0.5",
127
127
  "@types/ua-parser-js": "^0.7.39",