-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from itohatweb/few-changes
remove: deps.ts & change: don't use Deno enabled workers
- Loading branch information
Showing
7 changed files
with
18 additions
and
19 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 |
---|---|---|
|
@@ -9,7 +9,7 @@ This is a port from [jBCrypt](https://github.com/jeremyh/jBCrypt) to TypeScript | |
It has zero third-party dependencies. | ||
|
||
Running in sync requires no permissions. | ||
Running in async functionality requires --allow-net and --unstable | ||
Running in async functionality requires --allow-net | ||
|
||
## Import | ||
|
||
|
@@ -29,7 +29,7 @@ import * as bcrypt from "https://deno.land/x/[email protected]/mod.ts"; | |
|
||
### Async | ||
|
||
The Async implementation requires WebWorkers which require --allow-net to import Deno standard modules from inside the Worker. Also, to [allow Crypto inside a WebWorker](https://github.com/denoland/deno/pull/5121), you'll need to use the --unstable flag too. | ||
The Async implementation requires WebWorkers which require --allow-net to import Deno standard modules from inside the Worker. | ||
|
||
```ts | ||
const hash = await bcrypt.hash("test"); | ||
|
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,8 +1,8 @@ | ||
export { | ||
genSalt, | ||
compare, | ||
hash, | ||
genSaltSync, | ||
compareSync, | ||
genSalt, | ||
genSaltSync, | ||
hash, | ||
hashSync, | ||
} from "./src/main.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
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