inibase 1.1.1 → 1.1.2

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/dist/file.js +1 -1
  2. package/package.json +1 -1
package/dist/file.js CHANGED
@@ -425,7 +425,7 @@ export const prepend = async (filePath, data) => {
425
425
  transform(line, _, callback) {
426
426
  if (!isAppended) {
427
427
  isAppended = true;
428
- return callback(null, `${Array.isArray(data) ? data.join("\n") : data}\n${line.length ? `${line}\n` : ""}`);
428
+ return callback(null, `${Array.isArray(data) ? data.join("\n") : data}\n${`${line}\n`}`);
429
429
  }
430
430
  return callback(null, `${line}\n`);
431
431
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inibase",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "type": "module",
5
5
  "author": {
6
6
  "name": "Karim Amahtil",