@automerge/automerge
Advanced tools
Comparing version 2.1.1 to 2.1.2-alpha.0
@@ -427,2 +427,3 @@ var __rest = (this && this.__rest) || function (s, e) { | ||
const allowMissingDeps = opts.allowMissingChanges || false; | ||
const convertRawStringsToText = opts.convertRawStringsToText || false; | ||
const handle = ApiHandler.load(data, { | ||
@@ -433,2 +434,3 @@ text_v1, | ||
allowMissingDeps, | ||
convertRawStringsToText, | ||
}); | ||
@@ -435,0 +437,0 @@ handle.enableFreeze(!!opts.freeze); |
@@ -54,2 +54,12 @@ /** | ||
allowMissingChanges?: boolean; | ||
/** Whether to convert raw string to text objects | ||
* | ||
* @remarks | ||
* This is useful if you have some documents which were created using the older API which represented | ||
* text as the `Text` class and you are migrating to the new API where text is just a `string`. In | ||
* this case the strings from the old document will appear as `RawString`s in the new document. This | ||
* option will convert those `RawString`s to `Text` objects. This conversion is achieved by rewriting | ||
* all the old string fields to new text fields | ||
**/ | ||
convertRawStringsToText?: boolean; | ||
}; | ||
@@ -56,0 +66,0 @@ import { ActorId, Doc } from "./stable.js"; |
@@ -87,2 +87,4 @@ /** @hidden **/ | ||
allowMissingChanges?: boolean; | ||
/** @hidden */ | ||
convertRawStringsToText?: boolean; | ||
}; | ||
@@ -89,0 +91,0 @@ /** @hidden */ |
@@ -7,3 +7,3 @@ { | ||
], | ||
"version": "2.1.1", | ||
"version": "2.1.2-alpha.0", | ||
"description": "Javascript implementation of automerge, backed by @automerge/automerge-wasm", | ||
@@ -74,5 +74,5 @@ "homepage": "https://github.com/automerge/automerge/tree/main/javascript", | ||
"dependencies": { | ||
"@automerge/automerge-wasm": "^0.2.13", | ||
"@automerge/automerge-wasm": "^0.2.14", | ||
"uuid": "^9.0.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
412395
13134
1