profile
viewpoint

Gcaufy/awesome-wepy 8

Awesome for wepy ! 微信小程序组件化开发框架wepy开发资源汇总

Gcaufy/freedb 6

Git based database

dlhandsome/wepy-2.0-alpha-feedback 4

wepy 2.0 内测反馈

Gcaufy/angularjs-demo 4

This is a basic structure of a angularjs application

brettz9/js-css-entities 3

Demonstration of using JavaScript or CSS as kludge for missing custom entity support in HTML

Gcaufy/ajax 3

Standalone AJAX library inspired by jQuery/zepto

Gcaufy/django-vue-skeleton 3

docker / docker-compose / Django2.2 / Django Rest framework / MySQL / Webpack / Vue / Nginx / uWSGI

Gcaufy/freedb.js 3

Git based key value database. javascript library

Gcaufy/angularjs2-demo 2

Angularjs2 + typescript

push eventGcaufy/sshman

Gcaufy

commit sha ed7ce967f635bb72cd062fb2d0aa72a7f1b2af7c

docs: add useage gif

view details

push time in 2 hours

startedfaressoft/terminalizer

started time in 4 hours

push eventGcaufy/sshman

Gcaufy

commit sha 827df828ade9cb1860996aa8a08ebedcf7d77538

docs: update docs

view details

push time in 17 hours

push eventGcaufy/sshman

Gcaufy

commit sha e2e97ba6dbe205ee4060bb8dbf4ceefdcbf3cd12

docs: update docs

view details

push time in 17 hours

push eventGcaufy/sshman

Gcaufy

commit sha 871f84d9989284bc6640cc189fa83c8607884d3f

docs: added readme

view details

push time in 17 hours

created tagGcaufy/sshman

tagv1.0.1

Manage all your ssh login configuration easily and quickly

created time in 17 hours

push eventGcaufy/sshman

Gcaufy

commit sha 1a5e64af93cd58ccac0771d734abea64858b1425

release: v1.0.1

view details

push time in 17 hours

push eventGcaufy/sshman

Gcaufy

commit sha 720670ca977e5ffc5c1a1df0d20830f1b9defea3

first init

view details

Gcaufy

commit sha 68b03d32a954ff5c82675602eae01b5afb1a8e8d

feat: added version and help command

view details

Gcaufy

commit sha ae0c049137200042c0c615ecb55d88dcc8548a30

feat: added verpub for release

view details

push time in 18 hours

CommitCommentEvent

issue commentTencent/wepy

Error in nextTick: "TypeError: Cannot read property 'hooks' of undefined"

正常流程

组件 create (原生事件) -> attach (原生事件) -> 组件 init (wepy 事件,在这个阶段初始化 $app) 
state 变更 (wepy) -> callHook (wepy) -> setData (原生)

正常情况下, state 变更一定是在 组件 init 之后的。所以 callHook 中 $app.hooks 一定是存在的。这也是为什么一直没有定位的问题的原因。

感谢 @chenillen 提供的示例还原了问题。 代码中在 unLoad (原生) 事件中进行 state 变更,同时触发了一个带有 wx:if 标签的 Component 的显示状态以及其数据 state 变更。结果直接导致在新的组件的 state 变更在 组件的 create 之后, attach 之前,这时候 $app 并未初始化完成。所以导致 $app.hooks 抛出异常。

因此,对于这个问题,我加上了一个 warning 提示,而非抛出异常。 如果出现 warning, 就可能说明代码本身还是存在类似问题需要自己定位。

Q-Qplus1s

comment created time in 3 days

CommitCommentEvent

push eventTencent/wepy

Gcaufy

commit sha 8a5bd54f0ceac02d0981e6b0b8a03e47ca9c0617

release: @wepy/core@2.0.0-alpha.14

view details

push time in 3 days

push eventTencent/wepy

Gcaufy

commit sha f7057715088ecd5e20dcdb0da76fee7f11914dfc

fix(core): fixed hooks of undefined fix #2486

view details

push time in 3 days

push eventTencent/wepy

Gcaufy

commit sha 4866391cdd203f291a5179e66987ac87f7f61ffa

fix(core): fixed hooks of undefined fix #2486

view details

Gcaufy

commit sha 8e50e4af33eadfb67658203141297ffc787fdc92

build(core): build dist

view details

