replicate-predictions-downloader 2.0.6 → 2.0.8

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/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -673,7 +673,7 @@ async function main() {
673
673
  }
674
674
 
675
675
  // Run if this is the main module
676
- if (import.meta.url === `file://${process.argv[1]}`) {
676
+ if (fileURLToPath(import.meta.url) === path.resolve(process.argv[1])) {
677
677
  main().catch(console.error);
678
678
  }
679
679
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicate-predictions-downloader",
3
- "version": "2.0.6",
3
+ "version": "2.0.8",
4
4
  "description": "A Node.js script to download and organize all your Replicate predictions, including images, metadata, and other outputs",
5
5
  "main": "index.js",
6
6
  "type": "module",