@putout/operator-json
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -51,2 +51,6 @@ 'use strict'; | ||
module.exports.fromJS = (source, name = __json) => { | ||
const shortName = cut(name); | ||
source = source.slice(source.indexOf(shortName)); | ||
const prefix = createPrefix(name); | ||
@@ -53,0 +57,0 @@ const suffix = createSuffix(); |
{ | ||
"name": "@putout/operator-json", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"type": "commonjs", | ||
@@ -42,3 +42,3 @@ "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
"nodemon": "^3.0.1", | ||
"supertape": "^9.0.0", | ||
"supertape": "^10.0.0", | ||
"try-catch": "^3.0.0" | ||
@@ -45,0 +45,0 @@ }, |
6136
53