@nestia/migrate 4.4.1 → 4.5.0
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/lib/MigrateApplication.js +275 -259
- package/lib/MigrateApplication.js.map +1 -1
- package/lib/analyzers/{MigrateAnalyzer.d.ts → MigrateApplicationAnalyzer.d.ts} +1 -1
- package/lib/analyzers/MigrateApplicationAnalyzer.js +12 -0
- package/lib/analyzers/MigrateApplicationAnalyzer.js.map +1 -0
- package/lib/analyzers/MigrateControllerAnalyzer.d.ts +3 -1
- package/lib/analyzers/MigrateControllerAnalyzer.js +34 -24
- package/lib/analyzers/MigrateControllerAnalyzer.js.map +1 -1
- package/lib/bundles/NEST_TEMPLATE.js +2 -2
- package/lib/bundles/SDK_TEMPLATE.js +1 -1
- package/lib/index.mjs +318 -287
- package/lib/index.mjs.map +1 -1
- package/lib/module.d.ts +1 -1
- package/lib/module.js +1 -1
- package/lib/module.js.map +1 -1
- package/lib/programmers/MigrateNestProgrammer.js +3 -1
- package/lib/programmers/MigrateNestProgrammer.js.map +1 -1
- package/package.json +4 -4
- package/src/MigrateApplication.ts +3 -3
- package/src/analyzers/{MigrateAnalyzer.ts → MigrateApplicationAnalyzer.ts} +1 -1
- package/src/analyzers/MigrateControllerAnalyzer.ts +41 -30
- package/src/bundles/NEST_TEMPLATE.ts +2 -2
- package/src/bundles/SDK_TEMPLATE.ts +1 -1
- package/src/module.ts +1 -1
- package/src/programmers/MigrateNestProgrammer.ts +3 -1
- package/lib/analyzers/MigrateAnalyzer.js +0 -12
- package/lib/analyzers/MigrateAnalyzer.js.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MigrateApplication.js","sourceRoot":"","sources":["../src/MigrateApplication.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAA8E;AAC9E,kDAA2C;AAE3C,
|
1
|
+
{"version":3,"file":"MigrateApplication.js","sourceR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,IAAI,EAAE,cAAc;oBACpB,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;iBAChD;aACF;YACD,MAAM,EAAE,OAAO,CAAC,MAAM;SACvB,CAAC;QACF,OAAO,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACvC,CAAC;IAEO,QAAQ,CACd,MAAkC,EAClC,MAAkC;QAElC,IAAI,MAAM,CAAC,OAAO;YAChB,MAAM,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,iCACrC,IAAI,KACP,OAAO,EAAE,IAAI,CAAC,OAAO;qBAClB,KAAK,CAAC,uBAAuB,CAAC;qBAC9B,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,IACvB,CAAC,CAAC;QACN,OAAO,MAAM,CAAC;IAChB,CAAC;CACF;AAjFD,gDAiFC"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.MigrateApplicationAnalyzer = void 0;
|
4
|
+
const openapi_1 = require("@samchon/openapi");
|
5
|
+
var MigrateApplicationAnalyzer;
|
6
|
+
(function (MigrateApplicationAnalyzer) {
|
7
|
+
MigrateApplicationAnalyzer.analyze = (props) => {
|
8
|
+
const application = openapi_1.HttpMigration.application(props.document);
|
9
|
+
return Object.assign(Object.assign({}, props), { routes: application.routes, errors: application.errors });
|
10
|
+
};
|
11
|
+
})(MigrateApplicationAnalyzer || (exports.MigrateApplicationAnalyzer = MigrateApplicationAnalyzer = {}));
|
12
|
+
//# sourceMappingURL=MigrateApplicationAnalyzer.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"MigrateApplicationAnalyzer.js","sourceRoot":"","sources":["../../src/analyzers/MigrateApplicationAnalyzer.ts"],"names":[],"mappings":";;;AAAA,8CAA0E;AAI1E,IAAiB,0BAA0B,CAa1C;AAbD,WAAiB,0BAA0B;IAC5B,kCAAO,GAAG,CACrB,KAAiC,EACZ,EAAE;QACvB,MAAM,WAAW,GAA4B,uBAAa,CAAC,WAAW,CACpE,KAAK,CAAC,QAAQ,CACf,CAAC;QACF,uCACK,KAAK,KACR,MAAM,EAAE,WAAW,CAAC,MAAM,EAC1B,MAAM,EAAE,WAAW,CAAC,MAAM,IAC1B;IACJ,CAAC,CAAC;AACJ,CAAC,EAbgB,0BAA0B,0CAA1B,0BAA0B,QAa1C"}
|
@@ -1,5 +1,7 @@
|
|
1
1
|
import { IHttpMigrateRoute } from "@samchon/openapi";
|
2
2
|
import { IHttpMigrateController } from "../structures/IHttpMigrateController";
|
3
3
|
export declare namespace MigrateControllerAnalyzer {
|
4
|
-
const analyze: (
|
4
|
+
const analyze: (props: {
|
5
|
+
routes: IHttpMigrateRoute[];
|
6
|
+
}) => IHttpMigrateController[];
|
5
7
|
}
|
@@ -5,32 +5,42 @@ const MapUtil_1 = require("../utils/MapUtil");
|
|
5
5
|
const StringUtil_1 = require("../utils/StringUtil");
|
6
6
|
var MigrateControllerAnalyzer;
|
7
7
|
(function (MigrateControllerAnalyzer) {
|
8
|
-
MigrateControllerAnalyzer.analyze = (
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
.join("
|
15
|
-
MapUtil_1.MapUtil.take(endpoints)(location)(() => []).push(r);
|
16
|
-
}
|
17
|
-
const total = [...endpoints.entries()]
|
18
|
-
.filter(([_l, routes]) => !!routes.length)
|
19
|
-
.map(([path, routes]) => {
|
20
|
-
const name = routes[0].accessor.slice(0, -1).map(StringUtil_1.StringUtil.capitalize).join("") +
|
8
|
+
MigrateControllerAnalyzer.analyze = (props) => {
|
9
|
+
var _a;
|
10
|
+
const collection = new Map();
|
11
|
+
for (const route of props.routes) {
|
12
|
+
const name = (_a = route.operation()["x-samchon-controller"]) !== null && _a !== void 0 ? _a : (route.accessor.length <= 1
|
13
|
+
? "__App"
|
14
|
+
: route.accessor.slice(0, -1).map(StringUtil_1.StringUtil.capitalize).join("")) +
|
21
15
|
"Controller";
|
22
|
-
|
23
|
-
return {
|
16
|
+
MapUtil_1.MapUtil.take(collection)(name)(() => ({
|
24
17
|
name,
|
25
|
-
path,
|
26
|
-
location: "
|
27
|
-
routes,
|
28
|
-
};
|
29
|
-
}
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
18
|
+
path: "@lazy",
|
19
|
+
location: "@lazy",
|
20
|
+
routes: [],
|
21
|
+
})).routes.push(route);
|
22
|
+
}
|
23
|
+
const controllers = [...collection.values()];
|
24
|
+
for (const col of controllers) {
|
25
|
+
const splitPath = (r) => r.emendedPath.split("/");
|
26
|
+
const splitLocation = (r) => splitPath(r).filter((s) => s[0] !== ":");
|
27
|
+
const minPath = splitPath(col.routes[0]);
|
28
|
+
const minLocation = splitLocation(col.routes[0]);
|
29
|
+
for (const r of col.routes.slice(1)) {
|
30
|
+
minPath.splice(getSplitIndex(minPath, splitPath(r)));
|
31
|
+
minLocation.splice(getSplitIndex(minLocation, splitLocation(r)));
|
32
|
+
}
|
33
|
+
col.path = minPath.join("/");
|
34
|
+
col.location = "src/controllers/" + minLocation.join("/");
|
35
|
+
}
|
36
|
+
return controllers;
|
34
37
|
};
|
35
38
|
})(MigrateControllerAnalyzer || (exports.MigrateControllerAnalyzer = MigrateControllerAnalyzer = {}));
|
39
|
+
const getSplitIndex = (x, y) => {
|
40
|
+
const n = Math.min(x.length, y.length);
|
41
|
+
for (let i = 0; i < n; ++i)
|
42
|
+
if (x[i] !== y[i])
|
43
|
+
return i;
|
44
|
+
return n;
|
45
|
+
};
|
36
46
|
//# sourceMappingURL=MigrateControllerAnalyzer.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MigrateControllerAnalyzer.js","sourceRoot":"","sources":["../../src/analyzers/MigrateControllerAnalyzer.ts"],"names":[],"mappings":";;;AAGA,8CAA2C;A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OAAO,CAAC,CAAC;AACX,CAAC,CAAC"}
|
@@ -60,7 +60,7 @@ exports.NEST_TEMPLATE = [
|
|
60
60
|
{
|
61
61
|
"location": "",
|
62
62
|
"file": "package.json",
|
63
|
-
"content": "{\n \"private\": true,\n \"name\": \"@ORGANIZATION/PROJECT\",\n \"version\": \"0.1.0\",\n \"description\": \"Starter kit of Nestia\",\n \"main\": \"lib/index.js\",\n \"scripts\": {\n \"benchmark\": \"node bin/test/benchmark\",\n \"test\": \"node bin/test\",\n \"test:webpack\": \"npm run webpack && node bin/test/webpack.js\",\n \"------------------------BUILDS------------------------\": \"\",\n \"build\": \"npm run build:sdk && npm run build:main && npm run build:test\",\n \"build:api\": \"rimraf packages/api/lib && nestia all && rimraf packages/api/lib && tsc -p packages/api/tsconfig.json && rollup -c packages/api/rollup.config.js\",\n \"build:main\": \"rimraf lib && tsc\",\n \"build:sdk\": \"rimraf src/api/functional && nestia sdk\",\n \"build:swagger\": \"npx nestia swagger\",\n \"build:test\": \"rimraf bin && tsc -p test/tsconfig.json\",\n \"dev\": \"npm run build:test -- --watch\",\n \"eslint\": \"eslint src && eslint test\",\n \"eslint:fix\": \"eslint --fix src && eslint --fix test\",\n \"prepare\": \"ts-patch install && typia patch\",\n \"prettier\": \"prettier src --write && prettier test --write\",\n \"------------------------WEBPACK------------------------\": \"\",\n \"webpack\": \"rimraf dist && webpack\",\n \"webpack:start\": \"cd dist && node dist/server\",\n \"webpack:test\": \"npm run webpack && node bin/test/webpack.js\",\n \"------------------------DEPLOYS------------------------\": \"\",\n \"package:api\": \"npm run build:api && cd packages/api && npm publish\",\n \"start\": \"node lib/executable/server\",\n \"start:swagger\": \"ts-node src/executable/swagger.ts\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/samchon/nestia-start\"\n },\n \"keywords\": [\n \"nestia\",\n \"template\",\n \"boilerplate\"\n ],\n \"author\": \"AUTHOR\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/samchon/nestia-start/issues\"\n },\n \"homepage\": \"https://github.com/samchon/nestia-start#readme\",\n \"devDependencies\": {\n \"@nestia/benchmark\": \"^0.3.0\",\n \"@nestia/e2e\": \"^0.7.0\",\n \"@nestia/sdk\": \"^4.
|
63
|
+
"content": "{\n \"private\": true,\n \"name\": \"@ORGANIZATION/PROJECT\",\n \"version\": \"0.1.0\",\n \"description\": \"Starter kit of Nestia\",\n \"main\": \"lib/index.js\",\n \"scripts\": {\n \"benchmark\": \"node bin/test/benchmark\",\n \"test\": \"node bin/test\",\n \"test:webpack\": \"npm run webpack && node bin/test/webpack.js\",\n \"------------------------BUILDS------------------------\": \"\",\n \"build\": \"npm run build:sdk && npm run build:main && npm run build:test\",\n \"build:api\": \"rimraf packages/api/lib && nestia all && rimraf packages/api/lib && tsc -p packages/api/tsconfig.json && rollup -c packages/api/rollup.config.js\",\n \"build:main\": \"rimraf lib && tsc\",\n \"build:sdk\": \"rimraf src/api/functional && nestia sdk\",\n \"build:swagger\": \"npx nestia swagger\",\n \"build:test\": \"rimraf bin && tsc -p test/tsconfig.json\",\n \"dev\": \"npm run build:test -- --watch\",\n \"eslint\": \"eslint src && eslint test\",\n \"eslint:fix\": \"eslint --fix src && eslint --fix test\",\n \"prepare\": \"ts-patch install && typia patch\",\n \"prettier\": \"prettier src --write && prettier test --write\",\n \"------------------------WEBPACK------------------------\": \"\",\n \"webpack\": \"rimraf dist && webpack\",\n \"webpack:start\": \"cd dist && node dist/server\",\n \"webpack:test\": \"npm run webpack && node bin/test/webpack.js\",\n \"------------------------DEPLOYS------------------------\": \"\",\n \"package:api\": \"npm run build:api && cd packages/api && npm publish\",\n \"start\": \"node lib/executable/server\",\n \"start:swagger\": \"ts-node src/executable/swagger.ts\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/samchon/nestia-start\"\n },\n \"keywords\": [\n \"nestia\",\n \"template\",\n \"boilerplate\"\n ],\n \"author\": \"AUTHOR\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/samchon/nestia-start/issues\"\n },\n \"homepage\": \"https://github.com/samchon/nestia-start#readme\",\n \"devDependencies\": {\n \"@nestia/benchmark\": \"^0.3.0\",\n \"@nestia/e2e\": \"^0.7.0\",\n \"@nestia/sdk\": \"^4.5.0\",\n \"@rollup/plugin-terser\": \"^0.4.4\",\n \"@rollup/plugin-typescript\": \"^11.1.6\",\n \"@trivago/prettier-plugin-sort-imports\": \"^4.3.0\",\n \"@types/cli\": \"^0.11.21\",\n \"@types/cli-progress\": \"^3.11.5\",\n \"@types/express\": \"^4.17.21\",\n \"@types/inquirer\": \"^8.2.5\",\n \"@types/node\": \"^18.11.0\",\n \"@types/uuid\": \"^8.3.4\",\n \"@typescript-eslint/eslint-plugin\": \"^8.1.0\",\n \"@typescript-eslint/parser\": \"^8.1.0\",\n \"chalk\": \"^4.1.2\",\n \"cli\": \"^1.0.1\",\n \"cli-progress\": \"^3.12.0\",\n \"copy-webpack-plugin\": \"^11.0.0\",\n \"eslint-plugin-deprecation\": \"^3.0.0\",\n \"express\": \"^4.18.2\",\n \"nestia\": \"^6.3.1\",\n \"prettier\": \"^3.2.4\",\n \"prettier-plugin-prisma\": \"^5.0.0\",\n \"rimraf\": \"^3.0.2\",\n \"rollup\": \"^4.18.0\",\n \"source-map-support\": \"^0.5.21\",\n \"swagger-ui-express\": \"^5.0.0\",\n \"ts-loader\": \"^9.5.1\",\n \"ts-node\": \"^10.9.1\",\n \"ts-patch\": \"^3.3.0\",\n \"typescript\": \"~5.7.2\",\n \"typescript-transform-paths\": \"^3.5.2\",\n \"webpack\": \"^5.89.0\",\n \"webpack-cli\": \"^5.1.4\",\n \"write-file-webpack-plugin\": \"^4.5.1\"\n },\n \"dependencies\": {\n \"@nestia/core\": \"^4.5.0\",\n \"@nestia/fetcher\": \"^4.5.0\",\n \"@nestjs/common\": \"^10.4.15\",\n \"@nestjs/core\": \"^10.4.15\",\n \"@nestjs/platform-express\": \"^10.4.15\",\n \"commander\": \"10.0.0\",\n \"dotenv\": \"^16.3.1\",\n \"dotenv-expand\": \"^10.0.0\",\n \"inquirer\": \"8.2.5\",\n \"serialize-error\": \"^4.1.0\",\n \"tgrid\": \"^1.0.2\",\n \"tstl\": \"^3.0.0\",\n \"typia\": \"^7.5.0\",\n \"uuid\": \"^9.0.0\"\n },\n \"stackblitz\": {\n \"startCommand\": \"npm run prepare && npm run build:test && npm run test\"\n }\n}"
|
64
64
|
},
|
65
65
|
{
|
66
66
|
"location": "packages/api",
|
@@ -80,7 +80,7 @@ exports.NEST_TEMPLATE = [
|
|
80
80
|
{
|
81
81
|
"location": "packages/api",
|
82
82
|
"file": "package.json",
|
83
|
-
"content": "{\n \"name\": \"@ORGANIZATION/PROJECT-api\",\n \"version\": \"0.1.0\",\n \"description\": \"SDK library generated by Nestia\",\n \"main\": \"lib/index.js\",\n \"module\": \"lib/index.mjs\",\n \"typings\": \"lib/index.d.ts\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/samchon/nestia\"\n },\n \"author\": \"Jeongho Nam\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/samchon/nestia/issues\"\n },\n \"homepage\": \"https://nestia.io\",\n \"files\": [\n \"lib\",\n \"package.json\",\n \"swagger.json\",\n \"openai.json\",\n \"README.md\"\n ],\n \"dependencies\": {\n \"@nestia/fetcher\": \"^4.
|
83
|
+
"content": "{\n \"name\": \"@ORGANIZATION/PROJECT-api\",\n \"version\": \"0.1.0\",\n \"description\": \"SDK library generated by Nestia\",\n \"main\": \"lib/index.js\",\n \"module\": \"lib/index.mjs\",\n \"typings\": \"lib/index.d.ts\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/samchon/nestia\"\n },\n \"author\": \"Jeongho Nam\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/samchon/nestia/issues\"\n },\n \"homepage\": \"https://nestia.io\",\n \"files\": [\n \"lib\",\n \"package.json\",\n \"swagger.json\",\n \"openai.json\",\n \"README.md\"\n ],\n \"dependencies\": {\n \"@nestia/fetcher\": \"^4.5.0\",\n \"tgrid\": \"^1.1.0\",\n \"typia\": \"^7.5.0\"\n }\n}"
|
84
84
|
},
|
85
85
|
{
|
86
86
|
"location": "packages/api",
|
@@ -35,7 +35,7 @@ exports.SDK_TEMPLATE = [
|
|
35
35
|
{
|
36
36
|
"location": "",
|
37
37
|
"file": "package.json",
|
38
|
-
"content": "{\n \"name\": \"@ORGANIZATION/PROJECT-api\",\n \"version\": \"0.1.0\",\n \"description\": \"SDK library generated by Nestia\",\n \"main\": \"lib/index.js\",\n \"module\": \"lib/index.mjs\",\n \"typings\": \"lib/index.d.ts\",\n \"scripts\": {\n \"build\": \"rimraf lib && tsc && rollup -c\",\n \"build:test\": \"rimraf bin && tsc --project test/tsconfig.json\",\n \"deploy\": \"npm run build && npm publish\",\n \"dev\": \"npm run build:test -- --watch\",\n \"hello\": \"node hello\",\n \"prepare\": \"ts-patch install && typia patch\",\n \"start\": \"ts-node test/start.ts\",\n \"swagger\": \"ts-node test/swagger.ts\",\n \"test\": \"ts-node test/index.ts\",\n \"test:simulate\": \"ts-node test/index.ts --simulate true\",\n \"test:manual\": \"ts-node test/manual.ts\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/samchon/nestia\"\n },\n \"author\": \"Jeongho Nam\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/samchon/nestia/issues\"\n },\n \"homepage\": \"https://nestia.io\",\n \"files\": [\n \"lib\",\n \"swagger.json\",\n \"package.json\",\n \"README.md\"\n ],\n \"dependencies\": {\n \"@nestia/fetcher\": \"^4.
|
38
|
+
"content": "{\n \"name\": \"@ORGANIZATION/PROJECT-api\",\n \"version\": \"0.1.0\",\n \"description\": \"SDK library generated by Nestia\",\n \"main\": \"lib/index.js\",\n \"module\": \"lib/index.mjs\",\n \"typings\": \"lib/index.d.ts\",\n \"scripts\": {\n \"build\": \"rimraf lib && tsc && rollup -c\",\n \"build:test\": \"rimraf bin && tsc --project test/tsconfig.json\",\n \"deploy\": \"npm run build && npm publish\",\n \"dev\": \"npm run build:test -- --watch\",\n \"hello\": \"node hello\",\n \"prepare\": \"ts-patch install && typia patch\",\n \"start\": \"ts-node test/start.ts\",\n \"swagger\": \"ts-node test/swagger.ts\",\n \"test\": \"ts-node test/index.ts\",\n \"test:simulate\": \"ts-node test/index.ts --simulate true\",\n \"test:manual\": \"ts-node test/manual.ts\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/samchon/nestia\"\n },\n \"author\": \"Jeongho Nam\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/samchon/nestia/issues\"\n },\n \"homepage\": \"https://nestia.io\",\n \"files\": [\n \"lib\",\n \"swagger.json\",\n \"package.json\",\n \"README.md\"\n ],\n \"dependencies\": {\n \"@nestia/fetcher\": \"^4.5.0\",\n \"tgrid\": \"^1.1.0\",\n \"typia\": \"^7.5.0\"\n },\n \"devDependencies\": {\n \"@nestia/e2e\": \"^0.7.0\",\n \"@rollup/plugin-terser\": \"^0.4.4\",\n \"@rollup/plugin-typescript\": \"^11.1.6\",\n \"@trivago/prettier-plugin-sort-imports\": \"^4.3.0\",\n \"@types/express\": \"^4.17.21\",\n \"@types/inquirer\": \"8.2.5\",\n \"@types/swagger-ui-express\": \"^4.1.6\",\n \"chalk\": \"4.1.2\",\n \"commander\": \"^10.0.0\",\n \"express\": \"^4.19.2\",\n \"inquirer\": \"8.2.5\",\n \"prettier\": \"^3.2.5\",\n \"rimraf\": \"^5.0.5\",\n \"rollup\": \"^4.13.2\",\n \"swagger-ui-express\": \"^5.0.0\",\n \"ts-node\": \"^10.9.2\",\n \"ts-patch\": \"^3.3.0\",\n \"typescript\": \"~5.7.2\",\n \"typescript-transform-paths\": \"^3.5.2\"\n }\n}"
|
39
39
|
},
|
40
40
|
{
|
41
41
|
"location": "",
|