@paperist/remark-latex
Advanced tools
Comparing version 1.0.7 to 1.1.0
@@ -17,11 +17,20 @@ "use strict"; | ||
} | ||
const configStr = qs.stringify(options, ',', '=', { | ||
encodeURIComponent: (str) => str.replace(/,/g, '\\,'), | ||
}); | ||
return lodash_1.defaultsDeep({ | ||
label, | ||
caption: caption.trim(), | ||
config: configStr, | ||
config: options, | ||
utils: { | ||
parse(str) { | ||
return qs.parse(str, ',', '=', { | ||
decodeURIComponent: (str) => str.replace(/\\,/g, ','), | ||
}); | ||
}, | ||
stringify(opt) { | ||
return qs.stringify(opt, ',', '=', { | ||
encodeURIComponent: (str) => str.replace(/,/g, '\\,'), | ||
}); | ||
}, | ||
}, | ||
}, node); | ||
} | ||
exports.default = image; |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "1.0.7", | ||
"version": "1.1.0", | ||
"main": "lib/index.js", | ||
@@ -8,0 +8,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30755
631