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

@zodash/onion

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zodash/onion - npm Package Compare versions

Comparing version 0.0.12 to 0.0.13

16

CHANGELOG.md

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

## [0.0.13](https://github.com/zcorky/zodash/compare/@zodash/onion@0.0.12...@zodash/onion@0.0.13) (2019-12-01)
**Note:** Version bump only for package @zodash/onion
## [0.0.12](https://github.com/zcorky/zodash/compare/@zodash/onion@0.0.11...@zodash/onion@0.0.12) (2019-11-25)
**Note:** Version bump only for package @zodash/onion
## [0.0.11](https://github.com/zcorky/zodash/compare/@zodash/onion@0.0.10...@zodash/onion@0.0.11) (2019-11-25)

@@ -8,0 +24,0 @@

8

lib/onion.d.ts

@@ -16,11 +16,11 @@ import { Middleware } from '@zodash/compose';

}
export declare abstract class Onion implements IOnion {
export declare abstract class Onion<T extends Context = Context> implements IOnion {
private middlewares;
private handler;
private _callback;
use(middleware: Middleware<Context>): this;
abstract handle(): Middleware<Context>;
callback(): (input: Input, output: Output) => Promise<Context>;
use(middleware: Middleware<T>): this;
abstract handle(): Middleware<T>;
callback(): (input: Input, output: Output) => Promise<T>;
execute(input: Input): Promise<Output>;
private createContext;
}
{
"name": "@zodash/onion",
"version": "0.0.12",
"version": "0.0.13",
"description": "simple onion model",

@@ -5,0 +5,0 @@ "keywords": [

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