@workos/oagen 0.19.3 → 0.19.4
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/cli/index.mjs +1 -1
- package/dist/cli/index.mjs.map +1 -1
- package/dist/{diff-DQ9greXC.mjs → diff-P41Nm-Pr.mjs} +2 -2
- package/dist/diff-P41Nm-Pr.mjs.map +1 -0
- package/dist/index.mjs +1 -1
- package/dist/verify/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/diff-DQ9greXC.mjs.map +0 -1
|
@@ -2411,7 +2411,7 @@ function collectTsImports(lines) {
|
|
|
2411
2411
|
* Mutates `resultLines` in place.
|
|
2412
2412
|
*/
|
|
2413
2413
|
function spliceExtraImports(existingLines, resultLines) {
|
|
2414
|
-
const isPythonSimpleImport = (l) => /^import\s+\w/.test(l) && !/\sfrom\s/.test(l);
|
|
2414
|
+
const isPythonSimpleImport = (l) => /^import\s+\w/.test(l) && !/\sfrom\s/.test(l) && !/[{}]/.test(l);
|
|
2415
2415
|
const existingSimple = new Set(existingLines.filter(isPythonSimpleImport).map((l) => l.trim()));
|
|
2416
2416
|
const generatedSimple = new Set(resultLines.filter(isPythonSimpleImport).map((l) => l.trim()));
|
|
2417
2417
|
const extraSimple = [...existingSimple].filter((l) => !generatedSimple.has(l));
|
|
@@ -3475,4 +3475,4 @@ function summarize(changes) {
|
|
|
3475
3475
|
//#endregion
|
|
3476
3476
|
export { MANIFEST_FILENAME as a, treeShakeFiles as c, collectReferencedNames as d, generateAllFiles as f, resolveOperations as h, generate as i, applyFileHeaders as l, deriveMethodName as m, getEmitter as n, integrateGeneratedFiles as o, generateFiles as p, registerEmitter as r, mapFilesForTargetIntegration as s, diffSpecs as t, buildEmitterContext as u };
|
|
3477
3477
|
|
|
3478
|
-
//# sourceMappingURL=diff-
|
|
3478
|
+
//# sourceMappingURL=diff-P41Nm-Pr.mjs.map
|