crash-js 0.1.133 → 0.1.134

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 +16 -4
  2. package/package.json +1 -1
package/crash-js/fs-utils CHANGED
@@ -183,10 +183,22 @@ function
183
183
  _file_append(
184
184
  _path,
185
185
  _content,
186
- _append) {
187
- _fs_append_file_sync(
188
- _path,
189
- _content);
186
+ _options) {
187
+ const
188
+ _fs_append_file_sync_args = [
189
+ _path,
190
+ _content
191
+ ];
192
+ if ( typeof(
193
+ _options) != "undefined" &&
194
+ _options != {} &&
195
+ _options != "" ) {
196
+ _fs_append_file_sync_args.push(
197
+ _options);
198
+ }
199
+ _fs_append_file_sync.apply(
200
+ null,
201
+ _fs_append_file_sync_args);
190
202
  }
191
203
 
192
204
  function
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name":
3
3
  "crash-js",
4
4
  "version":
5
- "0.1.133",
5
+ "0.1.134",
6
6
  "description":
7
7
  "Crash Javascript library.",
8
8
  "funding":