minimatch
Advanced tools
Comparing version 2.0.6 to 2.0.7
@@ -5,5 +5,5 @@ (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | ||
var sep = '/' | ||
var path = { sep: '/' } | ||
try { | ||
sep = require('path').sep | ||
path = require('path') | ||
} catch (er) {} | ||
@@ -117,4 +117,4 @@ | ||
// windows support: need to use /, not \ | ||
if (sep !== '/') { | ||
pattern = pattern.split(sep).join('/') | ||
if (path.sep !== '/') { | ||
pattern = pattern.split(path.sep).join('/') | ||
} | ||
@@ -659,4 +659,4 @@ | ||
// windows: need to use /, not \ | ||
if (sep !== '/') { | ||
f = f.split(sep).join('/') | ||
if (path.sep !== '/') { | ||
f = f.split(path.sep).join('/') | ||
} | ||
@@ -663,0 +663,0 @@ |
module.exports = minimatch | ||
minimatch.Minimatch = Minimatch | ||
var sep = '/' | ||
var path = { sep: '/' } | ||
try { | ||
sep = require('path').sep | ||
path = require('path') | ||
} catch (er) {} | ||
@@ -115,4 +115,4 @@ | ||
// windows support: need to use /, not \ | ||
if (sep !== '/') { | ||
pattern = pattern.split(sep).join('/') | ||
if (path.sep !== '/') { | ||
pattern = pattern.split(path.sep).join('/') | ||
} | ||
@@ -657,4 +657,4 @@ | ||
// windows: need to use /, not \ | ||
if (sep !== '/') { | ||
f = f.split(sep).join('/') | ||
if (path.sep !== '/') { | ||
f = f.split(path.sep).join('/') | ||
} | ||
@@ -661,0 +661,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"description": "a glob matcher in javascript", | ||
"version": "2.0.6", | ||
"version": "2.0.7", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
61722
5
0
217