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

@platformatic/client

Package Overview
Dependencies
Maintainers
6
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 0.30.1 to 0.31.0

2

index.js

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

}
operationId = method.toLowerCase() + stringToUpdate.split('/').map(capitalize).join('')
operationId = method.toLowerCase() + stringToUpdate.split(/[/-]+/).map(capitalize).join('')
}

@@ -21,0 +21,0 @@ return operationId

{
"name": "@platformatic/client",
"version": "0.30.1",
"version": "0.31.0",
"description": "A client for all platformatic backends",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -657,3 +657,3 @@ {

},
"/hello": {
"/hello-world": {
"get": {

@@ -660,0 +660,0 @@ "responses": {

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

app.get('/hello', async (request, reply) => {
app.get('/hello-world', async (request, reply) => {
return { hello: 'world' }

@@ -37,0 +37,0 @@ })

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

{
const hello = await client.getHello()
const hello = await client.getHelloWorld()
same(hello, { hello: 'world' })

@@ -279,3 +279,3 @@ }

{
const hello = await client.getHello()
const hello = await client.getHelloWorld()
match(hello, {

@@ -425,3 +425,3 @@ statusCode: 200,

{
const hello = await client.getHello()
const hello = await client.getHelloWorld()
same(hello, { hello: 'world' })

@@ -428,0 +428,0 @@ }

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