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.
@agrarium/plugin-typedoc
Advanced tools
Agrarium plugin for types definitions resolving. It parses *.d.ts
files to data.dts
key in result.
npm i agrarium
Or use it standalone:
npm i @agrarium/plugin-dts
In your .agrarium.js
file:
const { PluginDTS } = require('agrarium');
module.exports = {
src: ['./src/components'],
plugins: [
new DTS()
]
};
console.log(chunk.data)
{
dts: {
name: 'TestBlock',
sources: [{
fileName: 'common/test-block/_mod/test-block_mod.d.ts',
line: 1,
character: 26,
cell: {
entity: { block: 'test-block', mod: { name: 'mod', val: true } },
tech: 'd.ts'
}
}],
attributes: [{
name: 'answer',
type: 'boolean|string',
description: 'Description for answer attribute extension'
}],
methods: [{
name: 'onClick',
type: 'void',
description: 'Different signature for onClick',
params: [
{ name: 'e', type: 'object', description: 'dom event' },
{ name: 'data', type: 'object', description: 'event data\n' }
]
}, {
name: 'onExit',
type: 'void',
description: 'Yet another one method'
}]
}
}
More examples in specs.
FAQs
Agrarium plugin for types definitions resolving
The npm package @agrarium/plugin-typedoc receives a total of 6 weekly downloads. As such, @agrarium/plugin-typedoc popularity was classified as not popular.
We found that @agrarium/plugin-typedoc demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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.