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

@sitecore-jss/sitecore-jss

Package Overview
Dependencies
Maintainers
0
Versions
1425
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sitecore-jss/sitecore-jss - npm Package Compare versions

Comparing version 22.4.0-canary.6 to 22.4.0-canary.7

10

dist/cjs/editing/utils.js

@@ -212,5 +212,9 @@ "use strict";

if (updateComponent) {
console.debug('Found rendering with uid %s to update. Updating with fields %o and params %o', eventArgs.details.uid, eventArgs.details.fields, eventArgs.details.params);
updateComponent.fields = Object.assign(Object.assign({}, updateComponent.fields), eventArgs.details.fields);
updateComponent.params = Object.assign(Object.assign({}, updateComponent.params), eventArgs.details.params);
console.debug('Found component with uid %s to update. Update fields: %o. Update params: %o.', eventArgs.details.uid, eventArgs.details.fields, eventArgs.details.params);
if (eventArgs.details.fields) {
updateComponent.fields = Object.assign(Object.assign({}, updateComponent.fields), eventArgs.details.fields);
}
if (eventArgs.details.params) {
updateComponent.params = Object.assign(Object.assign({}, updateComponent.params), eventArgs.details.params);
}
if (successCallback)

@@ -217,0 +221,0 @@ successCallback(rootComponent);

@@ -199,5 +199,9 @@ import isServer from '../utils/is-server';

if (updateComponent) {
console.debug('Found rendering with uid %s to update. Updating with fields %o and params %o', eventArgs.details.uid, eventArgs.details.fields, eventArgs.details.params);
updateComponent.fields = Object.assign(Object.assign({}, updateComponent.fields), eventArgs.details.fields);
updateComponent.params = Object.assign(Object.assign({}, updateComponent.params), eventArgs.details.params);
console.debug('Found component with uid %s to update. Update fields: %o. Update params: %o.', eventArgs.details.uid, eventArgs.details.fields, eventArgs.details.params);
if (eventArgs.details.fields) {
updateComponent.fields = Object.assign(Object.assign({}, updateComponent.fields), eventArgs.details.fields);
}
if (eventArgs.details.params) {
updateComponent.params = Object.assign(Object.assign({}, updateComponent.params), eventArgs.details.params);
}
if (successCallback)

@@ -204,0 +208,0 @@ successCallback(rootComponent);

{
"name": "@sitecore-jss/sitecore-jss",
"version": "22.4.0-canary.6",
"version": "22.4.0-canary.7",
"main": "dist/cjs/index.js",

@@ -69,3 +69,3 @@ "module": "dist/esm/index.js",

"types": "types/index.d.ts",
"gitHead": "7b4705679a487ac6a21b5a53a55cdb5da5c20904",
"gitHead": "1060868d7fb3273beab3016f2e4b3b2787aaf2bd",
"files": [

@@ -72,0 +72,0 @@ "dist",

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