@squiz/db-lib 1.32.1-alpha.34 → 1.32.1-alpha.35

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,12 +1,12 @@
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 2ms
4
+ 3 timing npm:load:whichnode Completed in 1ms
5
5
  4 timing config:load:defaults Completed in 2ms
6
- 5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 1ms
7
- 6 timing config:load:builtin Completed in 1ms
8
- 7 timing config:load:cli Completed in 2ms
9
- 8 timing config:load:env Completed in 1ms
6
+ 5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 0ms
7
+ 6 timing config:load:builtin Completed in 0ms
8
+ 7 timing config:load:cli Completed in 1ms
9
+ 8 timing config:load:env Completed in 2ms
10
10
  9 info found workspace root at /builds/developer-experience/cmp
11
11
  10 timing config:load:file:/builds/developer-experience/cmp/.npmrc Completed in 0ms
12
12
  11 timing config:load:project Completed in 20ms
@@ -17,21 +17,21 @@
17
17
  16 timing config:load:setEnvs Completed in 1ms
18
18
  17 timing config:load Completed in 29ms
19
19
  18 timing npm:load:configload Completed in 29ms
20
- 19 timing npm:load:mkdirpcache Completed in 0ms
20
+ 19 timing npm:load:mkdirpcache Completed in 1ms
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
- 23 timing npm:load:setTitle Completed in 2ms
24
+ 23 timing npm:load:setTitle Completed in 1ms
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-05-07T23_25_06_658Z-
28
- 27 verbose logfile /builds/developer-experience/cmp/packages/db-lib/.npm/_logs/2023-05-07T23_25_06_658Z-debug-0.log
29
- 28 timing npm:load:logFile Completed in 4ms
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-05-08T05_23_14_699Z-
28
+ 27 verbose logfile /builds/developer-experience/cmp/packages/db-lib/.npm/_logs/2023-05-08T05_23_14_699Z-debug-0.log
29
+ 28 timing npm:load:logFile Completed in 3ms
30
30
  29 timing npm:load:timers Completed in 0ms
31
31
  30 timing npm:load:configScope Completed in 0ms
32
- 31 timing npm:load Completed in 44ms
32
+ 31 timing npm:load Completed in 43ms
33
33
  32 silly logfile done cleaning log files
34
- 33 timing command:run Completed in 3328ms
34
+ 33 timing command:run Completed in 3498ms
35
35
  34 verbose exit 0
36
- 35 timing npm Completed in 3385ms
36
+ 35 timing npm Completed in 3554ms
37
37
  36 info ok
package/lib/index.js CHANGED
@@ -54321,7 +54321,7 @@ var require_jsonSchemaLibrary = __commonJS({
54321
54321
  function t(e3) {
54322
54322
  return "#" === e3 || "" === e3 || Array.isArray(e3) && 0 === e3.length || false;
54323
54323
  }
54324
- e2.r(r), e2.d(r, { default: () => S, get: () => f, isRoot: () => t, join: () => P, remove: () => O, removeUndefinedItems: () => E, set: () => h, split: () => u });
54324
+ e2.r(r), e2.d(r, { default: () => A, get: () => f, isRoot: () => t, join: () => P, remove: () => O, removeUndefinedItems: () => E, set: () => h, split: () => u, splitLast: () => S });
54325
54325
  const n = /~1/g, o = /~0/g, i = /\/+/g, a = /(^[#/]*|\/+$)/g;
54326
54326
  function s(e3) {
54327
54327
  return e3.replace(n, "/").replace(o, "~");
@@ -54412,7 +54412,7 @@ var require_jsonSchemaLibrary = __commonJS({
54412
54412
  i2.push(t2[e4]);
54413
54413
  return _2(i2, o2);
54414
54414
  }
54415
- const S = { get: f, set: h, remove: O, join: P, split: u, splitLast: function(e3) {
54415
+ function S(e3) {
54416
54416
  const r2 = u(e3);
54417
54417
  if (0 === r2.length)
54418
54418
  return "string" == typeof e3 && "#" === e3[0] ? ["#", r2[0]] : ["", void 0];
@@ -54420,7 +54420,8 @@ var require_jsonSchemaLibrary = __commonJS({
54420
54420
  return "#" === e3[0] ? ["#", r2[0]] : ["", r2[0]];
54421
54421
  const t2 = r2.pop();
54422
54422
  return [P(r2, "#" === e3[0]), t2];
54423
- }, isRoot: t, removeUndefinedItems: E };
54423
+ }
54424
+ const A = { get: f, set: h, remove: O, join: P, split: u, splitLast: S, isRoot: t, removeUndefinedItems: E };
54424
54425
  return r;
54425
54426
  })();
54426
54427
  }, 996: (e) => {
@@ -56112,7 +56113,7 @@ S ::= [ ]*
56112
56113
  if (i2 && Array.isArray(i2.oneOf)) {
56113
56114
  let t3 = e2.resolveOneOf(n2[r2], i2, `${o2}/${r2}`);
56114
56115
  const a2 = i2.oneOf.findIndex((e3) => e3 === t3);
56115
- return t3.variableSchema = true, t3.oneOfIndex = a2, t3.oneOfSchema = i2, t3;
56116
+ return t3 = JSON.parse(JSON.stringify(t3)), t3.variableSchema = true, t3.oneOfIndex = a2, t3.oneOfSchema = i2, t3;
56116
56117
  }
56117
56118
  if (i2)
56118
56119
  return i2;