push time in 4 days

issue closedTencent/wepy

Error in nextTick: "TypeError: Cannot read property 'hooks' of undefined"

环境

    "@wepy/core": "^2.0.0-alpha.9",
    "@wepy/redux": "^2.0.1",
    "redux": "^4.0.4",
    "redux-actions": "^2.6.5",
    "redux-saga": "^1.1.3",

进入的 page 相关 hook

  data: {
    folderId: '-1',
  },
  onLoad(param) {
    this.folderId = param.folderId;
  },

  onShow() {

    this.$store.dispatch({ type: T.UD_SUB_FILE_LIST_REQUEST, folderId: this.folderId });
  },

问题:

  1. 点击进入后页面数据加载正常
  2. 多次点击有时候出现问题描述的error,不知道哪里hook有问题

log:

VM614:1 TypeError: Cannot read property 'hooks' of undefined
    at callUserHook (vendor.js:2019)
    at WepyComponent.<anonymous> (vendor.js:2158)
    at Watcher.get (vendor.js:1580)
    at Watcher.run (vendor.js:1658)
    at vendor.js:1461
    at Array.forEach (<anonymous>)
    at flushSchedulerQueue (vendor.js:1459)
    at flushSchedulerQueue (vendor.js:1469)
    at Array.<anonymous> (vendor.js:528)
    at flushCallbacks (vendor.js:462)

closed time in 4 days

Q-Qplus1s

push eventGcaufy/sshman

Gcaufy

commit sha 42f744c89e82bbb7300bccc9598984b8f4ffbff2

first init

view details

push time in 7 days

push eventGcaufy/Inquirer.sh

Gcaufy

commit sha afa1689653191a5a577ca998a3c872de7ba4f26b

feat: added default value for text_input

view details

Gcaufy

commit sha 25ed3ad42d8d346c4507647238c3dd3643d793ac

feat: added list input vim hjkl move support

view details

push time in 8 days

create barnchGcaufy/sshman

branch : master

created branch time in 8 days

created repositoryGcaufy/sshman

Manage all your ssh login configuration easily and quickly

created time in 8 days

issue commentTencent/wepy

page里面怎么获取到app实例?

image

luo2096

comment created time in 8 days

delete branch Gcaufy/vue-typescript-admin-template

delete branch : patch-1

delete time in 8 days

issue commentwebsanova/js-url

grunt-contrib-* should be put into devDependencies

Ok, I sent them an email, let's see what happens.

So what did the npm support says?

hustcer

comment created time in 8 days

issue commentTencent/wepy

请问哪里有wepy这个所有函数方法的文档说明??????

几乎都是与 Vue API 保持一致的。 这里我再去补充一下吧。

neozhu

comment created time in 8 days

PR opened tanhauhau/Inquirer.sh

feat: added default value for text_input
  1. Added default_value support. it would be very necessary if we could have a default value for a text input. And Inquirer.js have the default value option.
  2. Changed text_input parameter regex_string to default_value. Because we also have validator_function, if we want to do a regexp check, then we can do it there.
+13 -6

0 comment

3 changed files

pr created time in 9 days

push eventGcaufy/Inquirer.sh

Gcaufy

commit sha 598475ba876e8fb276690cf513a770131ada4a90

feat: added default value for text_input

view details

push time in 9 days

fork Gcaufy/Inquirer.sh

Inspired by Inquirer.js but in bash.

fork in 9 days

startedtanhauhau/Inquirer.sh

started time in 9 days

PR opened Armour/vue-typescript-admin-template

fix: fixed to using setting title

What kind of change does this PR introduce?

A little fix, app title should use settings

+2 -1

0 comment

1 changed file

pr created time in 10 days

push eventGcaufy/vue-typescript-admin-template

Gcaufy

commit sha c248d26b28abf895782f912cc43bcbcbd1f10013

fix: fixed to using setting title

view details

push time in 10 days

push eventGcaufy/verpub

Gcaufy

commit sha 520afc58bf27e243e37bd95717ab193be9b3f434

fix: update tryload ext

view details

push time in 11 days

push eventwepyjs/wepy-docs

freedb

commit sha 88b12db155106a6d307305c907042501dae7dc01

GitDB update a key

view details

push time in 11 days

push eventwepyjs/wepy-docs

freedb

