Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@automerge/automerge

Package Overview
Dependencies
Maintainers
4
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@automerge/automerge - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2-alpha.0

2

dist/mjs/stable.js

@@ -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 */

4

package.json

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc