-
-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate deno.land/x hosting support
- Loading branch information
1 parent
2556630
commit 02eac3b
Showing
10 changed files
with
25 additions
and
42 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
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,15 +1,18 @@ | ||
# Simple imports for Deno projects | ||
# [DEPRECATED] deno.land/x support | ||
|
||
These **.ts** files enable shorter imports of the various packages available in this monorepo when | ||
importing SimpleWebAuthn from https://deno.land/x/simplewebauthn. | ||
Importing SimpleWebAuthn packages from `"https://deno.land/x/simplewebauthn/..."` URLs is no longer | ||
supported. Please use `deno add` to install them from **[JSR](https://jsr.io/@simplewebauthn)** | ||
instead: | ||
|
||
## Installation | ||
```sh | ||
# Deno v1.42 and higher | ||
$ deno add jsr:@simplewebauthn/... | ||
``` | ||
|
||
For example, to import the **server** or **types** packages into your Deno project, add the | ||
following to your **deps.ts** file: | ||
These packages can also be imported from | ||
**[NPM](https://www.npmjs.com/search?q=%40simplewebauthn)**: | ||
|
||
```ts | ||
import { ... } from 'https://deno.land/x/simplewebauthn/deno/browser.ts'; | ||
import { ... } from 'https://deno.land/x/simplewebauthn/deno/server.ts'; | ||
import type { ... } from 'https://deno.land/x/simplewebauthn/deno/types.ts'; | ||
```sh | ||
# Deno v1.46 and higher | ||
$ deno add npm:@simplewebauthn/... | ||
``` |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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