lighthouse 11.0.0-dev.20230828 → 11.0.0-dev.20230829
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/core/config/config-helpers.js +1 -1
- package/core/config/config.js +1 -1
- package/core/lib/i18n/i18n.js +1 -1
- package/core/runner.js +1 -1
- package/flow-report/tsconfig.json +0 -1
- package/package.json +1 -1
- package/report/generator/flow-report-assets.js +1 -1
- package/report/generator/report-assets.js +1 -1
- package/report/generator/tsconfig.json +1 -1
- package/root.js +1 -1
- package/shared/localization/format.js +1 -1
- package/shared/localization/locales.js +1 -1
- package/shared/tsconfig.json +0 -1
- package/tsconfig.json +0 -1
- /package/{esm-utils.d.ts → shared/esm-utils.d.ts} +0 -0
- /package/{esm-utils.js → shared/esm-utils.js} +0 -0
|
@@ -16,7 +16,7 @@ import ConfigPlugin from './config-plugin.js';
|
|
|
16
16
|
import {Runner} from '../runner.js';
|
|
17
17
|
import * as i18n from '../lib/i18n/i18n.js';
|
|
18
18
|
import * as validation from './validation.js';
|
|
19
|
-
import {getModuleDirectory} from '../../esm-utils.js';
|
|
19
|
+
import {getModuleDirectory} from '../../shared/esm-utils.js';
|
|
20
20
|
|
|
21
21
|
const require = createRequire(import.meta.url);
|
|
22
22
|
|
package/core/config/config.js
CHANGED
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
mergeConfigFragment,
|
|
29
29
|
mergeConfigFragmentArrayByKey,
|
|
30
30
|
} from './config-helpers.js';
|
|
31
|
-
import {getModuleDirectory} from '../../esm-utils.js';
|
|
31
|
+
import {getModuleDirectory} from '../../shared/esm-utils.js';
|
|
32
32
|
import * as format from '../../shared/localization/format.js';
|
|
33
33
|
|
|
34
34
|
const defaultConfigPath = path.join(
|
package/core/lib/i18n/i18n.js
CHANGED
|
@@ -15,7 +15,7 @@ import log from 'lighthouse-logger';
|
|
|
15
15
|
import {getAvailableLocales} from '../../../shared/localization/format.js';
|
|
16
16
|
import {LH_ROOT} from '../../../root.js';
|
|
17
17
|
import {isIcuMessage, formatMessage, DEFAULT_LOCALE} from '../../../shared/localization/format.js';
|
|
18
|
-
import {getModulePath} from '../../../esm-utils.js';
|
|
18
|
+
import {getModulePath} from '../../../shared/esm-utils.js';
|
|
19
19
|
|
|
20
20
|
const UIStrings = {
|
|
21
21
|
/** Used to show the duration in milliseconds that something lasted. The `{timeInMs}` placeholder will be replaced with the time duration, shown in milliseconds (e.g. 63 ms) */
|
package/core/runner.js
CHANGED
|
@@ -20,7 +20,7 @@ import {Sentry} from './lib/sentry.js';
|
|
|
20
20
|
import {ReportGenerator} from '../report/generator/report-generator.js';
|
|
21
21
|
import {LighthouseError} from './lib/lh-error.js';
|
|
22
22
|
import {lighthouseVersion} from '../root.js';
|
|
23
|
-
import {getModuleDirectory} from '../esm-utils.js';
|
|
23
|
+
import {getModuleDirectory} from '../shared/esm-utils.js';
|
|
24
24
|
import {EntityClassification} from './computed/entity-classification.js';
|
|
25
25
|
import UrlUtils from './lib/url-utils.js';
|
|
26
26
|
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import fs from 'fs';
|
|
9
9
|
|
|
10
10
|
import {flowReportAssets} from './flow-report-assets.js';
|
|
11
|
-
import {getModuleDirectory} from '../../esm-utils.js';
|
|
11
|
+
import {getModuleDirectory} from '../../shared/esm-utils.js';
|
|
12
12
|
|
|
13
13
|
const moduleDir = getModuleDirectory(import.meta);
|
|
14
14
|
|
package/root.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
import fs from 'fs';
|
|
8
8
|
|
|
9
|
-
import {getModuleDirectory} from './esm-utils.js';
|
|
9
|
+
import {getModuleDirectory} from './shared/esm-utils.js';
|
|
10
10
|
|
|
11
11
|
const LH_ROOT = getModuleDirectory(import.meta);
|
|
12
12
|
const pkg = JSON.parse(fs.readFileSync(`${LH_ROOT}/package.json`, 'utf-8'));
|
|
@@ -8,7 +8,7 @@ import fs from 'fs';
|
|
|
8
8
|
|
|
9
9
|
import IntlMessageFormat from 'intl-messageformat';
|
|
10
10
|
|
|
11
|
-
import {getModuleDirectory} from '
|
|
11
|
+
import {getModuleDirectory} from '../esm-utils.js';
|
|
12
12
|
import {isObjectOfUnknownValues, isObjectOrArrayOfUnknownValues} from '../type-verifiers.js';
|
|
13
13
|
import {locales} from './locales.js';
|
|
14
14
|
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
|
|
24
24
|
import fs from 'fs';
|
|
25
25
|
|
|
26
|
-
import {getModuleDirectory} from '
|
|
26
|
+
import {getModuleDirectory} from '../esm-utils.js';
|
|
27
27
|
|
|
28
28
|
/** @typedef {import('../../types/lhr/settings').Locale} Locale */
|
|
29
29
|
/** @typedef {Record<string, {message: string}>} LhlMessages */
|
package/shared/tsconfig.json
CHANGED
package/tsconfig.json
CHANGED
|
File without changes
|
|
File without changes
|