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

@feathersjs/rest-client

Package Overview
Dependencies
Maintainers
4
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@feathersjs/rest-client - npm Package Compare versions

Comparing version 4.0.0-pre.1 to 4.0.0-pre.2

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [4.0.0-pre.2](https://github.com/feathersjs/feathers/compare/v4.0.0-pre.1...v4.0.0-pre.2) (2019-05-15)
### Bug Fixes
* Use `export =` in TypeScript definitions ([#1285](https://github.com/feathersjs/feathers/issues/1285)) ([12d0f4b](https://github.com/feathersjs/feathers/commit/12d0f4b))
# [4.0.0-pre.1](https://github.com/feathersjs/feathers/compare/v4.0.0-pre.0...v4.0.0-pre.1) (2019-05-08)

@@ -8,0 +19,0 @@

61

index.d.ts

@@ -1,37 +0,40 @@

// Type definitions for @feathersjs/rest-client 1.3
// Project: https://feathersjs.com
// Definitions by: Jan Lohage <https://github.com/j2L4e>
// Definitions: https://github.com/feathersjs-ecosystem/feathers-typescript
// todo: get rid of all the anys
export default function feathersRestClient (base?: string): Transport;
declare const restClient: FeathersRestClient;
export = restClient;
export interface HandlerResult extends Function {
/**
* initialize service
*/
(): void;
interface FeathersRestClient {
(base?: string): restClient.Transport;
default: FeathersRestClient;
}
/**
* Transport Service
*/
Service: any;
declare namespace restClient {
interface HandlerResult extends Function {
/**
* initialize service
*/
(): void;
/**
* default Service
*/
service: any;
}
/**
* Transport Service
*/
Service: any;
export type Handler = (connection: any, options?: any) => () => HandlerResult;
/**
* default Service
*/
service: any;
}
export interface Transport {
jquery: Handler;
superagent: Handler;
request: Handler;
fetch: Handler;
axios: Handler;
angular: Handler;
angularHttpClient: Handler;
type Handler = (connection: any, options?: any) => () => HandlerResult;
interface Transport {
jquery: Handler;
superagent: Handler;
request: Handler;
fetch: Handler;
axios: Handler;
angular: Handler;
angularHttpClient: Handler;
}
}
{
"name": "@feathersjs/rest-client",
"description": "REST client services for different Ajax libraries",
"version": "4.0.0-pre.1",
"version": "4.0.0-pre.2",
"homepage": "https://feathersjs.com",

@@ -40,3 +40,3 @@ "main": "lib/index.js",

"@feathersjs/commons": "^4.0.0-pre.0",
"@feathersjs/errors": "^4.0.0-pre.1",
"@feathersjs/errors": "^4.0.0-pre.2",
"qs": "^6.7.0"

@@ -49,5 +49,5 @@ },

"@angular/platform-browser": "^7.2.12",
"@feathersjs/express": "^4.0.0-pre.1",
"@feathersjs/feathers": "^4.0.0-pre.1",
"@feathersjs/tests": "^4.0.0-pre.1",
"@feathersjs/express": "^4.0.0-pre.2",
"@feathersjs/feathers": "^4.0.0-pre.2",
"@feathersjs/tests": "^4.0.0-pre.2",
"axios": "^0.18.0",

@@ -63,3 +63,3 @@ "body-parser": "^1.18.3",

},
"gitHead": "e8ce9116c6a4433b64ffe400585b60a9c31ba644"
"gitHead": "d665b9470435d6db0ecddd1fb152ab4a87266c52"
}
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