miniprogram-slim icon indicating copy to clipboard operation
miniprogram-slim copied to clipboard

Results 21 miniprogram-slim issues
Sort by recently updated
recently updated
newest added

``` √ analyze app.json success, used 102ms √ analyzer subpackages success, used 210ms √ analyzer pages success, used 122ms - find unusedFilesC:\Users\caoco\AppData\Roaming\npm\node_modules\miniprogram-slim\src\depsAnalyzer\handler\analyzerComp.js:45 const size = allFileInfo[file].size ^ TypeError: Cannot read...

Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9. Changelog Sourced from hosted-git-info's changelog. 2.8.9 (2021-04-07) Bug Fixes backport regex fix from #76 (29adfe5), closes #84 Commits 8d4b369 chore(release): 2.8.9 29adfe5 fix: backport...

dependencies

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...

dependencies

Bumps [pug-code-gen](https://github.com/pugjs/pug) from 2.0.2 to 2.0.3. Commits eedf9a3 Don't ask escaping for boolean attributes at the beginning of attributes-list... 6f38adf Add in additional resources of 2 packages (#2945) d86ac52 new...

dependencies

跑`miniprogram-slim analyzer -t`分析时候报错 ``` analyze app.json/usr/local/lib/node_modules/miniprogram-slim/node_modules/@babel/parser/lib/index.js:771 throw err; ^ SyntaxError: This experimental syntax requires enabling the parser plugin: 'classProperties' (4:11) ```

1. depsAnalyzer: bugfix && constant 2. imagemin: svgo plugin && keep-path option 3. readme 4. file format

Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8. Commits a2c5da8 1.3.8 af5c6bb Do not use Object.create(null) 8b648a1 don't test where our devdeps don't even work c74c8af 1.3.7 024b8b5 update deps, add linting...

dependencies

测试环境: windows 10 x64 node版本:10.16.3 试用了下瘦身工具,大概存在以下几个问题: 1. 安装阶段报错 ![image](https://user-images.githubusercontent.com/10484248/83720008-d3e58500-a66a-11ea-95b1-8c41b948b557.png) 这问题不大,我直接把代码clone下来继续跑(后续确定这个问题是node版本引起的,安装最新版本的node即可解决) 2. 如果项目中用到了递归组件,会堆栈溢出,比如我用到的[解析html的小程序插件](https://jin-yufeng.github.io/Parser/#/),因为插件里存在自己引用自己作为组件的情况 ![image](https://user-images.githubusercontent.com/10484248/83721150-15772f80-a66d-11ea-9d92-d5fa7411dd0b.png) 这问题也不大,我可以先暂时把这个组件删除掉 3.如果项目中引用了第三方小程序库,用了自带的构建npm,例如 [vant-weapp](https://youzan.github.io/vant-weapp/#/),在分析页面的时候会出错: ![image](https://user-images.githubusercontent.com/10484248/83720444-a8af6580-a66b-11ea-904f-85da8296e0c2.png) 到这里我没有办法继续往下走了,除非自己查找Bug修复它 总体而言,这个库还达不到生产要求(因为它被放在了小程序的文档里,默认而言应该是比较稳定的,起码能用),我看项目里的测试项目太过于简单和理想化了,对于大部分用户而言,我猜第一步就让Ta们望而却步了

Bumps [decompress](https://github.com/kevva/decompress) from 4.2.0 to 4.2.1. Release notes Sourced from decompress's releases. v4.2.1 Prevent directory traversal (#73) 967146e https://github.com/kevva/decompress/compare/v4.2.0...v4.2.1 Commits 84a8c10 4.2.1 fafff47 Meta tweaks 967146e Prevent directory traversal (#73)...

dependencies

.DS_Store 忽略文件也不说处理一下,也太不负责了吧