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

@braintrust/core

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@braintrust/core - npm Package Compare versions

Comparing version 0.0.15 to 0.0.16

dist/main/index.d.mts

3

dist/index.d.ts

@@ -33,2 +33,3 @@ declare const TRANSACTION_ID_FIELD = "_xact_id";

declare function mergeDicts(mergeInto: Record<string, unknown>, mergeFrom: Record<string, unknown>): Record<string, unknown>;
declare function capitalize(s: string, sep?: string): string;

@@ -63,2 +64,2 @@ declare enum SpanTypeAttribute {

export { ALL_ROW_ID_FIELDS, AUDIT_METADATA_FIELD, AUDIT_SOURCE_FIELD, CREATED_FIELD, type CollectMetadata, type GitFields, type GitMetadataSettings, ID_FIELD, IS_MERGE_FIELD, MERGE_PATHS_FIELD, OBJECT_DELETE_FIELD, PARENT_ID_FIELD, type RepoStatus, type Score, type Scorer, type ScorerArgs, type Source, SpanTypeAttribute, TRANSACTION_ID_FIELD, type TransactionId, VALID_SOURCES, mergeDicts, mergeGitMetadataSettings, mergeRowBatch };
export { ALL_ROW_ID_FIELDS, AUDIT_METADATA_FIELD, AUDIT_SOURCE_FIELD, CREATED_FIELD, type CollectMetadata, type GitFields, type GitMetadataSettings, ID_FIELD, IS_MERGE_FIELD, MERGE_PATHS_FIELD, OBJECT_DELETE_FIELD, PARENT_ID_FIELD, type RepoStatus, type Score, type Scorer, type ScorerArgs, type Source, SpanTypeAttribute, TRANSACTION_ID_FIELD, type TransactionId, VALID_SOURCES, capitalize, mergeDicts, mergeGitMetadataSettings, mergeRowBatch };

@@ -35,2 +35,3 @@ "use strict";

VALID_SOURCES: () => VALID_SOURCES,
capitalize: () => capitalize,
mergeDicts: () => mergeDicts,

@@ -77,2 +78,6 @@ mergeGitMetadataSettings: () => mergeGitMetadataSettings,

}
function capitalize(s, sep) {
const items = sep ? s.split(sep) : [s];
return items.map((s2) => s2 ? s2.charAt(0).toUpperCase() + s2.slice(1) : s2).join(sep || "");
}

@@ -165,2 +170,3 @@ // src/merge_row_batch.ts

VALID_SOURCES,
capitalize,
mergeDicts,

@@ -167,0 +173,0 @@ mergeGitMetadataSettings,

{
"name": "@braintrust/core",
"version": "0.0.15",
"version": "0.0.16",
"description": "Shared core dependencies for Braintrust packages",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"main": "./dist/main/index.js",
"module": "./dist/main/index.mjs",
"types": "./dist/main/index.d.ts",
"scripts": {

@@ -16,8 +16,19 @@ "build": "tsup",

"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"module": "./dist/index.mjs",
"require": "./dist/index.js"
"types": "./dist/main/index.d.ts",
"import": "./dist/main/index.mjs",
"module": "./dist/main/index.mjs",
"require": "./dist/main/index.js"
},
"./typespecs": {
"types": "./dist/typespecs/index.d.ts",
"import": "./dist/typespecs/index.mjs",
"module": "./dist/typespecs/index.mjs",
"require": "./dist/typespecs/index.js"
},
"./typespecs-stainless": {
"types": "./dist/typespecs-stainless/index.d.ts",
"import": "./dist/typespecs-stainless/index.mjs",
"module": "./dist/typespecs-stainless/index.mjs",
"require": "./dist/typespecs-stainless/index.js"
}

@@ -47,3 +58,7 @@ },

"typescript": "^5.3.3"
},
"dependencies": {
"@asteasolutions/zod-to-openapi": "^6.3.1",
"zod": "^3.22.4"
}
}

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