@squiz/db-lib 1.39.1-alpha.27 → 1.39.1-alpha.29

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,37 +1,37 @@
1
1
  0 verbose cli /usr/local/bin/node /usr/local/bin/npm
2
2
  1 info using npm@9.5.0
3
3
  2 info using node@v18.15.0
4
- 3 timing npm:load:whichnode Completed in 1ms
4
+ 3 timing npm:load:whichnode Completed in 2ms
5
5
  4 timing config:load:defaults Completed in 2ms
6
6
  5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 1ms
7
7
  6 timing config:load:builtin Completed in 1ms
8
8
  7 timing config:load:cli Completed in 2ms
9
- 8 timing config:load:env Completed in 2ms
9
+ 8 timing config:load:env Completed in 1ms
10
10
  9 info found workspace root at /builds/developer-experience/cmp
11
- 10 timing config:load:file:/builds/developer-experience/cmp/.npmrc Completed in 1ms
12
- 11 timing config:load:project Completed in 27ms
11
+ 10 timing config:load:file:/builds/developer-experience/cmp/.npmrc Completed in 0ms
12
+ 11 timing config:load:project Completed in 28ms
13
13
  12 timing config:load:file:/root/.npmrc Completed in 1ms
14
14
  13 timing config:load:user Completed in 1ms
15
15
  14 timing config:load:file:/usr/local/etc/npmrc Completed in 0ms
16
16
  15 timing config:load:global Completed in 0ms
17
17
  16 timing config:load:setEnvs Completed in 1ms
18
- 17 timing config:load Completed in 36ms
19
- 18 timing npm:load:configload Completed in 36ms
20
- 19 timing npm:load:mkdirpcache Completed in 1ms
18
+ 17 timing config:load Completed in 37ms
19
+ 18 timing npm:load:configload Completed in 37ms
20
+ 19 timing npm:load:mkdirpcache Completed in 0ms
21
21
  20 timing npm:load:mkdirplogs Completed in 0ms
22
22
  21 verbose title npm run compile
23
23
  22 verbose argv "run" "compile" "--"
24
24
  23 timing npm:load:setTitle Completed in 2ms
25
25
  24 timing config:load:flatten Completed in 4ms
26
- 25 timing npm:load:display Completed in 5ms
27
- 26 verbose logfile logs-max:10 dir:/builds/developer-experience/cmp/packages/db-lib/.npm/_logs/2023-06-29T22_53_50_094Z-
28
- 27 verbose logfile /builds/developer-experience/cmp/packages/db-lib/.npm/_logs/2023-06-29T22_53_50_094Z-debug-0.log
29
- 28 timing npm:load:logFile Completed in 4ms
30
- 29 timing npm:load:timers Completed in 0ms
26
+ 25 timing npm:load:display Completed in 6ms
27
+ 26 verbose logfile logs-max:10 dir:/builds/developer-experience/cmp/packages/db-lib/.npm/_logs/2023-06-30T04_00_29_905Z-
28
+ 27 verbose logfile /builds/developer-experience/cmp/packages/db-lib/.npm/_logs/2023-06-30T04_00_29_905Z-debug-0.log
29
+ 28 timing npm:load:logFile Completed in 3ms
30
+ 29 timing npm:load:timers Completed in 1ms
31
31
  30 timing npm:load:configScope Completed in 0ms
32
- 31 timing npm:load Completed in 50ms
32
+ 31 timing npm:load Completed in 51ms
33
33
  32 silly logfile done cleaning log files
34
- 33 timing command:run Completed in 3527ms
34
+ 33 timing command:run Completed in 3372ms
35
35
  34 verbose exit 0
36
- 35 timing npm Completed in 3589ms
36
+ 35 timing npm Completed in 3435ms
37
37
  36 info ok
package/lib/index.js CHANGED
@@ -70807,10 +70807,11 @@ var require_formattedTextToHtmlString = __commonJS({
70807
70807
  }
70808
70808
  exports2.buildFontClasses = buildFontClasses;
70809
70809
  function buildComponentRenderUrl(node) {
70810
+ var _a;
70810
70811
  const [baseUrl, namespace, name, version2] = getComponentDetails(node.schemaName);
70811
- const query = `_componentSet=${node.componentSet}`;
70812
- if (node.content) {
70813
- query.concat(`&_contentItemId=${node.content.contentItemId}`);
70812
+ let query = `_componentSet=${node.componentSet}`;
70813
+ if ((_a = node.content) === null || _a === void 0 ? void 0 : _a.contentItemId.length) {
70814
+ query = query.concat(`&_contentItemId=${node.content.contentItemId}`);
70814
70815
  }
70815
70816
  const renderUrl = `${baseUrl}/r/${namespace}/${name}/${version2}?${query}`;
70816
70817
  return renderUrl;