Skip to content

Commit

Permalink
bump: update std
Browse files Browse the repository at this point in the history
  • Loading branch information
erfanium committed Mar 18, 2022
1 parent 79c5e80 commit 5d51c12
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 25 deletions.
23 changes: 8 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@
## Links

- [Docs](https://doc.deno.land/https/deno.land/x/mongo/mod.ts)
- [Benchmarks]() TODO

## Examples

- [deno-deploy-mongo](https://github.com/erfanium/deno-deploy-mongo) A basic
twitter like app with Deno, MongoDB and oak deployed on Deno Deploy

### Import

Expand Down Expand Up @@ -195,20 +189,19 @@ await writer.close();
const file = await new Response(bucket.openDownloadStream(id)).text();
```

## Unit-Testing
## Community Resources

To mock mongo-collections for use in unit-tests, please refer to the
[denomongo-unittest-utils](https://deno.land/x/denomongo_unittest_utils) module.
### Examples

## Contributing
- [deno-deploy-mongo](https://github.com/erfanium/deno-deploy-mongo) A simple
app with Deno, MongoDB and oak deployed on Deno Deploy and MongoDB Atlas

### Command to be implemented
### Tools

https://docs.mongodb.com/manual/reference/command/
- [denomongo-unittest-utils](https://deno.land/x/denomongo_unittest_utils) To
mock mongo-collections for use in unit-tests

### API style refer to

http://mongodb.github.io/node-mongodb-native/3.6/api/
## Contributing

### Local testing with Docker

Expand Down
16 changes: 8 additions & 8 deletions deps.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export * from "https://deno.land/x/web_bson@v0.1.9/mod.ts";
export { crypto } from "https://deno.land/std@0.126.0/crypto/mod.ts";
export { BufReader } from "https://deno.land/std@0.126.0/io/mod.ts";
export { writeAll } from "https://deno.land/std@0.126.0/streams/conversion.ts";
export { deferred } from "https://deno.land/std@0.126.0/async/deferred.ts";
export type { Deferred } from "https://deno.land/std@0.126.0/async/deferred.ts";
export * as b64 from "https://deno.land/std@0.126.0/encoding/base64.ts";
export * as hex from "https://deno.land/std@0.126.0/encoding/hex.ts";
export * from "https://deno.land/x/web_bson@v0.1.10/mod.ts";
export { crypto } from "https://deno.land/std@0.130.0/crypto/mod.ts";
export { BufReader } from "https://deno.land/std@0.130.0/io/mod.ts";
export { writeAll } from "https://deno.land/std@0.130.0/streams/conversion.ts";
export { deferred } from "https://deno.land/std@0.130.0/async/deferred.ts";
export type { Deferred } from "https://deno.land/std@0.130.0/async/deferred.ts";
export * as b64 from "https://deno.land/std@0.130.0/encoding/base64.ts";
export * as hex from "https://deno.land/std@0.130.0/encoding/hex.ts";
4 changes: 2 additions & 2 deletions tests/test.deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ export {
assertNotEquals,
assertRejects,
assertThrows,
} from "https://deno.land/std@0.126.0/testing/asserts.ts";
export { equals as bytesEquals } from "https://deno.land/std@0.126.0/bytes/equals.ts";
} from "https://deno.land/std@0.130.0/testing/asserts.ts";
export { equals as bytesEquals } from "https://deno.land/std@0.130.0/bytes/equals.ts";
export * as semver from "https://deno.land/x/semver@v1.4.0/mod.ts";

0 comments on commit 5d51c12

Please sign in to comment.