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

@edsdk/n1ed-react

Package Overview
Dependencies
Maintainers
0
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@edsdk/n1ed-react - npm Package Compare versions

Comparing version 1.0.17 to 1.0.18

11

lib/cjs/N1ED.js

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

return;
var apiKey = "REACN1ED";
var apiKey = "N1ED24RR";
var passedApiKey = this.props.apiKey;

@@ -45,6 +45,3 @@ if (!passedApiKey && this.props.init && this.props.init.apiKey)

if (passedApiKey) {
if (passedApiKey.length === 8)
apiKey = passedApiKey;
else
console.log("Warning: invalid API key passed to N1ED");
apiKey = passedApiKey;
}

@@ -61,3 +58,3 @@ window.tinymce = null; // to prevent incorrect codebase usage

if (N1ED.loaded) {
var config = JSON.parse(JSON.stringify(window.n1edConfig));
var config = {};
if (!!this.props.init)

@@ -94,3 +91,3 @@ this.mergeConfigs(config, this.props.init);

var _this = this;
if (!window.tinymce || !window.n1edConfig) {
if (!window.tinymce) {
setTimeout(function () {

@@ -97,0 +94,0 @@ _this.waitForTinyMCELoaded(callback);

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

return;
var apiKey = "REACN1ED";
var apiKey = "N1ED24RR";
var passedApiKey = this.props.apiKey;

@@ -42,6 +42,3 @@ if (!passedApiKey && this.props.init && this.props.init.apiKey)

if (passedApiKey) {
if (passedApiKey.length === 8)
apiKey = passedApiKey;
else
console.log("Warning: invalid API key passed to N1ED");
apiKey = passedApiKey;
}

@@ -58,3 +55,3 @@ window.tinymce = null; // to prevent incorrect codebase usage

if (N1ED.loaded) {
var config = JSON.parse(JSON.stringify(window.n1edConfig));
var config = {};
if (!!this.props.init)

@@ -91,3 +88,3 @@ this.mergeConfigs(config, this.props.init);

var _this = this;
if (!window.tinymce || !window.n1edConfig) {
if (!window.tinymce) {
setTimeout(function () {

@@ -94,0 +91,0 @@ _this.waitForTinyMCELoaded(callback);

{
"name": "@edsdk/n1ed-react",
"version": "1.0.17",
"version": "1.0.18",
"description": "React integration for N1ED editor",

@@ -5,0 +5,0 @@ "repository": {

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