electron-info 1.21.4 → 1.21.6
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.
- package/dist/cjs/ElectronInfo.test.js +2 -2
- package/dist/cjs/FileService.js +3 -3
- package/dist/cjs/HTTPService.js +2 -2
- package/dist/cjs/cli.js +1 -1
- package/dist/esm/ElectronInfo.test.js +2 -2
- package/dist/esm/FileService.js +3 -3
- package/dist/esm/HTTPService.js +2 -2
- package/dist/esm/cli.js +1 -1
- package/package.json +2 -2
|
@@ -11,8 +11,8 @@ import { expect, describe, test, beforeEach, beforeAll, afterAll, afterEach } fr
|
|
|
11
11
|
import { StatusCodes as HTTP_STATUS } from 'http-status-codes';
|
|
12
12
|
import nock from 'nock';
|
|
13
13
|
import * as fs from 'fs-extra';
|
|
14
|
-
import path from '
|
|
15
|
-
import { fileURLToPath } from '
|
|
14
|
+
import path from 'path';
|
|
15
|
+
import { fileURLToPath } from 'url';
|
|
16
16
|
import { randomUUID } from 'crypto';
|
|
17
17
|
import { ElectronInfo } from './ElectronInfo.js';
|
|
18
18
|
const __filename = fileURLToPath(import.meta.url);
|
package/dist/cjs/FileService.js
CHANGED
|
@@ -8,11 +8,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import { isAfter as isAfterDate, sub as subtractDate } from 'date-fns';
|
|
11
|
-
import { constants as fsConstants, promises as fs } from '
|
|
11
|
+
import { constants as fsConstants, promises as fs } from 'fs';
|
|
12
12
|
import parseUrl from 'parse-url';
|
|
13
13
|
import logdown from 'logdown';
|
|
14
|
-
import os from '
|
|
15
|
-
import path from '
|
|
14
|
+
import os from 'os';
|
|
15
|
+
import path from 'path';
|
|
16
16
|
import { HTTPService } from './HTTPService.js';
|
|
17
17
|
export class FileService {
|
|
18
18
|
constructor(options) {
|
package/dist/cjs/HTTPService.js
CHANGED
|
@@ -7,8 +7,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
7
7
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
|
-
import { promises as fs } from '
|
|
11
|
-
import { inspect } from '
|
|
10
|
+
import { promises as fs } from 'fs';
|
|
11
|
+
import { inspect } from 'util';
|
|
12
12
|
import axios from 'axios';
|
|
13
13
|
import logdown from 'logdown';
|
|
14
14
|
export class HTTPService {
|
package/dist/cjs/cli.js
CHANGED
|
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
import { program as commander } from 'commander';
|
|
12
|
-
import { createRequire } from '
|
|
12
|
+
import { createRequire } from 'module';
|
|
13
13
|
const require = createRequire(import.meta.url);
|
|
14
14
|
import { ElectronInfo, SupportedDependencies } from './ElectronInfo.js';
|
|
15
15
|
const { description, name, version } = require('../package.json');
|
|
@@ -2,8 +2,8 @@ import { expect, describe, test, beforeEach, beforeAll, afterAll, afterEach } fr
|
|
|
2
2
|
import { StatusCodes as HTTP_STATUS } from 'http-status-codes';
|
|
3
3
|
import nock from 'nock';
|
|
4
4
|
import * as fs from 'fs-extra';
|
|
5
|
-
import path from '
|
|
6
|
-
import { fileURLToPath } from '
|
|
5
|
+
import path from 'path';
|
|
6
|
+
import { fileURLToPath } from 'url';
|
|
7
7
|
import { randomUUID } from 'crypto';
|
|
8
8
|
import { ElectronInfo } from './ElectronInfo.js';
|
|
9
9
|
const __filename = fileURLToPath(import.meta.url);
|
package/dist/esm/FileService.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { isAfter as isAfterDate, sub as subtractDate } from 'date-fns';
|
|
2
|
-
import { constants as fsConstants, promises as fs } from '
|
|
2
|
+
import { constants as fsConstants, promises as fs } from 'fs';
|
|
3
3
|
import parseUrl from 'parse-url';
|
|
4
4
|
import logdown from 'logdown';
|
|
5
|
-
import os from '
|
|
6
|
-
import path from '
|
|
5
|
+
import os from 'os';
|
|
6
|
+
import path from 'path';
|
|
7
7
|
import { HTTPService } from './HTTPService.js';
|
|
8
8
|
export class FileService {
|
|
9
9
|
constructor(options) {
|
package/dist/esm/HTTPService.js
CHANGED
package/dist/esm/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { program as commander } from 'commander';
|
|
3
|
-
import { createRequire } from '
|
|
3
|
+
import { createRequire } from 'module';
|
|
4
4
|
const require = createRequire(import.meta.url);
|
|
5
5
|
import { ElectronInfo, SupportedDependencies } from './ElectronInfo.js';
|
|
6
6
|
const { description, name, version } = require('../package.json');
|
package/package.json
CHANGED