Socket
Socket
Sign inDemoInstall

quick-format-unescaped

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quick-format-unescaped - npm Package Compare versions

Comparing version 1.1.2 to 2.0.0

4

index.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc