Skip to content

build(deps-dev): bump miniprogram-api-typings from 3.12.2 to 4.1.0#6038

Closed
dependabot[bot] wants to merge 1 commit intodevfrom
dependabot/npm_and_yarn/miniprogram-api-typings-4.1.0
Closed

build(deps-dev): bump miniprogram-api-typings from 3.12.2 to 4.1.0#6038
dependabot[bot] wants to merge 1 commit intodevfrom
dependabot/npm_and_yarn/miniprogram-api-typings-4.1.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 1, 2025

Bumps miniprogram-api-typings from 3.12.2 to 4.1.0.

Changelog

Sourced from miniprogram-api-typings's changelog.

2025-07-15 v4.1.0

  • 修改 getOpenerEventChannel 的返回值的类型,使其有可能返回空对象,以正确反映实际情况。这是一个 破坏性改动getOpenerEventChannel 的返回值上的 emit, on 等方法不再可以直接调用 (#350)
  • 解决依赖安全问题

2025-07-15 v4.0.8

  • 更新 API 定义到 3.8.10

2025-04-18 v4.0.7

  • 更新云开发拓展能力类型定义

2025-04-18 v4.0.6

  • 更新 API 定义到 3.8.0

2025-02-08 v4.0.5

  • 修复 setTimeoutsetInterval 的参数 (#323)
  • 更新 API 定义到 3.7.7

2025-01-14 v4.0.4

  • 解决依赖安全问题

2025-01-14 v4.0.3

  • 补齐云开发 CollectionReference 上的 aggregate (#276)
  • 补齐组件实例方法 setInitialRenderingCachegetAppBar by @​Yang Mingshan (#339)
  • 更新 API 定义到 3.7.4

2024-11-13 v4.0.2

  • 补齐 RaycastHit (#337)

2024-09-24 v4.0.1

  • 更新 API 定义到 3.5.7

2024-09-24 v4.0.0

合入 #332, #333, #334 by @​lvzl。这几个 Pull Request 对 ComponentBehavior 的实现进行了较大改动,以支持:

  1. 对于 ArrayObject 类型的 propertydata,以值的实际类型作为泛型推导的结果,而非固定推导为 any[]Record<string, any>
  2. 改变了 BehaviorIdentifier 的类型,通过为其交叉一个带有 Behavior 定义信息的虚假类型,使 ComponentBehavior 能自动推导其使用到的 Behaviordata, propertiesmethods

这是一个比较大的 破坏性改动,从低于 4.0.0 的版本升级时,可能需要进行一些适配:

  1. 全局函数 ComponentBehavior 的第四个泛型现在是新的 TBehavior,如果之前的代码中有为这两个函数手动指定泛型的用例,需要手动添加这个泛型;
  2. Behavior() 的返回值不再是 string(或者说不完全是),之前使用 string 接受 Behavior() 返回值的实现需要修改为 WechatMiniprogram.Behavior.BehaviorIdentifier
  3. 自定义组件的 this.datathis.property 的推导类型可能会有所变化,需要根据推导类型进行相应改动。

2024-08-08 v3.12.3

Commits
  • 560a5a9 4.1.0
  • 3d91e03 fix: getOpenerEventChannel may return an empty object
  • 335d8a2 fix: settle security issue
  • 8b81912 4.0.8
  • 3a44a32 feat: update baselib defs to 3.8.10
  • 6a85798 Merge pull request #351 from busy-dog/feat/filter-unknown-type
  • 66649c0 docs: 将 FilterUnknownType 测试用例注释更新为pr地址
  • 7404116 feat: 将 FilterUnknownType 的测试用例迁移至 issue.test.ts
  • e289e93 feat: 添加 FilterUnknownType 的测试用例
  • 2176c76 fix: 将FilterUnknownType的实现修正为通过key过滤以确保TS能对未知类型正确抛出异常
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [miniprogram-api-typings](https://github.com/wechat-miniprogram/api-typings) from 3.12.2 to 4.1.0.
- [Changelog](https://github.com/wechat-miniprogram/api-typings/blob/master/CHANGELOG.md)
- [Commits](wechat-miniprogram/api-typings@v3.12.2...v4.1.0)

---
updated-dependencies:
- dependency-name: miniprogram-api-typings
  dependency-version: 4.1.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 1, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 1, 2026

Superseded by #6071.

@dependabot dependabot bot closed this Jan 1, 2026
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/miniprogram-api-typings-4.1.0 branch January 1, 2026 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants