@postman-enricher/core 1.2.9 → 1.2.10

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.
@@ -13,7 +13,7 @@ export function addDescriptions(collection, config) {
13
13
  return collection;
14
14
  // 1. Update collection-level info
15
15
  if (config.collection) {
16
- const collectionKey = Object.keys(config.collection).find((key) => collection.info.name.includes(key));
16
+ const collectionKey = Object.keys(config.collection).find((key) => collection.info.name.toLowerCase().includes(key.toLowerCase()));
17
17
  if (collectionKey) {
18
18
  const collectionConfig = config.collection[collectionKey];
19
19
  if (collectionConfig.name) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postman-enricher/core",
3
- "version": "1.2.9",
3
+ "version": "1.2.10",
4
4
  "description": "Core enrichment logic for Postman Enricher",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -17,7 +17,7 @@
17
17
  "dependencies": {
18
18
  "openapi-to-postmanv2": "^5.5.0",
19
19
  "yaml": "^2.8.1",
20
- "@postman-enricher/shared": "^1.2.9"
20
+ "@postman-enricher/shared": "^1.2.10"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@anolilab/semantic-release-pnpm": "^3.0.0",