Initial commit

This commit is contained in:
2025-12-07 14:32:46 +00:00
commit 0a0969b8af
4726 changed files with 536089 additions and 0 deletions

12
node_modules/knex/lib/migrations/util/import-file.js generated vendored Executable file
View File

@@ -0,0 +1,12 @@
const isModuleType = require('./is-module-type');
/**
* imports 'mjs', else requires.
* NOTE: require me late!
* @param {string} filepath
*/
module.exports = async function importFile(filepath) {
return (await isModuleType(filepath))
? import(require('url').pathToFileURL(filepath))
: require(filepath);
};