commit sha f3828abe80f099cbc94bca70d0f126d49c01b7eb

GitDB update a key

view details

push time in 11 days

push eventwepyjs/wepy-docs

freedb

commit sha 1da25a22f74c5724713f367498d9055694f57e5c

GitDB update a key

view details

push time in 11 days

push eventTencent/wepy

Gcaufy

commit sha f6f38af2cca98a2348e4845a76a2e8fb8d480fc2

fix: fixed missing expect

view details

push time in 14 days

push eventTencent/wepy

Gcaufy

commit sha 9a5ef2c802314351b23c8c514cbacd4c1094aae4

fix: fixed missing expect

view details

push time in 14 days

push eventTencent/wepy

Gcaufy

commit sha 25f7d14c018a11d121109dbaa1ca20c595493d5e

fix(babel-plugin-import-regenerator): npm audit fix

view details

push time in 14 days

push eventTencent/wepy

Gcaufy

commit sha 214d1215bd151c86bc493f756f7ba9b7857a55cf

feat: added github action

view details

push time in 14 days

issue commentluin/ioredis

Redis cluster with a kubernetes service ip

@veeramarni I changed to use cluster ip instead. I think maybe ioredis he need to do the move action himself, so that it can not use service ip as a load balancer.

Gcaufy

comment created time in 14 days

issue commentTencent/wepy

在使用wepy-cli初始化项目的时候显示无法链接151.101.40.133

@xo see: https://github.com/Tencent/wepy/issues/2522

guanjiangtao

comment created time in 14 days

push eventTencent/wepy

Gcaufy

commit sha 4fd87d2e83afed437aaf8280bdca0428aa24504d

fix(cli): fix bind missing a ":" fix #2497

view details

push time in 14 days

issue closedTencent/wepy

非原生组件自定义事件 @click-right=“functionName” 不生效

#1768 Description

问题描述:非原生组件自定义事件 @click-right=“functionName” 不生效

[Description of the issue]

Environment

  • Platform: [微信开发者工具]
  • Platform version: [1.02.1910120]
  • Wechat version: [7.0.7]
  • wepy-cli version: [2.0.0-alpha.20]
  • wepy version: [^2.0.0-alpha.9] *微信基础库版本 2.9.4

Reproduce

当在一个非原生组件中绑定一个自定义事件

@click-right="rightNavbar"

Observed Results

它编译为

bindclick-right="rightNavbar"

然而这在实际预览中并没有触发rightNavbar

而当我把编译后得到的index.wxml文件,将其bindclick-right加上了冒号

bind:click-right="rightNavbar"

rightNavbar 成功的被触发了

Expected Results

摘自微信官方文档

自基础库版本 1.5.0 起,在大多数组件和自定义组件中, bind 后可以紧跟一个冒号,其含义不变,如 bind:tap 。基础库版本 2.8.1 起,在所有组件中开始提供这个支持。

wepy是否有在非原生组件绑定事件语法,加上冒号呢 麻烦大佬回答一下,非常感谢!

closed time in 14 days

galikeoy

issue commentTencent/wepy

Uncaught TypeError: mix is not a constructor

可以查看一下出问题时 dist 目录的 xxx.js 文件编译后的结果 是否正确

nanMin97

comment created time in 14 days

issue closedTencent/wepy

无法创建项目

创建项目一直报: Failed to download repo standard:read ECONNRESET

搭了梯子也不行。

closed time in 14 days

bweib

issue commentTencent/wepy

无法创建项目

$ npm install @wepy/cli@next -g
$ wepy -v
$ wepy init standard myproj --log verbose

添加 --log verbose 查看完整细节

bweib

comment created time in 14 days

CommitCommentEvent

created tagTencent/wepy

tagrm

小程序组件化开发框架

created time in 14 days

created tagTencent/wepy

tag@wepy/cli@2.0.0-alpha.23

小程序组件化开发框架

created time in 14 days

created tagTencent/wepy

tag@wepy/cli@2.0.0-alpha.24

小程序组件化开发框架

created time in 14 days

push eventTencent/wepy

Gcaufy

commit sha 6a1f053817db62bbe7144956d9d991ee837d6a6e

fix(cli): change download priority re #2522

view details

Gcaufy

commit sha f5fb2203e99ed144bc3c7bd9399b184e4c066929

