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

@bfwk/editor

Package Overview
Dependencies
Maintainers
2
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bfwk/editor - npm Package Compare versions

Comparing version 0.6.7003 to 0.7.0

index.xml

7

CHANGELOG.md

@@ -6,13 +6,10 @@ # Change Log

## 0.6.7003 (2021-04-21)
# [0.7.0](https://github.com/salesforce/builder-framework/compare/v0.6.49...v0.7.0) (2021-07-28)
**Note:** Version bump only for package @bfwk/editor
### Features
* refactor from lbf to bfwk @W-9091273 ([#1](https://github.com/salesforce/builder-framework/issues/1)) ([5300a61](https://github.com/salesforce/builder-framework/commit/5300a6117f7f1c763442d7e50d157443e22c1e36))
## [0.6.7](https://git.soma.salesforce.com/BuilderFramework/builder-framework/compare/v0.6.6...v0.6.7) (2021-04-05)

@@ -19,0 +16,0 @@

@@ -332,20 +332,16 @@ import { createStore } from '@bfwk/store-redux';

// collect fqn
if (
// @ts-ignore
!node.properties ||
// @ts-ignore
if (!node.properties ||
!node.properties.values ||
// @ts-ignore
!node.properties.values.fqn) {
!node.properties.values.fqn ||
!node.properties.values.fqn.value) {
continue;
}
// @ts-ignore
const fqn = node.properties.values.fqn.value;
// collect label
// @ts-ignore
const label = invalidNodes[nodeId].label;
const label = node.label;
// Find error resolver for this component
const errorResolver = this.getErrorResolver(fqn);
// collect errors
const error = this.getNodeErrors(invalidNodes[nodeId], this.getComponentInfo(fqn, componentInfos), errorResolver);
const error = this.getNodeErrors(node, this.getComponentInfo(fqn, componentInfos), errorResolver);
if (!error) {

@@ -399,3 +395,4 @@ continue;

getNodeErrors(node, componentInfo, errorResolver) {
const attributes = node.properties.values.attributes.value;
const attributes = node.properties.values.attributes &&
node.properties.values.attributes.value;
const nodeErrors = [];

@@ -616,3 +613,3 @@ for (const attrName in attributes) {

.setFeatureSet(CORE);
for (let [key, value] of customEditorsByPropertyType) {
for (const [key, value] of customEditorsByPropertyType) {
propertySheetFactoryBuilder.setCustomEditorByPropertyType(key, value);

@@ -680,3 +677,3 @@ }

else {
this.selectedPropertySheet = this.propertySheetFactory.createCustomPropertySheet(propertySheetClass, initialState, data);
this.selectedPropertySheet = this.propertySheetFactory.createCustomPropertySheet(propertySheetClass, this.getPropertySheetDescriptionProvider(type), initialState, data);
}

@@ -683,0 +680,0 @@ this.eventSheet = await this.createEventSheet(this.getPropertySheetDescriptionProvider(type), getInitialEventState(this.documentModel, this.selectedId));

{
"name": "@bfwk/editor",
"version": "0.6.7003",
"version": "0.7.0",
"description": "LBF Editor",

@@ -9,3 +9,4 @@ "type": "module",

"files": [
"dist/types"
"dist/types",
"index.xml"
],

@@ -31,17 +32,17 @@ "publishConfig": {

"dependencies": {
"@bfwk/canvas": "0.6.7003",
"@bfwk/command": "0.6.7003",
"@bfwk/data-service": "0.6.7003",
"@bfwk/di-editor": "0.6.7003",
"@bfwk/document-model": "0.6.7003",
"@bfwk/elements-palette": "0.6.7003",
"@bfwk/error-handler": "0.6.7003",
"@bfwk/instrumentation": "0.6.7003",
"@bfwk/property-editor": "0.6.7003",
"@bfwk/pub-sub": "0.6.7003",
"@bfwk/sf-selector": "0.6.7003",
"@bfwk/store": "0.6.7003",
"@bfwk/store-redux": "0.6.7003",
"@bfwk/undo-redo": "0.6.7003",
"@bfwk/utils": "0.6.7003",
"@bfwk/canvas": "0.7.0",
"@bfwk/command": "0.7.0",
"@bfwk/data-service": "0.7.0",
"@bfwk/di-editor": "0.7.0",
"@bfwk/document-model": "0.7.0",
"@bfwk/elements-palette": "0.7.0",
"@bfwk/error-handler": "0.7.0",
"@bfwk/instrumentation": "0.7.0",
"@bfwk/property-editor": "0.7.0",
"@bfwk/pub-sub": "0.7.0",
"@bfwk/sf-selector": "0.7.0",
"@bfwk/store": "0.7.0",
"@bfwk/store-redux": "0.7.0",
"@bfwk/undo-redo": "0.7.0",
"@bfwk/utils": "0.7.0",
"@lwc/wire-service": "1.17.6"

@@ -48,0 +49,0 @@ },

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