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 +8 -3
- package/dist/index.js.map +2 -2
- package/dist/metafile.json +1 -1
- package/package.json +1 -1
- package/packages/safejs/dist/chunks/{chunk-EWC7GLGM.js → chunk-M3VDOFN5.js} +15 -8
- package/packages/safejs/dist/chunks/chunk-M3VDOFN5.js.map +7 -0
- package/packages/safejs/dist/chunks/{chunk-WC2N7PM5.js → chunk-OPNWSDXC.js} +8 -3
- package/packages/safejs/dist/chunks/chunk-OPNWSDXC.js.map +7 -0
- package/packages/safejs/dist/cli.js +9 -12
- package/packages/safejs/dist/cli.js.map +2 -2
- package/packages/safejs/dist/core.js +1 -1
- package/packages/safejs/dist/example-runner.js +6 -6
- package/packages/safejs/dist/index.js +8 -10
- package/packages/safejs/dist/index.js.map +2 -2
- package/packages/safejs/dist/loader/extract-block.d.ts +1 -0
- package/packages/safejs/dist/loader/extract-block.js +9 -6
- package/packages/safejs/dist/parse/parser.js +7 -1
- package/packages/safejs/dist/parse/tokenizer.js +0 -1
- package/packages/safejs/dist/runner/run-harness.js +6 -9
- package/packages/safejs/dist/chunks/chunk-EWC7GLGM.js.map +0 -7
- package/packages/safejs/dist/chunks/chunk-WC2N7PM5.js.map +0 -7
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.
|
|
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.
|
|
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",
|