New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@seamapi/nextlove-sdk-generator

Package Overview
Dependencies
Maintainers
6
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@seamapi/nextlove-sdk-generator - npm Package Compare versions

Comparing version 1.7.2 to 1.7.3

3

lib/generate-python-sdk/map-python-type.js

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

import { deepFlattenOneOfAndAllOfSchema } from "../../lib/generate-php-sdk/utils/deep-flatten-one-of-and-all-of-schema.js";
// TODO literals?

@@ -23,3 +24,3 @@ export const mapPythonType = (property_schema) => {

? mapPythonType({ type: property_schema.items.type })
: "Any";
: mapPythonType(deepFlattenOneOfAndAllOfSchema(property_schema.items));
return `List[${array_item_type}]`;

@@ -26,0 +27,0 @@ } // TODO, make more specific

{
"name": "@seamapi/nextlove-sdk-generator",
"version": "1.7.2",
"version": "1.7.3",
"description": "Utilities for building NextLove SDK Generators",

@@ -5,0 +5,0 @@ "type": "module",

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

import { deepFlattenOneOfAndAllOfSchema } from "lib/generate-php-sdk/utils/deep-flatten-one-of-and-all-of-schema.js"
import type { PrimitiveSchema, PropertySchema } from "lib/types.js"

@@ -27,3 +28,3 @@

? mapPythonType({ type: property_schema.items.type } as PrimitiveSchema)
: "Any"
: mapPythonType(deepFlattenOneOfAndAllOfSchema(property_schema.items))

@@ -30,0 +31,0 @@ return `List[${array_item_type}]`

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