@coana-tech/cli 14.12.140 → 14.12.142

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.
@@ -7,11 +7,11 @@ import "./iterator-helpers-polyfill.js";
7
7
  import {
8
8
  require_hints,
9
9
  require_parser
10
- } from "./chunk-4VFJ6VRH.js";
10
+ } from "./chunk-NIHHHBFM.js";
11
11
  import {
12
12
  require_proxy,
13
13
  require_sandbox
14
- } from "./chunk-IK6PDI7V.js";
14
+ } from "./chunk-5V2V4LSG.js";
15
15
  import {
16
16
  __commonJS,
17
17
  __name,
@@ -21,7 +21,7 @@ import {
21
21
  require_options,
22
22
  require_transform,
23
23
  require_util
24
- } from "./chunk-BDEOKPLQ.js";
24
+ } from "./chunk-ODOUARTV.js";
25
25
 
26
26
  // lib/approx/approx.js
27
27
  var require_approx = __commonJS({
@@ -8,7 +8,7 @@ import {
8
8
  __commonJS,
9
9
  __name,
10
10
  __require
11
- } from "./chunk-BDEOKPLQ.js";
11
+ } from "./chunk-ODOUARTV.js";
12
12
 
13
13
  // node_modules/source-map/lib/base64.js
14
14
  var require_base64 = __commonJS({
@@ -224380,4 +224380,4 @@ typescript/lib/typescript.js:
224380
224380
  and limitations under the License.
224381
224381
  ***************************************************************************** *)
224382
224382
  */
224383
- //# sourceMappingURL=chunk-IEQ4BC6O.js.map
224383
+ //# sourceMappingURL=chunk-3MLCDX4W.js.map
@@ -9,7 +9,7 @@ import {
9
9
  __name,
10
10
  __require,
11
11
  require_transform
12
- } from "./chunk-BDEOKPLQ.js";
12
+ } from "./chunk-ODOUARTV.js";
13
13
 
14
14
  // lib/approx/proxy.js
15
15
  var require_proxy = __commonJS({
@@ -268,4 +268,4 @@ export {
268
268
  require_proxy,
269
269
  require_sandbox
270
270
  };
271
- //# sourceMappingURL=chunk-IK6PDI7V.js.map
271
+ //# sourceMappingURL=chunk-5V2V4LSG.js.map
@@ -14,7 +14,7 @@ import {
14
14
  require_options,
15
15
  require_tokens,
16
16
  require_util
17
- } from "./chunk-BDEOKPLQ.js";
17
+ } from "./chunk-ODOUARTV.js";
18
18
 
19
19
  // lib/parsing/parser.js
20
20
  var require_parser = __commonJS({
@@ -516,4 +516,4 @@ export {
516
516
  require_patching,
517
517
  require_hints
518
518
  };
519
- //# sourceMappingURL=chunk-4VFJ6VRH.js.map
519
+ //# sourceMappingURL=chunk-NIHHHBFM.js.map
@@ -10872,6 +10872,7 @@ var require_options = __commonJS({
10872
10872
  callstacksJson: void 0,
10873
10873
  vulnerabilitiesFull: false,
10874
10874
  modulesJson: void 0,
10875
+ preciseAccessPathTransitions: false,
10875
10876
  lazy: false,
10876
10877
  lazyCleanup: false,
10877
10878
  lazySoftAssert: false,
@@ -13717,7 +13718,7 @@ var require_accesspaths = __commonJS({
13717
13718
  "lib/analysis/accesspaths.js"(exports) {
13718
13719
  "use strict";
13719
13720
  Object.defineProperty(exports, "__esModule", { value: true });
13720
- exports.LazyAccessPath = exports.UnknownAccessPath = exports.IgnoredAccessPath = exports.ComponentAccessPath = exports.CallResultAccessPath = exports.PropertyAccessPath = exports.ModuleAccessPath = exports.AccessPath = void 0;
13721
+ exports.LazyAccessPath = exports.UnknownAccessPath = exports.IgnoredAccessPath = exports.ComponentAccessPath = exports.CallResultAccessPath = exports.PropertyAccessPath = exports.ModuleAccessPath = exports.PatternAccessPath = exports.AccessPath = void 0;
13721
13722
  var infos_1 = require_infos();
13722
13723
  var AccessPath = class {
13723
13724
  static {
@@ -13732,34 +13733,45 @@ var require_accesspaths = __commonJS({
13732
13733
  }
13733
13734
  };
13734
13735
  exports.AccessPath = AccessPath;
13735
- var ModuleAccessPath = class extends AccessPath {
13736
+ var PatternAccessPath = class extends AccessPath {
13737
+ static {
13738
+ __name(this, "PatternAccessPath");
13739
+ }
13740
+ pattern;
13741
+ constructor(str, pattern) {
13742
+ super(str);
13743
+ this.pattern = pattern;
13744
+ }
13745
+ };
13746
+ exports.PatternAccessPath = PatternAccessPath;
13747
+ var ModuleAccessPath = class extends PatternAccessPath {
13736
13748
  static {
13737
13749
  __name(this, "ModuleAccessPath");
13738
13750
  }
13739
13751
  moduleInfo;
13740
13752
  requireName;
13741
- constructor(moduleInfo, requireName) {
13753
+ constructor(moduleInfo, requireName, pattern) {
13742
13754
  const t = !"./#".includes(requireName[0]) && requireName !== moduleInfo.getOfficialName() ? requireName : void 0;
13743
- super(`<${moduleInfo.getOfficialName()}${moduleInfo instanceof infos_1.ModuleInfo ? `@${moduleInfo.packageInfo.version}` : ""}${t ? `(${t})` : ""}>`);
13755
+ super(`<${moduleInfo.getOfficialName()}${moduleInfo instanceof infos_1.ModuleInfo ? `@${moduleInfo.packageInfo.version}` : ""}${t ? `(${t})` : ""}>`, pattern);
13744
13756
  this.moduleInfo = moduleInfo;
13745
13757
  this.requireName = t;
13746
13758
  }
13747
13759
  };
13748
13760
  exports.ModuleAccessPath = ModuleAccessPath;
13749
- var PropertyAccessPath = class extends AccessPath {
13761
+ var PropertyAccessPath = class extends PatternAccessPath {
13750
13762
  static {
13751
13763
  __name(this, "PropertyAccessPath");
13752
13764
  }
13753
13765
  base;
13754
13766
  prop;
13755
- constructor(base, prop) {
13756
- super(`${base}.${prop}`);
13767
+ constructor(base, prop, pattern) {
13768
+ super(`${base}.${prop}`, pattern);
13757
13769
  this.base = base;
13758
13770
  this.prop = prop;
13759
13771
  }
13760
13772
  };
13761
13773
  exports.PropertyAccessPath = PropertyAccessPath;
13762
- var CallResultAccessPath = class extends AccessPath {
13774
+ var CallResultAccessPath = class extends PatternAccessPath {
13763
13775
  static {
13764
13776
  __name(this, "CallResultAccessPath");
13765
13777
  }
@@ -13770,7 +13782,7 @@ var require_accesspaths = __commonJS({
13770
13782
  }
13771
13783
  };
13772
13784
  exports.CallResultAccessPath = CallResultAccessPath;
13773
- var ComponentAccessPath = class extends AccessPath {
13785
+ var ComponentAccessPath = class extends PatternAccessPath {
13774
13786
  static {
13775
13787
  __name(this, "ComponentAccessPath");
13776
13788
  }
@@ -14171,6 +14183,7 @@ var require_astvisitor = __commonJS({
14171
14183
  if (path.node.id)
14172
14184
  solver.addTokenConstraint(ct, vp.nodeVar(path.node.id));
14173
14185
  if (path.node.superClass) {
14186
+ const encl = a.getEnclosingFunctionOrModule(path);
14174
14187
  const eVar = op.expVar(path.node.superClass, path);
14175
14188
  solver.addForAllTokensConstraint(eVar, listeners_1.TokenListener.EXTENDS, path.node, (w) => {
14176
14189
  solver.addInherits(ct, w);
@@ -14179,8 +14192,8 @@ var require_astvisitor = __commonJS({
14179
14192
  if (w instanceof tokens_1.FunctionToken) {
14180
14193
  solver.addInherits(pt, solver.varProducer.objPropVar(w, "prototype"));
14181
14194
  } else {
14182
- const p = a.canonicalizeToken(new tokens_1.AccessPathToken(a.canonicalizeAccessPath(new accesspaths_1.PropertyAccessPath(eVar, "prototype"))));
14183
- solver.addInherits(pt, p);
14195
+ const dst = f.getRepresentative(f.varProducer.objPropVar(pt, (0, ecmascript_1.INTERNAL_PROTOTYPE)()));
14196
+ solver.addAccessPath(new accesspaths_1.PropertyAccessPath(eVar, "prototype"), dst, path.node.superClass, encl, w.ap);
14184
14197
  }
14185
14198
  }
14186
14199
  });
@@ -19872,4 +19885,4 @@ fill-range/index.js:
19872
19885
  * Licensed under the MIT License.
19873
19886
  *)
19874
19887
  */
19875
- //# sourceMappingURL=chunk-BDEOKPLQ.js.map
19888
+ //# sourceMappingURL=chunk-ODOUARTV.js.map
@@ -6,10 +6,10 @@ import "./iterator-helpers-polyfill.js";
6
6
 
7
7
  import {
8
8
  require_moduleresolver
9
- } from "./chunk-IEQ4BC6O.js";
9
+ } from "./chunk-3MLCDX4W.js";
10
10
  import {
11
11
  require_sandbox
12
- } from "./chunk-IK6PDI7V.js";
12
+ } from "./chunk-5V2V4LSG.js";
13
13
  import {
14
14
  __commonJS,
15
15
  __name,
@@ -17,7 +17,7 @@ import {
17
17
  require_files,
18
18
  require_options,
19
19
  require_transform
20
- } from "./chunk-BDEOKPLQ.js";
20
+ } from "./chunk-ODOUARTV.js";
21
21
 
22
22
  // lib/approx/hooks.js
23
23
  var require_hooks = __commonJS({