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

@feathersjs/feathers

Package Overview
Dependencies
Maintainers
3
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@feathersjs/feathers - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

6

CHANGELOG.md

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

## [5.0.1](https://github.com/feathersjs/feathers/compare/v5.0.0...v5.0.1) (2023-03-15)
### Bug Fixes
- **core:** Add PaginationParams to general find method ([#3095](https://github.com/feathersjs/feathers/issues/3095)) ([8ebdcf5](https://github.com/feathersjs/feathers/commit/8ebdcf5107fae5fa23920390052b871033de3a0a))
# [5.0.0](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.38...v5.0.0) (2023-02-24)

@@ -8,0 +14,0 @@

13

lib/declarations.d.ts

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

export interface ServiceMethods<Result = any, Data = Partial<Result>, ServiceParams = Params, PatchData = Partial<Data>> {
find(params?: ServiceParams): Promise<Result | Result[]>;
find(params?: ServiceParams & {
paginate?: PaginationParams;
}): Promise<Result | Result[]>;
get(id: Id, params?: ServiceParams): Promise<Result>;

@@ -89,3 +91,5 @@ create(data: Data, params?: ServiceParams): Promise<Result>;

export interface ServiceHookOverloads<S, P = Params> {
find(params: P, context: HookContext): Promise<HookContext>;
find(params: P & {
paginate?: PaginationParams;
}, context: HookContext): Promise<HookContext>;
get(id: Id, params: P, context: HookContext): Promise<HookContext>;

@@ -239,2 +243,7 @@ create(data: ServiceGenericData<S> | ServiceGenericData<S>[], params: P, context: HookContext): Promise<HookContext>;

}
export interface PaginationOptions {
default?: number;
max?: number;
}
export type PaginationParams = false | PaginationOptions;
export interface Http {

@@ -241,0 +250,0 @@ /**

2

lib/version.d.ts

@@ -1,2 +0,2 @@

declare const _default: "5.0.0";
declare const _default: "5.0.1";
export default _default;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = '5.0.0';
exports.default = '5.0.1';
//# sourceMappingURL=version.js.map
{
"name": "@feathersjs/feathers",
"description": "A framework for real-time applications and REST API with JavaScript and TypeScript",
"version": "5.0.0",
"version": "5.0.1",
"homepage": "http://feathersjs.com",

@@ -61,3 +61,3 @@ "repository": {

"dependencies": {
"@feathersjs/commons": "^5.0.0",
"@feathersjs/commons": "^5.0.1",
"@feathersjs/hooks": "^0.8.1",

@@ -68,3 +68,3 @@ "events": "^3.3.0"

"@types/mocha": "^10.0.1",
"@types/node": "^18.14.1",
"@types/node": "^18.14.6",
"mocha": "^10.2.0",

@@ -75,3 +75,3 @@ "shx": "^0.3.4",

},
"gitHead": "90caf635aec850550b9d37bea2762af959d9e8d5"
"gitHead": "18b7f4ab0a8075572a81d78956ba1205a9795c91"
}

@@ -75,3 +75,3 @@ import { EventEmitter } from 'events'

> {
find(params?: ServiceParams): Promise<Result | Result[]>
find(params?: ServiceParams & { paginate?: PaginationParams }): Promise<Result | Result[]>

@@ -141,3 +141,3 @@ get(id: Id, params?: ServiceParams): Promise<Result>

export interface ServiceHookOverloads<S, P = Params> {
find(params: P, context: HookContext): Promise<HookContext>
find(params: P & { paginate?: PaginationParams }, context: HookContext): Promise<HookContext>

@@ -336,2 +336,9 @@ get(id: Id, params: P, context: HookContext): Promise<HookContext>

export interface PaginationOptions {
default?: number
max?: number
}
export type PaginationParams = false | PaginationOptions
export interface Http {

@@ -338,0 +345,0 @@ /**

@@ -1,1 +0,1 @@

export default '5.0.0'
export default '5.0.1'
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