release: @wepy/cli@2.0.0-alpha.24

view details

push time in 14 days

push eventwepyjs/wepy-docs

freedb

commit sha 80e7599a1a6993a6f8a92a3c5ef877a2ba806931

GitDB update a key

view details

push time in 14 days

push eventwepyjs/wepy-docs

freedb

commit sha a1393fae3a934d1cc14ffa9e2d5fbf1b99cd4d7f

GitDB update a key

view details

push time in 14 days

issue commentTencent/wepy

无法创建项目

做了以下调整:

  1. 添加了腾讯云的 COS 模板源
  2. 下载优先访问腾讯云的模板源
  3. 下载失败时访问 github raw 的模板源
  4. 添加了更加详细的报错信息
bweib

comment created time in 15 days

push eventTencent/wepy

Gcaufy

commit sha 793425596ae2b28cb6158479628f7d7659231e30

feat(cli): added COS template source and added more log for init command re #2522

view details

push time in 15 days

issue commentTencent/wepy

downloading template wepy-cli · Failed to download repo standard: connect ECONNREFUSED 151.101.0.133:443

https://github.com/Tencent/wepy/issues/2522

liuxy0551

comment created time in 15 days

push eventwepyjs/wepy-templates

Gcaufy

commit sha 91411bbce7fd3cea1d3f2dd36b68e9aeef30ab8a

ci: fixed git config in ci

view details

push time in 15 days

push eventwepyjs/wepy-templates

Gcaufy

commit sha d568c63dae43888f5ae35eef8d6dc5ed79551bbb

ci: fixed ci push script

view details

push time in 15 days

push eventwepyjs/wepy-templates

Gcaufy

commit sha 4d2854e038e5a18ff105bb002655736638e01035

fix(standard): added missing directory

view details

push time in 15 days

push eventwepyjs/wepy-templates

Gcaufy

commit sha 46a69f5c6199470431c0678dbe143a0fb1be14dc

ci: update build logic

view details

push time in 15 days

push eventwepyjs/wepy-templates

Gcaufy

commit sha 900db6fbe87399e7bd9f34eae5d9a42f7ee5b9a1

ci: update build logic

view details

push time in 15 days

push eventwepyjs/wepy-templates

Gcaufy

commit sha 978caa85689006dfc758d4abe01b6e88bc7f4989

fix: fixed github action env

view details

push time in 15 days

push eventwepyjs/wepy-templates

Gcaufy

commit sha b47928755612342f885cb8997103e0ed3d6b80d8

feat: added cos upload

view details

Gcaufy

commit sha 54e3216eb29e6dd33e5a19ce531172578dc04f66

build: build dist

view details

push time in 15 days

push eventwepyjs/wepy-templates

Gcaufy

commit sha e6302d5febc466798888e2ea4c0dfaf6fe210648

feat: added github actions

view details

push time in 15 days

push eventwepyjs/wepy-docs

freedb

commit sha 949e046ef5f94e057ec94ea51ea602cdf3e30990

GitDB update a key

view details

push time in 15 days

push eventwepyjs/wepy-docs

freedb

commit sha ded6b515f5d82d2b4db5e2b1427146e5b07964fa

GitDB update a key

view details

push time in 15 days

issue closedTencent/wepy

初始化生成项目时报错

在执行 wepy init standard demo后报如下问题。 downloading template wepy-cli · Failed to download repo standard: connect ETIMEDOUT 74.86.17.48:443

closed time in 16 days

TangShunwu

issue commentTencent/wepy

初始化生成项目时报错

https://github.com/Tencent/wepy/issues/2522

TangShunwu

comment created time in 16 days

issue commentTencent/wepy

无法创建项目

@lh9403 这应该就是问题所在,无法访问 raw.githubusercontent.com. 如果是这样的话 vue-cli 应该也是用不了的。

bweib

comment created time in 16 days

issue commentTencent/wepy

thirdScriptError Cannot read property 'refs' of undefined; [Component] Lifetime Method Error @ pages/index#(anonymous)

抱歉现在才回复,刚才使用提供代码无法还原问题。看是否能提供完整代码包方便测试呢?

YvongYang

comment created time in 16 days

issue closedTencent/wepy

wepy 2.0 引用阿里矢量字体库 问题 iconfont,急急急!

