Initial commit — jibo-cli v3.0.7 with bundled node_modules

This commit is contained in:
pasketti
2026-04-05 18:40:18 -04:00
commit b2569b4ce4
10488 changed files with 1631271 additions and 0 deletions

24
node_modules/find-root/index.js generated vendored Normal file
View File

@@ -0,0 +1,24 @@
var path = require('path')
var fs = require('fs')
function findRoot(start) {
start = start || module.parent.filename
if (typeof start === 'string') {
if (start[start.length-1] !== path.sep) {
start+=path.sep
}
start = start.split(path.sep)
}
if(!start.length) {
throw new Error('package.json not found in path')
}
start.pop()
var dir = start.join(path.sep)
try {
fs.statSync(path.join(dir, 'package.json'));
return dir;
} catch (e) {}
return findRoot(start)
}
module.exports = findRoot