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

@apigames/rest-client

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apigames/rest-client - npm Package Compare versions

Comparing version 23.1.5 to 23.2.0

0

lib/classes/index.d.ts
export { default as MockRestClient } from './mock.rest.client';
export { default as RestClient } from './rest.client';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { IMockRestClient, RestClientBaseException, RestClientOptions, RestClientResponse } from '..';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { IRestClient, RestClientOptions, RestClientResponse } from '..';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import JsonAPIError from './jsonapi.error';

@@ -0,0 +0,0 @@ "use strict";

import RestClientBaseException, { RestClientExceptionData } from './base.exception';
export default function CreateException(exceptionData: RestClientExceptionData): RestClientBaseException;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ import RestClientBaseException, { RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ export { default as RestClientBaseException, RestClientExceptionData } from './base.exception';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export default class JsonAPIError {

@@ -0,0 +0,0 @@ "use strict";

export default class NetworkConnectionException extends Error {
constructor(uri: string);
}
import { RestClientExceptionData } from './base.exception';
export default function ThrowException(exceptionData: RestClientExceptionData): void;

@@ -0,0 +0,0 @@ "use strict";

export default function ThrowNetworkConnectionException(uri: string): void;
export { RestClientBaseException, CreateException, Error301MovedPermanently, Error302Found, Error303SeeOther, Error304NotModified, Error305UseProxy, Error306Unused, Error307TemporaryRedirect, Error308PermanentRedirect, Error400BadRequest, Error401Unauthorized, Error402PaymentRequired, Error403Forbidden, Error404NotFound, Error405MethodNotAllowed, Error406NotAcceptable, Error407ProxyAuthenticationRequired, Error408RequestTimeout, Error409Conflict, Error410Gone, Error411LengthRequired, Error412PreconditionFailed, Error413RequestEntityTooLarge, Error414RequestURITooLong, Error415UnsupportedMediaType, Error416RequestedRangeNotSatisfiable, Error417ExpectationFailed, Error418ImaTeapot, Error421MisdirectedRequest, Error422UnprocessableEntity, Error428PreconditionRequired, Error429TooManyRequests, Error431RequestHeaderFieldsTooLarge, Error451UnavailableForLegalReasons, Error500InternalServerError, Error501NotImplemented, Error502BadGateway, Error503ServiceUnavailable, Error504GatewayTimeout, Error505HTTPVersionNotSupported, Error511NetworkAuthenticationRequired, Error520WebServerIsReturningAnUnknownError, Error522ConnectionTimedOut, Error524ATimeoutOccurred, NetworkConnectionException, ThrowException, ThrowNetworkConnectionException, } from './exceptions';
export type { RestClientOptions, RestClientResponse, RestClientResponseHeaders, IMockRestClient, IRestClient, } from './interfaces';
export { MockRestClient, RestClient } from './classes';

@@ -0,0 +0,0 @@ "use strict";

export type { RestClientOptions, RestClientResponse, RestClientResponseHeaders, IMockRestClient, IRestClient, } from './rest.client';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ export type RestClientOptions = {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

16

package.json

@@ -16,3 +16,3 @@ {

"license": "MIT",
"version": "23.1.5",
"version": "23.2.0",
"main": "lib/index.js",

@@ -37,3 +37,3 @@ "types": "lib/index.d.ts",

"dependencies": {
"@apigames/json": "23.1.6",
"@apigames/json": "23.2.0",
"axios": "1.2.1"

@@ -43,6 +43,6 @@ },

"@types/jest": "29.5.0",
"@types/node": "18.15.3",
"@typescript-eslint/eslint-plugin": "5.55.0",
"@typescript-eslint/parser": "5.55.0",
"eslint": "8.36.0",
"@types/node": "18.15.11",
"@typescript-eslint/eslint-plugin": "5.58.0",
"@typescript-eslint/parser": "5.58.0",
"eslint": "8.38.0",
"eslint-config-airbnb": "19.0.4",

@@ -54,4 +54,4 @@ "eslint-plugin-import": "2.27.5",

"jest": "29.5.0",
"ts-jest": "29.0.5",
"typescript": "4.9.5"
"ts-jest": "29.1.0",
"typescript": "5.0.4"
},

@@ -58,0 +58,0 @@ "eslintConfig": {},

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