poe-code 11.0.5 → 11.0.7

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/dist/index.js CHANGED
@@ -119097,7 +119097,6 @@ var init_tokenizer2 = __esm({
119097
119097
  "await",
119098
119098
  "yield",
119099
119099
  "import",
119100
- "from",
119101
119100
  "as",
119102
119101
  "true",
119103
119102
  "false",
@@ -122298,7 +122297,13 @@ var init_parser3 = __esm({
122298
122297
  }
122299
122298
  ];
122300
122299
  }
122301
- this.expectKeyword("from");
122300
+ const fromToken = this.currentToken();
122301
+ if (fromToken.type !== "identifier" || fromToken.value !== "from" || fromToken.end.offset - fromToken.start.offset !== fromToken.value.length) {
122302
+ throw new Error(
122303
+ `Expected 'from' at line ${fromToken.start.line}, column ${fromToken.start.column}.`
122304
+ );
122305
+ }
122306
+ this.index += 1;
122302
122307
  const sourceToken = this.currentToken();
122303
122308
  if (sourceToken.type !== "string") {
122304
122309
  throw unexpectedTokenError(sourceToken);
@@ -155554,7 +155559,7 @@ var init_package2 = __esm({
155554
155559
  "package.json"() {
155555
155560
  package_default2 = {
155556
155561
  name: "poe-code",
155557
- version: "11.0.5",
155562
+ version: "11.0.7",
155558
155563
  description: "CLI tool to configure Poe API for developer workflows.",
155559
155564
  license: "MIT",
155560
155565
  type: "module",