@themartiancompany/fs 0.0.1 → 0.0.3

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/fs +5 -5
  2. package/package.json +2 -2
package/fs CHANGED
@@ -30,7 +30,8 @@ function
30
30
  _fs;
31
31
  try {
32
32
  _fs =
33
- require("opfs");
33
+ require(
34
+ "opfs");
34
35
  }
35
36
  catch(
36
37
  _error) {
@@ -47,8 +48,8 @@ function
47
48
  "'opfs' module is listed in developer " +
48
49
  "dependencies and install them." +
49
50
  "I'm sorry for this inconvenience but " +
50
- "Node packagement system does not currently",
51
- "distinguish 'development' from 'build'",
51
+ "Node packagement system does not currently " +
52
+ "distinguish 'development' from 'build' " +
52
53
  "dependencies.";
53
54
  console.error(
54
55
  _msg);
@@ -87,8 +88,7 @@ function
87
88
  }
88
89
  else if ( _module_name == 'opfs' ) {
89
90
  _fs =
90
- require(
91
- "opfs");
91
+ _opfs_module_auto_detect();
92
92
  }
93
93
  else if ( _module_name == 'fs' ) {
94
94
  _fs =
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "description":
5
5
  "Platform-independent File System ('fs') module.",
6
6
  "version":
7
- "0.0.1",
7
+ "0.0.3",
8
8
  "homepage":
9
9
  "https://github.com/themartiancompany/tmcfs",
10
10
  "license":
@@ -77,6 +77,6 @@
77
77
  },
78
78
  "optionalDependencies": {
79
79
  "opfs":
80
- "npm:@themartiancompany/opfs@^2.0.4"
80
+ "npm:@themartiancompany/opfs@^2.0.5"
81
81
  }
82
82
  }