样式引用: `@font-face { font-family: 'mciconfont'; /* project id 1294797 */ src: url('//at.alicdn.com/t/font_1294797_5n8l0w0koca.eot'); src: url('//at.alicdn.com/t/font_1294797_5n8l0w0koca.eot?#iefix') format('embedded-opentype'), url('//at.alicdn.com/t/font_1294797_5n8l0w0koca.woff2') format('woff2'), url('//at.alicdn.com/t/font_1294797_5n8l0w0koca.woff') format('woff'), url('//at.alicdn.com/t/font_1294797_5n8l0w0koca.ttf') format('truetype'), url('//at.alicdn.com/t/font_1294797_5n8l0w0koca.svg#mciconfont') format('svg'); }

.mciconfont{ font-family:"mciconfont" !important; font-size:16px;font-style:normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }`

页面部分源代码: <i class="mciconfont">&#xe637;</i>

编译后: <view class="mciconfont">&#xe637;</view>

最后界面显示了字体图票内容:&#xe637;

这个怎么解决?在wepy1.7 里正常

closed time in 16 days

hanbing81868164

issue commentTencent/wepy

wepy 2.0 引用阿里矢量字体库 问题 iconfont,急急急!

<style lang="less">
@font-face {font-family: "iconfont";
  src: url('//at.alicdn.com/t/font_1630643_w6xcr117tfh.eot?t=1581070130268'); /* IE9 */
  src: url('//at.alicdn.com/t/font_1630643_w6xcr117tfh.eot?t=1581070130268#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAANMAAsAAAAAB7gAAAMAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCDBgqDHIJcATYCJAMMCwgABCAFhG0HOxunBhHVm0/Ifh5kZ4vTqdQzfxEbL9+EcrnGfg+i1El7kuJX5ICTByJKHgmnhxawRKodAGZthvw5oyIUTTIe/Dd/Za/QwoTwpa8VNcf+z+X0pvg1vmWBpDjHeH7UCzAOKNAxJ1mBBOQdy+uaVJ754mYI4ChCJaRVm069sBhILwFk0vixw7EVE2agWrAIXsdEg2whglVr1VNgs/6+fKWGWFBENGRgtzGtR9HsQx/oTJhhkEQQb+cA7GmggUqAARnS6eqHzlKV0LhQZYaLPQyC2ioahloUabyL/vEUiAepjAFQDtIKPsQ5EPjgChQAGgAP8IHlwBbQ5VqajFoXWPr2ohJd6Jq4Ro7krIMPa8dvPy4aSYyNrXtURO8/78dvPiys9pwZQ8b3ZZebH7vVxVMWy41PJ7NkZrGsk9i6c6IPP67rrz+bOVPKrYPML7L/fPn1cODBQJc5u/589ty6MzWuZXfte/5dvftUqKDDau9qoYZDJ/OVfK/yyphUvuC7XqlC819K/f4loraXz1fsveRjDO0C4AP1W4Lfv51Bi7xmYWpMkLfYO4VFsOyv30qdyJsek86r3hW7nRpTYjS3lfq1ln0VvUttUqvU+5KdSgetitHtGAZAeEFXVBcgfKyf6Pq/6Tec/mzt0GSj/9Y3ALxevxo6EF4wTPOAvQm3wE8RT6wxkZSYtQlEXJRkNdOJ3rIRF3kJIb4075drck+uBMGSuwBFDgqDxlIKNWQliOBTCzwsTcFRkbbTfXIyA42YKFCBlQiEgMugSPAYNAHPUEO+gwh5+A4egWhw9JGcC/qUEbeYlgKrCOT+VDzvkVnVpNV3pGu1UpZq6g05S5S6uq1nJ+yQLYacn9SrRorCG41oO6wr0yE8w2udVY+haWLXm2rPW2VoKbCKQO5PxfMeZWM1jc/fka7VygBtyP2GnKV16up2Ajqp9km0V7nm/KReNVIU3mhEDqw0xXR0t5vhtc4LEsfQ4Hpxqqo+XrM93ybAQU7QokSLwRuFFYrbZOzXxgFVBQ==') format('woff2'),
  url('//at.alicdn.com/t/font_1630643_w6xcr117tfh.woff?t=1581070130268') format('woff'),
  url('//at.alicdn.com/t/font_1630643_w6xcr117tfh.ttf?t=1581070130268') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
  url('//at.alicdn.com/t/font_1630643_w6xcr117tfh.svg?t=1581070130268#iconfont') format('svg'); /* iOS 4.1- */
}

