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

@platformatic/client

Package Overview
Dependencies
Maintainers
8
Versions
260
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@platformatic/client - npm Package Compare versions

Comparing version 2.17.0 to 2.18.0

9

index.js

@@ -16,3 +16,3 @@ 'use strict'

const camelCase = require('camelcase')
const { FormData } = require('undici')
const { FormData, errors: { UndiciError } } = require('undici')
function generateOperationId (path, method, methodMeta, all) {

@@ -297,4 +297,9 @@ let operationId = null

const requestError = new errors.UnexpectedCallFailureError(err.toString())
if (err.statusCode) {
if (err instanceof UndiciError) {
requestError.status = err.status
requestError.statusCode = err.statusCode
requestError.headers = err.headers
requestError.body = err.body
requestError.data = err.data
requestError.socket = err.socket
}

@@ -301,0 +306,0 @@ throw requestError

{
"name": "@platformatic/client",
"version": "2.17.0",
"version": "2.18.0",
"description": "A client for all platformatic backends",

@@ -27,4 +27,4 @@ "main": "index.js",

"typescript": "^5.4.2",
"@platformatic/telemetry": "2.17.0",
"@platformatic/utils": "2.17.0"
"@platformatic/telemetry": "2.18.0",
"@platformatic/utils": "2.18.0"
},

@@ -31,0 +31,0 @@ "dependencies": {

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