xcraft-core-utils 4.3.0 → 4.3.1

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.
Files changed (2) hide show
  1. package/lib/modules.js +3 -0
  2. package/package.json +1 -1
package/lib/modules.js CHANGED
@@ -169,6 +169,9 @@ exports.extractAllJs = (libDir, modules) => {
169
169
  const location = path.join(libDir, mod);
170
170
  const files = xFs
171
171
  .lsall(location, true)
172
+ .filter(
173
+ (file) => !/node_modules/.test(file.substring(location.length + 1))
174
+ )
172
175
  .filter((file) => /\.js$/.test(file));
173
176
  list = list.concat(files);
174
177
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xcraft-core-utils",
3
- "version": "4.3.0",
3
+ "version": "4.3.1",
4
4
  "description": "Xcraft utils",
5
5
  "main": "index.js",
6
6
  "engines": {