.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icondelete:before {
  content: "\e68a";
}
</style>

<template>
  <i class="iconfont icondelete"></i>
</template>

以下代码在 2.0 下测试正常,没有问题

hanbing81868164

comment created time in 16 days

issue commentTencent/wepy

TypeError: Cannot read property '$rel' of undefined,在调用 initEvents(vm) 函数时报错

https://github.com/Tencent/wepy/blob/2.0.x/packages/core/weapp/init/lifecycle.js#L142-L160

只有子组件 Component 才会调用 initEvents, 而 子组件是一定存在 $parent 的。所以不应该出现这种 undefined 的情况 。

是否可以方便把 test case 发来我这边帮助定位 一下呢?

Kenquiet

comment created time in 16 days

issue commentTencent/wepy

无法创建项目

@evan2020 @EuniceShaw @lh9403 @lgd8981289

测试一下这个命令

wget https://raw.githubusercontent.com/wepyjs/wepy-templates/2.0.x/README.md
bweib

comment created time in 16 days

issue commentTencent/wepy

最新版本wepy 1.7.2 初始化化项目问题:

@saillin 看看是不是网络的问题, 找个 github raw 文件 curl 看看。

webdzq

comment created time in 16 days

GollumEvent

push eventTencent/wepy

Gcaufy

commit sha e92b58f670a2c4295fca420ce16b5c9ea8eb7742

test(plugin-define): update unit test case for plugin-define

view details

push time in 17 days

push eventTencent/wepy

Gcaufy

commit sha 2e0069b24061adae784b97c5e96792a4cba1a359

test(plugin-define): fixed test case timeout issue

view details

push time in 17 days

push eventTencent/wepy

Gcaufy

commit sha c3fcdbc5041f623615ee60c87b68ca00c7061508

fix: added missing dependences

view details

push time in 17 days

push eventGcaufy/wechaty-puppet-padpro

Gcaufy

commit sha 95173f63726dbf2bc8fbba7c87b1aa57c1bec3bc

docs: added DEPRECATED flag for this repo

view details

push time in 18 days

push eventTencent/wepy

dependabot[bot]

commit sha 0631839c1b38be504eeb1cd16005215863ad984a

build(deps): bump handlebars from 4.1.2 to 4.3.0 in /packages/cli Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.3.0. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.3.0) Signed-off-by: dependabot[bot] <support@github.com>

view details

Gcaufy

commit sha c344a2d0fc2ff122cc38f7d88f0024f46929c26e

Merge pull request #2525 from Tencent/dependabot/npm_and_yarn/packages/cli/handlebars-4.3.0 build(deps): bump handlebars from 4.1.2 to 4.3.0 in /packages/cli

view details

push time in 18 days

PR merged Tencent/wepy

build(deps): bump handlebars from 4.1.2 to 4.3.0 in /packages/cli dependencies

Bumps handlebars from 4.1.2 to 4.3.0. <details> <summary>Changelog</summary>

Sourced from handlebars's changelog.

v4.3.0 - September 24th, 2019

Fixes:

  • Security: Disallow calling "helperMissing" and "blockHelperMissing" directly - 2078c72
  • Disallow calling "helperMissing" and "blockHelperMissing" directly - 2078c72

Features:

  • Add new runtime option allowCallsToHelperMissing to allow calling blockHelperMissing and helperMissing.

Breaking changes:

