quick-format-unescaped
Advanced tools
Comparing version 1.1.2 to 2.0.0
@@ -1,2 +0,2 @@ | ||
var safeStringify = require('fast-safe-stringify') | ||
'use strict' | ||
function tryStringify (o) { | ||
@@ -7,3 +7,3 @@ try { return JSON.stringify(o) } catch(e) { return '"[Circular]"' } | ||
module.exports = function format(args, opts) { | ||
var ss = (opts && opts.lowres) ? tryStringify : safeStringify | ||
var ss = (opts && opts.stringify) || tryStringify | ||
var f = args[0] | ||
@@ -10,0 +10,0 @@ if (typeof f !== 'string') { |
{ | ||
"name": "quick-format-unescaped", | ||
"version": "1.1.2", | ||
"version": "2.0.0", | ||
"description": "Solves a problem with util.format", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
9399
6