New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@tinymce/tinymce-react

Package Overview
Dependencies
Maintainers
2
Versions
368
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tinymce/tinymce-react - npm Package Compare versions

Comparing version 6.0.0-feature.20241214094116267.sha177bb0f to 6.0.0-feature.20250211101340132.sha1969a59

1

lib/cjs/main/ts/components/Editor.d.ts

@@ -138,2 +138,3 @@ import * as React from 'react';

private elementRef;
private latestUpdate;
private inline;

@@ -140,0 +141,0 @@ private currentContent?;

@@ -43,2 +43,3 @@ "use strict";

var _this = _super.call(this, props) || this;
_this.latestUpdate = null;
_this.rollbackTimer = undefined;

@@ -94,3 +95,11 @@ _this.valueCursor = undefined;

if ((0, Utils_1.isFunction)(_this.props.onEditorChange)) {
_this.props.onEditorChange(newContent, editor);
if (_this.latestUpdate === null) {
setTimeout(function () {
if (_this.props.onEditorChange && _this.latestUpdate !== null) {
_this.props.onEditorChange(_this.latestUpdate, editor);
_this.latestUpdate = null;
}
});
}
_this.latestUpdate = newContent;
}

@@ -97,0 +106,0 @@ }

@@ -138,2 +138,3 @@ import * as React from 'react';

private elementRef;
private latestUpdate;
private inline;

@@ -140,0 +141,0 @@ private currentContent?;

@@ -40,2 +40,3 @@ var __extends = (this && this.__extends) || (function () {

var _this = _super.call(this, props) || this;
_this.latestUpdate = null;
_this.rollbackTimer = undefined;

@@ -91,3 +92,11 @@ _this.valueCursor = undefined;

if (isFunction(_this.props.onEditorChange)) {
_this.props.onEditorChange(newContent, editor);
if (_this.latestUpdate === null) {
setTimeout(function () {
if (_this.props.onEditorChange && _this.latestUpdate !== null) {
_this.props.onEditorChange(_this.latestUpdate, editor);
_this.latestUpdate = null;
}
});
}
_this.latestUpdate = newContent;
}

@@ -94,0 +103,0 @@ }

2

package.json

@@ -79,4 +79,4 @@ {

},
"version": "6.0.0-feature.20241214094116267.sha177bb0f",
"version": "6.0.0-feature.20250211101340132.sha1969a59",
"name": "@tinymce/tinymce-react"
}
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