@golemio/raw 1.2.1-dev.2644182723 → 1.2.1-dev.2649306872
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/dist/index.js
CHANGED
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
exports.InputGateway = void 0;
|
|
27
37
|
// Library exports
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kBAAkB;AAClB,sEAA0C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RawRouter.js","sourceRoot":"","sources":["../../src/input-gateway/RawRouter.ts"],"names":[],"mappings":";;;AAAA,+DAA4F;AAC5F,oEAAsG;AACtG,MAAM,UAAU,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;AAE1C,MAAa,SAAS;IAIlB;QAHA,iDAAiD;QAC1C,WAAM,GAAW,IAAA,gBAAM,GAAE,CAAC;QAMjC;;WAEG;QACK,eAAU,GAAG,GAAS,EAAE;YAC5B,MAAM,eAAe,GAAG,UAAU,CAAC,IAAI,EAAE,CAAC;YAE1C,IAAI,CAAC,MAAM,CAAC,IAAI,CACZ,iBAAiB,EACjB,eAAe,EACf,IAAA,0CAA0B,EAAC,MAAM,CAAC,IAAI,CAAC,sCAAsB,CAAC,CAAC,EAC/D,IAAI,CAAC,IAAI,CACZ,CAAC;QACN,CAAC,CAAC;QAEM,SAAI,GAAG,KAAK,EAAE,GAAY,EAAE,GAAa,EAAE,IAAkB,EAAiB,EAAE;YACpF,IAAI;
|
|
1
|
+
{"version":3,"file":"RawRouter.js","sourceRoot":"","sources":["../../src/input-gateway/RawRouter.ts"],"names":[],"mappings":";;;AAAA,+DAA4F;AAC5F,oEAAsG;AACtG,MAAM,UAAU,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;AAE1C,MAAa,SAAS;IAIlB;QAHA,iDAAiD;QAC1C,WAAM,GAAW,IAAA,gBAAM,GAAE,CAAC;QAMjC;;WAEG;QACK,eAAU,GAAG,GAAS,EAAE;YAC5B,MAAM,eAAe,GAAG,UAAU,CAAC,IAAI,EAAE,CAAC;YAE1C,IAAI,CAAC,MAAM,CAAC,IAAI,CACZ,iBAAiB,EACjB,eAAe,EACf,IAAA,0CAA0B,EAAC,MAAM,CAAC,IAAI,CAAC,sCAAsB,CAAC,CAAC,EAC/D,IAAI,CAAC,IAAI,CACZ,CAAC;QACN,CAAC,CAAC;QAEM,SAAI,GAAG,KAAK,EAAE,GAAY,EAAE,GAAa,EAAE,IAAkB,EAAiB,EAAE;YACpF,IAAI,CAAC;gBACD,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;YACxB,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACX,IAAI,CAAC,GAAG,CAAC,CAAC;YACd,CAAC;QACL,CAAC,CAAC;QAvBE,IAAI,CAAC,UAAU,EAAE,CAAC;IACtB,CAAC;CAuBJ;AA7BD,8BA6BC;AAED,MAAM,SAAS,GAAG,IAAI,SAAS,EAAE,CAAC,MAAM,CAAC;AAEhC,8BAAS"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golemio/raw",
|
|
3
|
-
"version": "1.2.1-dev.
|
|
3
|
+
"version": "1.2.1-dev.2649306872",
|
|
4
4
|
"description": "Golemio Raw Module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -9,11 +9,14 @@
|
|
|
9
9
|
"build-minimal": "run-s 'build -- --sourceMap false --declaration false'",
|
|
10
10
|
"build-watch": "run-s 'build -- --watch --preserveWatchOutput'",
|
|
11
11
|
"prepare-db": "",
|
|
12
|
-
"
|
|
12
|
+
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
13
|
+
"test:only": "cross-env NODE_ENV=test mocha --exit --check-leaks --timeout 120000 -r @swc-node/register --file 'test/setup.ts' 'test/**/*.test.ts'",
|
|
14
|
+
"test": "run-s prepare-db typecheck test:only",
|
|
13
15
|
"apidocs-test": "npm run apidocs-test-input",
|
|
14
16
|
"apidocs-test-input": "cross-env NODE_ENV=test golemio swagger api-test --oas docs/openapi-input.yaml --script test/api-docs/input-gateway/server.js",
|
|
15
|
-
"test-debug": "run-s 'test -- --inspect-brk=9230'",
|
|
16
|
-
"
|
|
17
|
+
"test-debug": "run-s 'test:only -- --inspect-brk=9230'",
|
|
18
|
+
"coverage:only": "nyc run-s 'test:only -- -r source-map-support/register'",
|
|
19
|
+
"code-coverage": "run-s prepare-db typecheck coverage:only",
|
|
17
20
|
"generate-docs": "typedoc --out docs/typedoc src",
|
|
18
21
|
"lint": "eslint \"{src,test}/**/*.ts\""
|
|
19
22
|
},
|
|
@@ -35,8 +38,10 @@
|
|
|
35
38
|
"@commitlint/cli": "^11.0.0",
|
|
36
39
|
"@commitlint/config-conventional": "^11.0.0",
|
|
37
40
|
"@golemio/cli": "1.11.2",
|
|
38
|
-
"@golemio/core": "
|
|
41
|
+
"@golemio/core": "4.0.0-dev.2647379566",
|
|
39
42
|
"@golemio/eslint-config": "1.1.4",
|
|
43
|
+
"@swc-node/register": "^1.11.1",
|
|
44
|
+
"@swc/core": "^1.15.33",
|
|
40
45
|
"@types/body-parser": "^1.19.6",
|
|
41
46
|
"@types/chai": "^5.2.3",
|
|
42
47
|
"@types/chai-as-promised": "^8.0.2",
|
|
@@ -59,15 +64,13 @@
|
|
|
59
64
|
"sinon": "^21.0.1",
|
|
60
65
|
"source-map-support": "0.5.21",
|
|
61
66
|
"supertest": "^7.1.4",
|
|
62
|
-
"ts-
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"typescript": "5.1.3",
|
|
67
|
-
"typescript-transform-paths": "^3.4.6"
|
|
67
|
+
"ts-patch": "^4.0.1",
|
|
68
|
+
"typedoc": "^0.28.19",
|
|
69
|
+
"typescript": "6.0.3",
|
|
70
|
+
"typescript-transform-paths": "^4.0.0"
|
|
68
71
|
},
|
|
69
72
|
"peerDependencies": {
|
|
70
|
-
"@golemio/core": ">=
|
|
73
|
+
"@golemio/core": ">=4.0.0"
|
|
71
74
|
},
|
|
72
75
|
"dependencies": {
|
|
73
76
|
"body-parser": "^2.2.1"
|