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

@boundaryml/baml

Package Overview
Dependencies
Maintainers
0
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@boundaryml/baml - npm Package Compare versions

Comparing version 0.51.1 to 0.51.2

2

native.d.ts

@@ -109,2 +109,4 @@ /* auto-generated by NAPI-RS */

null(): FieldType
map(key: FieldType, value: FieldType): FieldType
union(types: Array<FieldType>): FieldType
}

@@ -111,0 +113,0 @@

14

package.json
{
"name": "@boundaryml/baml",
"version": "0.51.1",
"version": "0.51.2",
"description": "BAML typescript bindings (package.json)",

@@ -83,9 +83,9 @@ "repository": {

"optionalDependencies": {
"@boundaryml/baml-darwin-arm64": "0.51.1",
"@boundaryml/baml-win32-arm64-msvc": "0.51.1",
"@boundaryml/baml-linux-arm64-gnu": "0.51.1",
"@boundaryml/baml-darwin-x64": "0.51.1",
"@boundaryml/baml-win32-x64-msvc": "0.51.1",
"@boundaryml/baml-linux-x64-gnu": "0.51.1"
"@boundaryml/baml-darwin-arm64": "0.51.2",
"@boundaryml/baml-win32-arm64-msvc": "0.51.2",
"@boundaryml/baml-linux-arm64-gnu": "0.51.2",
"@boundaryml/baml-darwin-x64": "0.51.2",
"@boundaryml/baml-win32-x64-msvc": "0.51.2",
"@boundaryml/baml-linux-x64-gnu": "0.51.2"
}
}

@@ -16,2 +16,3 @@ import { ClassPropertyBuilder as _ClassPropertyBuilder, EnumValueBuilder, FieldType, TypeBuilder as _TypeBuilder } from './native';

_tb(): _TypeBuilder;
null(): FieldType;
string(): FieldType;

@@ -22,2 +23,4 @@ int(): FieldType;

list(type: FieldType): FieldType;
map(keyType: FieldType, valueType: FieldType): FieldType;
union(types: FieldType[]): FieldType;
classBuilder<Name extends string, Properties extends string>(name: Name, properties: Properties[]): ClassBuilder<Name, Properties>;

@@ -24,0 +27,0 @@ enumBuilder<Name extends string, T extends string>(name: Name, values: T[]): EnumBuilder<Name, T>;

@@ -17,2 +17,5 @@ "use strict";

}
null() {
return this.tb.null();
}
string() {

@@ -33,2 +36,8 @@ return this.tb.string();

}
map(keyType, valueType) {
return this.tb.map(keyType, valueType);
}
union(types) {
return this.tb.union(types);
}
classBuilder(name, properties) {

@@ -35,0 +44,0 @@ return new ClassBuilder(this.tb, name, new Set(properties));

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