Skip to content

Commit 0c0b1fd

Browse files
fix: prevent managed server setup
1 parent 87e4c1a commit 0c0b1fd

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ import { superdeno } from "https://deno.land/x/superdeno/mod.ts";
112112
SuperDeno is also available on [nest.land](https://nest.land/package/superdeno),
113113
a package registry for Deno on the Blockchain.
114114

115-
> Note: All examples in this README are using the unversioned form of the import URL. In production you should always use the versioned import form such as `https://deno.land/x/[email protected].0/mod.ts`.
115+
> Note: All examples in this README are using the unversioned form of the import URL. In production you should always use the versioned import form such as `https://deno.land/x/[email protected].1/mod.ts`.
116116
117117
## Examples
118118

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ <h2>Installation</h2>
165165
<p>SuperDeno is also available on <a href="https://nest.land/package/superdeno">nest.land</a>,
166166
a package registry for Deno on the Blockchain.</p>
167167
<blockquote>
168-
<p>Note: All examples in this README are using the unversioned form of the import URL. In production you should always use the versioned import form such as <code>https://deno.land/x/[email protected].0/mod.ts</code>.</p>
168+
<p>Note: All examples in this README are using the unversioned form of the import URL. In production you should always use the versioned import form such as <code>https://deno.land/x/[email protected].1/mod.ts</code>.</p>
169169
</blockquote>
170170
<a href="#examples" id="examples" style="color: inherit; text-decoration: none;">
171171
<h2>Examples</h2>

egg.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "superdeno",
33
"description": "HTTP assertions for Deno made easy via superagent.",
4-
"version": "5.0.0",
4+
"version": "5.0.1",
55
"repository": "https://github.com/cmorten/superdeno",
66
"stable": true,
77
"checkFormat": false,

src/superdeno.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ export function superdeno(
7979
if (!isString(app) && !isListener(app) && !isServer(app)) {
8080
managedServer = Deno.serve({
8181
port: 0,
82+
onListen: () => {},
8283
}, async function handler(request) {
8384
try {
8485
return await app(request);

version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Version of SuperDeno.
33
*/
4-
export const VERSION = "5.0.0";
4+
export const VERSION = "5.0.1";
55

66
/**
77
* Supported versions of Deno.

0 commit comments

Comments
 (0)