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

@enonic-types/lib-websocket

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-websocket - npm Package Compare versions

Comparing version 7.11.0-B3 to 7.11.0-B4

2

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

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

@@ -13,16 +13,2 @@ # Enonic XP lib-websocket 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-websocket"
]
}
}
```
### Require and custom imports

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

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

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

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

@@ -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