@hkdigital/lib-core 0.4.37 → 0.4.38

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.
@@ -382,19 +382,22 @@ export class ConsoleAdapter {
382
382
  );
383
383
 
384
384
  // Clean up pnpm paths - convert complex pnpm paths to simple package names
385
- // Before: functionName@node_modules/.pnpm/package+name@version_deps.../node_modules/package/dist/...
385
+ // Before: functionName@node_modules/.pnpm/package+name@version_deps.../node_modules/package/dist/...
386
386
  // After: functionName@package/dist/...
387
387
  cleaned = cleaned.replace(
388
388
  /node_modules\/\.pnpm\/[^\/]+@[^_]+[^\/]*\/node_modules\/(@[^\/]+\/[^\/]+|[^\/]+)\//g,
389
389
  '$1/'
390
390
  );
391
391
 
392
- // Clean up regular node_modules paths - convert to simple package names
392
+ // Clean up regular node_modules paths - convert to simple package names
393
393
  cleaned = cleaned.replace(
394
394
  /node_modules\/(@[^\/]+\/[^\/]+|[^\/]+)\//g,
395
395
  '$1/'
396
396
  );
397
397
 
398
+ // Fix double @@ that can occur from the above replacements
399
+ cleaned = cleaned.replace(/@@/g, '@');
400
+
398
401
  // Clean up query parameters on source files
399
402
  cleaned = cleaned.replace(/\?[tv]=[a-f0-9]+/g, '');
400
403
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hkdigital/lib-core",
3
- "version": "0.4.37",
3
+ "version": "0.4.38",
4
4
  "author": {
5
5
  "name": "HKdigital",
6
6
  "url": "https://hkdigital.nl"