@putout/operator-filesystem 7.0.0 → 7.1.0

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
@@ -43,6 +43,9 @@ const toBase64 = (content) => {
43
43
  };
44
44
 
45
45
  const fromBase64 = (content) => {
46
+ if (content.includes(' '))
47
+ return content;
48
+
46
49
  const [e, decoded] = tryCatch(atob, content);
47
50
 
48
51
  if (!e)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/operator-filesystem",
3
- "version": "7.0.0",
3
+ "version": "7.1.0",
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",
@@ -39,7 +39,7 @@
39
39
  "@putout/engine-parser": "^13.0.1",
40
40
  "@putout/eslint-flat": "^3.0.0",
41
41
  "@putout/operator-json": "^2.0.0",
42
- "@putout/test": "^12.0.0",
42
+ "@putout/test": "^13.0.0",
43
43
  "c8": "^10.0.0",
44
44
  "eslint": "^9.0.0",
45
45
  "eslint-plugin-n": "^17.0.0",
@@ -47,7 +47,7 @@
47
47
  "madrun": "^11.0.0",
48
48
  "montag": "^1.2.1",
49
49
  "nodemon": "^3.0.1",
50
- "supertape": "^10.0.0"
50
+ "supertape": "^11.0.3"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "putout": ">=39"