poe-code 11.0.5 → 11.0.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "poe-code",
3
- "version": "11.0.5",
3
+ "version": "11.0.6",
4
4
  "description": "CLI tool to configure Poe API for developer workflows.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -27,7 +27,7 @@ import {
27
27
  validateMigrationSemantics,
28
28
  validateSnapshotData,
29
29
  validateSnapshotMigration
30
- } from "./chunk-WC2N7PM5.js";
30
+ } from "./chunk-OPNWSDXC.js";
31
31
 
32
32
  // packages/safejs/src/migrate.ts
33
33
  import { createHash } from "node:crypto";
@@ -8048,4 +8048,4 @@ export {
8048
8048
  parseMcpConfig,
8049
8049
  makeMcpModule
8050
8050
  };
8051
- //# sourceMappingURL=chunk-EWC7GLGM.js.map
8051
+ //# sourceMappingURL=chunk-NP42RTIU.js.map
@@ -245,7 +245,6 @@ var KEYWORDS = /* @__PURE__ */ new Set([
245
245
  "await",
246
246
  "yield",
247
247
  "import",
248
- "from",
249
248
  "as",
250
249
  "true",
251
250
  "false",
@@ -2545,7 +2544,13 @@ var Parser = class {
2545
2544
  }
2546
2545
  ];
2547
2546
  }
2548
- this.expectKeyword("from");
2547
+ const fromToken = this.currentToken();
2548
+ if (fromToken.type !== "identifier" || fromToken.value !== "from" || fromToken.end.offset - fromToken.start.offset !== fromToken.value.length) {
2549
+ throw new Error(
2550
+ `Expected 'from' at line ${fromToken.start.line}, column ${fromToken.start.column}.`
2551
+ );
2552
+ }
2553
+ this.index += 1;
2549
2554
  const sourceToken = this.currentToken();
2550
2555
  if (sourceToken.type !== "string") {
2551
2556
  throw unexpectedTokenError(sourceToken);
@@ -28976,4 +28981,4 @@ export {
28976
28981
  FileSnapshotBackend,
28977
28982
  run
28978
28983
  };
28979
- //# sourceMappingURL=chunk-WC2N7PM5.js.map
28984
+ //# sourceMappingURL=chunk-OPNWSDXC.js.map