@valbuild/core 0.72.1 → 0.72.3
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/dist/{index-74ab2ec0.cjs.prod.js → index-380b80a1.cjs.prod.js} +10 -1
- package/dist/{index-bd259784.esm.js → index-7218e8b1.esm.js} +10 -1
- package/dist/{index-74936efb.cjs.dev.js → index-7ae61742.cjs.dev.js} +10 -1
- package/dist/valbuild-core.cjs.dev.js +1 -1
- package/dist/valbuild-core.cjs.prod.js +1 -1
- package/dist/valbuild-core.esm.js +1 -1
- package/expr/dist/valbuild-core-expr.cjs.dev.js +1 -1
- package/expr/dist/valbuild-core-expr.cjs.prod.js +1 -1
- package/expr/dist/valbuild-core-expr.esm.js +1 -1
- package/package.json +1 -1
- package/patch/dist/valbuild-core-patch.cjs.dev.js +1 -1
- package/patch/dist/valbuild-core-patch.cjs.prod.js +1 -1
- package/patch/dist/valbuild-core-patch.esm.js +2 -2
@@ -2282,6 +2282,15 @@ var RichTextSchema = /*#__PURE__*/function (_Schema) {
|
|
2282
2282
|
data: src
|
2283
2283
|
};
|
2284
2284
|
}
|
2285
|
+
if (src === null && !this.opt) {
|
2286
|
+
return {
|
2287
|
+
success: false,
|
2288
|
+
errors: _defineProperty({}, path, [{
|
2289
|
+
message: "Expected 'array', got 'null'",
|
2290
|
+
typeError: true
|
2291
|
+
}])
|
2292
|
+
};
|
2293
|
+
}
|
2285
2294
|
if (!Array.isArray(src)) {
|
2286
2295
|
return {
|
2287
2296
|
success: false,
|
@@ -3320,7 +3329,7 @@ var KeyOfSchema = /*#__PURE__*/function (_Schema) {
|
|
3320
3329
|
}
|
3321
3330
|
return _defineProperty({}, path, [{
|
3322
3331
|
fixes: ["keyof:check-keys"],
|
3323
|
-
message: "
|
3332
|
+
message: "Did not validate keyOf (record). This error (keyof:check-keys) should typically be processed by Val internally. Seeing this error most likely means you have a Val version mismatch.",
|
3324
3333
|
value: {
|
3325
3334
|
key: src,
|
3326
3335
|
sourcePath: this.sourcePath
|
@@ -2280,6 +2280,15 @@ var RichTextSchema = /*#__PURE__*/function (_Schema) {
|
|
2280
2280
|
data: src
|
2281
2281
|
};
|
2282
2282
|
}
|
2283
|
+
if (src === null && !this.opt) {
|
2284
|
+
return {
|
2285
|
+
success: false,
|
2286
|
+
errors: _defineProperty({}, path, [{
|
2287
|
+
message: "Expected 'array', got 'null'",
|
2288
|
+
typeError: true
|
2289
|
+
}])
|
2290
|
+
};
|
2291
|
+
}
|
2283
2292
|
if (!Array.isArray(src)) {
|
2284
2293
|
return {
|
2285
2294
|
success: false,
|
@@ -3318,7 +3327,7 @@ var KeyOfSchema = /*#__PURE__*/function (_Schema) {
|
|
3318
3327
|
}
|
3319
3328
|
return _defineProperty({}, path, [{
|
3320
3329
|
fixes: ["keyof:check-keys"],
|
3321
|
-
message: "
|
3330
|
+
message: "Did not validate keyOf (record). This error (keyof:check-keys) should typically be processed by Val internally. Seeing this error most likely means you have a Val version mismatch.",
|
3322
3331
|
value: {
|
3323
3332
|
key: src,
|
3324
3333
|
sourcePath: this.sourcePath
|
@@ -2282,6 +2282,15 @@ var RichTextSchema = /*#__PURE__*/function (_Schema) {
|
|
2282
2282
|
data: src
|
2283
2283
|
};
|
2284
2284
|
}
|
2285
|
+
if (src === null && !this.opt) {
|
2286
|
+
return {
|
2287
|
+
success: false,
|
2288
|
+
errors: _defineProperty({}, path, [{
|
2289
|
+
message: "Expected 'array', got 'null'",
|
2290
|
+
typeError: true
|
2291
|
+
}])
|
2292
|
+
};
|
2293
|
+
}
|
2285
2294
|
if (!Array.isArray(src)) {
|
2286
2295
|
return {
|
2287
2296
|
success: false,
|
@@ -3320,7 +3329,7 @@ var KeyOfSchema = /*#__PURE__*/function (_Schema) {
|
|
3320
3329
|
}
|
3321
3330
|
return _defineProperty({}, path, [{
|
3322
3331
|
fixes: ["keyof:check-keys"],
|
3323
|
-
message: "
|
3332
|
+
message: "Did not validate keyOf (record). This error (keyof:check-keys) should typically be processed by Val internally. Seeing this error most likely means you have a Val version mismatch.",
|
3324
3333
|
value: {
|
3325
3334
|
key: src,
|
3326
3335
|
sourcePath: this.sourcePath
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var expr_dist_valbuildCoreExpr = require('./index-
|
5
|
+
var expr_dist_valbuildCoreExpr = require('./index-380b80a1.cjs.prod.js');
|
6
6
|
require('./result-787e35f6.cjs.prod.js');
|
7
7
|
|
8
8
|
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export { A as ArraySchema, B as BooleanSchema, D as DateSchema, F as FATAL_ERROR_TYPES, k as FILE_REF_PROP, l as FILE_REF_SUBTYPE_TAG, t as FileSchema, G as GenericSelector, r as ImageSchema, I as Internal, K as KeyOfSchema, L as LiteralSchema, M as ModuleFilePathSep, q as NumberSchema, O as ObjectSchema, R as RecordSchema, u as RichTextSchema, j as Schema, o as StringSchema, U as UnionSchema, V as VAL_EXTENSION, n as derefPatch, v as deserializeSchema, i as expr, h as initVal, m as modules } from './index-
|
1
|
+
export { A as ArraySchema, B as BooleanSchema, D as DateSchema, F as FATAL_ERROR_TYPES, k as FILE_REF_PROP, l as FILE_REF_SUBTYPE_TAG, t as FileSchema, G as GenericSelector, r as ImageSchema, I as Internal, K as KeyOfSchema, L as LiteralSchema, M as ModuleFilePathSep, q as NumberSchema, O as ObjectSchema, R as RecordSchema, u as RichTextSchema, j as Schema, o as StringSchema, U as UnionSchema, V as VAL_EXTENSION, n as derefPatch, v as deserializeSchema, i as expr, h as initVal, m as modules } from './index-7218e8b1.esm.js';
|
2
2
|
import './result-168dfc1d.esm.js';
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var expr_dist_valbuildCoreExpr = require('../../dist/index-
|
5
|
+
var expr_dist_valbuildCoreExpr = require('../../dist/index-7ae61742.cjs.dev.js');
|
6
6
|
require('../../dist/result-bb1f436e.cjs.dev.js');
|
7
7
|
|
8
8
|
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var expr_dist_valbuildCoreExpr = require('../../dist/index-
|
5
|
+
var expr_dist_valbuildCoreExpr = require('../../dist/index-380b80a1.cjs.prod.js');
|
6
6
|
require('../../dist/result-787e35f6.cjs.prod.js');
|
7
7
|
|
8
8
|
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export { C as Call, E as Expr, N as NilSym, S as StringLiteral, e as StringTemplate, f as Sym, g as evaluate, p as parse } from '../../dist/index-
|
1
|
+
export { C as Call, E as Expr, N as NilSym, S as StringLiteral, e as StringTemplate, f as Sym, g as evaluate, p as parse } from '../../dist/index-7218e8b1.esm.js';
|
2
2
|
import '../../dist/result-168dfc1d.esm.js';
|
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var expr_dist_valbuildCoreExpr = require('../../dist/index-
|
5
|
+
var expr_dist_valbuildCoreExpr = require('../../dist/index-7ae61742.cjs.dev.js');
|
6
6
|
var result = require('../../dist/result-bb1f436e.cjs.dev.js');
|
7
7
|
var util = require('../../dist/util-b213092b.cjs.dev.js');
|
8
8
|
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var expr_dist_valbuildCoreExpr = require('../../dist/index-
|
5
|
+
var expr_dist_valbuildCoreExpr = require('../../dist/index-380b80a1.cjs.prod.js');
|
6
6
|
var result = require('../../dist/result-787e35f6.cjs.prod.js');
|
7
7
|
var util = require('../../dist/util-030d8a1f.cjs.prod.js');
|
8
8
|
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { _ as _typeof, a as _slicedToArray, P as PatchError, s as splitModuleFilePathAndModulePath, b as _createClass, c as _classCallCheck, d as _toConsumableArray } from '../../dist/index-
|
2
|
-
export { P as PatchError } from '../../dist/index-
|
1
|
+
import { _ as _typeof, a as _slicedToArray, P as PatchError, s as splitModuleFilePathAndModulePath, b as _createClass, c as _classCallCheck, d as _toConsumableArray } from '../../dist/index-7218e8b1.esm.js';
|
2
|
+
export { P as PatchError } from '../../dist/index-7218e8b1.esm.js';
|
3
3
|
import { f as isNonEmpty, e as err, o as ok, m as map, g as flatMap, i as isErr, h as flatMapReduce, j as filterOrElse, k as mapErr, l as map$1, n as all, p as flatten, q as allT } from '../../dist/result-168dfc1d.esm.js';
|
4
4
|
import { p as pipe } from '../../dist/util-18613e99.esm.js';
|
5
5
|
|