mol_wire_lib 1.0.738 → 1.0.740
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/node.js +1 -1
- package/node.js.map +1 -1
- package/node.mjs +1 -1
- package/node.test.js +3 -3
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.js +1 -1
- package/web.js.map +1 -1
- package/web.mjs +1 -1
- package/web.test.js.map +1 -1
package/node.mjs
CHANGED
|
@@ -1143,7 +1143,7 @@ var $;
|
|
|
1143
1143
|
const field = task.name + '()';
|
|
1144
1144
|
let dict = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
|
|
1145
1145
|
const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
|
|
1146
|
-
const id = `${prefix}.${task.name}(${$mol_key(key)})`;
|
|
1146
|
+
const id = `${prefix}.${task.name}(${$mol_key(key).replace(/^"|"$/g, "'")})`;
|
|
1147
1147
|
if (dict) {
|
|
1148
1148
|
const existen = dict.get(id);
|
|
1149
1149
|
if (existen)
|
package/node.test.js
CHANGED
|
@@ -1135,7 +1135,7 @@ var $;
|
|
|
1135
1135
|
const field = task.name + '()';
|
|
1136
1136
|
let dict = Object.getOwnPropertyDescriptor(host ?? task, field)?.value;
|
|
1137
1137
|
const prefix = host?.[Symbol.toStringTag] ?? (host instanceof Function ? $$.$mol_func_name(host) : host);
|
|
1138
|
-
const id = `${prefix}.${task.name}(${$mol_key(key)})`;
|
|
1138
|
+
const id = `${prefix}.${task.name}(${$mol_key(key).replace(/^"|"$/g, "'")})`;
|
|
1139
1139
|
if (dict) {
|
|
1140
1140
|
const existen = dict.get(id);
|
|
1141
1141
|
if (existen)
|
|
@@ -2499,9 +2499,9 @@ var $node = new Proxy({ require }, {
|
|
|
2499
2499
|
while (!fs.existsSync(path.join(dir, suffix))) {
|
|
2500
2500
|
const parent = path.resolve(dir, '..');
|
|
2501
2501
|
if (parent === dir) {
|
|
2502
|
-
$$.$mol_exec('.', 'npm', 'install', '--omit=dev',
|
|
2502
|
+
$$.$mol_exec('.', 'npm', 'install', '--omit=dev', name);
|
|
2503
2503
|
try {
|
|
2504
|
-
$$.$mol_exec('.', 'npm', 'install', '--omit=dev', '
|
|
2504
|
+
$$.$mol_exec('.', 'npm', 'install', '--omit=dev', '@types/' + name);
|
|
2505
2505
|
}
|
|
2506
2506
|
catch { }
|
|
2507
2507
|
break;
|