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

parchment

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parchment - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

7

dist/parchment.js

@@ -1178,3 +1178,4 @@ (function webpackUniversalModuleDefinition(root, factory) {

_super.prototype.optimize.call(this);
mutations.push.apply(mutations, this.observer.takeRecords());
var records = [].slice.call(this.observer.takeRecords());
mutations = mutations.concat(records);
// TODO use WeakMap

@@ -1231,4 +1232,4 @@ var mark = function (blot, markParent) {

this.children.forEach(optimize);
remaining = this.observer.takeRecords();
mutations.push.apply(mutations, remaining);
remaining = [].slice.call(this.observer.takeRecords());
mutations = mutations.concat(remaining);
}

@@ -1235,0 +1236,0 @@ };

{
"name": "parchment",
"version": "1.0.3",
"version": "1.0.4",
"description": "A document model for rich text editors",

@@ -5,0 +5,0 @@ "author": "Jason Chen <jhchen7@gmail.com>",

@@ -63,3 +63,4 @@ import { Blot } from './abstract/blot';

super.optimize();
mutations.push.apply(mutations, this.observer.takeRecords());
let records = [].slice.call(this.observer.takeRecords());
mutations = mutations.concat(records);
// TODO use WeakMap

@@ -110,4 +111,4 @@ let mark = (blot: Blot, markParent: boolean = true) => {

this.children.forEach(optimize);
remaining = this.observer.takeRecords();
mutations.push.apply(mutations, remaining);
remaining = [].slice.call(this.observer.takeRecords());
mutations = mutations.concat(remaining);
}

@@ -114,0 +115,0 @@ }

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