Socket
Socket
Sign inDemoInstall

@murasoftware/next-core

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@murasoftware/next-core - npm Package Compare versions

Comparing version 1.0.29 to 1.0.30

16

dist/index.js

@@ -613,2 +613,18 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }

var isEditMode = getIsEditMode();
React.useEffect(function () {
Mura(function () {
var obj = Mura('div[data-instanceid="' + instanceid + '"]');
if (obj.data('async') == 'true' || obj.data('render') == 'server') {
setTimeout(function () {
var contentCheck = obj.find('mura-object-content');
if (!contentCheck.length || contentCheck.children().length) {
console.log('rebuilding stale async module');
obj.processDisplayObject();
}
}, 2000);
}
});
}, []);
var domObject = {

@@ -615,0 +631,0 @@ className: 'mura-object mura-async-object',

@@ -610,2 +610,18 @@ import React, { useEffect, createContext } from 'react';

var isEditMode = getIsEditMode();
useEffect(function () {
Mura(function () {
var obj = Mura('div[data-instanceid="' + instanceid + '"]');
if (obj.data('async') == 'true' || obj.data('render') == 'server') {
setTimeout(function () {
var contentCheck = obj.find('mura-object-content');
if (!contentCheck.length || contentCheck.children().length) {
console.log('rebuilding stale async module');
obj.processDisplayObject();
}
}, 2000);
}
});
}, []);
var domObject = {

@@ -612,0 +628,0 @@ className: 'mura-object mura-async-object',

2

package.json
{
"name": "@murasoftware/next-core",
"version": "1.0.29",
"version": "1.0.30",
"description": "Core utilties for Mura.js and Next.js",

@@ -5,0 +5,0 @@ "author": "Mura Software",

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