@bayou/doc-common
Advanced tools
Comparing version 1.2.4 to 1.3.0
@@ -30,3 +30,3 @@ // Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia). | ||
/** | ||
* {int} The length of this document, where the count is made | ||
* {Int} The length of this document, where the count is made | ||
* up of text and embeds. An embed has a length of 1. | ||
@@ -60,9 +60,7 @@ */ | ||
/** | ||
* Implementation of {@link validateChange}, which | ||
* will perform semantic validation checks on a body change | ||
* in the context of a snapshot. | ||
* Implementation as required by the superclass. | ||
* | ||
* @param {BodyChange} change The change being validated. | ||
* @throws {Error} A validation error if semantic validation | ||
* performed on a given change fails. | ||
* @param {BodyChange} change The change to be validated in the context of | ||
* `this`. | ||
* @throws {Error} Thrown if `change` is not valid to compose with `this`. | ||
*/ | ||
@@ -94,3 +92,3 @@ _impl_validateChange(change) { | ||
* @param {BodyOp} retainOp A retain Op. | ||
* @param {int} bodyLength The maximum length that can be retained. | ||
* @param {Int} bodyLength The maximum length that can be retained. | ||
* @throws {Error} A validation error if any semantic validation fails | ||
@@ -97,0 +95,0 @@ * on given `retain` op. |
@@ -272,5 +272,11 @@ // Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia). | ||
// TODO: implement caret snapshot specific validation | ||
/** | ||
* Implementation as required by the superclass. | ||
* | ||
* @param {CaretChange} change The change to be validated in the context of | ||
* `this`. | ||
* @throws {Error} Thrown if `change` is not valid to compose with `this`. | ||
*/ | ||
_impl_validateChange() { | ||
return true; | ||
// **TODO:** Implement this! | ||
} | ||
@@ -277,0 +283,0 @@ |
@@ -7,13 +7,13 @@ { | ||
"dependencies": { | ||
"@bayou/api-common": "1.2.4", | ||
"@bayou/codec": "1.2.4", | ||
"@bayou/config-common": "1.2.4", | ||
"@bayou/ot-common": "1.2.4", | ||
"@bayou/see-all": "1.2.4", | ||
"@bayou/typecheck": "1.2.4", | ||
"@bayou/util-common": "1.2.4", | ||
"@bayou/api-common": "1.3.0", | ||
"@bayou/codec": "1.3.0", | ||
"@bayou/config-common": "1.3.0", | ||
"@bayou/ot-common": "1.3.0", | ||
"@bayou/see-all": "1.3.0", | ||
"@bayou/typecheck": "1.3.0", | ||
"@bayou/util-common": "1.3.0", | ||
"grapheme-splitter": "^1.0.2" | ||
}, | ||
"name": "@bayou/doc-common", | ||
"version": "1.2.4" | ||
"version": "1.3.0" | ||
} |
@@ -236,5 +236,11 @@ // Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia). | ||
// TODO: implement property snapshot specific validation | ||
/** | ||
* Implementation as required by the superclass. | ||
* | ||
* @param {PropertyChange} change The change to be validated in the context of | ||
* `this`. | ||
* @throws {Error} Thrown if `change` is not valid to compose with `this`. | ||
*/ | ||
_impl_validateChange() { | ||
return true; | ||
// **TODO:** Implement this! | ||
} | ||
@@ -241,0 +247,0 @@ |
@@ -5,3 +5,3 @@ // Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia). | ||
import { BaseKey, BearerToken } from '@bayou/api-common'; | ||
import { BearerToken } from '@bayou/api-common'; | ||
import { TString } from '@bayou/typecheck'; | ||
@@ -95,3 +95,3 @@ import { CommonBase } from '@bayou/util-common'; | ||
? token.safeString | ||
: BaseKey.redactString(token); | ||
: BearerToken.redactString(token); | ||
@@ -98,0 +98,0 @@ const result = { |
194713
5129
+ Added@bayou/api-common@1.3.0(transitive)
+ Added@bayou/codec@1.3.0(transitive)
+ Added@bayou/config-common@1.3.0(transitive)
+ Added@bayou/injecty@1.3.0(transitive)
+ Added@bayou/ot-common@1.3.0(transitive)
+ Added@bayou/see-all@1.3.0(transitive)
+ Added@bayou/typecheck@1.3.0(transitive)
+ Added@bayou/util-common@1.3.0(transitive)
+ Added@bayou/util-core@1.3.0(transitive)
- Removed@bayou/api-common@1.2.4(transitive)
- Removed@bayou/codec@1.2.4(transitive)
- Removed@bayou/config-common@1.2.4(transitive)
- Removed@bayou/injecty@1.2.4(transitive)
- Removed@bayou/ot-common@1.2.4(transitive)
- Removed@bayou/see-all@1.2.4(transitive)
- Removed@bayou/typecheck@1.2.4(transitive)
- Removed@bayou/util-common@1.2.4(transitive)
- Removed@bayou/util-core@1.2.4(transitive)
Updated@bayou/api-common@1.3.0
Updated@bayou/codec@1.3.0
Updated@bayou/config-common@1.3.0
Updated@bayou/ot-common@1.3.0
Updated@bayou/see-all@1.3.0
Updated@bayou/typecheck@1.3.0
Updated@bayou/util-common@1.3.0