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

@kubb/react

Package Overview
Dependencies
Maintainers
1
Versions
402
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kubb/react - npm Package Compare versions

Comparing version 3.0.0-alpha.17 to 3.0.0-alpha.18

13

package.json
{
"name": "@kubb/react",
"version": "3.0.0-alpha.17",
"version": "3.0.0-alpha.18",
"description": "Generator react",

@@ -80,5 +80,5 @@ "keywords": [

"ws": "8.15.0",
"@kubb/core": "3.0.0-alpha.17",
"@kubb/fs": "3.0.0-alpha.17",
"@kubb/parser-ts": "3.0.0-alpha.17"
"@kubb/core": "3.0.0-alpha.18",
"@kubb/fs": "3.0.0-alpha.18",
"@kubb/parser-ts": "3.0.0-alpha.18"
},

@@ -92,5 +92,4 @@ "devDependencies": {

"typescript": "^5.6.2",
"@kubb/config-biome": "3.0.0-alpha.17",
"@kubb/config-ts": "3.0.0-alpha.17",
"@kubb/config-tsup": "3.0.0-alpha.17"
"@kubb/config-ts": "3.0.0-alpha.18",
"@kubb/config-tsup": "3.0.0-alpha.18"
},

@@ -97,0 +96,0 @@ "engines": {

@@ -16,6 +16,2 @@ <div align="center">

<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
<!-- ALL-CONTRIBUTORS-BADGE:END -->
</p>
<h4>

@@ -22,0 +18,0 @@ <a href="https://codesandbox.io/s/github/kubb-labs/kubb/tree/alpha/examples/typescript" target="_blank">View Demo</a>

@@ -35,3 +35,3 @@ import type * as KubbFile from '@kubb/fs/types'

export type Node = {
type Node = {
parentNode: DOMElement | undefined

@@ -73,3 +73,3 @@ internal_static?: boolean

export type NodeNames = ElementNames | TextName
type NodeNames = ElementNames | TextName

@@ -76,0 +76,0 @@ export type KubbNode = ReactNode

@@ -67,3 +67,4 @@ import { camelCase } from '@kubb/core/transformers'

function parseChild(key: string, item: ParamItem, options: Options): string[] {
const entries = order(Object.entries(item.children as ParamItem))
// @ts-ignore
const entries = order(Object.entries(item.children))

@@ -80,2 +81,3 @@ const types: string[] = []

if (entries.some(([_key, item]) => item?.type)) {
// @ts-ignore
types.push(...parseItem(key, { ...entryItem, default: undefined }, options))

@@ -82,0 +84,0 @@ }

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 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