@ms-cloudpack/app-server 0.2.1 → 0.2.3

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.
@@ -1 +1,2 @@
1
+ export {};
1
2
  //# sourceMappingURL=defineProcess.inline.d.ts.map
@@ -1,8 +1,8 @@
1
- "use strict";
2
1
  // This file must NOT import other files, because they won't be resolved at runtime.
3
2
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
4
3
  window.process ??= {};
5
4
  window.process.env ??= {};
6
5
  // Assign true to process.browser for packages like readable-stream
7
6
  process.browser = true;
7
+ export {};
8
8
  //# sourceMappingURL=defineProcess.inline.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"defineProcess.inline.js","sourceRoot":"","sources":["../../src/inlineScripts/defineProcess.inline.ts"],"names":[],"mappings":";AAAA,oFAAoF;AAEpF,8DAA8D;AAC9D,MAAM,CAAC,OAAO,KAAK,EAAS,CAAC;AAC7B,MAAM,CAAC,OAAO,CAAC,GAAG,KAAK,EAAE,CAAC;AAE1B,mEAAmE;AAClE,OAA2C,CAAC,OAAO,GAAG,IAAI,CAAC","sourcesContent":["// This file must NOT import other files, because they won't be resolved at runtime.\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nwindow.process ??= {} as any;\nwindow.process.env ??= {};\n\n// Assign true to process.browser for packages like readable-stream\n(process as unknown as { browser: boolean }).browser = true;\n"]}
1
+ {"version":3,"file":"defineProcess.inline.js","sourceRoot":"","sources":["../../src/inlineScripts/defineProcess.inline.ts"],"names":[],"mappings":"AAAA,oFAAoF;AAEpF,8DAA8D;AAC9D,MAAM,CAAC,OAAO,KAAK,EAAS,CAAC;AAC7B,MAAM,CAAC,OAAO,CAAC,GAAG,KAAK,EAAE,CAAC;AAE1B,mEAAmE;AAClE,OAA2C,CAAC,OAAO,GAAG,IAAI,CAAC","sourcesContent":["// This file must NOT import other files, because they won't be resolved at runtime.\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nwindow.process ??= {} as any;\nwindow.process.env ??= {};\n\n// Assign true to process.browser for packages like readable-stream\n(process as unknown as { browser: boolean }).browser = true;\n"]}
@@ -1,8 +1,2 @@
1
- declare const pageErrors: {
2
- uncaughtErrors: ErrorEvent[];
3
- uncaughtRejections: PromiseRejectionEvent[];
4
- unregister: () => void;
5
- };
6
- declare function handleError(event: ErrorEvent): void;
7
- declare function handleRejection(event: PromiseRejectionEvent): void;
1
+ export {};
8
2
  //# sourceMappingURL=errorHandler.inline.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"errorHandler.inline.d.ts","sourceRoot":"","sources":["../../src/inlineScripts/errorHandler.inline.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,UAAU;;;;CAOd,CAAC;AAEH,iBAAS,WAAW,CAAC,KAAK,EAAE,UAAU,QAErC;AAED,iBAAS,eAAe,CAAC,KAAK,EAAE,qBAAqB,QAEpD"}
