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.0.12 to 3.0.13

10

ignore.js

@@ -8,8 +8,6 @@ 'use strict';

module.exports = function () {
var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
return new IgnoreBase(options);
return new IgnoreBase();
};
var array_slice = Array.prototype.slice;
// A simple implementation of make-array
function make_array(subject) {

@@ -166,3 +164,4 @@ return Array.isArray(subject) ? subject : [subject];

value: function _test(path) {
var matched;
// Explicitly define variable type by setting matched to `0`
var matched = 0;

@@ -346,2 +345,3 @@ this._rules.forEach(function (rule) {

// A simple cache, because an ignore rule only has only one certain meaning
var cache = {};

@@ -348,0 +348,0 @@

{
"name": "ignore",
"version": "3.0.12",
"version": "3.0.13",
"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