@engine9-io/input-tools 1.6.5 → 1.6.7

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/ForEachEntry.js CHANGED
@@ -30,7 +30,7 @@ class ForEachEntry {
30
30
  getTimelineOutputStream() {
31
31
  return this.timelineOutputMutex.runExclusive(async () => {
32
32
  if (this.outputStream) return this.outputStream;
33
- const timelineFile = await getTempFilename({ postfix: '.csv' });
33
+ const timelineFile = await getTempFilename({ postfix: '.timeline.csv' });
34
34
  debug(`Timeline output requested, writing timeline file to: ${timelineFile}`);
35
35
  const timelineOutputStream = new ValidatingReadable({
36
36
  objectMode: true,
package/file/tools.js CHANGED
@@ -65,7 +65,7 @@ async function getTempFilename(options) {
65
65
  }
66
66
 
67
67
  async function writeTempFile(options) {
68
- const { content, postfix = '.txt' } = await this.getHTML(options);
68
+ const { content, postfix = '.txt' } = options;
69
69
  const filename = await getTempFilename({ ...options, postfix });
70
70
 
71
71
  await fsp.writeFile(filename, content);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@engine9-io/input-tools",
3
- "version": "1.6.5",
3
+ "version": "1.6.7",
4
4
  "description": "Tools for dealing with Engine9 inputs",
5
5
  "main": "index.js",
6
6
  "scripts": {