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

@enonic-types/lib-app

Package Overview
Dependencies
Maintainers
3
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@enonic-types/lib-app - npm Package Compare versions

Comparing version 7.11.0-B3 to 7.11.0-B4

8

app.d.ts

@@ -104,7 +104,7 @@ /**

export declare function hasVirtual(params: HasVirtualApplicationParams): boolean;
export interface HasRealApplicationParams {
export interface GetApplicationModeParams {
key: string;
}
/**
* Checks if there is a real app with the app key.
* Fetches a mode of the app with the app key.
*

@@ -114,4 +114,4 @@ * @param {object} params JSON with the parameters.

*
* @returns {boolean} result.
* @returns {string} application mode.
*/
export declare function hasReal(params: HasRealApplicationParams): boolean;
export declare function getApplicationMode(params: GetApplicationModeParams): string | null;
{
"name": "@enonic-types/lib-app",
"version": "7.11.0-B3",
"version": "7.11.0-B4",
"description": "Type definitions for lib-app.",

@@ -5,0 +5,0 @@ "types": "app.d.ts",

@@ -34,8 +34,7 @@ # Enonic XP lib-app TS types

```diff
```json
{
"compilerOptions": {
"types": [
+ "@enonic-types/global"
"@enonic-types/lib-app"
"@enonic-types/global"
]

@@ -70,12 +69,9 @@ }

```diff
```json
{
"compilerOptions": {
"types": [
"@enonic-types/lib-app"
]
+ "baseUrl": "./",
+ "paths": {
+ "/lib/xp/app": ["node_modules/@enonic-types/lib-app"],
+ }
"baseUrl": "./",
"paths": {
"/lib/xp/app": ["node_modules/@enonic-types/lib-app"]
}
}

@@ -82,0 +78,0 @@ }

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