Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@item-enonic-types/global
Advanced tools
Note There is also an official package for Global types for XP.
This library provides backwards compatibility for the old enonic-types package while moving to the new types provided by Enonic.
The following global types:
XP.Controller
XP.Request
XP.ErrorRequest
XP.CustomSelectorServiceRequest
XP.CustomSelectorServiceRequestParams
XP.Response
XP.WebSocketResponse
XP.CustomSelectorServiceResponse
XP.CustomSelectorServiceResponseHit
XP.MacroContext
XP.WebSocketEvent
XP.OpenWebSocketEvent
XP.MessageWebSocketEvent
XP.CloseWebSocketEvent
To use these global types you need to update the types
field in your tsconfig.json with this library.
{
"baseUrl": "./",
"paths": {
"/lib/xp/*": ["node_modules/@enonic-types/lib-*"]
},
+ "types": [
+ "@item-enonic-types/global"
+ ]
}
FAQs
Global variables and functions type definition.
The npm package @item-enonic-types/global receives a total of 0 weekly downloads. As such, @item-enonic-types/global popularity was classified as not popular.
We found that @item-enonic-types/global demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.