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

@mini-types/global

Package Overview
Dependencies
Maintainers
3
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mini-types/global - npm Package Compare versions

Comparing version 2.0.20-next-1672908201.0 to 3.0.0

4

package.json
{
"name": "@mini-types/global",
"version": "2.0.20-next-1672908201.0",
"version": "3.0.0",
"description": "TypeScript declarations for Alipay's mini program.",

@@ -24,3 +24,3 @@ "scripts": {},

},
"gitHead": "cebf46d06e97f2d8ced1a5c11e39e418fe92aff6"
"gitHead": "0f0301bd7cb89e521963e64e62c4dafb5eff2035"
}

@@ -224,2 +224,10 @@ declare namespace MiniProgram.Component {

/**
* 检查组件是否具有 mixin(须是通过Mixin()创建的mixin实例)。
* @description 若自定义组件注册时传入了ref以指定组件返回值,则可通过hasMixin('ref')检查到
* @version 2.8.2
* @return boolean
* @see https://opendocs.alipay.com/mini/framework/component_object#%E7%BB%84%E4%BB%B6%E5%AE%9E%E4%BE%8B%E6%96%B9%E6%B3%95
*/
hasMixin(mixin: Mixin.IMixinIdentifier): boolean;
/**
* 获取这个关系所对应的所有关联节点,参见 组件间关系

@@ -226,0 +234,0 @@ * @version 2.8.5

@@ -367,2 +367,3 @@ declare namespace MiniProgram.Page {

* @return boolean
* @see https://opendocs.alipay.com/mini/framework/page-detail#hasMixin
*/

@@ -369,0 +370,0 @@ hasMixin(mixin: Mixin.IMixinIdentifier): boolean;

@@ -300,10 +300,2 @@ declare namespace MiniProgram.Shared {

/**
* 检查组件是否具有 mixin(须是通过Mixin()创建的mixin实例)。
* @description 若自定义组件注册时传入了ref以指定组件返回值,则可通过hasMixin('ref')检查到
* @version 2.8.2
* @return boolean
* @see https://opendocs.alipay.com/mini/framework/component_object#%E7%BB%84%E4%BB%B6%E5%AE%9E%E4%BE%8B%E6%96%B9%E6%B3%95
*/
hasMixin(mixin: Mixin.IMixinIdentifier): boolean;
/**
* 监听 setData 引发界面更新的开销,参见 获取更新性能统计信息

@@ -310,0 +302,0 @@ * @version 2.8.5

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