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 1.0.13 to 1.0.14

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 { AxiosError, AxiosResponse } from 'axios';

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

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

@@ -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";

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

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

export default function ThrowNetworkConnectionException(uri: string): void;
export { RestClientBaseException, NetworkConnectionException, 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, ThrowException, ThrowNetworkConnectionException, } from './exceptions';
export type { RestClientOptions, RestClientResponse, IMockRestClient, IRestClient, } from './interfaces';
export { MockRestClient, RestClient } from './classes';

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

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

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

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

19

package.json

@@ -6,8 +6,10 @@ {

"license": "MIT",
"version": "1.0.13",
"version": "1.0.14",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"ms:build": "rmdir /s /q lib & tsc & jest --config build.jest.config.js",
"mac:build": "rm -rf lib;tsc;jest --config build.jest.config.js",
"win:build": "(if exist lib rmdir /s /q lib) && tsc && jest && jest --config build.jest.config.js --coverage",
"unx:build": "rm -rf lib && tsc && jest && jest --config build.jest.config.js --coverage",
"win:publish": "(if exist lib rmdir /s /q lib) && tsc && jest && jest --config build.jest.config.js && npm publish",
"unx:publish": "rm -rf lib && tsc && jest && jest --config build.jest.config.js && npm publish",
"test:coverage": "jest --coverage",

@@ -17,11 +19,11 @@ "test:watch": "jest --watch"

"dependencies": {
"@apigames/json": "^1.0.35",
"@apigames/json": "^1.0.37",
"axios": "^0.20.0"
},
"devDependencies": {
"@types/jest": "^26.0.15",
"@types/node": "^14.14.10",
"@types/jest": "^26.0.19",
"@types/node": "^14.14.14",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"eslint": "^7.14.0",
"eslint": "^7.15.0",
"eslint-config-airbnb": "^18.2.1",

@@ -31,5 +33,6 @@ "eslint-plugin-import": "^2.22.1",

"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"jest": "^26.6.3",
"ts-jest": "^26.4.4",
"typescript": "^4.1.2"
"typescript": "^4.1.3"
},

@@ -36,0 +39,0 @@ "eslintConfig": {},

@@ -0,0 +0,0 @@ API Games Rest Client

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