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

@ecomfe/san-devhook

Package Overview
Dependencies
Maintainers
8
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ecomfe/san-devhook - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

docs/api.md

9

CHANGELOG.md

@@ -5,4 +5,11 @@ ChangeLog

0.1.7
0.1.9
-------
- [ADD]
- showTree() function to display component tree in browser's console.
- __SAN_PROPS__ binded to DOM object.
0.1.8
-------
- [BUGFIX]

@@ -9,0 +16,0 @@ - Recalculate index list for attaching or detaching component programmatically.

2

package.json
{
"name": "@ecomfe/san-devhook",
"version": "0.1.8",
"version": "0.1.9",
"description": "Hook for san-devtool.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -22,2 +22,3 @@ # San-DevHook

subKey: 'treeData', // Key for the array of sub component tree.
prefixForBindingData: 'my', // Auto bing data and props using specified prefix.
conditions: [{

@@ -59,2 +60,3 @@ listeners: ['onAfterGenerateData', e => { }],

- retrieveData(): Emit onRetrieveData.
- showTree(): Display the component tree.

@@ -65,2 +67,3 @@ #### Objects binding on DOM

- `__SAN_DATA__`: The component data.
- `__SAN_PROPS__`: The component props.
- `__SAN_CNODE__`: A CNode instance of component acts as a serializable object.

@@ -67,0 +70,0 @@ - `__SAN_PATH__`: Ancestor component ID list.

Sorry, the diff of this file is too big to display

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