nx 20.3.0-rc.0 → 20.3.0
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/src/core/graph/styles.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[532],{
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[532],{6395:()=>{}},s=>{var e;e=6395,s(s.s=e)}]);
|
Binary file
|
@@ -326,9 +326,10 @@ function mapSnapshots(dependencies, nodes, packageJson, isBerry) {
|
|
326
326
|
const packageName = key.slice(0, key.indexOf('@', 1));
|
327
327
|
let normalizedKey = key;
|
328
328
|
if (isBerry && key.includes('@patch:') && key.includes('#')) {
|
329
|
+
const regEx = new RegExp(`@patch:${packageName}@(npm%3A)?(.*)$`);
|
329
330
|
normalizedKey = key
|
330
331
|
.slice(0, key.indexOf('#'))
|
331
|
-
.replace(
|
332
|
+
.replace(regEx, '@npm:$2');
|
332
333
|
}
|
333
334
|
if (!existingKeys.get(packageName) ||
|
334
335
|
!existingKeys.get(packageName).has(normalizedKey)) {
|