New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@spare/string

Package Overview
Dependencies
Maintainers
1
Versions
206
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spare/string - npm Package Compare versions

Comparing version 0.4.10 to 0.4.11

6

dist/index.cjs.js

@@ -10,2 +10,3 @@ 'use strict';

var util = require('@spare/util');
var enumChars = require('@spare/enum-chars');

@@ -116,5 +117,2 @@ const FullAngleReg = /[\u4e00-\u9fa5]|[\uff00-\uffff]/;

const TB = ' ';
const RN = '\r\n';
const wL = (tx = '') => {

@@ -130,3 +128,3 @@ console.log(tx);

const t = ' '.repeat(i);
text = (text.endsWith('}') || text.endsWith(']')) && !text.endsWith(']]') ? util.afterNaTab(text.split(RN).map(x => t + x).join(RN)) : ['', ...text.split(RN).map(x => t + TB + x), t].join(RN);
text = (text.endsWith('}') || text.endsWith(']')) && !text.endsWith(']]') ? util.afterNaTab(text.split(enumChars.RN).map(x => t + x).join(enumChars.RN)) : ['', ...text.split(enumChars.RN).map(x => t + enumChars.TB + x), t].join(enumChars.RN);
}

@@ -133,0 +131,0 @@

import stripAnsi from 'strip-ansi';
import { hasAnsi } from '@spare/lange';
import { isTab, deNaTab, endsBracs, afterNaTab } from '@spare/util';
import { RN, TB } from '@spare/enum-chars';

@@ -109,5 +110,2 @@ const FullAngleReg = /[\u4e00-\u9fa5]|[\uff00-\uffff]/;

const TB = ' ';
const RN = '\r\n';
const wL = (tx = '') => {

@@ -114,0 +112,0 @@ console.log(tx);

{
"name": "@spare/string",
"version": "0.4.10",
"version": "0.4.11",
"description": "A debugging tool",

@@ -18,5 +18,6 @@ "main": "dist/index.cjs.js",

"dependencies": {
"@spare/lange": "^0.4.10",
"@spare/phrasing": "^0.4.10",
"@spare/util": "^0.4.10",
"@spare/enum-chars": "^0.4.11",
"@spare/lange": "^0.4.11",
"@spare/phrasing": "^0.4.11",
"@spare/util": "^0.4.11",
"strip-ansi": "^6.0.0"

@@ -40,3 +41,3 @@ },

"homepage": "https://github.com/hoyeungw/spare#readme",
"gitHead": "c17b4a934ec23c9c9a0ec218206b0ba1e117fc85"
"gitHead": "7e83c8e7a2f20711534686b6a62d3e715025cc56"
}
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