Skip to content

Commit

Permalink
chore: 固定部分包版本号
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyadam committed Jul 13, 2020
1 parent fe07b40 commit 6f570c7
Show file tree
Hide file tree
Showing 14 changed files with 32,892 additions and 24 deletions.
12 changes: 6 additions & 6 deletions packages/taro-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@types/request": "^2.48.1",
"@typescript-eslint/parser": "^2.0.0",
"adm-zip": "^0.4.13",
"babel-core": "^6.26.3",
"babel-core": "6.26.3",
"babel-eslint": "^8.2.3",
"babel-generator": "^6.26.1",
"babel-plugin-danger-remove-unused-import": "^1.1.1",
Expand Down Expand Up @@ -81,7 +81,7 @@
"inquirer": "^5.2.0",
"klaw": "^3.0.0",
"latest-version": "^4.0.0",
"lodash": "^4.17.5",
"lodash": "4.17.19",
"mem-fs": "^1.1.3",
"mem-fs-editor": "^4.0.0",
"minimist": "1.2.2",
Expand Down Expand Up @@ -110,10 +110,10 @@
},
"devDependencies": {
"@tarojs/taro": "2.2.10",
"@types/babel-core": "^6.25.5",
"@types/babel-generator": "^6.25.2",
"@types/babel-traverse": "^6.25.4",
"@types/babel-types": "^6.25.2",
"@types/babel-core": "6.25.5",
"@types/babel-generator": "6.25.2",
"@types/babel-traverse": "6.25.5",
"@types/babel-types": "6.25.2",
"@types/fs-extra": "^5.0.4",
"@types/jest": "^23.3.10",
"@types/klaw": "^3.0.0",
Expand Down
9,336 changes: 9,336 additions & 0 deletions packages/taro-cli/yarn.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/taro-helper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"debug": "4.1.1",
"find-yarn-workspace-root": "1.2.1",
"fs-extra": "8.1.0",
"lodash": "4.17.15",
"lodash": "4.17.19",
"resolve": "^2.0.0-next.0",
"yauzl": "2.10.0"
},
Expand Down
4,056 changes: 4,056 additions & 0 deletions packages/taro-helper/yarn.lock

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions packages/taro-mini-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"file-loader": "^4.0.0",
"fs-extra": "^8.0.1",
"loader-utils": "^1.2.3",
"lodash": "^4.17.11",
"lodash": "4.17.19",
"mini-css-extract-plugin": "^0.7.0",
"ora": "^3.4.0",
"postcss-import": "12.0.1",
Expand All @@ -68,10 +68,10 @@
"webpack-format-messages": "^2.0.5"
},
"devDependencies": {
"@types/babel-core": "^6.25.6",
"@types/babel-generator": "^6.25.3",
"@types/babel-traverse": "^6.25.5",
"@types/babel-types": "^7.0.7",
"@types/babel-core": "6.25.6",
"@types/babel-generator": "6.25.3",
"@types/babel-traverse": "6.25.5",
"@types/babel-types": "7.0.7",
"@types/loader-utils": "^1.1.3",
"@types/lodash": "^4.14.126",
"@types/node": "^12.0.0",
Expand Down
4,997 changes: 4,997 additions & 0 deletions packages/taro-mini-runner/yarn.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/taro-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@tarojs/helper": "2.2.10",
"@tarojs/taro": "2.2.10",
"fs-extra": "8.1.0",
"lodash": "4.17.15",
"lodash": "4.17.19",
"resolve": "1.15.1",
"tapable": "1.1.3"
},
Expand Down
3,192 changes: 3,192 additions & 0 deletions packages/taro-service/yarn.lock

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions packages/taro-transformer-wx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
},
"dependencies": {
"@babel/code-frame": "^7.0.0-beta.44",
"babel-core": "^6.26.3",
"babel-core": "6.26.3",
"babel-eslint": "^8.2.3",
"babel-helper-evaluate-path": "^0.5.0",
"babel-helper-mark-eval-scopes": "^0.4.3",
Expand All @@ -58,23 +58,23 @@
"babel-plugin-transform-es2015-template-literals": "^6.22.0",
"babel-plugin-transform-export-extensions": "^6.22.0",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-traverse": "^6.26.0",
"babel-types": "^6.26.0",
"babel-traverse": "6.26.0",
"babel-types": "6.26.0",
"eslint": "5.16.0",
"eslint-plugin-react": "7.10.0",
"eslint-plugin-taro": "2.2.10",
"html": "^1.0.0",
"lodash": "^4.17.5",
"lodash": "4.17.19",
"prettier": "^1.14.2",
"typescript": "^3.2.2"
},
"devDependencies": {
"@tarojs/taro": "2.2.10",
"@types/babel-core": "^6.25.5",
"@types/babel-generator": "^6.25.1",
"@types/babel-template": "^6.25.0",
"@types/babel-core": "6.25.6",
"@types/babel-generator": "6.25.3",
"@types/babel-template": "6.25.2",
"@types/babel-traverse": "6.25.3",
"@types/babel-types": "^6.25.2",
"@types/babel-types": "7.0.8",
"@types/eslint": "^4.16.5",
"@types/jest": "^22.2.3",
"@types/lodash": "^4.14.105",
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-transformer-wx/src/class.ts
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ class Transformer {
if (t.isJSXElement(valueAttr.value)) {
throw codeFrameError(valueAttr.value, 'Provider 的 value 只能传入一个字符串或普通表达式,不能传入 JSX')
} else {
const value = t.isStringLiteral(valueAttr.value) ? valueAttr.value : valueAttr.value.expression
const value = t.isStringLiteral(valueAttr.value) ? valueAttr.value : valueAttr.value!.expression
const expr = t.expressionStatement(t.callExpression(
t.memberExpression(t.identifier(contextName), t.identifier('Provider')),
[value]
Expand Down
2 changes: 1 addition & 1 deletion packages/taro-transformer-wx/src/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1222,7 +1222,7 @@ export class RenderParser {
return false
}) as NodePath<t.JSXElement>
if (loopBlock) {
setJSXAttr(loopBlock.node, Adapter.key, value)
setJSXAttr(loopBlock.node, Adapter.key, value!)
path.remove()
} else {
path.get('name').replaceWith(t.jSXIdentifier(Adapter.key))
Expand Down
Loading

0 comments on commit 6f570c7

Please sign in to comment.