-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update std and eszip deps (#316)
- Loading branch information
Showing
21 changed files
with
600 additions
and
342 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { load } from "https://deno.land/x/eszip@v0.28.0/loader.ts"; | ||
import { LoadResponse } from "https://deno.land/x/eszip@v0.28.0/mod.ts"; | ||
import * as path from "https://deno.land/std@0.127.0/path/mod.ts"; | ||
import { load } from "https://deno.land/x/eszip@v0.37.0/loader.ts"; | ||
import { LoadResponse } from "https://deno.land/x/eszip@v0.37.0/mod.ts"; | ||
import * as path from "https://deno.land/std@0.178.0/path/mod.ts"; | ||
import { retryAsync } from "https://deno.land/x/[email protected]/mod.ts"; | ||
import { isTooManyTries } from "https://deno.land/x/[email protected]/retry/tooManyTries.ts"; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. | ||
// This module is browser compatible. | ||
|
||
/** | ||
* All internal non-test code, that is files that do not have `test` or `bench` in the name, must use the assertion functions within `_utils/asserts.ts` and not `testing/asserts.ts`. This is to create a separation of concerns between internal and testing assertions. | ||
*/ | ||
|
||
export class DenoStdInternalError extends Error { | ||
constructor(message: string) { | ||
super(message); | ||
this.name = "DenoStdInternalError"; | ||
} | ||
} | ||
|
||
/** Make an assertion, if not `true`, then throw. */ | ||
export function assert(expr: unknown, msg = ""): asserts expr { | ||
if (!expr) { | ||
throw new DenoStdInternalError(msg); | ||
} | ||
} | ||
|
||
/** Use this to assert unreachable code. */ | ||
export function unreachable(): never { | ||
throw new DenoStdInternalError("unreachable"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../deno.land/[email protected]/path/_constants.ts → .../deno.land/[email protected]/path/_constants.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../deno.land/[email protected]/path/_interface.ts → .../deno.land/[email protected]/path/_interface.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ndor/deno.land/[email protected]/path/common.ts → ...ndor/deno.land/[email protected]/path/common.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 20 additions & 2 deletions
22
.../vendor/deno.land/[email protected]/path/mod.ts → .../vendor/deno.land/[email protected]/path/mod.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.