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

apibuilder-js

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apibuilder-js - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

2

dist/type/predicates.d.ts

@@ -40,2 +40,2 @@ import { ApiBuilderArray, ApiBuilderEnclosingType, ApiBuilderEnum, ApiBuilderMap, ApiBuilderModel, ApiBuilderPrimitiveType, ApiBuilderType, ApiBuilderUnion } from './definition';

*/
export declare function getBaseType(type: ApiBuilderType): ApiBuilderType;
export declare function getBaseType(type: ApiBuilderType): Exclude<ApiBuilderType, ApiBuilderEnclosingType>;
{
"name": "apibuilder-js",
"version": "0.0.10",
"version": "0.0.11",
"description": "A reference implementation of API Builder for JavaScript",

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

@@ -84,3 +84,3 @@ import {

*/
export function getBaseType(type: ApiBuilderType): ApiBuilderType {
export function getBaseType(type: ApiBuilderType): Exclude<ApiBuilderType, ApiBuilderEnclosingType> {
if (isEnclosingType(type)) {

@@ -87,0 +87,0 @@ return getBaseType(type.ofType);

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