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

guy

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

guy - npm Package Compare versions

Comparing version 11.5.0 to 11.6.0

20

lib/trm.js

@@ -22,2 +22,18 @@ (function() {

/* thx to https://github.com/chalk/ansi-regex/blob/main/index.js */
this._ansi_pattern = /[\u001B\u009B][[\]()\#;?]*(?:(?:(?:(?:;[-a-zA-Z\d\/\#&.:=?%@~_]+)*|[a-zA-Z\d]+(?:;[-a-zA-Z\d\/\#&.:=?%@~_]*)*)?\u0007)|(?:(?:\d{1,4}(?:;\d{0,4})*)?[\dA-PR-TZcf-nq-uy=><~]))/g;
// @_ansi_pattern = do =>
// ```
// function ansiRegex({onlyFirst = false} = {}) {
// const pattern = [
// '[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)',
// '(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))'
// ].join('|');
// return new RegExp(pattern, onlyFirst ? undefined : 'g');
// }
// ```
// return ansiRegex()
//-----------------------------------------------------------------------------------------------------------

@@ -123,4 +139,8 @@ this.truth = function(x) {

this.strip_ansi = function(text) {
return text.replace(this._ansi_pattern, '');
};
}).call(this);
//# sourceMappingURL=trm.js.map

2

package.json
{
"name": "guy",
"version": "11.5.0",
"version": "11.6.0",
"description": "npm dependencies checker",

@@ -5,0 +5,0 @@ "main": "lib/main.js",

@@ -485,2 +485,5 @@

* writer `GUY.trm.pen()` returns string representation as used in `GUY.trm.log()` &c
* `GUY.trm.strip_ansi: ( text ) ->` uses RegEx from
(chalk)[https://raw.githubusercontent.com/chalk/ansi-regex/main/index.js] to strip ANSI codes from a given
string

@@ -643,2 +646,3 @@ #### `GUY.sets`

## Is Done

@@ -645,0 +649,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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