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

@apimatic/core

Package Overview
Dependencies
Maintainers
4
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apimatic/core - npm Package Compare versions

Comparing version 0.10.6 to 0.10.7

2

es/http/requestBuilder.js

@@ -85,3 +85,3 @@ import { __spreadArray, __read, __assign, __awaiter, __generator, __values } from 'tslib';

DefaultRequestBuilder.prototype.header = function (name, value) {
if (value === undefined) {
if (value === null || typeof value === 'undefined') {
return;

@@ -88,0 +88,0 @@ }

@@ -36,3 +36,3 @@ /// <reference types="node" />

contentType(contentTypeHeaderValue: string): void;
header(name: string, value?: string | boolean | number | bigint): void;
header(name: string, value?: string | boolean | number | bigint | null): void;
headers(headersToMerge: Record<string, string>): void;

@@ -101,3 +101,3 @@ query(name: string, value: QueryValue, prefixFormat?: ArrayPrefixFunction): void;

contentType(contentTypeHeaderValue: string): void;
header(name: string, value?: string | boolean | number | bigint): void;
header(name: string, value?: string | boolean | number | bigint | null): void;
headers(headersToMerge: Record<string, string>): void;

@@ -104,0 +104,0 @@ query(name: string, value: QueryValue, prefixFormat?: ArrayPrefixFunction): void;

@@ -84,3 +84,3 @@ "use strict";

DefaultRequestBuilder.prototype.header = function (name, value) {
if (value === undefined) {
if (value === null || typeof value === 'undefined') {
return;

@@ -87,0 +87,0 @@ }

{
"name": "@apimatic/core",
"author": "APIMatic Ltd.",
"version": "0.10.6",
"version": "0.10.7",
"license": "MIT",

@@ -6,0 +6,0 @@ "sideEffects": false,

@@ -0,0 +0,0 @@ import { HttpResponse } from '@apimatic/core-interfaces';

export * from '@apimatic/core-interfaces';
/// <reference lib="dom" />

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ import JSONBig from '@apimatic/json-bigint';

@@ -0,0 +0,0 @@ import { SchemaValidationError } from '../schema';

@@ -0,0 +0,0 @@ import { ApiResponse, HttpRequest } from '../coreInterfaces';

export * from '@apimatic/file-wrapper';
export * from '@apimatic/http-headers';

@@ -0,0 +0,0 @@ import {

@@ -0,0 +0,0 @@ import flatMap from 'lodash.flatmap';

export * from '@apimatic/http-query';

@@ -119,3 +119,3 @@ import JSONBig from '@apimatic/json-bigint';

contentType(contentTypeHeaderValue: string): void;
header(name: string, value?: string | boolean | number | bigint): void;
header(name: string, value?: string | boolean | number | bigint | null): void;
headers(headersToMerge: Record<string, string>): void;

@@ -281,5 +281,5 @@ query(

name: string,
value?: string | boolean | number | bigint
value?: string | boolean | number | bigint | null
): void {
if (value === undefined) {
if (value === null || typeof value === 'undefined') {
return;

@@ -286,0 +286,0 @@ }

@@ -0,0 +0,0 @@ import { getHeader } from './httpHeaders';

@@ -0,0 +0,0 @@ import {

@@ -0,0 +0,0 @@ // tslint:disable-next-line:no-reference

@@ -0,0 +0,0 @@ import {

@@ -0,0 +0,0 @@ import { LogLevel, LoggerInterface } from '@apimatic/core-interfaces';

@@ -0,0 +0,0 @@ import { LogLevel, LoggingOptions } from '@apimatic/core-interfaces';

@@ -0,0 +0,0 @@ import { LogLevel, LoggerInterface } from '@apimatic/core-interfaces';

@@ -0,0 +0,0 @@ import { LoggerInterface, LogLevel } from '../coreInterfaces';

export * from '@apimatic/schema';
// tslint:disable-next-line:no-empty-interface
interface Blob {}

@@ -0,0 +0,0 @@ export interface XmlSerializerInterface {

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