tt-help-cli-ycl 1.3.47 → 1.3.48

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tt-help-cli-ycl",
3
- "version": "1.3.47",
3
+ "version": "1.3.48",
4
4
  "description": "TikTok user & video data scraper - extract ttSeller, verified, locationCreated from HTML source",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,3 +1,4 @@
1
+ import fs from "fs";
1
2
  import os from "os";
2
3
  import path from "path";
3
4
  import { chromium } from "playwright";
@@ -26,7 +27,6 @@ function getFallbackProfileDir() {
26
27
  }
27
28
 
28
29
  function fallbackProfileExists() {
29
- const fs = require("fs");
30
30
  const dir = getFallbackProfileDir();
31
31
  return fs.existsSync(dir);
32
32
  }