ignore
Advanced tools
Comparing version 4.0.5 to 4.0.6
@@ -16,1 +16,5 @@ # `node-ignore` 4 ChangeLog | ||
- **PATCH**: updates README.md about frequent asked quesions from github issues. | ||
## 2018-08-12, Version 4.0.6 | ||
- **PATCH**: `Object.prototype` methods will not ruin the result any more. |
@@ -268,3 +268,3 @@ // A simple implementation of make-array | ||
// A simple cache, because an ignore rule only has only one certain meaning | ||
const cache = {} | ||
const cache = Object.create(null) | ||
@@ -339,3 +339,3 @@ // @param {pattern} | ||
_initCache () { | ||
this._cache = {} | ||
this._cache = Object.create(null) | ||
} | ||
@@ -342,0 +342,0 @@ |
@@ -245,3 +245,3 @@ 'use strict'; | ||
// A simple cache, because an ignore rule only has only one certain meaning | ||
var cache = {}; | ||
var cache = Object.create(null); | ||
@@ -317,3 +317,3 @@ // @param {pattern} | ||
value: function _initCache() { | ||
this._cache = {}; | ||
this._cache = Object.create(null); | ||
} | ||
@@ -320,0 +320,0 @@ |
{ | ||
"name": "ignore", | ||
"version": "4.0.5", | ||
"version": "4.0.6", | ||
"description": "Ignore is a manager and filter for .gitignore rules.", | ||
@@ -49,6 +49,6 @@ "files": [ | ||
"babel-preset-env": "^1.7.0", | ||
"codecov": "^3.0.2", | ||
"eslint": "^5.0.0-rc.0", | ||
"eslint-config-airbnb-base": "^12.1.0", | ||
"eslint-plugin-import": "^2.12.0", | ||
"codecov": "^3.0.4", | ||
"eslint": "^5.3.0", | ||
"eslint-config-ostai": "^1.3.2", | ||
"eslint-plugin-import": "^2.13.0", | ||
"mkdirp": "^0.5.1", | ||
@@ -60,3 +60,3 @@ "pre-suf": "^1.1.0", | ||
"tmp": "0.0.33", | ||
"typescript": "^2.9.2" | ||
"typescript": "^3.0.1" | ||
}, | ||
@@ -63,0 +63,0 @@ "engines": { |
37759