1
+ {"version":3,"file":"errorHandler.inline.d.ts","sourceRoot":"","sources":["../../src/inlineScripts/errorHandler.inline.ts"],"names":[],"mappings":""}
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  // This file must NOT import other files, because they won't be resolved at runtime.
3
2
  const pageErrors = (window.__pageErrors = {
4
3
  uncaughtErrors: [],
@@ -16,4 +15,5 @@ function handleRejection(event) {
16
15
  }
17
16
  window.addEventListener('error', handleError);
18
17
  window.addEventListener('unhandledrejection', handleRejection);
18
+ export {};
19
19
  //# sourceMappingURL=errorHandler.inline.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"errorHandler.inline.js","sourceRoot":"","sources":["../../src/inlineScripts/errorHandler.inline.ts"],"names":[],"mappings":";AAAA,oFAAoF;AAEpF,MAAM,UAAU,GAAG,CAAC,MAAM,CAAC,YAAY,GAAG;IACxC,cAAc,EAAE,EAAkB;IAClC,kBAAkB,EAAE,EAA6B;IACjD,UAAU,EAAE,GAAG,EAAE;QACf,MAAM,CAAC,mBAAmB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;QACjD,MAAM,CAAC,mBAAmB,CAAC,oBAAoB,EAAE,eAAe,CAAC,CAAC;IACpE,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,WAAW,CAAC,KAAiB;IACpC,UAAU,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AACxC,CAAC;AAED,SAAS,eAAe,CAAC,KAA4B;IACnD,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAC5C,CAAC;AAED,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;AAC9C,MAAM,CAAC,gBAAgB,CAAC,oBAAoB,EAAE,eAAe,CAAC,CAAC","sourcesContent":["// This file must NOT import other files, because they won't be resolved at runtime.\n\nconst pageErrors = (window.__pageErrors = {\n uncaughtErrors: [] as ErrorEvent[],\n uncaughtRejections: [] as PromiseRejectionEvent[],\n unregister: () => {\n window.removeEventListener('error', handleError);\n window.removeEventListener('unhandledrejection', handleRejection);\n },\n});\n\nfunction handleError(event: ErrorEvent) {\n pageErrors.uncaughtErrors.push(event);\n}\n\nfunction handleRejection(event: PromiseRejectionEvent) {\n pageErrors.uncaughtRejections.push(event);\n}\n\nwindow.addEventListener('error', handleError);\nwindow.addEventListener('unhandledrejection', handleRejection);\n"]}
1
+ {"version":3,"file":"errorHandler.inline.js","sourceRoot":"","sources":["../../src/inlineScripts/errorHandler.inline.ts"],"names":[],"mappings":"AAAA,oFAAoF;AAEpF,MAAM,UAAU,GAAG,CAAC,MAAM,CAAC,YAAY,GAAG;IACxC,cAAc,EAAE,EAAkB;IAClC,kBAAkB,EAAE,EAA6B;IACjD,UAAU,EAAE,GAAG,EAAE;QACf,MAAM,CAAC,mBAAmB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;QACjD,MAAM,CAAC,mBAAmB,CAAC,oBAAoB,EAAE,eAAe,CAAC,CAAC;IACpE,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,WAAW,CAAC,KAAiB;IACpC,UAAU,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AACxC,CAAC;AAED,SAAS,eAAe,CAAC,KAA4B;IACnD,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAC5C,CAAC;AAED,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;AAC9C,MAAM,CAAC,gBAAgB,CAAC,oBAAoB,EAAE,eAAe,CAAC,CAAC","sourcesContent":["// This file must NOT import other files, because they won't be resolved at runtime.\n\nconst pageErrors = (window.__pageErrors = {\n uncaughtErrors: [] as ErrorEvent[],\n uncaughtRejections: [] as PromiseRejectionEvent[],\n unregister: () => {\n window.removeEventListener('error', handleError);\n window.removeEventListener('unhandledrejection', handleRejection);\n },\n});\n\nfunction handleError(event: ErrorEvent) {\n pageErrors.uncaughtErrors.push(event);\n}\n\nfunction handleRejection(event: PromiseRejectionEvent) {\n pageErrors.uncaughtRejections.push(event);\n}\n\nwindow.addEventListener('error', handleError);\nwindow.addEventListener('unhandledrejection', handleRejection);\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ms-cloudpack/app-server",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "An implementation of the App server for Cloudpack.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -14,17 +14,17 @@
14
14
  }
15
15
  },
16
16
  "dependencies": {
17
- "@ms-cloudpack/api-server": "^0.32.0",
18
- "@ms-cloudpack/bundle-server": "^0.2.31",
17
+ "@ms-cloudpack/api-server": "^0.32.2",
18
+ "@ms-cloudpack/bundle-server": "^0.2.33",
19
19
  "@ms-cloudpack/bundler-types": "^0.25.1",
20
20
  "@ms-cloudpack/config-types": "^0.6.0",
21
- "@ms-cloudpack/create-express-app": "^1.5.0",
22
- "@ms-cloudpack/overlay": "^0.16.80",
23
- "@ms-cloudpack/package-hashes": "^0.3.31",
24
- "@ms-cloudpack/path-string-parsing": "^1.2.0",
25
- "@ms-cloudpack/path-utilities": "^2.6.0",
26
- "@ms-cloudpack/task-reporter": "^0.11.1",
27
- "@ms-cloudpack/import-map": "^0.1.1",
21
+ "@ms-cloudpack/create-express-app": "^1.5.1",
22
+ "@ms-cloudpack/import-map": "^0.1.2",
23
+ "@ms-cloudpack/overlay": "^0.16.82",
24
+ "@ms-cloudpack/package-hashes": "^0.3.32",
25
+ "@ms-cloudpack/path-string-parsing": "^1.2.1",
26
+ "@ms-cloudpack/path-utilities": "^2.6.1",
27
+ "@ms-cloudpack/task-reporter": "^0.11.2",
28
28
  "jsdom": "^22.0.0"
29
29
  },
30
30
  "devDependencies": {