chrome-devtools-frontend 1.0.944903 → 1.0.945329

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 (35) hide show
  1. package/front_end/core/host/InspectorFrontendHostAPI.ts +5 -5
  2. package/front_end/core/host/UserMetrics.ts +3 -1
  3. package/front_end/core/i18n/i18nImpl.ts +7 -4
  4. package/front_end/core/i18n/locales/en-US.json +0 -45
  5. package/front_end/core/i18n/locales/en-XL.json +0 -45
  6. package/front_end/entrypoints/main/MainImpl.ts +6 -0
  7. package/front_end/models/persistence/IsolatedFileSystemManager.ts +6 -10
  8. package/front_end/models/timeline_model/TimelineJSProfile.ts +16 -3
  9. package/front_end/models/timeline_model/TimelineModel.ts +1 -0
  10. package/front_end/models/workspace_diff/WorkspaceDiff.ts +20 -6
  11. package/front_end/panels/application/BackForwardCacheStrings.ts +15 -75
  12. package/front_end/panels/changes/ChangesView.ts +8 -7
  13. package/front_end/panels/elements/StyleEditorWidget.ts +2 -13
  14. package/front_end/panels/elements/StylePropertyTreeElement.ts +4 -7
  15. package/front_end/panels/emulation/DeviceModeView.ts +3 -0
  16. package/front_end/panels/help/ReleaseNoteText.ts +3 -1
  17. package/front_end/panels/timeline/TimelineController.ts +3 -0
  18. package/front_end/third_party/acorn/README.chromium +2 -2
  19. package/front_end/third_party/acorn/acorn.ts +1 -1
  20. package/front_end/third_party/acorn/package/CHANGELOG.md +31 -1
  21. package/front_end/third_party/acorn/package/README.md +1 -1
  22. package/front_end/third_party/acorn/package/dist/acorn.d.ts +3 -0
  23. package/front_end/third_party/acorn/package/dist/acorn.js +772 -708
  24. package/front_end/third_party/acorn/package/dist/acorn.mjs +767 -703
  25. package/front_end/third_party/acorn/package/dist/bin.js +47 -21
  26. package/front_end/third_party/acorn/package/package.json +1 -1
  27. package/front_end/third_party/acorn-loose/README.chromium +2 -2
  28. package/front_end/third_party/acorn-loose/package/CHANGELOG.md +12 -0
  29. package/front_end/third_party/acorn-loose/package/dist/acorn-loose.js +27 -7
  30. package/front_end/third_party/acorn-loose/package/dist/acorn-loose.mjs +28 -8
  31. package/front_end/third_party/acorn-loose/package/package.json +2 -2
  32. package/front_end/third_party/i18n/i18n-impl.ts +1 -1
  33. package/front_end/ui/legacy/InspectorView.ts +1 -1
  34. package/inspector_overlay/main.ts +3 -0
  35. package/package.json +1 -1
@@ -7,7 +7,7 @@ import * as acorn from './package/dist/acorn.mjs';
7
7
  import type * as ESTree from './estree-legacy';
8
8
  export {ESTree};
9
9
 
10
- export { Comment, defaultOptions, getLineInfo, isNewLine, lineBreak, lineBreakG, Node, SourceLocation, Token,tokTypes} from './package/dist/acorn.mjs';
10
+ export { Comment, defaultOptions, getLineInfo, isNewLine, lineBreak, lineBreakG, Node, SourceLocation, Token, tokTypes, tokContexts} from './package/dist/acorn.mjs';
11
11
 
12
12
  export const Parser = acorn.Parser;
13
13
  export const tokenizer = acorn.Parser.tokenizer.bind(acorn.Parser);
@@ -1,3 +1,33 @@
1
+ ## 8.6.0 (2021-11-18)
2
+
3
+ ### Bug fixes
4
+
5
+ Fix a bug where an object literal with multiple `__proto__` properties would incorrectly be accepted if a later property value held an assigment.
6
+
7
+ ### New features
8
+
9
+ Support class private fields with the `in` operator.
10
+
11
+ ## 8.5.0 (2021-09-06)
12
+
13
+ ### Bug fixes
14
+
15
+ Improve context-dependent tokenization in a number of corner cases.
16
+
17
+ Fix location tracking after a 0x2028 or 0x2029 character in a string literal (which before did not increase the line number).
18
+
19
+ Fix an issue where arrow function bodies in for loop context would inappropriately consume `in` operators.
20
+
21
+ Fix wrong end locations stored on SequenceExpression nodes.
22
+
23
+ Implement restriction that `for`/`of` loop LHS can't start with `let`.
24
+
25
+ ### New features
26
+
27
+ Add support for ES2022 class static blocks.
28
+
29
+ Allow multiple input files to be passed to the CLI tool.
30
+
1
31
  ## 8.4.1 (2021-06-24)
2
32
 
3
33
  ### Bug fixes
@@ -16,7 +46,7 @@ A new option, `allowSuperOutsideMethod`, can be used to suppress the error when
16
46
 
17
47
  Default `allowAwaitOutsideFunction` to true for ECMAScript 2022 an higher.
18
48
 
19
- Add support for the `p` ([indices](https://github.com/tc39/proposal-regexp-match-indices)) regexp flag.
49
+ Add support for the `d` ([indices](https://github.com/tc39/proposal-regexp-match-indices)) regexp flag.
20
50
 
21
51
  ## 8.2.4 (2021-05-04)
22
52
 
@@ -54,7 +54,7 @@ required):
54
54
 
55
55
  - **ecmaVersion**: Indicates the ECMAScript version to parse. Must be
56
56
  either 3, 5, 6 (or 2015), 7 (2016), 8 (2017), 9 (2018), 10 (2019),
57
- 11 (2020), 12 (2021, partial support), 13 (2022, partial support)
57
+ 11 (2020), 12 (2021), 13 (2022, partial support)
58
58
  or `"latest"` (the latest the library supports). This influences
59
59
  support for strict mode, the set of reserved words, and support
60
60
  for new syntax features.
@@ -173,6 +173,9 @@ declare namespace acorn {
173
173
  p_expr: TokContext
174
174
  q_tmpl: TokContext
175
175
  f_expr: TokContext
176
+ f_stat: TokContext
177
+ f_expr_gen: TokContext
178
+ f_gen: TokContext
176
179
  }
177
180
 
178
181
  function isIdentifierStart(code: number, astral?: boolean): boolean