Compare commits

..

3 Commits

Author SHA1 Message Date
github-actions[bot] 456d3fb0b3 Release 0.3.6 (#810)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-05 18:40:58 -05:00
Alex Yang efa326a871 chore: update package.json and usage of lodash (#809) 2024-05-05 18:30:46 -05:00
Alex Yang 5765b637ce build: fix jsr release 2024-05-03 18:21:08 -05:00
23 changed files with 121 additions and 24 deletions
+7
View File
@@ -1,5 +1,12 @@
# docs
## 0.0.14
### Patch Changes
- Updated dependencies [efa326a]
- llamaindex@0.3.6
## 0.0.13
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "docs",
"version": "0.0.13",
"version": "0.0.14",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
+9
View File
@@ -1,5 +1,14 @@
# llamaindex
## 0.3.6
### Patch Changes
- efa326a: chore: update package.json
- Updated dependencies [efa326a]
- Updated dependencies [efa326a]
- @llamaindex/env@0.1.2
## 0.3.5
### Patch Changes
@@ -1,5 +1,12 @@
# @llamaindex/cloudflare-worker-agent-test
## 0.0.7
### Patch Changes
- Updated dependencies [efa326a]
- llamaindex@0.3.6
## 0.0.6
### Patch Changes
@@ -1,6 +1,6 @@
{
"name": "@llamaindex/cloudflare-worker-agent-test",
"version": "0.0.6",
"version": "0.0.7",
"type": "module",
"private": true,
"scripts": {
@@ -1,5 +1,12 @@
# @llamaindex/next-agent-test
## 0.1.7
### Patch Changes
- Updated dependencies [efa326a]
- llamaindex@0.3.6
## 0.1.6
### Patch Changes
@@ -1,6 +1,6 @@
{
"name": "@llamaindex/next-agent-test",
"version": "0.1.6",
"version": "0.1.7",
"private": true,
"scripts": {
"dev": "next dev",
@@ -1,5 +1,11 @@
# test-edge-runtime
## 0.1.8
### Patch Changes
- @llamaindex/edge@0.3.6
## 0.1.7
### Patch Changes
@@ -1,6 +1,6 @@
{
"name": "@llamaindex/nextjs-edge-runtime-test",
"version": "0.1.7",
"version": "0.1.8",
"private": true,
"scripts": {
"dev": "next dev",
@@ -1,5 +1,12 @@
# @llamaindex/waku-query-engine-test
## 0.0.7
### Patch Changes
- Updated dependencies [efa326a]
- llamaindex@0.3.6
## 0.0.6
### Patch Changes
@@ -1,6 +1,6 @@
{
"name": "@llamaindex/waku-query-engine-test",
"version": "0.0.6",
"version": "0.0.7",
"type": "module",
"private": true,
"scripts": {
+3 -3
View File
@@ -1,11 +1,11 @@
{
"name": "@llamaindex/core",
"version": "0.3.5",
"version": "0.3.6",
"exports": "./src/index.ts",
"imports": {
"@llamaindex/env": "jsr:@llamaindex/env@0.1.1"
"@llamaindex/env": "jsr:@llamaindex/env@0.1.2"
},
"publish": {
"include": ["LICENSE", "README.md", "src/**/*"]
"include": ["LICENSE", "README.md", "src/**/*", "jsr.json"]
}
}
+17 -1
View File
@@ -1,9 +1,25 @@
{
"name": "llamaindex",
"version": "0.3.5",
"version": "0.3.6",
"expectedMinorVersion": "3",
"license": "MIT",
"type": "module",
"keywords": [
"llm",
"llama",
"openai",
"gpt",
"data science",
"prompt",
"prompt engineering",
"chatgpt",
"machine learning",
"ml",
"embedding",
"vectorstore",
"data framework",
"llamaindex"
],
"dependencies": {
"@anthropic-ai/sdk": "^0.20.6",
"@aws-crypto/sha256-js": "^5.2.0",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@llamaindex/edge",
"version": "0.3.5",
"version": "0.3.6",
"license": "MIT",
"type": "module",
"dependencies": {
+7
View File
@@ -1,5 +1,12 @@
# @llamaindex/env
## 0.1.2
### Patch Changes
- efa326a: chore: update package.json
- efa326a: refactor: remove usage of lodash
## 0.1.1
### Patch Changes
+7
View File
@@ -0,0 +1,7 @@
# @llamaindex/env
> Environment wrapper, supports all JS environment including node, deno, bun, edge runtime, and cloudflare worker.
## LICENSE
MIT
+2 -2
View File
@@ -1,11 +1,11 @@
{
"name": "@llamaindex/env",
"version": "0.1.1",
"version": "0.1.2",
"exports": {
".": "./src/index.ts",
"./type": "./src/type.ts"
},
"publish": {
"include": ["LICENSE", "README.md", "src/**/*.ts"]
"include": ["LICENSE", "README.md", "src/**/*.ts", "jsr.json"]
}
}
+18 -3
View File
@@ -1,10 +1,26 @@
{
"name": "@llamaindex/env",
"description": "environment wrapper, supports all JS environment including node, deno, bun, edge runtime, and cloudflare worker",
"version": "0.1.1",
"version": "0.1.2",
"type": "module",
"types": "dist/type/index.d.ts",
"main": "dist/cjs/index.js",
"keywords": [
"llm",
"llama",
"openai",
"gpt",
"data science",
"prompt",
"prompt engineering",
"chatgpt",
"machine learning",
"ml",
"embedding",
"vectorstore",
"data framework",
"llamaindex"
],
"exports": {
".": {
"node": {
@@ -67,8 +83,7 @@
},
"dependencies": {
"@types/lodash": "^4.14.202",
"@types/node": "^20.12.7",
"lodash": "^4.17.21"
"@types/node": "^20.12.7"
},
"peerDependencies": {
"@aws-crypto/sha256-js": "^5.2.0",
+7
View File
@@ -1,3 +1,10 @@
/**
* Polyfill implementation some node.js APIs.
*
* The code should be compatible with any JS runtime.
*
* @module
*/
import { Sha256 } from "@aws-crypto/sha256-js";
import pathe from "pathe";
import { InMemoryFileSystem, type CompleteFileSystem } from "./type.js";
+3 -5
View File
@@ -1,5 +1,3 @@
import _ from "lodash";
/**
* A filesystem interface that is meant to be compatible with
* the 'fs' module from Node.js.
@@ -41,14 +39,14 @@ export class InMemoryFileSystem implements CompleteFileSystem {
content: string,
options?: unknown,
): Promise<void> {
this.files[path] = _.cloneDeep(content);
this.files[path] = structuredClone(content);
}
async readFile(path: string): Promise<string> {
if (!(path in this.files)) {
throw new Error(`File ${path} does not exist`);
}
return _.cloneDeep(this.files[path]);
return structuredClone(this.files[path]);
}
async access(path: string): Promise<void> {
@@ -58,7 +56,7 @@ export class InMemoryFileSystem implements CompleteFileSystem {
}
async mkdir(path: string): Promise<undefined> {
this.files[path] = _.get(this.files, path, null);
this.files[path] = this.files[path] ?? null;
}
async readdir(path: string): Promise<string[]> {
+7
View File
@@ -1,5 +1,12 @@
# @llamaindex/experimental
## 0.0.23
### Patch Changes
- Updated dependencies [efa326a]
- llamaindex@0.3.6
## 0.0.22
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@llamaindex/experimental",
"description": "Experimental package for LlamaIndexTS",
"version": "0.0.22",
"version": "0.0.23",
"type": "module",
"types": "dist/type/index.d.ts",
"main": "dist/cjs/index.js",
-3
View File
@@ -628,9 +628,6 @@ importers:
'@types/node':
specifier: ^20.12.7
version: 20.12.7
lodash:
specifier: ^4.17.21
version: 4.17.21
devDependencies:
'@aws-crypto/sha256-js':
specifier: ^5.2.0