@kezh/my-custom-js-converter 0.0.13 → 0.0.15

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.
Files changed (2) hide show
  1. package/core/encode.js +2 -0
  2. package/package.json +1 -1
package/core/encode.js CHANGED
@@ -130,6 +130,7 @@ function getInlineThisMethodNames(modMethodNames, useMethodNames, modAst) {
130
130
  if (!useMethodNames.length) {
131
131
  return [];
132
132
  }
133
+ console.log(`use method names => ${useMethodNames}`);
133
134
  const thisMethodNames = new Set();
134
135
  (0, traverse_1.default)(modAst, {
135
136
  ThisExpression(path) {
@@ -144,6 +145,7 @@ function getInlineThisMethodNames(modMethodNames, useMethodNames, modAst) {
144
145
  if (!core_1.types.isIdentifier(property)) {
145
146
  return;
146
147
  }
148
+ console.log(`property name => ${property.name}`);
147
149
  if (modMethodNames.includes(property.name)) {
148
150
  thisMethodNames.add(property.name);
149
151
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kezh/my-custom-js-converter",
3
- "version": "0.0.13",
3
+ "version": "0.0.15",
4
4
  "description": "自定义代码转换器",
5
5
  "main": "index.js",
6
6
  "bin": {