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

mute-structs

Package Overview
Dependencies
Maintainers
2
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mute-structs - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

trees/trees-nct/tree-nct-tornado-candid-mayday-chrome.json

2

dist/src/identifier.js

@@ -29,3 +29,3 @@ "use strict";

exports.INT_32_MAX_VALUE = 0x7fffffff;
var Identifier = (function () {
var Identifier = /** @class */ (function () {
// Creation

@@ -32,0 +32,0 @@ function Identifier(base, u) {

@@ -22,3 +22,3 @@ "use strict";

var identifier_1 = require("./identifier");
var IdentifierInterval = (function () {
var IdentifierInterval = /** @class */ (function () {
// Creation

@@ -25,0 +25,0 @@ function IdentifierInterval(base, begin, end) {

@@ -21,3 +21,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var InfiniteString = (function () {
var InfiniteString = /** @class */ (function () {
function InfiniteString(aPrefix, aFiller) {

@@ -24,0 +24,0 @@ console.assert(aPrefix instanceof Array, "aPrefix = ", aPrefix);

@@ -26,3 +26,3 @@ "use strict";

*/
var LogootSAdd = (function () {
var LogootSAdd = /** @class */ (function () {
/**

@@ -29,0 +29,0 @@ * @constructor

@@ -22,3 +22,3 @@ "use strict";

var identifierinterval_1 = require("./identifierinterval");
var LogootSBlock = (function () {
var LogootSBlock = /** @class */ (function () {
// Creation

@@ -25,0 +25,0 @@ function LogootSBlock(idInterval, nbElt, mine) {

@@ -27,3 +27,3 @@ "use strict";

*/
var LogootSDel = (function () {
var LogootSDel = /** @class */ (function () {
/**

@@ -30,0 +30,0 @@ * @constructor

@@ -40,3 +40,3 @@ "use strict";

}
var LogootSRopes = (function () {
var LogootSRopes = /** @class */ (function () {
function LogootSRopes(replica, clock, root, str) {

@@ -72,3 +72,3 @@ if (replica === void 0) { replica = 0; }

var root = ropesnodes_1.RopesNodes.fromPlain(plainRoot);
if (str.length === 0 && root !== null) {
if (str.length !== 0 && root !== null) {
// FIXME: Need more checking (str's length compared to tree length?)

@@ -75,0 +75,0 @@ return new LogootSRopes(replica, clock, root, str);

@@ -49,3 +49,3 @@ "use strict";

}
var RopesNodes = (function () {
var RopesNodes = /** @class */ (function () {
// Creation

@@ -52,0 +52,0 @@ function RopesNodes(block, actualBegin, length, left, right) {

@@ -25,3 +25,3 @@ "use strict";

*/
var TextDelete = (function () {
var TextDelete = /** @class */ (function () {
/**

@@ -28,0 +28,0 @@ * @constructor

@@ -25,3 +25,3 @@ "use strict";

*/
var TextInsert = (function () {
var TextInsert = /** @class */ (function () {
/**

@@ -28,0 +28,0 @@ * @constructor

{
"name": "mute-structs",
"version": "0.3.2",
"version": "0.3.3",
"description": "NodeJS module providing an implementation of the LogootSplit CRDT algorithm",

@@ -16,5 +16,5 @@ "main": "./dist/src/index.js",

"@types/node": "^8.0.14",
"ava": "^0.20.0",
"ava": "^0.22.0",
"tslint": "^3.15.1",
"typescript": "^2.4.2"
"typescript": "^2.5.2"
},

@@ -21,0 +21,0 @@ "scripts": {

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