@squiz/db-lib 1.34.1-alpha.0 → 1.34.1-alpha.2
Sign up to get free protection for your applications and to get access to all the features.
package/.npm/_logs/{2023-05-17T04_23_28_564Z-debug-0.log → 2023-05-18T22_22_33_825Z-debug-0.log}
RENAMED
@@ -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
|
5
|
-
4 timing config:load:defaults Completed in
|
6
|
-
5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in
|
7
|
-
6 timing config:load:builtin Completed in
|
4
|
+
3 timing npm:load:whichnode Completed in 2ms
|
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
8
|
7 timing config:load:cli Completed in 2ms
|
9
9
|
8 timing config:load:env Completed in 1ms
|
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
|
-
11 timing config:load:project Completed in
|
12
|
+
11 timing config:load:project Completed in 20ms
|
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
|
-
15 timing config:load:global Completed in
|
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
|
19
|
-
18 timing npm:load:configload Completed in
|
18
|
+
17 timing config:load Completed in 29ms
|
19
|
+
18 timing npm:load:configload Completed in 29ms
|
20
20
|
19 timing npm:load:mkdirpcache Completed in 0ms
|
21
21
|
20 timing npm:load:mkdirplogs Completed in 1ms
|
22
22
|
21 verbose title npm run compile
|
23
23
|
22 verbose argv "run" "compile" "--"
|
24
|
-
23 timing npm:load:setTitle Completed in
|
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
|
27
|
-
26 verbose logfile logs-max:10 dir:/builds/developer-experience/cmp/packages/db-lib/.npm/_logs/2023-05-
|
28
|
-
27 verbose logfile /builds/developer-experience/cmp/packages/db-lib/.npm/_logs/2023-05-
|
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-18T22_22_33_825Z-
|
28
|
+
27 verbose logfile /builds/developer-experience/cmp/packages/db-lib/.npm/_logs/2023-05-18T22_22_33_825Z-debug-0.log
|
29
29
|
28 timing npm:load:logFile Completed in 4ms
|
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
|
32
|
+
31 timing npm:load Completed in 43ms
|
33
33
|
32 silly logfile done cleaning log files
|
34
|
-
33 timing command:run Completed in
|
34
|
+
33 timing command:run Completed in 3334ms
|
35
35
|
34 verbose exit 0
|
36
|
-
35 timing npm Completed in
|
36
|
+
35 timing npm Completed in 3388ms
|
37
37
|
36 info ok
|
package/lib/index.js
CHANGED
@@ -56350,18 +56350,33 @@ var require_customFormatValidators = __commonJS({
|
|
56350
56350
|
"use strict";
|
56351
56351
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
56352
56352
|
exports2.customFormatValidators = void 0;
|
56353
|
-
var SchemaValidationError_1 = require_SchemaValidationError();
|
56354
56353
|
var matrixAssetValidator_1 = require_matrixAssetValidator();
|
56355
56354
|
var getValidationDataForMatrixUri_1 = require_getValidationDataForMatrixUri();
|
56356
56355
|
exports2.customFormatValidators = {
|
56357
56356
|
"matrix-asset-uri": (core, schema, value, pointer) => {
|
56357
|
+
const errors = [];
|
56358
56358
|
if ((0, matrixAssetValidator_1.isMatrixAssetUri)(value) === false) {
|
56359
|
-
if (typeof value !== "string")
|
56360
|
-
|
56361
|
-
|
56362
|
-
|
56359
|
+
if (typeof value !== "string") {
|
56360
|
+
const error2 = {
|
56361
|
+
name: "typeError",
|
56362
|
+
code: "type-error",
|
56363
|
+
type: "error",
|
56364
|
+
message: `Expected matrix-asset-uri (${value}) in \`${pointer}\` to be of type string`,
|
56365
|
+
data: { expected: "string", pointer, received: typeof value, value }
|
56366
|
+
};
|
56367
|
+
return [error2];
|
56368
|
+
}
|
56369
|
+
const validationData = (0, getValidationDataForMatrixUri_1.getValidationDataForMatrixUri)(value);
|
56370
|
+
const error = {
|
56371
|
+
name: "matrixAssetUriError",
|
56372
|
+
code: "format-error",
|
56373
|
+
type: "error",
|
56374
|
+
message: `Value matrix-asset-uri (${value}) in \`${pointer}\` is not a valid matrix asset uri`,
|
56375
|
+
data: { pointer, value, errors: validationData }
|
56376
|
+
};
|
56377
|
+
return [error];
|
56363
56378
|
}
|
56364
|
-
return;
|
56379
|
+
return errors.length > 0 ? errors : void 0;
|
56365
56380
|
}
|
56366
56381
|
};
|
56367
56382
|
}
|