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

fast-ignore

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-ignore - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

dist/glob/grammar.js

@@ -16,3 +16,3 @@ /* IMPORT */

const ClassNegation = match(/[!^]/, '^');
const ClassRange = match(/[a-z]-[a-z]|[0-9]-[0-9]/i, passthrough);
const ClassRange = match(/[0-9a-z]-[0-9a-z]/i, passthrough);
const ClassEscape = match(/[$.*+?^(){}[\|]/, escape);

@@ -19,0 +19,0 @@ const ClassPassthrough = match(/[^\]]/, passthrough);

@@ -5,3 +5,3 @@ {

"description": "A fast parser and processor for .gitignore files.",
"version": "1.1.0",
"version": "1.1.1",
"type": "module",

@@ -8,0 +8,0 @@ "main": "dist/index.js",

@@ -26,3 +26,3 @@

const ClassNegation = match ( /[!^]/, '^' );
const ClassRange = match ( /[a-z]-[a-z]|[0-9]-[0-9]/i, passthrough );
const ClassRange = match ( /[0-9a-z]-[0-9a-z]/i, passthrough );
const ClassEscape = match ( /[$.*+?^(){}[\|]/, escape );

@@ -29,0 +29,0 @@ const ClassPassthrough = match ( /[^\]]/, passthrough );

@@ -74,5 +74,12 @@

t.is ( glob ( 'foo[0-z]bar', 'fooabar' ), true );
t.is ( glob ( 'foo[0-z]bar', 'fooAbar' ), true );
t.is ( glob ( 'foo[0-z]bar', 'foo9bar' ), true );
t.is ( glob ( 'foo[0-z]bar', 'foo>bar' ), true );
t.is ( glob ( 'foo[0-z]bar', 'fooaabar' ), false );
t.is ( glob ( 'foo[a-zA-Z0-9]bar', 'fooabar' ), true );
t.is ( glob ( 'foo[a-zA-Z0-9]bar', 'fooAbar' ), true );
t.is ( glob ( 'foo[a-zA-Z0-9]bar', 'foo9bar' ), true );
t.is ( glob ( 'foo[a-zA-Z0-9]bar', 'foo>bar' ), false );
t.is ( glob ( 'foo[a-zA-Z0-9]bar', 'fooaabar' ), false );

@@ -79,0 +86,0 @@

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