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

@enonic-types/lib-common

Package Overview
Dependencies
Maintainers
3
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 7.11.0-B3 to 7.11.0-B4

2

package.json
{
"name": "@enonic-types/lib-common",
"version": "7.11.0-B3",
"version": "7.11.0-B4",
"description": "Type definitions for lib-common.",

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

@@ -13,16 +13,2 @@ # Enonic XP lib-common TS types

Add the corresponding types to your `tsconfig.json` file that is used for application's server-side TypeScript code.
`tsconfig.json`
```json
{
"compilerOptions": {
"types": [
"@enonic-types/lib-common"
]
}
}
```
### Require and custom imports

@@ -35,8 +21,7 @@

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

@@ -63,12 +48,9 @@ }

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

@@ -75,0 +57,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