replit-export
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -20,2 +20,3 @@ "use strict"; | ||
const promises_1 = require("node:fs/promises"); | ||
const glob_1 = require("glob"); | ||
// Post processing for extracting zip files from repls | ||
@@ -69,7 +70,10 @@ class ReplZip { | ||
const filters = this.filter.map((f) => (0, node_path_1.join)(this.paths.folder, f)); | ||
const filtered = (0, promises_1.glob)(filters); | ||
const filtered = new glob_1.Glob(filters, { absolute: true }); | ||
const iterator = filtered.iterate(); | ||
while (true) { | ||
const { done, value } = yield filtered.next(); | ||
const { done, value } = yield iterator.next(); | ||
if (done) | ||
break; | ||
if (!value) | ||
continue; | ||
const file = value; | ||
@@ -100,2 +104,2 @@ yield (0, promises_1.rm)(file, { force: true, recursive: true }); | ||
]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9yZXBsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7OztBQUNBLDhEQUFrQztBQUVsQyx5Q0FBaUM7QUFDakMscUNBQXFFO0FBQ3JFLCtDQUF5RTtBQUV6RSxzREFBc0Q7QUFDdEQsTUFBYSxPQUFPO0lBS2hCLFlBQVksSUFBVSxFQUFFLE1BQWMsRUFBRSxNQUFxQjtRQUN6RCxJQUFJLENBQUMsSUFBSSxHQUFHLElBQUksQ0FBQztRQUNqQixJQUFJLENBQUMsTUFBTSxHQUFHLE1BQU0sSUFBSSxFQUFFLENBQUM7UUFDM0IsSUFBSSxDQUFDLEtBQUssR0FBRztZQUNULEdBQUcsRUFBRSxJQUFBLGdCQUFJLEVBQUMsTUFBTSxFQUFFLEdBQUcsSUFBSSxDQUFDLEVBQUUsTUFBTSxDQUFDO1lBQ25DLE1BQU0sRUFBRSxJQUFBLGdCQUFJLEVBQUMsTUFBTSxFQUFFLEdBQUcsSUFBSSxD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NsdWRlcyhlKSlcbiAgICAgICAgICAgICAgICAubWFwKChuKSA9PiBgJHtufT0ke2VudkRhdGFbbl19YClcbiAgICAgICAgICAgICAgICAuam9pbignXFxyXFxuJyk7XG4gICAgICAgICAgICBjb25zdCBlbnZQYXRoID0gam9pbih0aGlzLnBhdGhzLmZvbGRlciwgJy5lbnYnKTtcbiAgICAgICAgICAgIGlmICghZXhpc3RzU3luYyhlbnZQYXRoKSkge1xuICAgICAgICAgICAgICAgIGF3YWl0IHdyaXRlRmlsZShlbnZQYXRoLCBlbnYpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgYXN5bmMgdW56aXAoKSB7XG4gICAgICAgIGF3YWl0IGV4dHJhY3QodGhpcy5wYXRocy56aXAsIHtcbiAgICAgICAgICAgIGRpcjogdGhpcy5wYXRocy5mb2xkZXIsXG4gICAgICAgICAgICBkZWZhdWx0RGlyTW9kZTogOTk5OSxcbiAgICAgICAgICAgIGRlZmF1bHRGaWxlTW9kZTogOTk5OSxcbiAgICAgICAgfSk7XG5cbiAgICAgICAgYXdhaXQgdW5saW5rKHRoaXMucGF0aHMuemlwKTtcblxuICAgICAgICBjb25zdCBmaWx0ZXJzID0gdGhpcy5maWx0ZXIubWFwKChmKSA9PiBqb2luKHRoaXMucGF0aHMuZm9sZGVyLCBmKSk7XG4gICAgICAgIGNvbnN0IGZpbHRlcmVkID0gbmV3IEdsb2IoZmlsdGVycywgeyBhYnNvbHV0ZTogdHJ1ZSB9KTtcbiAgICAgICAgY29uc3QgaXRlcmF0b3IgPSBmaWx0ZXJlZC5pdGVyYXRlKCk7XG4gICAgICAgIFxuICAgICAgICB3aGlsZSAodHJ1ZSkge1xuICAgICAgICAgICAgY29uc3QgeyBkb25lLCB2YWx1ZSB9ID0gYXdhaXQgaXRlcmF0b3IubmV4dCgpO1xuICAgICAgICAgICAgaWYgKGRvbmUpIGJyZWFrO1xuXG4gICAgICAgICAgICBpZiAoIXZhbHVlKSBjb250aW51ZTtcbiAgICAgICAgICAgIFxuICAgICAgICAgICAgY29uc3QgZmlsZSA9IHZhbHVlO1xuICAgICAgICAgICAgYXdhaXQgcm0oZmlsZSwgeyBmb3JjZTogdHJ1ZSwgcmVjdXJzaXZlOiB0cnVlIH0pO1xuICAgICAgICB9XG4gICAgfVxufVxuXG4vLyBEZWZhdWx0IGVudmlyb25tZW50IHZhcmlhYmxlcyBpbiBhbGwgUmVwbHMgdG8gZmlsdGVyXG5leHBvcnQgY29uc3QgUkVQTElUX1NZU1RFTV9FTlYgPSBbXG4gICAgJ1BBVEgnLFxuICAgICdSRVFVRVNUU19DQV9CVU5ETEUnLFxuICAgICdTU0xfQ0VSVF9GSUxFJyxcbiAgICAnWERHX0NBQ0hFX0hPTUUnLFxuICAgICdYREdfQ09ORklHX0hPTUUnLFxuICAgICdYREdfREFUQV9IT01FJyxcbiAgICAnX19FR0xfVkVORE9SX0xJQlJBUllfRklMRU5BTUVTJyxcbiAgICAnUkVQTElUX0NMSScsXG4gICAgJ1JFUExJVF9CQVNIUkMnLFxuICAgICdOT0RFX0VYVFJBX0NBX0NFUlRTJyxcbiAgICAnTklYX1BBVEgnLFxuICAgICdOSVhfUFJPRklMRVMnLFxuICAgICdOSVhQS0dTX0FMTE9XX1VORlJFRScsXG4gICAgJ0xJQkdMX0RSSVZFUlNfUEFUSCcsXG4gICAgJ0xPQ0FMRV9BUkNISVZFJyxcbl07XG4iXX0= |
{ | ||
"name": "replit-export", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"main": "dist/index.js", | ||
@@ -24,6 +24,5 @@ "repository": "https://github.com/hackermondev/replit-exporter", | ||
"devDependencies": { | ||
"@types/node": "^22.5.0", | ||
"typescript": "^5.5.4", | ||
"@eslint/eslintrc": "^3.1.0", | ||
"@eslint/js": "^9.5.0", | ||
"@types/node": "^22.5.0", | ||
"@typescript-eslint/eslint-plugin": "^7.14.1", | ||
@@ -34,3 +33,4 @@ "@typescript-eslint/parser": "^7.14.1", | ||
"eslint-plugin-prettier": "^5.1.3", | ||
"prettier": "^3.3.2" | ||
"prettier": "^3.3.2", | ||
"typescript": "^5.5.4" | ||
}, | ||
@@ -41,4 +41,5 @@ "dependencies": { | ||
"commander": "^12.1.0", | ||
"extract-zip": "^2.0.1" | ||
"extract-zip": "^2.0.1", | ||
"glob": "^11.0.0" | ||
} | ||
} | ||
} |
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
80645
747
5
+ Addedglob@^11.0.0
+ Added@isaacs/cliui@8.0.2(transitive)
+ Addedansi-regex@5.0.16.1.0(transitive)
+ Addedansi-styles@4.3.06.2.1(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@2.0.1(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcross-spawn@7.0.6(transitive)
+ Addedeastasianwidth@0.2.0(transitive)
+ Addedemoji-regex@8.0.09.2.2(transitive)
+ Addedforeground-child@3.3.0(transitive)
+ Addedglob@11.0.0(transitive)
+ Addedis-fullwidth-code-point@3.0.0(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedjackspeak@4.0.2(transitive)
+ Addedlru-cache@11.0.2(transitive)
+ Addedminimatch@10.0.1(transitive)
+ Addedminipass@7.1.2(transitive)
+ Addedpackage-json-from-dist@1.0.1(transitive)
+ Addedpath-key@3.1.1(transitive)
+ Addedpath-scurry@2.0.0(transitive)
+ Addedshebang-command@2.0.0(transitive)
+ Addedshebang-regex@3.0.0(transitive)
+ Addedsignal-exit@4.1.0(transitive)
+ Addedstring-width@4.2.35.1.2(transitive)
+ Addedstrip-ansi@6.0.17.1.0(transitive)
+ Addedwhich@2.0.2(transitive)
+ Addedwrap-ansi@7.0.08.1.0(transitive)