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

@produck/duck-web

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@produck/duck-web - npm Package Compare versions

Comparing version 0.2.5 to 0.2.6

LICENSE

40

index.d.ts
import Duck from '@produck/duck'
import http from 'http'
declare module '@produck/duck' {
interface BaseInjection {
/**
* Web Application Factory Manager
*/
Web: DuckWeb.Web
}
}
declare namespace DuckWeb {

@@ -19,3 +10,3 @@

type Application = () => http.RequestListener
type Application = (options?: object) => http.RequestListener;

@@ -30,5 +21,5 @@ type ApplicationProvider = (

injection: DuckWebApplicationInjection
) => Application
) => Application;
export interface Options {
interface Options {

@@ -38,3 +29,3 @@ /**

*/
id
id: string;

@@ -44,3 +35,3 @@ /**

*/
description
description?: string;

@@ -50,3 +41,3 @@ /**

*/
Application: ApplicationProvider
Application: ApplicationProvider;
}

@@ -60,3 +51,3 @@

*/
name,
name: string,

@@ -66,9 +57,18 @@ /**

*/
...args: any[]
): http.RequestListener
...args: any[],
): http.RequestListener;
}
}
function Provider(optsions?: Options[]): Duck.Component
declare module '@produck/duck' {
interface BaseInjection {
/**
* Web Application Factory Manager
*/
Web: DuckWeb.Web;
}
}
export = DuckWeb.Provider
declare function DuckWeb(options: Array<DuckWeb.Options>): Duck.Component;
export = DuckWeb;
{
"name": "@produck/duck-web",
"version": "0.2.5",
"version": "0.2.6",
"description": "",

@@ -32,6 +32,7 @@ "author": "ChaosLee <lichao@or-change.cn>",

"dependencies": {
"@produck/duck": "^0.6.3",
"@produck/duck": "^0.6.4",
"ajv-keywords": "^4.0.0",
"debug": "^4.3.1"
}
},
"gitHead": "3fc8784d7afa62784d49cf51bc5e346e4cc176e9"
}
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