seroval 1.8.0 → 1.8.1

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.
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_shared = require("./shared-DWx3Bwb6.cjs");
3
- const require_read = require("./read-DvIuZ2yx.cjs");
3
+ const require_read = require("./read-D4n-bxUW.cjs");
4
4
  const require_write = require("./write-DGOp2jqo.cjs");
5
5
  let src_core_validator = require("./validator.cjs");
6
6
  exports.Feature = require_shared.Feature;
package/dist/dev/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { A as SerovalMalformedNodeError, B as SerovalUnsupportedTypeError, C as getCrossReferenceHeader, D as SerovalDeserializationError, E as SerovalDepthLimitError, F as SerovalParserError, I as SerovalPluginValidationError, L as SerovalSerializationError, M as SerovalMissingPluginError, N as SerovalMissingReferenceError, O as SerovalError, P as SerovalMissingReferenceForIdError, R as SerovalUnknownTypedArrayError, T as SerovalConflictedNodeIdError, a as getPlainObjectPlugins, c as createStream, d as LiveStream, f as createLiveStream, i as createPlugin, j as SerovalMissingInstanceError, k as SerovalLiveStreamError, l as isStream, m as Sequence, n as OpaqueReference, o as resolvePlugins, p as isLiveStream, r as SerovalMode, s as Stream, t as v, tt as Feature, w as SerovalAbortedError, y as createReference, z as SerovalUnsupportedNodeError } from "./shared-Cf-Bmoy-.js";
2
- import { i as fromCrossJSON, n as fromJSON, r as createCrossDeserializer, t as deserialize } from "./read-CfSVIjp6.js";
2
+ import { i as fromCrossJSON, n as fromJSON, r as createCrossDeserializer, t as deserialize } from "./read-BgToBbWd.js";
3
3
  import { a as toJSONAsync, c as crossSerializeAsync, d as toCrossJSONAsync, f as toCrossJSONStream, i as toJSON, l as crossSerializeStream, n as serialize, o as Serializer, r as serializeAsync, s as crossSerialize, t as compileJSON, u as toCrossJSON } from "./write-BKJsV31u.js";
4
4
  export { Feature, LiveStream, OpaqueReference, Sequence, Serializer, SerovalAbortedError, SerovalConflictedNodeIdError, SerovalDepthLimitError, SerovalDeserializationError, SerovalError, SerovalLiveStreamError, SerovalMalformedNodeError, SerovalMissingInstanceError, SerovalMissingPluginError, SerovalMissingReferenceError, SerovalMissingReferenceForIdError, SerovalMode, SerovalParserError, SerovalPluginValidationError, SerovalSerializationError, SerovalUnknownTypedArrayError, SerovalUnsupportedNodeError, SerovalUnsupportedTypeError, Stream, compileJSON, createCrossDeserializer, createLiveStream, createPlugin, createReference, createStream, crossSerialize, crossSerializeAsync, crossSerializeStream, deserialize, fromCrossJSON, fromJSON, getCrossReferenceHeader, getPlainObjectPlugins, isLiveStream, isStream, resolvePlugins, serialize, serializeAsync, toCrossJSON, toCrossJSONAsync, toCrossJSONStream, toJSON, toJSONAsync, v };
