chrome-devtools-frontend 1.0.957983 → 1.0.959844
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/.eslintignore +0 -1
- package/AUTHORS +1 -0
- package/config/owner/COMMON_OWNERS +0 -1
- package/config/owner/INFRA_OWNERS +0 -1
- package/front_end/Images/generate-css-vars.js +12 -13
- package/front_end/core/i18n/locales/af.json +399 -354
- package/front_end/core/i18n/locales/am.json +399 -354
- package/front_end/core/i18n/locales/ar.json +399 -354
- package/front_end/core/i18n/locales/as.json +399 -354
- package/front_end/core/i18n/locales/az.json +399 -354
- package/front_end/core/i18n/locales/be.json +399 -354
- package/front_end/core/i18n/locales/bg.json +399 -354
- package/front_end/core/i18n/locales/bn.json +399 -354
- package/front_end/core/i18n/locales/bs.json +400 -355
- package/front_end/core/i18n/locales/ca.json +399 -354
- package/front_end/core/i18n/locales/cs.json +399 -354
- package/front_end/core/i18n/locales/cy.json +399 -354
- package/front_end/core/i18n/locales/da.json +399 -354
- package/front_end/core/i18n/locales/de.json +399 -354
- package/front_end/core/i18n/locales/el.json +399 -354
- package/front_end/core/i18n/locales/en-GB.json +420 -375
- package/front_end/core/i18n/locales/es-419.json +399 -354
- package/front_end/core/i18n/locales/es.json +399 -354
- package/front_end/core/i18n/locales/et.json +399 -354
- package/front_end/core/i18n/locales/eu.json +403 -358
- package/front_end/core/i18n/locales/fa.json +399 -354
- package/front_end/core/i18n/locales/fi.json +399 -354
- package/front_end/core/i18n/locales/fil.json +399 -354
- package/front_end/core/i18n/locales/fr-CA.json +399 -354
- package/front_end/core/i18n/locales/fr.json +399 -354
- package/front_end/core/i18n/locales/gl.json +399 -354
- package/front_end/core/i18n/locales/gu.json +399 -354
- package/front_end/core/i18n/locales/he.json +399 -354
- package/front_end/core/i18n/locales/hi.json +399 -354
- package/front_end/core/i18n/locales/hr.json +399 -354
- package/front_end/core/i18n/locales/hu.json +399 -354
- package/front_end/core/i18n/locales/hy.json +399 -354
- package/front_end/core/i18n/locales/id.json +399 -354
- package/front_end/core/i18n/locales/is.json +399 -354
- package/front_end/core/i18n/locales/it.json +399 -354
- package/front_end/core/i18n/locales/ja.json +399 -354
- package/front_end/core/i18n/locales/ka.json +399 -354
- package/front_end/core/i18n/locales/kk.json +400 -355
- package/front_end/core/i18n/locales/km.json +399 -354
- package/front_end/core/i18n/locales/kn.json +399 -354
- package/front_end/core/i18n/locales/ko.json +399 -354
- package/front_end/core/i18n/locales/ky.json +399 -354
- package/front_end/core/i18n/locales/lo.json +399 -354
- package/front_end/core/i18n/locales/lt.json +399 -354
- package/front_end/core/i18n/locales/lv.json +399 -354
- package/front_end/core/i18n/locales/mk.json +399 -354
- package/front_end/core/i18n/locales/ml.json +399 -354
- package/front_end/core/i18n/locales/mn.json +399 -354
- package/front_end/core/i18n/locales/mr.json +399 -354
- package/front_end/core/i18n/locales/ms.json +399 -354
- package/front_end/core/i18n/locales/my.json +399 -354
- package/front_end/core/i18n/locales/ne.json +399 -354
- package/front_end/core/i18n/locales/nl.json +399 -354
- package/front_end/core/i18n/locales/no.json +399 -354
- package/front_end/core/i18n/locales/or.json +399 -354
- package/front_end/core/i18n/locales/pa.json +410 -365
- package/front_end/core/i18n/locales/pl.json +399 -354
- package/front_end/core/i18n/locales/pt-PT.json +399 -354
- package/front_end/core/i18n/locales/pt.json +399 -354
- package/front_end/core/i18n/locales/ro.json +399 -354
- package/front_end/core/i18n/locales/ru.json +399 -354
- package/front_end/core/i18n/locales/si.json +399 -354
- package/front_end/core/i18n/locales/sk.json +399 -354
- package/front_end/core/i18n/locales/sl.json +399 -354
- package/front_end/core/i18n/locales/sq.json +399 -354
- package/front_end/core/i18n/locales/sr-Latn.json +399 -354
- package/front_end/core/i18n/locales/sr.json +399 -354
- package/front_end/core/i18n/locales/sv.json +399 -354
- package/front_end/core/i18n/locales/sw.json +399 -354
- package/front_end/core/i18n/locales/ta.json +405 -360
- package/front_end/core/i18n/locales/te.json +399 -354
- package/front_end/core/i18n/locales/th.json +399 -354
- package/front_end/core/i18n/locales/tr.json +399 -354
- package/front_end/core/i18n/locales/uk.json +399 -354
- package/front_end/core/i18n/locales/ur.json +399 -354
- package/front_end/core/i18n/locales/uz.json +399 -354
- package/front_end/core/i18n/locales/vi.json +399 -354
- package/front_end/core/i18n/locales/zh-HK.json +399 -354
- package/front_end/core/i18n/locales/zh-TW.json +399 -354
- package/front_end/core/i18n/locales/zh.json +399 -354
- package/front_end/core/i18n/locales/zu.json +399 -354
- package/front_end/core/platform/generate-dcheck.js +2 -2
- package/front_end/core/sdk/ProfileTreeModel.ts +1 -1
- package/front_end/entrypoints/main/main-meta.ts +24 -24
- package/front_end/generated/SupportedCSSProperties.js +2 -2
- package/front_end/models/persistence/Automapping.ts +32 -4
- package/front_end/models/persistence/PersistenceImpl.ts +33 -13
- package/front_end/models/persistence/WorkspaceSettingsTab.ts +0 -1
- package/front_end/models/persistence/workspaceSettingsTab.css +3 -7
- package/front_end/panels/elements/AccessibilityTreeView.ts +2 -2
- package/front_end/panels/elements/ElementsPanel.ts +34 -29
- package/front_end/panels/elements/elementsPanel.css +10 -4
- package/front_end/panels/settings/settingsScreen.css +4 -3
- package/front_end/panels/sources/sources-meta.ts +14 -11
- package/front_end/ui/components/buttons/Button.ts +5 -1
- package/front_end/ui/components/buttons/button.css +10 -1
- package/front_end/ui/legacy/filter.css +1 -0
- package/front_end/ui/legacy/toolbar.css +2 -0
- package/package.json +1 -1
- package/scripts/build/generate_css_js_files.js +8 -6
- package/scripts/build/generate_html_entrypoint.js +2 -1
- package/scripts/build/ninja/copy-file.js +2 -1
- package/scripts/build/ninja/copy-files.js +2 -1
- package/scripts/build/ninja/generate-declaration.js +2 -1
- package/scripts/build/ninja/node.gni +4 -1
- package/scripts/build/ninja/write-if-changed.js +27 -0
package/.eslintignore
CHANGED
package/AUTHORS
CHANGED
@@ -25,6 +25,7 @@ Derek Li <the.derekli@gmail.com>
|
|
25
25
|
Edward Trist <edwardtrist@gmail.com>
|
26
26
|
Ergün Erdoğmuş <erdogmusergun@gmail.com>
|
27
27
|
Eric Rannaud <eric.rannaud@gmail.com>
|
28
|
+
Feng Lu <lufengd3@gmail.com>
|
28
29
|
Gabriel Luong <gabriel.luong@gmail.com>
|
29
30
|
Gautham Banasandra <gautham.bangalore@gmail.com>
|
30
31
|
Jake Mulhern <mulherje@gmail.com>
|
@@ -1,8 +1,8 @@
|
|
1
1
|
// Copyright 2020 The Chromium Authors. All rights reserved.
|
2
2
|
// Use of this source code is governed by a BSD-style license that can be
|
3
3
|
// found in the LICENSE file.
|
4
|
-
const fs = require('fs');
|
5
4
|
const path = require('path');
|
5
|
+
const {writeIfChanged} = require('../../scripts/build/ninja/write-if-changed.js');
|
6
6
|
const [, , buildTimestamp, targetGenDir, targetName, ...imageSources] = process.argv;
|
7
7
|
|
8
8
|
/**
|
@@ -18,8 +18,8 @@ function generateCSSVariableDefinition(fileName) {
|
|
18
18
|
fileName}', import.meta.url).toString() + '\\")');`;
|
19
19
|
}
|
20
20
|
|
21
|
-
const CURRENT_YEAR = new Date(Number(buildTimestamp) * 1000).
|
22
|
-
const
|
21
|
+
const CURRENT_YEAR = new Date(Number(buildTimestamp) * 1000).getUTCFullYear();
|
22
|
+
const newContents = `
|
23
23
|
// Copyright ${CURRENT_YEAR} The Chromium Authors. All rights reserved.
|
24
24
|
// Use of this source code is governed by a BSD-style license that can be
|
25
25
|
// found in the LICENSE file.
|
@@ -32,17 +32,16 @@ ${imageSources.map(generateCSSVariableDefinition).join('\n')}
|
|
32
32
|
document.adoptedStyleSheets = [...document.adoptedStyleSheets, sheet];
|
33
33
|
`;
|
34
34
|
|
35
|
-
|
35
|
+
writeIfChanged(path.join(targetGenDir, 'Images.prebundle.js'), newContents);
|
36
36
|
|
37
|
-
const tsconfigContent = `
|
38
|
-
{
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
]
|
37
|
+
const tsconfigContent = `{
|
38
|
+
"compilerOptions": {
|
39
|
+
"composite": true
|
40
|
+
},
|
41
|
+
"files": [
|
42
|
+
"Images.js"
|
43
|
+
]
|
45
44
|
}
|
46
45
|
`;
|
47
46
|
|
48
|
-
|
47
|
+
writeIfChanged(path.join(targetGenDir, `${targetName}-tsconfig.json`), tsconfigContent);
|