Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sweet-data

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sweet-data - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

package.json
{
"name": "sweet-data",
"version": "0.0.2",
"version": "0.0.3",
"author": "Vadim Kiryukhin <vkiryukhin@gmail.com>",

@@ -5,0 +5,0 @@ "description": "plugin to pretty-print or minify XML, JSON, CSS and SQL files, fork of pretty-data by Vadim Kiryukhin <vkiryukhin@gmail.com>",

@@ -7,3 +7,8 @@ function pp(steps = 2, stepChar = ' ') {

this.shift = ['\n']; // array of shifts
this.stepChar = stepChar.length > 0 ? stepChar : ' ';
switch(stepChar){
case 'SPACE': this.stepChar = ' ';
case 'TAB': this.stepChar = ' ';
default: this.stepChar = stepChar.length > 0 ? stepChar : ' ';
}

@@ -10,0 +15,0 @@ if ( isNaN(parseInt(steps)) ) {

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