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

@anthropic-ai/sdk

Package Overview
Dependencies
Maintainers
0
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anthropic-ai/sdk - npm Package Compare versions

Comparing version 0.24.1 to 0.24.2

6

_vendor/partial-json-parser/parser.js

@@ -125,3 +125,3 @@ "use strict";

}
if (value == 'true' || value == 'false') {
if (value == 'true' || value == 'false' || value === 'null') {
tokens.push({

@@ -133,3 +133,5 @@ type: 'name',

else {
throw new Error(`Invalid token: ${value} is not a valid token!`);
// unknown token, e.g. `nul` which isn't quite `null`
current++;
continue;
}

@@ -136,0 +138,0 @@ continue;

{
"name": "@anthropic-ai/sdk",
"version": "0.24.1",
"version": "0.24.2",
"description": "The official TypeScript library for the Anthropic API",

@@ -5,0 +5,0 @@ "author": "Anthropic <support@anthropic.com>",

@@ -154,3 +154,3 @@ type Token = {

if (value == 'true' || value == 'false') {
if (value == 'true' || value == 'false' || value === 'null') {
tokens.push({

@@ -161,3 +161,5 @@ type: 'name',

} else {
throw new Error(`Invalid token: ${value} is not a valid token!`);
// unknown token, e.g. `nul` which isn't quite `null`
current++;
continue;
}

@@ -164,0 +166,0 @@ continue;

@@ -1,1 +0,1 @@

export const VERSION = '0.24.1'; // x-release-please-version
export const VERSION = '0.24.2'; // x-release-please-version

@@ -1,2 +0,2 @@

export declare const VERSION = "0.24.1";
export declare const VERSION = "0.24.2";
//# sourceMappingURL=version.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.VERSION = void 0;
exports.VERSION = '0.24.1'; // x-release-please-version
exports.VERSION = '0.24.2'; // x-release-please-version
//# sourceMappingURL=version.js.map

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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