mirror of
https://github.com/denoland/deno.git
synced 2025-01-03 04:48:52 -05:00
Upgrade Prettier to support BigInt syntax in TS
This commit is contained in:
parent
3846384888
commit
b7178e1704
4 changed files with 7 additions and 7 deletions
|
@ -117,8 +117,8 @@ export class URLSearchParams {
|
||||||
* searchParams.sort();
|
* searchParams.sort();
|
||||||
*/
|
*/
|
||||||
sort(): void {
|
sort(): void {
|
||||||
this.params = this.params.sort(
|
this.params = this.params.sort((a, b) =>
|
||||||
(a, b) => (a[0] === b[0] ? 0 : a[0] > b[0] ? 1 : -1)
|
a[0] === b[0] ? 0 : a[0] > b[0] ? 1 : -1
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,13 +3,13 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/base64-js": "^1.2.5",
|
"@types/base64-js": "^1.2.5",
|
||||||
"@types/flatbuffers": "^1.9.0",
|
"@types/flatbuffers": "^1.9.0",
|
||||||
"@types/prettier": "^1.13.2",
|
"@types/prettier": "=1.15.3",
|
||||||
"@types/source-map-support": "^0.4.1",
|
"@types/source-map-support": "^0.4.1",
|
||||||
"@types/text-encoding": "0.0.33",
|
"@types/text-encoding": "0.0.33",
|
||||||
"base64-js": "^1.3.0",
|
"base64-js": "^1.3.0",
|
||||||
"flatbuffers": "^1.9.0",
|
"flatbuffers": "^1.9.0",
|
||||||
"magic-string": "^0.22.5",
|
"magic-string": "^0.22.5",
|
||||||
"prettier": "^1.14.0",
|
"prettier": "=1.15.3",
|
||||||
"rollup": "0.67.0",
|
"rollup": "0.67.0",
|
||||||
"rollup-plugin-alias": "^1.4.0",
|
"rollup-plugin-alias": "^1.4.0",
|
||||||
"rollup-plugin-analyzer": "^2.1.0",
|
"rollup-plugin-analyzer": "^2.1.0",
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 69028eefdc6534683eb1263be0115df679dcaed1
|
Subproject commit e94296a27cdaeb96bfd86e499162764409e503bc
|
Loading…
Reference in a new issue