crash-js 0.1.120 → 0.1.122

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/crash-js/fs-utils +5 -14
  2. package/package.json +4 -3
package/crash-js/fs-utils CHANGED
@@ -39,29 +39,20 @@ const
39
39
  require(
40
40
  "fs");
41
41
  const
42
- _fs_read_dir_sync_type =
43
- typeof(
44
- _fs.readdirSync);
45
- if ( _fs_read_dir_sync_type === 'undefined' ) {
46
42
  _fs_read_dir_sync =
47
- _fs.readDirSync;
48
- }
49
- else {
50
- _fs_read_dir_sync =
51
- _fs.readdirSync;
52
- }
43
+ _fs_module.readdirSync;
53
44
  const
54
45
  _fs_exists_sync =
55
- _fs.existsSync;
46
+ _fs_module.existsSync;
56
47
  const
57
48
  _fs_append_file_sync =
58
- _fs.appendFileSync;
49
+ _fs_module.appendFileSync;
59
50
  const
60
51
  _fs_read_file_sync =
61
- _fs.readFileSync;
52
+ _fs_module.readFileSync;
62
53
  const
63
54
  _fs_write_file_sync =
64
- _fs.writeFileSync;
55
+ _fs_module.writeFileSync;
65
56
  const
66
57
  _fs_worker_new =
67
58
  _fs_module.fsWorkerNew;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name":
3
3
  "crash-js",
4
4
  "version":
5
- "0.1.120",
5
+ "0.1.122",
6
6
  "description":
7
7
  "Crash Javascript library.",
8
8
  "funding":
@@ -33,6 +33,7 @@
33
33
  "hip",
34
34
  "opfs",
35
35
  "fs",
36
+ "node:fs",
36
37
  "tmcfs",
37
38
  "themartiancompany",
38
39
  "ur"
@@ -61,9 +62,9 @@
61
62
  },
62
63
  "devDependencies": {
63
64
  "crash-js-webpack":
64
- "^0.0.11",
65
+ "^0.0.17",
65
66
  "eslint":
66
- "^10.0.3",
67
+ "^10.3.0",
67
68
  "globals":
68
69
  "^17.3.0",
69
70
  "@eslint/js":