minimatch 5.1.2 → 5.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/minimatch.js +2 -1
  2. package/package.json +1 -1
package/minimatch.js CHANGED
@@ -729,7 +729,8 @@ class Minimatch {
729
729
  }
730
730
  nlAfter = cleanAfter
731
731
 
732
- const dollar = nlAfter === '' && isSub !== SUBPARSE ? '$' : ''
732
+ const dollar = nlAfter === '' && isSub !== SUBPARSE ? '(?:$|\\/)' : ''
733
+
733
734
  re = nlBefore + nlFirst + nlAfter + dollar + nlLast
734
735
  }
735
736
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)",
3
3
  "name": "minimatch",
4
4
  "description": "a glob matcher in javascript",
5
- "version": "5.1.2",
5
+ "version": "5.1.3",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git://github.com/isaacs/minimatch.git"