Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lerna/filter-packages

Package Overview
Dependencies
Maintainers
4
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lerna/filter-packages - npm Package Compare versions

Comparing version 3.0.0-beta.2 to 3.0.0-beta.9

14

CHANGELOG.md

@@ -6,2 +6,14 @@ # Change Log

<a name="3.0.0-beta.9"></a>
# [3.0.0-beta.9](https://github.com/lerna/lerna/compare/v3.0.0-beta.8...v3.0.0-beta.9) (2018-03-24)
### Bug Fixes
* **filter-options:** Move include/exclude validation into filter-packages ([503251d](https://github.com/lerna/lerna/commit/503251d))
<a name="3.0.0-beta.2"></a>

@@ -13,3 +25,3 @@ # [3.0.0-beta.2](https://github.com/lerna/lerna/compare/v3.0.0-beta.1...v3.0.0-beta.2) (2018-03-10)

* Replace [@lerna](https://github.com/lerna)/match-package-name with multimatch ([423f82c](https://github.com/lerna/lerna/commit/423f82c))
* Replace @lerna/match-package-name with multimatch ([423f82c](https://github.com/lerna/lerna/commit/423f82c))
* **filter-packages:** Simplify method signature ([47e1c86](https://github.com/lerna/lerna/commit/47e1c86))

@@ -16,0 +28,0 @@

@@ -24,3 +24,3 @@ "use strict";

const filtered = new Set(packagesToFilter);
const patterns = [].concat(include, exclude);
const patterns = [].concat(arrify(include), negate(exclude));

@@ -60,1 +60,17 @@ if (showPrivate === false) {

}
function arrify(thing) {
if (!thing) {
return [];
}
if (!Array.isArray(thing)) {
return [thing];
}
return thing;
}
function negate(patterns) {
return arrify(patterns).map(pattern => `!${pattern}`);
}

4

package.json
{
"name": "@lerna/filter-packages",
"version": "3.0.0-beta.2",
"version": "3.0.0-beta.9",
"description": "TODO",

@@ -37,3 +37,3 @@ "keywords": [

},
"gitHead": "ca9561a1ffe6292cceaeca30e4f7d5d85757c710"
"gitHead": "70528f23cad0186fdf7529fe32148cc1eff21272"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc