gitignore-to-glob
Advanced tools
Comparing version 0.2.1 to 0.3.0
@@ -38,3 +38,3 @@ /** | ||
return pattern[0] !== '/' || !dirsToCheck || | ||
new RegExp(`^\/(?:${ dirsToCheck.join('|') })(?:\/|$)`).test(pattern); | ||
new RegExp(`^/(?:${ dirsToCheck.join('|') })(?:/|$)`).test(pattern); | ||
}) | ||
@@ -41,0 +41,0 @@ |
{ | ||
"name": "gitignore-to-glob", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"description": "Transforms .gitignore patterns to ones compatible with the glob package (used by Grunt & others)", | ||
@@ -20,38 +20,17 @@ "homepage": "https://github.com/EE/gitignore-to-glob", | ||
"license": "MIT", | ||
"main": "lib/gitignore-to-glob.js", | ||
"files": [ | ||
"index.js", | ||
"lib", | ||
"dist/lib" | ||
"lib" | ||
], | ||
"devDependencies": { | ||
"babel-plugin-transform-es2015-arrow-functions": "6.5.2", | ||
"babel-plugin-transform-es2015-block-scoped-functions": "6.5.0", | ||
"babel-plugin-transform-es2015-block-scoping": "6.5.0", | ||
"babel-plugin-transform-es2015-classes": "6.5.2", | ||
"babel-plugin-transform-es2015-computed-properties": "6.5.2", | ||
"babel-plugin-transform-es2015-destructuring": "6.5.0", | ||
"babel-plugin-transform-es2015-for-of": "6.5.2", | ||
"babel-plugin-transform-es2015-function-name": "6.5.0", | ||
"babel-plugin-transform-es2015-literals": "6.5.0", | ||
"babel-plugin-transform-es2015-object-super": "6.5.0", | ||
"babel-plugin-transform-es2015-parameters": "6.5.0", | ||
"babel-plugin-transform-es2015-shorthand-properties": "6.5.0", | ||
"babel-plugin-transform-es2015-spread": "6.5.2", | ||
"babel-plugin-transform-es2015-sticky-regex": "6.5.0", | ||
"babel-plugin-transform-es2015-template-literals": "6.5.2", | ||
"babel-plugin-transform-es2015-typeof-symbol": "6.5.0", | ||
"babel-plugin-transform-es2015-unicode-regex": "6.5.0", | ||
"babel-plugin-transform-exponentiation-operator": "6.5.0", | ||
"babel-plugin-transform-regenerator": "6.5.2", | ||
"eslint-config-mgol": "0.0.13", | ||
"grunt": "0.4.5", | ||
"grunt-babel": "6.0.0", | ||
"grunt-cli": "0.1.13", | ||
"eslint-config-mgol": "0.0.33", | ||
"grunt": "1.0.1", | ||
"grunt-cli": "1.2.0", | ||
"grunt-contrib-clean": "1.0.0", | ||
"grunt-contrib-copy": "1.0.0", | ||
"grunt-eslint": "18.0.0", | ||
"grunt-mocha-test": "0.12.7", | ||
"load-grunt-tasks": "3.4.1", | ||
"mocha": "2.4.5", | ||
"time-grunt": "1.3.0" | ||
"grunt-eslint": "19.0.0", | ||
"grunt-mocha-test": "0.13.2", | ||
"load-grunt-tasks": "3.5.2", | ||
"mocha": "3.1.2", | ||
"time-grunt": "1.4.0" | ||
}, | ||
@@ -62,4 +41,4 @@ "scripts": { | ||
"engines": { | ||
"node": ">=0.12.7 <0.13 || >=4.1.1" | ||
"node": ">=4.4 <5 || >=6.9" | ||
} | ||
} |
@@ -48,3 +48,3 @@ # gitignore-to-glob | ||
## Supported Node.js versions | ||
This project aims to support all Node.js LTS versions in the "active" phase (see [LTS README](https://github.com/nodejs/LTS/blob/master/README.md) for more details) as well as the latest stable Node.js. Today that means Node.js 0.12, 4 & 5. | ||
This project aims to support all Node.js LTS versions in the "active" phase (see [LTS README](https://github.com/nodejs/LTS/blob/master/README.md) for more details) as well as the latest stable Node.js. | ||
@@ -51,0 +51,0 @@ ## Contributing |
Uses eval
Supply chain riskPackage uses eval() which is a dangerous function. This prevents the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
9
1
0
6773
4
52