Socket
Socket
Sign inDemoInstall

ignore

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ignore - npm Package Compare versions

Comparing version 3.2.0 to 3.2.1

18

ignore.js

@@ -331,11 +331,11 @@ 'use strict';

// trailing wildcard
[/(\\\/)?\\\*$/, function (match, p1) {
return p1 === '\\/'
// 'a/*' does not match 'a/'
// 'a/*' matches 'a/a'
// 'a/'
? '\\/[^/]+(?=$|\\/$)'
// or it will match everything after
: '';
[/(\^|\\\/)?\\\*$/, function (match, p1) {
return (p1
// '/*' does not match ''
// '/*' does not match everything
// 'abc/*' does not match 'abc/'
? p1 + '[^/]+'
// 'a*' matches 'a'
// 'a*' matches 'aa'
: '[^/]*') + '(?=$|\\/$)';
}], [

@@ -342,0 +342,0 @@ // unescape

{
"name": "ignore",
"version": "3.2.0",
"version": "3.2.1",
"description": "Ignore is a manager and filter for .gitignore rules.",

@@ -5,0 +5,0 @@ "main": "./ignore.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