diff --git a/.changeset/cyan-dingos-compare.md b/.changeset/cyan-dingos-compare.md new file mode 100644 index 0000000000000000000000000000000000000000..050f8e368c1f4829ec2592005636a66af79e0d80 --- /dev/null +++ b/.changeset/cyan-dingos-compare.md @@ -0,0 +1,5 @@ +--- +"@llamaindex/readers": patch +--- + +fix: import error in cjs diff --git a/packages/readers/package.json b/packages/readers/package.json index 24b3684e8b78dbf99bcdaec259875dd48d89478f..7d376070ee7b97ee5acae23fbc33af76553b9efe 100644 --- a/packages/readers/package.json +++ b/packages/readers/package.json @@ -7,14 +7,6 @@ "./node/hook": "./node/dist/hook.js", "./node": "./node/dist/index.js", "./assembly-ai": { - "edge-light": { - "types": "./assembly-ai/dist/index.edge-light.d.ts", - "default": "./assembly-ai/dist/index.edge-light.js" - }, - "workerd": { - "types": "./assembly-ai/dist/index.workerd.d.ts", - "default": "./assembly-ai/dist/index.workerd.js" - }, "require": { "types": "./assembly-ai/dist/index.d.cts", "default": "./assembly-ai/dist/index.cjs" @@ -25,14 +17,6 @@ } }, "./cosmosdb": { - "edge-light": { - "types": "./cosmosdb/dist/index.edge-light.d.ts", - "default": "./cosmosdb/dist/index.edge-light.js" - }, - "workerd": { - "types": "./cosmosdb/dist/index.workerd.d.ts", - "default": "./cosmosdb/dist/index.workerd.js" - }, "require": { "types": "./cosmosdb/dist/index.d.cts", "default": "./cosmosdb/dist/index.cjs" @@ -79,14 +63,6 @@ } }, "./discord": { - "edge-light": { - "types": "./discord/dist/index.edge-light.d.ts", - "default": "./discord/dist/index.edge-light.js" - }, - "workerd": { - "types": "./discord/dist/index.workerd.d.ts", - "default": "./discord/dist/index.workerd.js" - }, "require": { "types": "./discord/dist/index.d.cts", "default": "./discord/dist/index.cjs" @@ -97,14 +73,6 @@ } }, "./docx": { - "edge-light": { - "types": "./docx/dist/index.edge-light.d.ts", - "default": "./docx/dist/index.edge-light.js" - }, - "workerd": { - "types": "./docx/dist/index.workerd.d.ts", - "default": "./docx/dist/index.workerd.js" - }, "require": { "types": "./docx/dist/index.d.cts", "default": "./docx/dist/index.cjs" @@ -115,14 +83,6 @@ } }, "./html": { - "edge-light": { - "types": "./html/dist/index.edge-light.d.ts", - "default": "./html/dist/index.edge-light.js" - }, - "workerd": { - "types": "./html/dist/index.workerd.d.ts", - "default": "./html/dist/index.workerd.js" - }, "require": { "types": "./html/dist/index.d.cts", "default": "./html/dist/index.cjs" @@ -133,14 +93,6 @@ } }, "./image": { - "edge-light": { - "types": "./image/dist/index.edge-light.d.ts", - "default": "./image/dist/index.edge-light.js" - }, - "workerd": { - "types": "./image/dist/index.workerd.d.ts", - "default": "./image/dist/index.workerd.js" - }, "require": { "types": "./image/dist/index.d.cts", "default": "./image/dist/index.cjs" @@ -151,14 +103,6 @@ } }, "./json": { - "edge-light": { - "types": "./json/dist/index.edge-light.d.ts", - "default": "./json/dist/index.edge-light.js" - }, - "workerd": { - "types": "./json/dist/index.workerd.d.ts", - "default": "./json/dist/index.workerd.js" - }, "require": { "types": "./json/dist/index.d.cts", "default": "./json/dist/index.cjs" @@ -169,14 +113,6 @@ } }, "./markdown": { - "edge-light": { - "types": "./markdown/dist/index.edge-light.d.ts", - "default": "./markdown/dist/index.edge-light.js" - }, - "workerd": { - "types": "./markdown/dist/index.workerd.d.ts", - "default": "./markdown/dist/index.workerd.js" - }, "require": { "types": "./markdown/dist/index.d.cts", "default": "./markdown/dist/index.cjs" @@ -187,14 +123,6 @@ } }, "./mongo": { - "edge-light": { - "types": "./mongo/dist/index.edge-light.d.ts", - "default": "./mongo/dist/index.edge-light.js" - }, - "workerd": { - "types": "./mongo/dist/index.workerd.d.ts", - "default": "./mongo/dist/index.workerd.js" - }, "require": { "types": "./mongo/dist/index.d.cts", "default": "./mongo/dist/index.cjs" @@ -205,14 +133,6 @@ } }, "./notion": { - "edge-light": { - "types": "./notion/dist/index.edge-light.d.ts", - "default": "./notion/dist/index.edge-light.js" - }, - "workerd": { - "types": "./notion/dist/index.workerd.d.ts", - "default": "./notion/dist/index.workerd.js" - }, "require": { "types": "./notion/dist/index.d.cts", "default": "./notion/dist/index.cjs" @@ -223,14 +143,6 @@ } }, "./pdf": { - "edge-light": { - "types": "./pdf/dist/index.edge-light.d.ts", - "default": "./pdf/dist/index.edge-light.js" - }, - "workerd": { - "types": "./pdf/dist/index.workerd.d.ts", - "default": "./pdf/dist/index.workerd.js" - }, "require": { "types": "./pdf/dist/index.d.cts", "default": "./pdf/dist/index.cjs" @@ -241,14 +153,6 @@ } }, "./text": { - "edge-light": { - "types": "./text/dist/index.edge-light.d.ts", - "default": "./text/dist/index.edge-light.js" - }, - "workerd": { - "types": "./text/dist/index.workerd.d.ts", - "default": "./text/dist/index.workerd.js" - }, "require": { "types": "./text/dist/index.d.cts", "default": "./text/dist/index.cjs"