Compatibility notes:

  • Compiler revision increased - 06b7224

    • This means that template compiled with versions prior to 4.3.0 will not work with runtimes >= 4.3.0 The increase was done because the "helperMissing" and "blockHelperMissing" are now moved from the helpers to the internal "container.hooks" object, so old templates will not be able to call them anymore. We suggest that you always recompile your templates with the latest compiler in your build pipelines.
  • Disallow calling "helperMissing" and "blockHelperMissing" directly - 2078c72

    • Calling "helperMissing" and "blockHelperMissing" directly from a template (like in {{blockHelperMissing}} was never intended and was part of the exploits that have been revealed early in 2019 (see https://github-redirect.dependabot.com/wycats/handlebars.js/issues/1495). It is also part of a new exploit that is not captured by the earlier fix. In order to harden Handlebars against such exploits, calling thos helpers is now not possible anymore. Overriding those helpers is still possible.
    • If you really need this behavior, you can set the runtime option allowCallsToHelperMissing to true and the calls will again be possible

Both bullet points imly that Handlebars is not 100% percent compatible to 4.2.0, despite the minor version bump.

We consider it more important to resolve a major security issue than to maintain 100% compatibility.

Commits

v4.2.1 - September 20th, 2019

Bugfixes:

  • The "browser" property in the package.json has been updated to use the common-js builds instead of the minified UMD - c55a7be, #1553

Compatibility notes:

  • No compatibility issues should arise

Commits

v4.2.0 - September 3rd, 2019

</tr></table> ... (truncated) </details> <details> <summary>Commits</summary>

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.


<details> <summary>Dependabot commands and options</summary> <br />

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 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+53 -89

0 comment

2 changed files

dependabot[bot]

pr closed time in 18 days

PR closed Tencent/wepy

test(cover): added coverage test

#1768 ### Checklist <!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->

  • [x] npm run test passes
  • [x] tests and/or benchmarks are included
  • [ ] cases or donate is changed or added
  • [ ] documentation is changed or added
+1026 -877

1 comment

4 changed files

dlhandsome

pr closed time in 18 days

pull request commentTencent/wepy

test(cover): added coverage test

Done

dlhandsome

comment created time in 18 days

CommitCommentEvent

push eventTencent/wepy

Gcaufy

commit sha c0bf5bedcebb0b48e05814ac783ed53bea7a5f0e

test: added nyc for coverage test

view details

push time in 18 days

push eventTencent/wepy

Gcaufy

commit sha a987d58c2152e45e7abf57015dc80f280bd464f7

build: upgrade verpub

view details

push time in 19 days

created tagGcaufy/verpub

tagverpub@0.1.2

A light weight package release tool.

created time in 19 days

push eventGcaufy/verpub

Gcaufy

commit sha 5af48c03a91c2614ee1759eee23ac302e714aa85

fix: fixed writing wrong json file in subPackage mode

view details

Gcaufy

commit sha 7dbfbb2b16e7286da9bb4b90bd7be40ab6b3a9c5

release: verpub@0.1.2

view details

push time in 19 days

push eventTencent/wepy

Gcaufy

commit sha cad8163e6946e02bbdebded3165ca3fb3da28e62

build: update package name

view details

push time in 19 days

delete tag Tencent/wepy

delete tag : wepy@2.0.0-alpha.22

delete time in 19 days

delete tag Tencent/wepy

delete tag : wepy@2.0.0-alpha.23

delete time in 19 days

push eventTencent/wepy

Gcaufy

commit sha b6b6d34be2882803779a05418e788cabfbf8a9bf

release: @wepy/cli@2.0.0-alpha.23

view details

push time in 19 days

created tagGcaufy/verpub

tagverpub@0.0.1

A light weight package release tool.

created time in 19 days

created tagGcaufy/verpub

tagverpub@0.1.1

A light weight package release tool.

created time in 19 days

push eventGcaufy/verpub

Gcaufy

commit sha e2cdc9d26aed7e9ff7d57fd3b69ad02ac8f169dd

fix: fixed option deepmerge

view details

Gcaufy

commit sha b5986a6a9a84fa426950fe4c8312755084c2db28

feat: added timeout for npm view command

view details

Gcaufy

commit sha e21e73804989f73460dd2dfd39456b3ab3dd27a8

release: verpub@0.1.1

view details

push time in 19 days

created tagTencent/wepy

tagwepy@2.0.0-alpha.23

小程序组件化开发框架

created time in 19 days

push eventTencent/wepy

Gcaufy

commit sha c7e9184768566ee1c59dd02ccce6fdb8381fe30f

release: wepy@2.0.0-alpha.23

view details

push time in 19 days

PR closed Tencent/wepy

Update README.md

首页添加编译支付宝小程序插件链接

+1 -1

1 comment

1 changed file

SpringHgui

pr closed time in 19 days

pull request commentTencent/wepy

Update README.md

在没经过大量测试之前可以先写在这里: https://github.com/aben1188/awesome-wepy

SpringHgui

comment created time in 19 days

more