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

@textbus/core

Package Overview
Dependencies
Maintainers
1
Versions
344
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@textbus/core - npm Package Compare versions

Comparing version 2.0.0-alpha.18 to 2.0.0-alpha.19

4

bundles/define-component.js

@@ -30,2 +30,6 @@ import { produce } from 'immer';

parent: null,
get parentComponent() {
var _a;
return ((_a = componentInstance.parent) === null || _a === void 0 ? void 0 : _a.parent) || null;
},
name: options.name,

@@ -32,0 +36,0 @@ length: 1,

@@ -40,4 +40,14 @@ import { Draft } from 'immer';

export interface ComponentInstance<Methods extends ComponentMethods<State> = ComponentMethods, State = any> {
/** 组件所在的插槽 */
/**
* 组件所在的插槽
* @readonly
* @internal
*/
parent: Slot | null;
/**
* 父组件
* @readonly
* @internal
*/
parentComponent: ComponentInstance | null;
/** 组件变化标识器 */

@@ -44,0 +54,0 @@ changeMarker: ChangeMarker;

@@ -31,2 +31,3 @@ import { Draft } from 'immer';

private componentChangeListeners;
get parentSlot(): Slot<any> | null;
/** 插槽内容长度 */

@@ -33,0 +34,0 @@ get length(): number;

@@ -32,2 +32,6 @@ import { produce } from 'immer';

}
get parentSlot() {
var _a;
return ((_a = this.parent) === null || _a === void 0 ? void 0 : _a.parent) || null;
}
/** 插槽内容长度 */

@@ -34,0 +38,0 @@ get length() {

4

package.json
{
"name": "@textbus/core",
"version": "2.0.0-alpha.18",
"version": "2.0.0-alpha.19",
"description": "TextBus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.",

@@ -43,3 +43,3 @@ "main": "./bundles/public-api.js",

},
"gitHead": "a351d4a5a61101a118c7abe7b80657c62b43461e"
"gitHead": "3a3772f02501e30de44d3f0664e294f8991e5f9c"
}

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