chrome-devtools-frontend 1.0.958475 → 1.0.959105

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 (100) hide show
  1. package/AUTHORS +1 -0
  2. package/front_end/Images/generate-css-vars.js +12 -13
  3. package/front_end/core/i18n/locales/af.json +399 -354
  4. package/front_end/core/i18n/locales/am.json +399 -354
  5. package/front_end/core/i18n/locales/ar.json +399 -354
  6. package/front_end/core/i18n/locales/as.json +399 -354
  7. package/front_end/core/i18n/locales/az.json +399 -354
  8. package/front_end/core/i18n/locales/be.json +399 -354
  9. package/front_end/core/i18n/locales/bg.json +399 -354
  10. package/front_end/core/i18n/locales/bn.json +399 -354
  11. package/front_end/core/i18n/locales/bs.json +400 -355
  12. package/front_end/core/i18n/locales/ca.json +399 -354
  13. package/front_end/core/i18n/locales/cs.json +399 -354
  14. package/front_end/core/i18n/locales/cy.json +399 -354
  15. package/front_end/core/i18n/locales/da.json +399 -354
  16. package/front_end/core/i18n/locales/de.json +399 -354
  17. package/front_end/core/i18n/locales/el.json +399 -354
  18. package/front_end/core/i18n/locales/en-GB.json +420 -375
  19. package/front_end/core/i18n/locales/es-419.json +399 -354
  20. package/front_end/core/i18n/locales/es.json +399 -354
  21. package/front_end/core/i18n/locales/et.json +399 -354
  22. package/front_end/core/i18n/locales/eu.json +403 -358
  23. package/front_end/core/i18n/locales/fa.json +399 -354
  24. package/front_end/core/i18n/locales/fi.json +399 -354
  25. package/front_end/core/i18n/locales/fil.json +399 -354
  26. package/front_end/core/i18n/locales/fr-CA.json +399 -354
  27. package/front_end/core/i18n/locales/fr.json +399 -354
  28. package/front_end/core/i18n/locales/gl.json +399 -354
  29. package/front_end/core/i18n/locales/gu.json +399 -354
  30. package/front_end/core/i18n/locales/he.json +399 -354
  31. package/front_end/core/i18n/locales/hi.json +399 -354
  32. package/front_end/core/i18n/locales/hr.json +399 -354
  33. package/front_end/core/i18n/locales/hu.json +399 -354
  34. package/front_end/core/i18n/locales/hy.json +399 -354
  35. package/front_end/core/i18n/locales/id.json +399 -354
  36. package/front_end/core/i18n/locales/is.json +399 -354
  37. package/front_end/core/i18n/locales/it.json +399 -354
  38. package/front_end/core/i18n/locales/ja.json +399 -354
  39. package/front_end/core/i18n/locales/ka.json +399 -354
  40. package/front_end/core/i18n/locales/kk.json +400 -355
  41. package/front_end/core/i18n/locales/km.json +399 -354
  42. package/front_end/core/i18n/locales/kn.json +399 -354
  43. package/front_end/core/i18n/locales/ko.json +399 -354
  44. package/front_end/core/i18n/locales/ky.json +399 -354
  45. package/front_end/core/i18n/locales/lo.json +399 -354
  46. package/front_end/core/i18n/locales/lt.json +399 -354
  47. package/front_end/core/i18n/locales/lv.json +399 -354
  48. package/front_end/core/i18n/locales/mk.json +399 -354
  49. package/front_end/core/i18n/locales/ml.json +399 -354
  50. package/front_end/core/i18n/locales/mn.json +399 -354
  51. package/front_end/core/i18n/locales/mr.json +399 -354
  52. package/front_end/core/i18n/locales/ms.json +399 -354
  53. package/front_end/core/i18n/locales/my.json +399 -354
  54. package/front_end/core/i18n/locales/ne.json +399 -354
  55. package/front_end/core/i18n/locales/nl.json +399 -354
  56. package/front_end/core/i18n/locales/no.json +399 -354
  57. package/front_end/core/i18n/locales/or.json +399 -354
  58. package/front_end/core/i18n/locales/pa.json +410 -365
  59. package/front_end/core/i18n/locales/pl.json +399 -354
  60. package/front_end/core/i18n/locales/pt-PT.json +399 -354
  61. package/front_end/core/i18n/locales/pt.json +399 -354
  62. package/front_end/core/i18n/locales/ro.json +399 -354
  63. package/front_end/core/i18n/locales/ru.json +399 -354
  64. package/front_end/core/i18n/locales/si.json +399 -354
  65. package/front_end/core/i18n/locales/sk.json +399 -354
  66. package/front_end/core/i18n/locales/sl.json +399 -354
  67. package/front_end/core/i18n/locales/sq.json +399 -354
  68. package/front_end/core/i18n/locales/sr-Latn.json +399 -354
  69. package/front_end/core/i18n/locales/sr.json +399 -354
  70. package/front_end/core/i18n/locales/sv.json +399 -354
  71. package/front_end/core/i18n/locales/sw.json +399 -354
  72. package/front_end/core/i18n/locales/ta.json +405 -360
  73. package/front_end/core/i18n/locales/te.json +399 -354
  74. package/front_end/core/i18n/locales/th.json +399 -354
  75. package/front_end/core/i18n/locales/tr.json +399 -354
  76. package/front_end/core/i18n/locales/uk.json +399 -354
  77. package/front_end/core/i18n/locales/ur.json +399 -354
  78. package/front_end/core/i18n/locales/uz.json +399 -354
  79. package/front_end/core/i18n/locales/vi.json +399 -354
  80. package/front_end/core/i18n/locales/zh-HK.json +399 -354
  81. package/front_end/core/i18n/locales/zh-TW.json +399 -354
  82. package/front_end/core/i18n/locales/zh.json +399 -354
  83. package/front_end/core/i18n/locales/zu.json +399 -354
  84. package/front_end/core/platform/generate-dcheck.js +2 -2
  85. package/front_end/entrypoints/main/main-meta.ts +24 -24
  86. package/front_end/generated/SupportedCSSProperties.js +2 -2
  87. package/front_end/models/persistence/WorkspaceSettingsTab.ts +0 -1
  88. package/front_end/models/persistence/workspaceSettingsTab.css +3 -7
  89. package/front_end/panels/elements/ElementsPanel.ts +18 -14
  90. package/front_end/panels/elements/elementsPanel.css +6 -2
  91. package/front_end/panels/settings/settingsScreen.css +4 -3
  92. package/front_end/ui/legacy/filter.css +1 -0
  93. package/package.json +1 -1
  94. package/scripts/build/generate_css_js_files.js +8 -6
  95. package/scripts/build/generate_html_entrypoint.js +2 -1
  96. package/scripts/build/ninja/copy-file.js +2 -1
  97. package/scripts/build/ninja/copy-files.js +2 -1
  98. package/scripts/build/ninja/generate-declaration.js +2 -1
  99. package/scripts/build/ninja/node.gni +4 -1
  100. package/scripts/build/ninja/write-if-changed.js +27 -0
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).getFullYear();
22
- const fileContent = `
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
- fs.writeFileSync(path.join(targetGenDir, 'Images.prebundle.js'), fileContent, {encoding: 'utf-8'});
35
+ writeIfChanged(path.join(targetGenDir, 'Images.prebundle.js'), newContents);
36
36
 
37
- const tsconfigContent = `
38
- {
39
- "compilerOptions": {
40
- "composite": true
41
- },
42
- "files": [
43
- "Images.js"
44
- ]
37
+ const tsconfigContent = `{
38
+ "compilerOptions": {
39
+ "composite": true
40
+ },
41
+ "files": [
42
+ "Images.js"
43
+ ]
45
44
  }
46
45
  `;
47
46
 
48
- fs.writeFileSync(path.join(targetGenDir, `${targetName}-tsconfig.json`), tsconfigContent, {encoding: 'utf-8'});
47
+ writeIfChanged(path.join(targetGenDir, `${targetName}-tsconfig.json`), tsconfigContent);