@dolphinweex/weex-harmony-transform 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -8,5 +8,5 @@
8
8
 
9
9
  在.babelrc或babel.config.js中配置
10
10
  module.exports = {
11
- plugins: ['@ohos/weex-harmony-transform/weexTransform.js']
11
+ plugins: ['@dolphinweex/weex-harmony-transform/weexTransform.js']
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dolphinweex/weex-harmony-transform",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "weex harmony adapter",
5
5
  "main": "index.js",
6
6
  "files": [
package/weexTransform.js CHANGED
@@ -61,7 +61,7 @@ module.exports = function({ types: t }) {
61
61
 
62
62
  const requireExpression = t.CallExpression(
63
63
  t.identifier('require'),
64
- [t.stringLiteral('@ohos/weex-harmony-transform')]
64
+ [t.stringLiteral('@dolphinweex/weex-harmony-transform')]
65
65
  )
66
66
  const replaceNode = t.variableDeclaration('const', [
67
67
  t.variableDeclarator(objectPattern, requireExpression)
@@ -76,7 +76,7 @@ module.exports = function({ types: t }) {
76
76
 
77
77
  const requireExpression = t.callExpression(
78
78
  t.identifier('require'),
79
- [t.stringLiteral('@ohos/weex-harmony-transform')]
79
+ [t.stringLiteral('@dolphinweex/weex-harmony-transform')]
80
80
  )
81
81
 
82
82
  const memberExpression = t.memberExpression(