@@ -354,7 +354,7 @@ function deserialize$1(ctx, depth, node) {
354
354
  case 14: return deserializeAggregateError(ctx, depth, node);
355
355
  case 13: return deserializeError(ctx, depth, node);
356
356
  case 12: return deserializePromise(ctx, depth, node);
357
- case 17: return deserializeKnownValue(node, SYMBOL_REF, node.s);
357
+ case 17: return assignIndexedValue(ctx, node.i, deserializeKnownValue(node, SYMBOL_REF, node.s));
358
358
  case 21: return deserializeBoxed(ctx, depth, node);
359
359
  case 25: return deserializePlugin(ctx, depth, node);
360
360
  case 22: return deserializePromiseConstructor(ctx, node);
@@ -354,7 +354,7 @@ function deserialize$1(ctx, depth, node) {
354
354
  case 14: return deserializeAggregateError(ctx, depth, node);
355
355
  case 13: return deserializeError(ctx, depth, node);
356
356
  case 12: return deserializePromise(ctx, depth, node);
357
- case 17: return deserializeKnownValue(node, require_shared.SYMBOL_REF, node.s);
357
+ case 17: return assignIndexedValue(ctx, node.i, deserializeKnownValue(node, require_shared.SYMBOL_REF, node.s));
358
358
  case 21: return deserializeBoxed(ctx, depth, node);
359
359
  case 25: return deserializePlugin(ctx, depth, node);
360
360
  case 22: return deserializePromiseConstructor(ctx, node);
package/dist/dev/read.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_shared = require("./shared-DWx3Bwb6.cjs");
3
- const require_read = require("./read-DvIuZ2yx.cjs");
3
+ const require_read = require("./read-D4n-bxUW.cjs");
4
4
  let src_core_validator = require("./validator.cjs");
5
5
  exports.Feature = require_shared.Feature;
6
6
  exports.LiveStream = require_shared.LiveStream;
package/dist/dev/read.js CHANGED
@@ -1,3 +1,3 @@
1
1
  import { A as SerovalMalformedNodeError, B as SerovalUnsupportedTypeError, D as SerovalDeserializationError, E as SerovalDepthLimitError, F as SerovalParserError, I as SerovalPluginValidationError, L as SerovalSerializationError, M as SerovalMissingPluginError, N as SerovalMissingReferenceError, O as SerovalError, P as SerovalMissingReferenceForIdError, R as SerovalUnknownTypedArrayError, T as SerovalConflictedNodeIdError, a as getPlainObjectPlugins, c as createStream, d as LiveStream, f as createLiveStream, i as createPlugin, j as SerovalMissingInstanceError, k as SerovalLiveStreamError, l as isStream, m as Sequence, n as OpaqueReference, o as resolvePlugins, p as isLiveStream, r as SerovalMode, s as Stream, t as v, tt as Feature, w as SerovalAbortedError, y as createReference, z as SerovalUnsupportedNodeError } from "./shared-Cf-Bmoy-.js";
2
- import { i as fromCrossJSON, n as fromJSON, r as createCrossDeserializer, t as deserialize } from "./read-CfSVIjp6.js";
2
+ import { i as fromCrossJSON, n as fromJSON, r as createCrossDeserializer, t as deserialize } from "./read-BgToBbWd.js";
3
3
  export { Feature, LiveStream, OpaqueReference, Sequence, SerovalAbortedError, SerovalConflictedNodeIdError, SerovalDepthLimitError, SerovalDeserializationError, SerovalError, SerovalLiveStreamError, SerovalMalformedNodeError, SerovalMissingInstanceError, SerovalMissingPluginError, SerovalMissingReferenceError, SerovalMissingReferenceForIdError, SerovalMode, SerovalParserError, SerovalPluginValidationError, SerovalSerializationError, SerovalUnknownTypedArrayError, SerovalUnsupportedNodeError, SerovalUnsupportedTypeError, Stream, createCrossDeserializer, createLiveStream, createPlugin, createReference, createStream, deserialize, fromCrossJSON, fromJSON, getPlainObjectPlugins, isLiveStream, isStream, resolvePlugins, v };
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_shared = require("./shared-u-KYXAax.cjs");
3
- const require_read = require("./read-CD88YElZ.cjs");
3
+ const require_read = require("./read-B0hu4YND.cjs");
4
4
  const require_write = require("./write-CMi0CxOu.cjs");
5
5
  let src_core_validator = require("./validator.cjs");
6
6
  exports.Feature = require_shared.Feature;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { A as SerovalMalformedNodeError, B as SerovalUnsupportedTypeError, C as getCrossReferenceHeader, D as SerovalDeserializationError, E as SerovalDepthLimitError, F as SerovalParserError, I as SerovalPluginValidationError, L as SerovalSerializationError, M as SerovalMissingPluginError, N as SerovalMissingReferenceError, O as SerovalError, P as SerovalMissingReferenceForIdError, R as SerovalUnknownTypedArrayError, T as SerovalConflictedNodeIdError, a as getPlainObjectPlugins, c as createStream, d as LiveStream, f as createLiveStream, i as createPlugin, j as SerovalMissingInstanceError, k as SerovalLiveStreamError, l as isStream, m as Sequence, n as OpaqueReference, o as resolvePlugins, p as isLiveStream, r as SerovalMode, s as Stream, t as v, tt as Feature, w as SerovalAbortedError, y as createReference, z as SerovalUnsupportedNodeError } from "./shared-DJIVyqa9.js";
2
- import { i as fromCrossJSON, n as fromJSON, r as createCrossDeserializer, t as deserialize } from "./read-CSKXLr9t.js";
2
+ import { i as fromCrossJSON, n as fromJSON, r as createCrossDeserializer, t as deserialize } from "./read-BSFu4fPn.js";
3
3
  import { a as toJSONAsync, c as crossSerializeAsync, d as toCrossJSONAsync, f as toCrossJSONStream, i as toJSON, l as crossSerializeStream, n as serialize, o as Serializer, r as serializeAsync, s as crossSerialize, t as compileJSON, u as toCrossJSON } from "./write-B_hZaAwC.js";
4
4
  export { Feature, LiveStream, OpaqueReference, Sequence, Serializer, SerovalAbortedError, SerovalConflictedNodeIdError, SerovalDepthLimitError, SerovalDeserializationError, SerovalError, SerovalLiveStreamError, SerovalMalformedNodeError, SerovalMissingInstanceError, SerovalMissingPluginError, SerovalMissingReferenceError, SerovalMissingReferenceForIdError, SerovalMode, SerovalParserError, SerovalPluginValidationError, SerovalSerializationError, SerovalUnknownTypedArrayError, SerovalUnsupportedNodeError, SerovalUnsupportedTypeError, Stream, compileJSON, createCrossDeserializer, createLiveStream, createPlugin, createReference, createStream, crossSerialize, crossSerializeAsync, crossSerializeStream, deserialize, fromCrossJSON, fromJSON, getCrossReferenceHeader, getPlainObjectPlugins, isLiveStream, isStream, resolvePlugins, serialize, serializeAsync, toCrossJSON, toCrossJSONAsync, toCrossJSONStream, toJSON, toJSONAsync, v };
@@ -354,7 +354,7 @@ function deserialize$1(ctx, depth, node) {
354
354
  case 14: return deserializeAggregateError(ctx, depth, node);
355
355
  case 13: return deserializeError(ctx, depth, node);
356
356
  case 12: return deserializePromise(ctx, depth, node);
357
- case 17: return deserializeKnownValue(node, require_shared.SYMBOL_REF, node.s);
357
+ case 17: return assignIndexedValue(ctx, node.i, deserializeKnownValue(node, require_shared.SYMBOL_REF, node.s));
358
358
  case 21: return deserializeBoxed(ctx, depth, node);
359
359
  case 25: return deserializePlugin(ctx, depth, node);
360
360
  case 22: return deserializePromiseConstructor(ctx, node);
@@ -354,7 +354,7 @@ function deserialize$1(ctx, depth, node) {
354
354
  case 14: return deserializeAggregateError(ctx, depth, node);
355
355
  case 13: return deserializeError(ctx, depth, node);
356
356
  case 12: return deserializePromise(ctx, depth, node);
357
- case 17: return deserializeKnownValue(node, SYMBOL_REF, node.s);
357
+ case 17: return assignIndexedValue(ctx, node.i, deserializeKnownValue(node, SYMBOL_REF, node.s));
358
358
  case 21: return deserializeBoxed(ctx, depth, node);
359
359
  case 25: return deserializePlugin(ctx, depth, node);
360
360
  case 22: return deserializePromiseConstructor(ctx, node);
package/dist/read.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_shared = require("./shared-u-KYXAax.cjs");
3
- const require_read = require("./read-CD88YElZ.cjs");
3
+ const require_read = require("./read-B0hu4YND.cjs");
4
4
  let src_core_validator = require("./validator.cjs");
5
5
  exports.Feature = require_shared.Feature;
6
6
  exports.LiveStream = require_shared.LiveStream;
package/dist/read.js CHANGED
@@ -1,3 +1,3 @@
1
1
  import { A as SerovalMalformedNodeError, B as SerovalUnsupportedTypeError, D as SerovalDeserializationError, E as SerovalDepthLimitError, F as SerovalParserError, I as SerovalPluginValidationError, L as SerovalSerializationError, M as SerovalMissingPluginError, N as SerovalMissingReferenceError, O as SerovalError, P as SerovalMissingReferenceForIdError, R as SerovalUnknownTypedArrayError, T as SerovalConflictedNodeIdError, a as getPlainObjectPlugins, c as createStream, d as LiveStream, f as createLiveStream, i as createPlugin, j as SerovalMissingInstanceError, k as SerovalLiveStreamError, l as isStream, m as Sequence, n as OpaqueReference, o as resolvePlugins, p as isLiveStream, r as SerovalMode, s as Stream, t as v, tt as Feature, w as SerovalAbortedError, y as createReference, z as SerovalUnsupportedNodeError } from "./shared-DJIVyqa9.js";
2
- import { i as fromCrossJSON, n as fromJSON, r as createCrossDeserializer, t as deserialize } from "./read-CSKXLr9t.js";
2
+ import { i as fromCrossJSON, n as fromJSON, r as createCrossDeserializer, t as deserialize } from "./read-BSFu4fPn.js";
3
3
  export { Feature, LiveStream, OpaqueReference, Sequence, SerovalAbortedError, SerovalConflictedNodeIdError, SerovalDepthLimitError, SerovalDeserializationError, SerovalError, SerovalLiveStreamError, SerovalMalformedNodeError, SerovalMissingInstanceError, SerovalMissingPluginError, SerovalMissingReferenceError, SerovalMissingReferenceForIdError, SerovalMode, SerovalParserError, SerovalPluginValidationError, SerovalSerializationError, SerovalUnknownTypedArrayError, SerovalUnsupportedNodeError, SerovalUnsupportedTypeError, Stream, createCrossDeserializer, createLiveStream, createPlugin, createReference, createStream, deserialize, fromCrossJSON, fromJSON, getPlainObjectPlugins, isLiveStream, isStream, resolvePlugins, v };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "seroval",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "1.8.0",
5
+ "version": "1.8.1",
6
6
  "files": [
7
7
  "dist"
8
8
  ],