Skip to content

Commit

Permalink
Merge pull request langchain-ai#1626 from hwchase17/release
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
nfcampos authored Jun 13, 2023
2 parents 9977c96 + 4d3b0a1 commit b1c30bb
Show file tree
Hide file tree
Showing 15 changed files with 26 additions and 28 deletions.
1 change: 0 additions & 1 deletion langchain/docstore.cjs

This file was deleted.

1 change: 0 additions & 1 deletion langchain/docstore.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion langchain/docstore.js

This file was deleted.

5 changes: 3 additions & 2 deletions langchain/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "langchain",
"version": "0.0.92",
"version": "0.0.93",
"description": "Typescript bindings for langchain",
"type": "module",
"engines": {
Expand Down Expand Up @@ -706,7 +706,8 @@
"@anthropic-ai/sdk": "^0.4.3",
"ansi-styles": "^5.0.0",
"binary-extensions": "^2.2.0",
"case-anything": "^2.1.13",
"camelcase": "6",
"decamelize": "5",
"expr-eval": "^2.0.2",
"flat": "^5.0.2",
"js-tiktoken": "^1.0.6",
Expand Down
1 change: 0 additions & 1 deletion langchain/retrievers/self_query/weaviate.cjs

This file was deleted.

1 change: 0 additions & 1 deletion langchain/retrievers/self_query/weaviate.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion langchain/retrievers/self_query/weaviate.js

This file was deleted.

1 change: 1 addition & 0 deletions langchain/src/load/import_constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export const optionalImportEntrypoints = [
"langchain/retrievers/self_query/functional",
"langchain/retrievers/self_query/pinecone",
"langchain/retrievers/self_query/supabase",
"langchain/retrievers/self_query/weaviate",
"langchain/cache/momento",
"langchain/cache/redis",
"langchain/stores/doc/gcs",
Expand Down
3 changes: 3 additions & 0 deletions langchain/src/load/import_type.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,9 @@ export interface OptionalImportMap {
"langchain/retrievers/self_query/supabase"?:
| typeof import("../retrievers/self_query/supabase.js")
| Promise<typeof import("../retrievers/self_query/supabase.js")>;
"langchain/retrievers/self_query/weaviate"?:
| typeof import("../retrievers/self_query/weaviate.js")
| Promise<typeof import("../retrievers/self_query/weaviate.js")>;
"langchain/cache/momento"?:
| typeof import("../cache/momento.js")
| Promise<typeof import("../cache/momento.js")>;
Expand Down
3 changes: 2 additions & 1 deletion langchain/src/load/map_keys.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { snakeCase, camelCase } from "case-anything";
import snakeCase from "decamelize";
import camelCase from "camelcase";

export interface SerializedFields {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
Expand Down
1 change: 0 additions & 1 deletion langchain/vectorstores/typesense.cjs

This file was deleted.

1 change: 0 additions & 1 deletion langchain/vectorstores/typesense.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion langchain/vectorstores/typesense.js

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"test:int:deps": "docker compose -f test-int-deps-docker-compose.yml up -d",
"test:int:deps:down": "docker compose -f test-int-deps-docker-compose.yml down",
"test:exports:docker": "docker compose up",
"publish": "bash scripts/release-branch.sh && turbo run build lint test test:integration && yarn run test:exports:docker && yarn workspace langchain run release && echo '🔗 Open https://github.com/hwchase17/langchainjs/compare/release?expand=1 and merge the release PR'",
"publish": "bash scripts/release-branch.sh && turbo run --filter langchain build lint test test:integration && yarn run test:exports:docker && yarn workspace langchain run release && echo '🔗 Open https://github.com/hwchase17/langchainjs/compare/release?expand=1 and merge the release PR'",
"example": "yarn workspace examples start",
"prepare": "husky install",
"precommit": "turbo run precommit",
Expand Down
31 changes: 16 additions & 15 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10734,20 +10734,20 @@ __metadata:
languageName: node
linkType: hard

"camelcase@npm:6, camelcase@npm:^6.2.0, camelcase@npm:^6.2.1":
version: 6.3.0
resolution: "camelcase@npm:6.3.0"
checksum: 8c96818a9076434998511251dcb2761a94817ea17dbdc37f47ac080bd088fc62c7369429a19e2178b993497132c8cbcf5cc1f44ba963e76782ba469c0474938d
languageName: node
linkType: hard

"camelcase@npm:^5.3.1":
version: 5.3.1
resolution: "camelcase@npm:5.3.1"
checksum: e6effce26b9404e3c0f301498184f243811c30dfe6d0b9051863bd8e4034d09c8c2923794f280d6827e5aa055f6c434115ff97864a16a963366fb35fd673024b
languageName: node
linkType: hard

"camelcase@npm:^6.2.0, camelcase@npm:^6.2.1":
version: 6.3.0
resolution: "camelcase@npm:6.3.0"
checksum: 8c96818a9076434998511251dcb2761a94817ea17dbdc37f47ac080bd088fc62c7369429a19e2178b993497132c8cbcf5cc1f44ba963e76782ba469c0474938d
languageName: node
linkType: hard

"camelcase@npm:^7.0.0":
version: 7.0.1
resolution: "camelcase@npm:7.0.1"
Expand Down Expand Up @@ -10781,13 +10781,6 @@ __metadata:
languageName: node
linkType: hard

"case-anything@npm:^2.1.13":
version: 2.1.13
resolution: "case-anything@npm:2.1.13"
checksum: c39c69d7e418337b6006a9692f13c2b257e907e867149a102e9beb7e9d2d52da14e754da1f4e4ce82a866d86d93047e522f64360bda54e7d7c308f4cdd736c3d
languageName: node
linkType: hard

"case-sensitive-paths-webpack-plugin@npm:^2.4.0":
version: 2.4.0
resolution: "case-sensitive-paths-webpack-plugin@npm:2.4.0"
Expand Down Expand Up @@ -12173,6 +12166,13 @@ __metadata:
languageName: node
linkType: hard

"decamelize@npm:5":
version: 5.0.1
resolution: "decamelize@npm:5.0.1"
checksum: 7c3b1ed4b3e60e7fbc00a35fb248298527c1cdfe603e41dfcf05e6c4a8cb9efbee60630deb677ed428908fb4e74e322966c687a094d1478ddc9c3a74e9dc7140
languageName: node
linkType: hard

"decimal.js@npm:^10.2.1, decimal.js@npm:^10.3.1":
version: 10.4.3
resolution: "decimal.js@npm:10.4.3"
Expand Down Expand Up @@ -18628,11 +18628,12 @@ __metadata:
apify-client: ^2.7.1
axios: ^0.26.0
binary-extensions: ^2.2.0
case-anything: ^2.1.13
camelcase: 6
cheerio: ^1.0.0-rc.12
chromadb: ^1.5.2
cohere-ai: ^5.0.2
d3-dsv: ^2.0.0
decamelize: 5
dotenv: ^16.0.3
dpdm: ^3.12.0
epub2: ^3.0.1
Expand Down

0 comments on commit b1c30bb

Please sign in to comment.