Amumu

Results 42 issues of Amumu

Please upgrade the path-to-regexp version, there are some problems with the old version. like `*` for 404 handler ```js page('*', function(context, next) { }) ```

question
needs submitter response

validator 支持返回`Promise.reject()` ,目前必须`Promise.reject(new Error('xxx'))`

对Rule支持添加额外属性,方便集中抽取的Validator 使用以获得额外逻辑能力。

Item.js: ```jsx @connect() // react-redux ConnectFunction class Item extends Component { // Custom Component // ... } export default Item; ``` use: ```jsx {form.getFieldDecorator('startDate', { rules: [ { required: true,...

A page or script is accessing at least one of navigator.userAgent, navigator.appVersion, and navigator.platform. Starting in Chrome 101, the amount of information available in the User Agent string will be...

``` /Users/tanghui/.npm/_npx/32509/lib/node_modules/@ant-design/codemod-v4/node_modules/core-js/modules/es6.object.set-prototype-of.js:6 $export($export.S, 'Object', { ^ TypeError: $export is not a function at Object. (/Users/tanghui/.npm/_npx/32509/lib/node_modules/@ant-design/codemod-v4/node_modules/core-js/modules/es6.object.set-prototype-of.js:3:1) ```

**这个 PR 做了什么?** (简要描述所做更改) `onLaunch`的查询参数在微信小程序中的与`h5`不一致, 抹平它. 小程序: H5: **这个 PR 是什么类型?** (至少选择一个) - [ ] 错误修复(Bugfix) issue: fix # - [ ] 新功能(Feature) - [x] 代码重构(Refactor) - [ ] TypeScript...

### 这个特性解决了什么问题? 下游项目很容易遇到的场景就是多层的复杂对象与`url`参数的转换需求, 通常下游会使用`qs`这个库来处理, 不过 `taro` 依赖了一个类似功能的`query-string` , 对比`qs`, 它功能显得相对薄弱一些, 下游无法基于它实现需求. 为了避免冗余一个包, `qs`是可以完全替代`query-string` 的. 所以, 提议以`qs`替`query-string`. `qs`库始于 TJ 大神. ### 这个 API 长什么样? none

enhancement