Socket
Socket
Sign inDemoInstall

indent-string

Package Overview
Dependencies
4
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.1 to 1.2.2

4

index.js

@@ -13,2 +13,6 @@ 'use strict';

if (count === 0) {
return str;
}
indent = count > 1 ? repeating(indent, count) : indent;

@@ -15,0 +19,0 @@

9

package.json
{
"name": "indent-string",
"version": "1.2.1",
"version": "1.2.2",
"description": "Indent each line in a string",

@@ -10,7 +10,5 @@ "license": "MIT",

"email": "sindresorhus@gmail.com",
"url": "http://sindresorhus.com"
"url": "sindresorhus.com"
},
"bin": {
"indent-string": "cli.js"
},
"bin": "cli.js",
"engines": {

@@ -27,2 +25,3 @@ "node": ">=0.10.0"

"keywords": [
"cli-app",
"cli",

@@ -29,0 +28,0 @@ "bin",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc