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.8.5 to 0.8.6

4

CHANGELOG.md

@@ -6,3 +6,3 @@ # Change Log

## [0.8.5](https://github.com/salesforce/builder-framework/compare/v0.8.4...v0.8.5) (2022-02-02)
## [0.8.6](https://github.com/salesforce/builder-framework/compare/v0.8.5...v0.8.6) (2022-02-04)

@@ -12,3 +12,3 @@

* enable/disable top-level ui features @W-10300768 ([#377](https://github.com/salesforce/builder-framework/issues/377)) ([625cee9](https://github.com/salesforce/builder-framework/commit/625cee914317b29be176139ab0ad41efa95543ad))
* fix framework editor constructor signature W-10300768 ([#384](https://github.com/salesforce/builder-framework/issues/384)) ([770ed7f](https://github.com/salesforce/builder-framework/commit/770ed7fa50be80ac24213cf34fd5db1b1d7cd895))

@@ -15,0 +15,0 @@

@@ -438,6 +438,12 @@ import { createStore } from '@bfwk/store-redux';

const INSTRUMENTATION_SOURCE_FORM_FACTOR_SWITCH = 'FormFactorSwitch';
const DEFAULT_BAAS_CONFIG = {
toolbarVisible: true,
paletteVisible: true,
canvasVisible: true,
propertySheetVisible: true,
};
class FrameworkEditor {
// WHAT should be injected - ex. what is really a property of the Builder that encloses the Editors and what is
// Editor specific? For now, the Editor is the top level - to be revisited
constructor(baasConfig, editorRedirectURLOnError) {
constructor(editorRedirectURLOnError, baasConfig = DEFAULT_BAAS_CONFIG) {
this.parts = {};

@@ -989,2 +995,2 @@ this.log = (source, attributes) => {

export { DOCSTATE_CLEAN, DOCSTATE_DIRTY, DOCSTATE_SAVEINPROGRESS, DocErrorSummary, DocState, FocusNextCommand, FocusPreviousCommand, FrameworkEditor, FrameworkPropertySheetContainer, KEYBOARD_HELP, KeyboardHelp, SaveWithPropertySheetValidationCommand, createDocState, createFocusManager, getPropertySheetLabel, getPropertySheetUiDefinition };
export { DEFAULT_BAAS_CONFIG, DOCSTATE_CLEAN, DOCSTATE_DIRTY, DOCSTATE_SAVEINPROGRESS, DocErrorSummary, DocState, FocusNextCommand, FocusPreviousCommand, FrameworkEditor, FrameworkPropertySheetContainer, KEYBOARD_HELP, KeyboardHelp, SaveWithPropertySheetValidationCommand, createDocState, createFocusManager, getPropertySheetLabel, getPropertySheetUiDefinition };

@@ -30,2 +30,3 @@ import { ScopedStore, Part } from '@bfwk/store';

}
export declare const DEFAULT_BAAS_CONFIG: BaasConfig;
export declare abstract class FrameworkEditor {

@@ -47,3 +48,3 @@ private _baasConfig;

private readonly sessionStart;
constructor(baasConfig: BaasConfig, editorRedirectURLOnError?: string);
constructor(editorRedirectURLOnError?: string, baasConfig?: BaasConfig);
log: (source: string, attributes: object) => void;

@@ -50,0 +51,0 @@ logSessionEnd: () => void;

@@ -1,2 +0,2 @@

export { Container, BaasConfig, FrameworkEditor, KEYBOARD_HELP, } from './editor';
export { Container, BaasConfig, DEFAULT_BAAS_CONFIG, FrameworkEditor, KEYBOARD_HELP, } from './editor';
export { FrameworkPropertySheetContainer } from './framework-property-sheet-container';

@@ -3,0 +3,0 @@ export { SaveWithPropertySheetValidationCommand } from './commands/save-with-property-sheet-validation';

{
"name": "@bfwk/editor",
"version": "0.8.5",
"version": "0.8.6",
"description": "LBF Editor",

@@ -32,18 +32,18 @@ "type": "module",

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

@@ -50,0 +50,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