@gasket/preset-api 7.6.12 → 7.6.13
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/cjs/preset-config.cjs +8 -19
- package/package.json +12 -12
package/cjs/preset-config.cjs
CHANGED
|
@@ -34,18 +34,12 @@ function _getRequireWildcardCache(nodeInterop) {
|
|
|
34
34
|
})(nodeInterop);
|
|
35
35
|
}
|
|
36
36
|
function _interop_require_wildcard(obj, nodeInterop) {
|
|
37
|
-
if (!nodeInterop && obj && obj.__esModule)
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
return {
|
|
42
|
-
default: obj
|
|
43
|
-
};
|
|
44
|
-
}
|
|
37
|
+
if (!nodeInterop && obj && obj.__esModule) return obj;
|
|
38
|
+
if (obj === null || typeof obj !== "object" && typeof obj !== "function") return {
|
|
39
|
+
default: obj
|
|
40
|
+
};
|
|
45
41
|
var cache = _getRequireWildcardCache(nodeInterop);
|
|
46
|
-
if (cache && cache.has(obj))
|
|
47
|
-
return cache.get(obj);
|
|
48
|
-
}
|
|
42
|
+
if (cache && cache.has(obj)) return cache.get(obj);
|
|
49
43
|
var newObj = {
|
|
50
44
|
__proto__: null
|
|
51
45
|
};
|
|
@@ -53,17 +47,12 @@ function _interop_require_wildcard(obj, nodeInterop) {
|
|
|
53
47
|
for(var key in obj){
|
|
54
48
|
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
55
49
|
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
|
56
|
-
if (desc && (desc.get || desc.set))
|
|
57
|
-
|
|
58
|
-
} else {
|
|
59
|
-
newObj[key] = obj[key];
|
|
60
|
-
}
|
|
50
|
+
if (desc && (desc.get || desc.set)) Object.defineProperty(newObj, key, desc);
|
|
51
|
+
else newObj[key] = obj[key];
|
|
61
52
|
}
|
|
62
53
|
}
|
|
63
54
|
newObj.default = obj;
|
|
64
|
-
if (cache)
|
|
65
|
-
cache.set(obj, newObj);
|
|
66
|
-
}
|
|
55
|
+
if (cache) cache.set(obj, newObj);
|
|
67
56
|
return newObj;
|
|
68
57
|
}
|
|
69
58
|
async function presetConfig(gasket, context) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gasket/preset-api",
|
|
3
|
-
"version": "7.6.
|
|
3
|
+
"version": "7.6.13",
|
|
4
4
|
"description": "Create Express-based API with Gasket",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -28,31 +28,31 @@
|
|
|
28
28
|
"bugs": "https://github.com/godaddy/gasket/issues",
|
|
29
29
|
"homepage": "https://github.com/godaddy/gasket/tree/main/packages/gasket-preset-api",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@gasket/plugin-command": "^7.6.
|
|
31
|
+
"@gasket/plugin-command": "^7.6.8",
|
|
32
32
|
"@gasket/plugin-cypress": "^7.5.4",
|
|
33
|
-
"@gasket/plugin-docs": "^7.5.
|
|
33
|
+
"@gasket/plugin-docs": "^7.5.8",
|
|
34
34
|
"@gasket/plugin-docusaurus": "^8.0.1",
|
|
35
35
|
"@gasket/plugin-dynamic-plugins": "^7.5.3",
|
|
36
|
-
"@gasket/plugin-express": "^7.5.
|
|
36
|
+
"@gasket/plugin-express": "^7.5.4",
|
|
37
37
|
"@gasket/plugin-fastify": "^7.5.6",
|
|
38
|
-
"@gasket/plugin-git": "^7.4.
|
|
38
|
+
"@gasket/plugin-git": "^7.4.12",
|
|
39
39
|
"@gasket/plugin-https": "^7.4.2",
|
|
40
40
|
"@gasket/plugin-jest": "^7.5.10",
|
|
41
|
-
"@gasket/plugin-lint": "^7.4.
|
|
41
|
+
"@gasket/plugin-lint": "^7.4.5",
|
|
42
42
|
"@gasket/plugin-logger": "^7.5.1",
|
|
43
43
|
"@gasket/plugin-mocha": "^7.5.7",
|
|
44
|
-
"@gasket/plugin-swagger": "^7.4.
|
|
44
|
+
"@gasket/plugin-swagger": "^7.4.4",
|
|
45
45
|
"@gasket/plugin-typescript": "^7.4.6",
|
|
46
46
|
"@gasket/plugin-vitest": "^7.2.3",
|
|
47
|
-
"@gasket/plugin-winston": "^7.4.
|
|
47
|
+
"@gasket/plugin-winston": "^7.4.3"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@vitest/coverage-v8": "^3.2.0",
|
|
51
|
-
"nodemon": "^3.1.
|
|
51
|
+
"nodemon": "^3.1.14",
|
|
52
52
|
"vitest": "^3.2.0",
|
|
53
|
-
"@gasket/cjs": "^7.1.
|
|
54
|
-
"@gasket/plugin-metadata": "^7.5.
|
|
55
|
-
"create-gasket-app": "^7.4.
|
|
53
|
+
"@gasket/cjs": "^7.1.3",
|
|
54
|
+
"@gasket/plugin-metadata": "^7.5.14",
|
|
55
|
+
"create-gasket-app": "^7.4.26"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "gasket-cjs ./lib",
|