@backstage/plugin-catalog-backend 1.16.1 → 1.16.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @backstage/plugin-catalog-backend
2
2
 
3
+ ## 1.16.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 4a3a427: Rollback the change for wildcard discovery, this fixes a bug with the `AzureUrlReader` not working with wildcard paths
8
+
3
9
  ## 1.16.1
4
10
 
5
11
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend",
3
- "version": "1.16.1",
3
+ "version": "1.16.2",
4
4
  "main": "../dist/alpha.cjs.js",
5
5
  "types": "../dist/alpha.d.ts"
6
6
  }
package/dist/alpha.cjs.js CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var alpha = require('@backstage/plugin-catalog-common/alpha');
6
6
  var pluginPermissionNode = require('@backstage/plugin-permission-node');
7
- var CatalogBuilder = require('./cjs/CatalogBuilder-f40ff71c.cjs.js');
7
+ var CatalogBuilder = require('./cjs/CatalogBuilder-59dba5ef.cjs.js');
8
8
  var backendPluginApi = require('@backstage/backend-plugin-api');
9
9
  var alpha$1 = require('@backstage/plugin-catalog-node/alpha');
10
10
  var backendCommon = require('@backstage/backend-common');
@@ -668,7 +668,7 @@ class UrlReaderProcessor {
668
668
  return true;
669
669
  }
670
670
  async doRead(location, etag) {
671
- const { pathname: filepath } = new URL(location);
671
+ const { filepath } = parseGitUrl__default["default"](location);
672
672
  if (filepath == null ? void 0 : filepath.match(/[*?]/)) {
673
673
  const limiter = limiterFactory__default["default"](5);
674
674
  const response = await this.options.reader.search(location, { etag });
@@ -7256,4 +7256,4 @@ exports.createCatalogPermissionRule = createCatalogPermissionRule;
7256
7256
  exports.createRandomProcessingInterval = createRandomProcessingInterval;
7257
7257
  exports.parseEntityYaml = parseEntityYaml;
7258
7258
  exports.permissionRules = permissionRules;
7259
- //# sourceMappingURL=CatalogBuilder-f40ff71c.cjs.js.map
7259
+ //# sourceMappingURL=CatalogBuilder-59dba5ef.cjs.js.map