@verdaccio/utils
Advanced tools
Comparing version 7.0.0-next.2 to 7.0.0-next.3
@@ -7,7 +7,6 @@ "use strict"; | ||
exports.getMatchedPackagesSpec = getMatchedPackagesSpec; | ||
var _minimatch = _interopRequireDefault(require("minimatch")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
var _minimatch = require("minimatch"); | ||
function getMatchedPackagesSpec(pkgName, packages) { | ||
for (const i in packages) { | ||
if (_minimatch.default.makeRe(i).exec(pkgName)) { | ||
if (_minimatch.minimatch.makeRe(i).exec(pkgName)) { | ||
return packages[i]; | ||
@@ -14,0 +13,0 @@ } |
# @verdaccio/utils | ||
## 7.0.0-next.3 | ||
### Major Changes | ||
- e7ebccb61: update major dependencies, remove old nodejs support | ||
### Minor Changes | ||
- daceb6d87: restore legacy support | ||
### Patch Changes | ||
- Updated dependencies [daceb6d87] | ||
- Updated dependencies [e7ebccb61] | ||
- @verdaccio/core@7.0.0-next.3 | ||
## 7.0.0-next.2 | ||
@@ -4,0 +20,0 @@ |
{ | ||
"name": "@verdaccio/utils", | ||
"version": "7.0.0-next.2", | ||
"version": "7.0.0-next.3", | ||
"description": "verdaccio utilities", | ||
@@ -32,4 +32,4 @@ "main": "./build/index.js", | ||
"dependencies": { | ||
"@verdaccio/core": "7.0.0-next.2", | ||
"minimatch": "3.1.2", | ||
"@verdaccio/core": "7.0.0-next.3", | ||
"minimatch": "7.4.6", | ||
"semver": "7.5.4", | ||
@@ -36,0 +36,0 @@ "lodash": "4.17.21" |
@@ -1,2 +0,2 @@ | ||
import minimatch from 'minimatch'; | ||
import { MMRegExp, minimatch } from 'minimatch'; | ||
@@ -10,3 +10,3 @@ import { PackageAccess, PackageList } from '@verdaccio/types'; | ||
for (const i in packages) { | ||
if (minimatch.makeRe(i).exec(pkgName)) { | ||
if ((minimatch.makeRe(i) as MMRegExp).exec(pkgName)) { | ||
return packages[i]; | ||
@@ -13,0 +13,0 @@ } |
Sorry, the diff of this file is not supported yet
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
91431
1143
+ Added@verdaccio/core@7.0.0-next.3(transitive)
+ Addedbrace-expansion@2.0.1(transitive)
+ Addedminimatch@7.4.6(transitive)
- Removed@verdaccio/core@7.0.0-next.2(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedminimatch@3.1.2(transitive)
Updated@verdaccio/core@7.0.0-next.3
Updatedminimatch@7.4.6