bpmn-js 18.29.0 → 18.29.1

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,5 +1,5 @@
1
1
  /*!
2
- * bpmn-js - bpmn-modeler v18.29.0
2
+ * bpmn-js - bpmn-modeler v18.29.1
3
3
  *
4
4
  * Copyright (c) 2014-present, camunda Services GmbH
5
5
  *
@@ -12446,8 +12446,11 @@
12446
12446
  var uri = ns.uri;
12447
12447
  var nsKey = this.getNSKey(ns);
12448
12448
 
12449
+ // all scopes resolve to the same entry, so resolve once
12450
+ var resolved = this.byUri(uri);
12451
+
12449
12452
  this.eachScope(function(scope) {
12450
- scope.used[nsKey] = scope.byUri(uri);
12453
+ scope.used[nsKey] = resolved;
12451
12454
  });
12452
12455
  };
12453
12456