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

util-io

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

util-io - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

20

lib/util.js

@@ -563,2 +563,22 @@ (function(scope) {

/**
* get regexp from wild card
*/
this.getRegExp = function(wildcard) {
var regExp;
if (!wildcard)
wildcard = '*';
wildcard = '^' + wildcard; /* search from start of line */
wildcard = Util.replaceStr(wildcard, '.', '\\.');
wildcard = Util.replaceStr(wildcard, '*', '.*');
wildcard = Util.replaceStr(wildcard, '?', '.?\\');
wildcard += '$'; /* search to end of line */
regExp = new RegExp(wildcard);
return regExp;
};
/**
* function render template with view

@@ -565,0 +585,0 @@ * @templ

2

package.json
{
"name": "util-io",
"version": "1.2.2",
"version": "1.2.3",
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",

@@ -5,0 +5,0 @@ "description": "Util.io - utilites for vanila 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