Skip to content

Commit

Permalink
Update to the latest version of TypeScript compiler, linter, and form…
Browse files Browse the repository at this point in the history
…atter

Due to the latest formatter does not run on Node.js v4 anymore, this
version has been excluded from Travis CI runs.

Closes jquerygh-1958
  • Loading branch information
ariya committed Dec 5, 2018
1 parent c0dfa42 commit 06172cb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ sudo: false
language: node_js
script: "npm run travis"
node_js:
- "4"
- "6"
- "8"
- "node"
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
"temp": "~0.8.3",
"test262": "git+https://git@github.com/tc39/test262.git#c4e3d12",
"test262-stream": "~1.0.0",
"tslint": "~5.8.0",
"typescript": "~2.6.2",
"typescript-formatter": "~7.0.1",
"tslint": "~5.11.0",
"typescript": "~3.2.1",
"typescript-formatter": "~7.2.2",
"unicode-11.0.0": "^0.7.7",
"webpack": "~1.14.0"
},
Expand Down
4 changes: 2 additions & 2 deletions src/scanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1117,8 +1117,8 @@ export class Scanner {
// avoid throwing on regular expressions that are only valid in
// combination with the "u" flag.
.replace(
/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,
astralSubstitute
/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,
astralSubstitute
);
}

Expand Down

0 comments on commit 06172cb

Please sign in to comment.