@kezh/my-custom-js-converter 0.0.11 → 0.0.12
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/core/encode.js +2 -0
- package/package.json +1 -1
package/core/encode.js
CHANGED
|
@@ -99,6 +99,7 @@ function getImportMethods(modPathByName, methodNamesByMod) {
|
|
|
99
99
|
return [];
|
|
100
100
|
}
|
|
101
101
|
const modMethodNames = modMethods.map((m) => m.key.name);
|
|
102
|
+
console.log(`method names => ${modMethodNames}`);
|
|
102
103
|
const useMethodNames = methodNamesByMod.get(name);
|
|
103
104
|
const inlineMethodNames = getInlineThisMethodNames(modMethodNames, useMethodNames, modAst);
|
|
104
105
|
let mergeMethodNames = [
|
|
@@ -142,6 +143,7 @@ function getInlineThisMethodNames(modMethodNames, useMethodNames, modAst) {
|
|
|
142
143
|
if (!core_1.types.isIdentifier(property)) {
|
|
143
144
|
return;
|
|
144
145
|
}
|
|
146
|
+
console.log(`property name => ${property.name}`);
|
|
145
147
|
if (modMethodNames.includes(property.name)) {
|
|
146
148
|
thisMethodNames.add(property.name);
|
|
147
149
|
}
|