Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

langsmith

Package Overview
Dependencies
Maintainers
5
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

langsmith - npm Package Compare versions

Comparing version 0.2.2-rc.0 to 0.2.2-rc.1

2

dist/index.d.ts

@@ -5,2 +5,2 @@ export { Client, type ClientConfig } from "./client.js";

export { overrideFetchImplementation } from "./singletons/fetch.js";
export declare const __version__ = "0.2.2-rc.0";
export declare const __version__ = "0.2.2-rc.1";

@@ -5,2 +5,2 @@ export { Client } from "./client.js";

// Update using yarn bump-version
export const __version__ = "0.2.2-rc.0";
export const __version__ = "0.2.2-rc.1";

@@ -15,30 +15,39 @@ /* eslint-disable */

export function stringify(obj, replacer, spacer, options) {
if (typeof options === "undefined") {
options = defaultOptions();
try {
return JSON.stringify(obj, replacer, spacer);
}
decirc(obj, "", 0, [], undefined, 0, options);
var res;
try {
if (replacerStack.length === 0) {
res = JSON.stringify(obj, replacer, spacer);
catch (e) {
// Fall back to more complex stringify if circular reference
if (!e.message?.includes("Converting circular structure to JSON")) {
return "[Unserializable]";
}
else {
res = JSON.stringify(obj, replaceGetterValues(replacer), spacer);
if (typeof options === "undefined") {
options = defaultOptions();
}
}
catch (_) {
return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]");
}
finally {
while (arr.length !== 0) {
var part = arr.pop();
if (part.length === 4) {
Object.defineProperty(part[0], part[1], part[3]);
decirc(obj, "", 0, [], undefined, 0, options);
var res;
try {
if (replacerStack.length === 0) {
res = JSON.stringify(obj, replacer, spacer);
}
else {
part[0][part[1]] = part[2];
res = JSON.stringify(obj, replaceGetterValues(replacer), spacer);
}
}
catch (_) {
return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]");
}
finally {
while (arr.length !== 0) {
var part = arr.pop();
if (part.length === 4) {
Object.defineProperty(part[0], part[1], part[3]);
}
else {
part[0][part[1]] = part[2];
}
}
}
return res;
}
return res;
}

@@ -45,0 +54,0 @@ function setReplace(replace, val, k, parent) {

{
"name": "langsmith",
"version": "0.2.2-rc.0",
"version": "0.2.2-rc.1",
"description": "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform.",

@@ -5,0 +5,0 @@ "packageManager": "yarn@1.22.19",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc