@universal-packages/module-loader
Advanced tools
Comparing version 1.0.12 to 1.1.0
@@ -18,9 +18,19 @@ "use strict"; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
var __importStar = (this && this.__importStar) || (function () { | ||
var ownKeys = function(o) { | ||
ownKeys = Object.getOwnPropertyNames || function (o) { | ||
var ar = []; | ||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; | ||
return ar; | ||
}; | ||
return ownKeys(o); | ||
}; | ||
return function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
})(); | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
@@ -30,3 +40,3 @@ return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.loadModules = void 0; | ||
exports.loadModules = loadModules; | ||
const directory_traversal_1 = require("@universal-packages/directory-traversal"); | ||
@@ -51,3 +61,2 @@ const path_1 = __importDefault(require("path")); | ||
} | ||
exports.loadModules = loadModules; | ||
/** Recursively try to find modules ina directory map to load*/ | ||
@@ -54,0 +63,0 @@ async function processDirectory(directory, options) { |
{ | ||
"name": "@universal-packages/module-loader", | ||
"version": "1.0.12", | ||
"version": "1.1.0", | ||
"description": "Imports deeply all modules in a directory as a list to use later", | ||
@@ -23,9 +23,9 @@ "author": "David De Anda <david@universal-packages.com> (https://github.com/universal-packages)", | ||
"@trivago/prettier-plugin-sort-imports": "^4.3.0", | ||
"@types/jest": "^29.5.12", | ||
"@types/jest": "^29.5.14", | ||
"@types/node": "^18.11.9", | ||
"@universal-packages/maintenance": "^1.6.5", | ||
"@universal-packages/maintenance": "^1.6.12", | ||
"jest": "^29.7.0", | ||
"prettier": "^3.0.3", | ||
"ts-jest": "^29.1.2", | ||
"typescript": "^5.4.3" | ||
"prettier": "^3.4.1", | ||
"ts-jest": "^29.2.5", | ||
"typescript": "^5.7.2" | ||
}, | ||
@@ -32,0 +32,0 @@ "jest": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15469
152