npm-pkgbuild 10.7.2 → 10.7.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npm-pkgbuild",
3
- "version": "10.7.2",
3
+ "version": "10.7.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -200,17 +200,12 @@ export async function* extractFromPackage(options = {}) {
200
200
 
201
201
  const { properties, dependencies, context } = extractFromRootPackage(json);
202
202
 
203
- if (json) {
204
- } else {
205
- await packageWalker(async (packageContent, base, modulePath) => {
206
- if (modulePath.length > 0) {
207
- processPkg(packageContent, base, modulePath);
208
- } else {
209
- json = packageContent;
210
- }
211
- return true;
212
- }, dir);
213
- }
203
+ await packageWalker(async (packageContent, base, modulePath) => {
204
+ if (modulePath.length > 0) {
205
+ processPkg(packageContent, base, modulePath);
206
+ }
207
+ return true;
208
+ }, dir);
214
209
 
215
210
  processPkg(json, dir);
216
211