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

@pagedip/lib-app

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pagedip/lib-app - npm Package Compare versions

Comparing version 2.0.6 to 2.0.7

types.d.ts

27

index.d.ts

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

import { Observer } from "@pagedip/lib-observer";
declare namespace PagedipApp {
export type AppPlugin = AppPluginFn | Array<AppPluginFn>;
export type AppPluginFn = (this: App, app: App) => AppPlugin | void;
export class App extends Observer {
public static isApp(o: any): o is App;
constructor(defaults?: any);
public readonly configs: any[];
public static options: any;
public use(fn: AppPlugin): this;
public assert(prop: string, error?: Error | string | null): this;
public config(name: string, options: any, after?: number | string): this;
public defaults(options: any): this;
public getConfigIndex(name: string): number;
public getConfig(name: string): any;
public reduceConfigs<T>(key: string, fn: (this: this, memo: T, item: any, name: string, index: number) => T, memo: T): T;
public getOption(key: string, defaults?: any): this;
public pickOptions(keys: string[]): this;
public pickOptions(...keys: string[]): this;
}
}
export = PagedipApp.App;
import { App } from "./types";
export = App;
{
"name": "@pagedip/lib-app",
"version": "2.0.6",
"version": "2.0.7",
"repository": {

@@ -18,3 +18,3 @@ "type": "git",

"@pagedip/lib-observer": "^2.0.1",
"@pagedip/util-error": "^2.0.4",
"@pagedip/util-error": "^2.0.5",
"@pagedip/util-merge-plain-objects": "^2.0.0",

@@ -31,5 +31,5 @@ "@pagedip/util-prop-helpers": "^1.1.1",

"lib",
"index.d.ts"
"*.d.ts"
],
"gitHead": "625b8f014d3ff73ad4df0715f89a97a7d0cbe8cc"
"gitHead": "20eb6627015f946cec6ee04f387c7cf4b17b417d"
}
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