@lerna-lite/core 2.4.1 → 2.4.2

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.
@@ -1 +1,2 @@
1
1
  export declare function pluralize(str: any, strLn: any, customPluralStr?: string): any;
2
+ export declare function excludeValuesFromArray(inputValues: string[], excludeValues: string[]): string[];
@@ -2,4 +2,8 @@ export function pluralize(str, strLn, customPluralStr = '') {
2
2
  const pluralStr = customPluralStr || `${str}s`;
3
3
  return strLn > 1 ? pluralStr : str;
4
4
  }
5
+ export function excludeValuesFromArray(inputValues, excludeValues) {
6
+ const checker = (value) => !excludeValues.some((element) => value === element);
7
+ return inputValues.filter(checker);
8
+ }
5
9
  //# sourceMappingURL=string-utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"string-utils.js","sourceRoot":"","sources":["../../src/utils/string-utils.ts"],"names":[],"mappings":"AACA,MAAM,UAAU,SAAS,CAAC,GAAG,EAAE,KAAK,EAAE,eAAe,GAAG,EAAE;IACxD,MAAM,SAAS,GAAG,eAAe,IAAI,GAAG,GAAG,GAAG,CAAC;IAC/C,OAAO,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC;AACrC,CAAC"}
1
+ {"version":3,"file":"string-utils.js","sourceRoot":"","sources":["../../src/utils/string-utils.ts"],"names":[],"mappings":"AACA,MAAM,UAAU,SAAS,CAAC,GAAG,EAAE,KAAK,EAAE,eAAe,GAAG,EAAE;IACxD,MAAM,SAAS,GAAG,eAAe,IAAI,GAAG,GAAG,GAAG,CAAC;IAC/C,OAAO,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC;AACrC,CAAC;AAGD,MAAM,UAAU,sBAAsB,CAAC,WAAqB,EAAE,aAAuB;IACnF,MAAM,OAAO,GAAG,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,KAAK,KAAK,OAAO,CAAC,CAAC;IAC/E,OAAO,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AACrC,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lerna-lite/core",
3
3
  "description": "Lerna-Lite core implementation module",
4
- "version": "2.4.1",
4
+ "version": "2.4.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -54,7 +54,7 @@
54
54
  "execa": "^7.1.1",
55
55
  "fs-extra": "^11.1.1",
56
56
  "glob-parent": "^6.0.2",
57
- "globby": "^13.1.4",
57
+ "globby": "^13.2.0",
58
58
  "inquirer": "^9.2.7",
59
59
  "is-ci": "^3.0.1",
60
60
  "json5": "^2.2.3",
@@ -65,7 +65,7 @@
65
65
  "p-map": "^6.0.0",
66
66
  "p-queue": "^7.3.4",
67
67
  "resolve-from": "^5.0.0",
68
- "semver": "^7.5.1",
68
+ "semver": "^7.5.2",
69
69
  "slash": "^5.1.0",
70
70
  "strong-log-transformer": "^2.1.0",
71
71
  "write-file-atomic": "^5.0.1",
@@ -76,5 +76,5 @@
76
76
  "type": "ko_fi",
77
77
  "url": "https://ko-fi.com/ghiscoding"
78
78
  },
79
- "gitHead": "2f325288e11ae0c8a38229fa13bc91cd760329e1"
79
+ "gitHead": "2343112526ed4c7366b67fa00b9248334bdc32e3"
80
80
  }