crash-js 0.1.120 → 0.1.121

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 +1 -10
  2. package/package.json +4 -3
package/crash-js/fs-utils CHANGED
@@ -39,17 +39,8 @@ 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
46
  _fs.existsSync;
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.121",
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":