@putout/operator-filesystem 2.1.0 → 2.1.1

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/lib/filesystem.js CHANGED
@@ -168,7 +168,7 @@ module.exports.writeFileContent = (filePath, content) => {
168
168
  const contentPath = getProperty(filePath, 'content');
169
169
 
170
170
  if (contentPath) {
171
- contentPath.node.value.value = content;
171
+ setLiteralValue(contentPath.node.value, btoa(content));
172
172
  return;
173
173
  }
174
174
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/operator-filesystem",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "type": "commonjs",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊Putout operator adds ability to filesystem referenced variables that was not defined",