@faasjs/load 0.0.2-beta.388 → 0.0.2-beta.391
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 +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -126,6 +126,8 @@ function findModule(list, key, options = { excludes: [] }) {
|
|
|
126
126
|
console.warn(error2);
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
|
+
if (!list[key])
|
|
130
|
+
return;
|
|
129
131
|
const pkg = JSON.parse((0, import_fs2.readFileSync)((0, import_path2.join)(list[key], "package.json")).toString());
|
|
130
132
|
const deps = Object.keys(pkg.dependencies || {}).concat(Object.keys(pkg.peerDependencies || {}));
|
|
131
133
|
if (pkg.peerDependenciesMeta) {
|
package/dist/index.mjs
CHANGED
|
@@ -116,6 +116,8 @@ function findModule(list, key, options = { excludes: [] }) {
|
|
|
116
116
|
console.warn(error2);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
+
if (!list[key])
|
|
120
|
+
return;
|
|
119
121
|
const pkg = JSON.parse(readFileSync2(join2(list[key], "package.json")).toString());
|
|
120
122
|
const deps = Object.keys(pkg.dependencies || {}).concat(Object.keys(pkg.peerDependencies || {}));
|
|
121
123
|
if (pkg.peerDependenciesMeta) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faasjs/load",
|
|
3
|
-
"version": "0.0.2-beta.
|
|
3
|
+
"version": "0.0.2-beta.391",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"dist"
|
|
23
23
|
],
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@faasjs/deep_merge": "^0.0.2-beta.
|
|
26
|
-
"@faasjs/func": "^0.0.2-beta.
|
|
27
|
-
"@faasjs/ts-transform": "^0.0.2-beta.
|
|
25
|
+
"@faasjs/deep_merge": "^0.0.2-beta.391",
|
|
26
|
+
"@faasjs/func": "^0.0.2-beta.391",
|
|
27
|
+
"@faasjs/ts-transform": "^0.0.2-beta.391",
|
|
28
28
|
"js-yaml": "*",
|
|
29
29
|
"rollup": "*"
|
|
30
30
|
},
|