Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

melody-component

Package Overview
Dependencies
Maintainers
3
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

melody-component - npm Package Compare versions

Comparing version 1.2.0-commit.e725f50a to 1.2.0-commit.f9b4ed0d

24

lib/index.esm.js

@@ -213,5 +213,5 @@ import { enqueueComponent, options, mount, patchOuter, flush, unmountComponent } from 'melody-idom';

/**
* Set new properties for the Component.
* This might cause the component to request an update.
*/
* Set new properties for the Component.
* This might cause the component to request an update.
*/
apply: function apply(props) {

@@ -226,7 +226,7 @@ if (!this.oldProps) {

/**
* Executed after a component has been mounted or updated.
* After this method has been triggered, the component is considered stable and
* accessing the DOM should be safe.
* The children of this Component might not have been rendered.
*/
* Executed after a component has been mounted or updated.
* After this method has been triggered, the component is considered stable and
* accessing the DOM should be safe.
* The children of this Component might not have been rendered.
*/
notify: function notify() {

@@ -276,4 +276,4 @@ if (this.isMounted) {

/**
* Invoked when a component should render itself.
*/
* Invoked when a component should render itself.
*/
render: function render() {},

@@ -287,4 +287,4 @@ componentDidInitialize: function componentDidInitialize() {},

/**
* Invoked before a component is unmounted.
*/
* Invoked before a component is unmounted.
*/
componentWillUnmount: function componentWillUnmount() {}

@@ -291,0 +291,0 @@ });

@@ -217,5 +217,5 @@ 'use strict';

/**
* Set new properties for the Component.
* This might cause the component to request an update.
*/
* Set new properties for the Component.
* This might cause the component to request an update.
*/
apply: function apply(props) {

@@ -230,7 +230,7 @@ if (!this.oldProps) {

/**
* Executed after a component has been mounted or updated.
* After this method has been triggered, the component is considered stable and
* accessing the DOM should be safe.
* The children of this Component might not have been rendered.
*/
* Executed after a component has been mounted or updated.
* After this method has been triggered, the component is considered stable and
* accessing the DOM should be safe.
* The children of this Component might not have been rendered.
*/
notify: function notify() {

@@ -280,4 +280,4 @@ if (this.isMounted) {

/**
* Invoked when a component should render itself.
*/
* Invoked when a component should render itself.
*/
render: function render() {},

@@ -291,4 +291,4 @@ componentDidInitialize: function componentDidInitialize() {},

/**
* Invoked before a component is unmounted.
*/
* Invoked before a component is unmounted.
*/
componentWillUnmount: function componentWillUnmount() {}

@@ -295,0 +295,0 @@ });

{
"name": "melody-component",
"version": "1.2.0-commit.e725f50a",
"version": "1.2.0-commit.f9b4ed0d",
"description": "",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

@@ -70,5 +70,5 @@ /**

/**
* Set new properties for the Component.
* This might cause the component to request an update.
*/
* Set new properties for the Component.
* This might cause the component to request an update.
*/
apply(props) {

@@ -82,7 +82,7 @@ if (!this.oldProps) {

/**
* Executed after a component has been mounted or updated.
* After this method has been triggered, the component is considered stable and
* accessing the DOM should be safe.
* The children of this Component might not have been rendered.
*/
* Executed after a component has been mounted or updated.
* After this method has been triggered, the component is considered stable and
* accessing the DOM should be safe.
* The children of this Component might not have been rendered.
*/
notify() {

@@ -139,4 +139,4 @@ if (this.isMounted) {

/**
* Invoked when a component should render itself.
*/
* Invoked when a component should render itself.
*/
render() {},

@@ -149,4 +149,4 @@ componentDidInitialize() {},

/**
* Invoked before a component is unmounted.
*/
* Invoked before a component is unmounted.
*/
componentWillUnmount() {},

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