@putout/processor-markdown 9.0.0 → 9.0.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.
Files changed (2) hide show
  1. package/lib/markdown.js +1 -1
  2. package/package.json +1 -1
package/lib/markdown.js CHANGED
@@ -186,7 +186,7 @@ const apply = ({list, visit}) => (node) => {
186
186
 
187
187
  if (lang === 'json') {
188
188
  const code = list.shift();
189
- node.value = fromJS(code);
189
+ node.value = fromJS(code).slice(0, -1);
190
190
  }
191
191
  });
192
192
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/processor-markdown",
3
- "version": "9.0.0",
3
+ "version": "9.0.1",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊Putout processor adds ability to parse markdown files and lint JavaScript, JSX, TypeScript and JSON snippets",