@@ -1033,7 +1033,6 @@
Loading
1033 1033
        ++this.state.pos;
1034 1034
        continue;
1035 1035
      }
1036 -
1037 1036
      if (code >= charCodes.lowercaseA) {
1038 1037
        val = code - charCodes.lowercaseA + charCodes.lineFeed;
1039 1038
      } else if (code >= charCodes.uppercaseA) {
@@ -1149,7 +1148,9 @@
Loading
1149 1148
      if (next === charCodes.plusSign || next === charCodes.dash) {
1150 1149
        ++this.state.pos;
1151 1150
      }
1152 -
      if (this.readInt(10) === null) this.raise(start, Errors.InvalidNumber);
1151 +
      if (this.readInt(10) === null) {
1152 +
        this.raise(start, Errors.InvalidOrMissingExponent);
1153 +
      }
1153 1154
      isFloat = true;
1154 1155
      hasExponent = true;
1155 1156
      next = this.input.charCodeAt(this.state.pos);

@@ -71,6 +71,8 @@
Loading
71 71
  InvalidLhs: "Invalid left-hand side in %0",
72 72
  InvalidLhsBinding: "Binding invalid left-hand side in %0",
73 73
  InvalidNumber: "Invalid number",
74 +
  InvalidOrMissingExponent:
75 +
    "Invalid or Missing exponent after 'e' in floating-point number",
74 76
  InvalidOrUnexpectedToken: "Unexpected character '%0'",
75 77
  InvalidParenthesizedAssignment: "Invalid parenthesized assignment pattern",
76 78
  InvalidPrivateFieldResolution: "Private name #%0 is not defined",
Files Coverage
codemods 100.00%
eslint 96.61%
packages 91.56%
Project Totals (439 files) 91.70%
1
coverage:
2
  parsers:
3
    javascript:
4
      enable_partials: yes
5
  status:
6
    project:
7
      default:
8
        target: "90%"
9
    patch:
10
      enabled: false
11
ignore:
12
  - packages/babel-types/src/*/generated/index.js
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading