@haibun/web-server-express 1.28.18 → 1.28.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@haibun/web-server-express",
3
3
  "type": "module",
4
- "version": "1.28.18",
4
+ "version": "1.28.19",
5
5
  "description": "",
6
6
  "main": "build/web-server-stepper.js",
7
7
  "files": [
@@ -20,14 +20,14 @@
20
20
  "author": "",
21
21
  "license": "ISC",
22
22
  "dependencies": {
23
- "@haibun/core": "1.28.18",
24
- "@haibun/domain-webpage": "1.28.18",
23
+ "@haibun/core": "1.28.19",
24
+ "@haibun/domain-webpage": "1.28.19",
25
25
  "cookie-parser": "^1.4.5",
26
26
  "express": "^4.17.1",
27
27
  "serve-index": "^1.9.1"
28
28
  },
29
29
  "devDependencies": {
30
- "@haibun/web-http": "1.28.18",
30
+ "@haibun/web-http": "1.28.19",
31
31
  "@types/cookie-parser": "^1.4.2",
32
32
  "@types/express": "^4.17.15"
33
33
  },
@@ -1 +0,0 @@
1
- {"version":3,"file":"web-server-stepper-route.test.js","sourceRoot":"","sources":["../src/web-server-stepper-route.test.ts"],"names":[],"mappings":"AACA,OAAO,OAAO,MAAM,oCAAoC,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AACtG,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAAmC,SAAS,EAAE,MAAM,WAAW,CAAC;AAEvE,OAAO,MAAM,MAAM,yBAAyB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAU,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,gBAAgB,MAAM,yBAAyB,CAAC;AAEvD,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,EAAE,CAAC,IA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ib/defs.js';
2
- import { IWebServer } from './defs.js';
3
- import { ServerExpress } from './server-express.js';
4
- declare const WebServerStepper: {
5
- new (): {
6
- webserver: ServerExpress | undefined;
7
- options: {
8
- PORT: {
9
- desc: string;
10
- parse: (port: string) => {
11
- error: string;
12
- result?: undefined;
13
- } | {
14
- result: number;
15
- error?: undefined;
16
- };
17
- };
18
- };
19
- setWorld(world: TWorld, steppers: AStepper[]): void;
20
- close(): Promise<void>;
21
- steps: {
22
- thisURI: {
23
- gwta: string;
24
- action: ({ where }: TNamed, vstep: TVStep) => Promise<import("@haibun/core/build/lib/defs.js").TOKActionResult>;
25
- };
26
- isListening: {
27
- gwta: string;
28
- action: () => Promise<import("@haibun/core/build/lib/defs.js").TOKActionResult>;
29
- };
30
- showMounts: {
31
- gwta: string;
32
- action: () => Promise<import("@haibun/core/build/lib/defs.js").TOKActionResult>;
33
- };
34
- serveFilesAt: {
35
- gwta: string;
36
- action: ({ where, loc }: TNamed) => Promise<import("@haibun/core/build/lib/defs.js").TOKActionResult>;
37
- };
38
- serveFiles: {
39
- gwta: string;
40
- action: ({ loc }: TNamed) => Promise<import("@haibun/core/build/lib/defs.js").TOKActionResult | import("@haibun/core/build/lib/defs.js").TNotOKActionResult>;
41
- };
42
- indexFiles: {
43
- gwta: string;
44
- action: ({ loc }: TNamed) => Promise<import("@haibun/core/build/lib/defs.js").TOKActionResult | import("@haibun/core/build/lib/defs.js").TNotOKActionResult>;
45
- };
46
- indexFilesAt: {
47
- gwta: string;
48
- action: ({ where, loc }: TNamed) => Promise<import("@haibun/core/build/lib/defs.js").TOKActionResult | import("@haibun/core/build/lib/defs.js").TNotOKActionResult>;
49
- };
50
- };
51
- doServeIndex(where: any, loc: any): Promise<import("@haibun/core/build/lib/defs.js").TOKActionResult>;
52
- doServeFiles(where: any, loc: any): Promise<import("@haibun/core/build/lib/defs.js").TOKActionResult>;
53
- listen(): Promise<void>;
54
- world?: TWorld;
55
- endFeature?(): void;
56
- onFailure?(result: import("@haibun/core/build/lib/defs.js").TStepResult): void;
57
- getWorld(): TWorld;
58
- };
59
- };
60
- export default WebServerStepper;
61
- export type ICheckListener = (options: TOptions, webserver: IWebServer) => void;
62
- export interface IWebServerStepper {
63
- webserver: IWebServer;
64
- close: () => void;
65
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"web-server-stepper.d.ts","sourceRoot":"","sources":["../src/web-server-stepper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAe,MAAM,6BAA6B,CAAC;AAEvH,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,UAAU,EAAc,MAAM,QAAQ,CAAC;AAChD,OAAO,EAAE,aAAa,EAAgB,MAAM,kBAAkB,CAAC;AAK/D,QAAA,MAAM,gBAAgB;;mBACT,aAAa,GAAG,SAAS;;;;8BAKlB,MAAM;;;;;;;;;wBAIR,MAAM,YAAY,QAAQ,EAAE;;;;;oCAed,MAAM,SAAS,MAAM;;;;6CAaZ,MAAM,UAAU,MAAM;sCAO7B,MAAM,cAAc,MAAM,aAAa,gBAAgB;0CA2ChE,gBAAgB;;;;;;;;;;;;;;;kCAbX,MAAM;iCAOP,MAAM;;;8BAMV,gBAAgB;;;;;;CAcxC,CAAC;AACF,eAAe,gBAAgB,CAAC;AAEhC,oBAAY,cAAc,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,KAAK,IAAI,CAAC;AAChF,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,UAAU,CAAC;IACtB,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB"}
@@ -1,103 +0,0 @@
1
- import { OK, AStepper, } from '@haibun/core/build/lib/defs.js';
2
- import { actionNotOK, getFromRuntime, getStepperOption, intOrError } from '@haibun/core/build/lib/util/index.js';
3
- import { WEBSERVER, } from './defs.js';
4
- import { ServerExpress, DEFAULT_PORT } from './server-express.js';
5
- import { WEB_PAGE } from '@haibun/domain-webpage/build/domain-webpage.js';
6
- const WebServerStepper = class WebServerStepper extends AStepper {
7
- webserver;
8
- options = {
9
- PORT: {
10
- desc: `change web server port from ${DEFAULT_PORT}`,
11
- parse: (port) => intOrError(port)
12
- },
13
- };
14
- setWorld(world, steppers) {
15
- super.setWorld(world, steppers);
16
- // this.world.runtime[CHECK_LISTENER] = WebServerStepper.checkListener;
17
- const port = parseInt(getStepperOption(this, 'PORT', world.extraOptions)) || DEFAULT_PORT;
18
- this.webserver = new ServerExpress(world.logger, [process.cwd(), 'files'].join('/'), port);
19
- world.runtime[WEBSERVER] = this.webserver;
20
- }
21
- async close() {
22
- await this.webserver?.close();
23
- }
24
- steps = {
25
- thisURI: {
26
- gwta: `a ${WEB_PAGE} at {where}`,
27
- action: async ({ where }, vstep) => {
28
- const page = vstep.source.name;
29
- const webserver = getFromRuntime(this.getWorld().runtime, WEBSERVER);
30
- await webserver.checkAddStaticFolder(page, where);
31
- return OK;
32
- },
33
- },
34
- /// generator
35
- isListening: {
36
- gwta: 'webserver is listening',
37
- action: async () => {
38
- await this.listen();
39
- return OK;
40
- },
41
- },
42
- showMounts: {
43
- gwta: 'show mounts',
44
- action: async () => {
45
- const webserver = getFromRuntime(this.getWorld().runtime, WEBSERVER);
46
- const mounts = webserver.mounted;
47
- this.getWorld().logger.info(`mounts: ${JSON.stringify(mounts)}`);
48
- return OK;
49
- },
50
- },
51
- serveFilesAt: {
52
- gwta: 'serve files at {where} from {loc}',
53
- action: async ({ where, loc }) => {
54
- await this.doServeFiles(where, loc).catch((e) => actionNotOK(e));
55
- return OK;
56
- },
57
- },
58
- serveFiles: {
59
- gwta: 'serve files from {loc}',
60
- action: async ({ loc }) => {
61
- const r = await this.doServeFiles('/', loc).catch((e) => actionNotOK(e));
62
- return r;
63
- }
64
- },
65
- indexFiles: {
66
- gwta: 'index files from {loc}',
67
- action: async ({ loc }) => {
68
- const r = await this.doServeIndex('/', loc).catch((e) => actionNotOK(e));
69
- return r;
70
- }
71
- },
72
- indexFilesAt: {
73
- gwta: 'index files at {where} from {loc}',
74
- action: async ({ where, loc }) => {
75
- const r = await this.doServeIndex(where, loc).catch((e) => actionNotOK(e));
76
- return r;
77
- }
78
- }
79
- };
80
- async doServeIndex(where, loc) {
81
- const ws = getFromRuntime(this.getWorld().runtime, WEBSERVER);
82
- const res = ws.checkAddIndexFolder(loc, where);
83
- if (res) {
84
- throw Error(`failed to add index folder ${loc} at ${where}`);
85
- }
86
- await this.listen();
87
- return OK;
88
- }
89
- async doServeFiles(where, loc) {
90
- const ws = getFromRuntime(this.getWorld().runtime, WEBSERVER);
91
- const res = ws.checkAddStaticFolder(loc, where);
92
- if (res) {
93
- throw Error(`failed to add static folder ${loc} at ${where}`);
94
- }
95
- await this.listen();
96
- return OK;
97
- }
98
- async listen() {
99
- await this.webserver.listen();
100
- }
101
- };
102
- export default WebServerStepper;
103
- //# sourceMappingURL=web-server-stepper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"web-server-stepper.js","sourceRoot":"","sources":["../src/web-server-stepper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,EAAE,EAA4B,QAAQ,GAAW,MAAM,gCAAgC,CAAC;AAC9G,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AACjH,OAAO,EAAc,SAAS,GAAG,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,gDAAgD,CAAC;AAE1E,MAAM,gBAAgB,GAAG,MAAM,gBAAiB,SAAQ,QAAQ;IAC9D,SAAS,CAA4B;IAErC,OAAO,GAAG;QACR,IAAI,EAAE;YACJ,IAAI,EAAE,+BAA+B,YAAY,EAAE;YACnD,KAAK,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,UAAU,CAAC,IAAI,C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,SAAS,CAAC,MAAM,EAAE,CAAC;IAChC,CAAC;CACF,CAAC;AACF,eAAe,gBAAgB,CAAC"}
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- {"version":3,"file":"web-server-stepper.test.d.ts","sourceRoot":"","sources":["../src/web-server-stepper.test.ts"],"names":[],"mappings":""}
@@ -1,39 +0,0 @@
1
- import { testWithDefaults } from '@haibun/core/build/lib/test/lib.js';
2
- import WebHttp from '@haibun/web-http/build/web-http.js';
3
- import server from './web-server-stepper.js';
4
- describe('static mount', () => {
5
- it('serves files', async () => {
6
- const feature = { path: '/features/test.feature', content: `serve files from test\nfetch from http://localhost:8123/testfile matches "content"` };
7
- const result = await testWithDefaults([feature], [server, WebHttp]);
8
- expect(result.ok).toBe(true);
9
- });
10
- it('restricts characters used in static mount folder name', async () => {
11
- const feature = { path: '/features/test.feature', content: `serve files from l*(*$\n` };
12
- const result = await testWithDefaults([feature], [server]);
13
- expect(result.ok).toBe(false);
14
- });
15
- it("doesn't re-mount same static mount", async () => {
16
- const feature = { path: '/features/test.feature', content: `serve files from test\nserve files from test\n` };
17
- const result = await testWithDefaults([feature], [server]);
18
- expect(result.ok).toBe(false);
19
- });
20
- it("doesn't permit different static mount", async () => {
21
- const feature = { path: '/features/test.feature', content: `serve files from test\nserve files from fails\n` };
22
- const result = await testWithDefaults([feature], [server]);
23
- expect(result.ok).toBe(false);
24
- });
25
- });
26
- describe.skip('index mount', () => {
27
- // FIXME: This fails when both tests are run
28
- it('index files at', async () => {
29
- const feature = { path: '/features/test.feature', content: `index files at /test from test\nfetch from http://localhost:8123/test/ contains href="/test/testfile"\nfetch from http://localhost:8123/test/testfile matches "content"` };
30
- const result = await testWithDefaults([feature], [server, WebHttp]);
31
- expect(result.ok).toBe(true);
32
- });
33
- it('index files', async () => {
34
- const feature = { path: '/features/test.feature', content: `index files from test\nfetch from http://localhost:8123/ contains href="/testfile"\nfetch from http://localhost:8123/testfile matches "content"` };
35
- const result = await testWithDefaults([feature], [server, WebHttp]);
36
- expect(result.ok).toBe(true);
37
- });
38
- });
39
- //# sourceMappingURL=web-server-stepper.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"web-server-stepper.test.js","sourceRoot":"","sources":["../src/web-server-stepper.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,OAAO,MAAM,oCAAoC,CAAC;AAEzD,OAAO,MAAM,MAAM,yBAAyB,CAAC;AAE7C,QAAQ,CAAC,cAAc,EAAE,GAAG,EAAE;IAC5B,EAAE,CAAC,cAAc,EAAE,KAAK,IAAI,EAAE;QAC5B,MAAM,OAAO,GAAG,EAAE,IAAI,EAAE,wBAAwB,EAAE,OAAO,EAAE,oFAAoF,EAAE,CAAC;QAClJ,MAAM,MAAM,GAAG,MAAM,gBAAgB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;QACpE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,uDAAuD,EAAE,KAAK,IAAI,EAAE;QACrE,MAAM,OAAO,GAAG,EAAE,IAAI,EAAE,wBAAwB,EAAE,OAAO,EAAE,0BAA0B,EAAE,CAAA;QACvF,MAAM,MAAM,GAAG,MAAM,gBAAgB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;QAC3D,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAChC,CAAC,CAAC,CAAC;IACH,EAAE,CAAC,oCAAoC,EAAE,KAAK,IAAI,EAAE;QAClD,MAAM,OAAO,GAAG,EAAE,IAAI,EAAE,wBAAwB,EAAE,OAAO,EAAE,gDAAgD,EAAE,CAAA;QAC7G,MAAM,MAAM,GAAG,MAAM,gBAAgB,C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