
Research
/Security News
60 Malicious Ruby Gems Used in Targeted Credential Theft Campaign
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
sails-js-parser
Advanced tools
The sails-js-parser
is designed to parse Sails IDL files, producing an output that can be used to generate client libraries or facilitate interaction with Gear blockchain programs.
To install the sails-js-parser
library:
npm install sails-js-parser
import { SailsIdlParser } from 'sails-js-parser';
const parser = await SailsIdlParser.new();
Often used with sails-js
:
import { Sails } from 'sails-js';
import { SailsIdlParser } from 'sails-js-parser';
const parser = await SailsIdlParser.new();
const sails = new Sails(parser);
const idl = `
constructor {
New : ();
};
service SailsApp {
DoSomething : () -> str;
};
`
const program = parser.parse(idl);
The parse
method returns a Program instance representing the parsed IDL.
FAQs
Sails-IDL parser for TypeScript
The npm package sails-js-parser receives a total of 291 weekly downloads. As such, sails-js-parser popularity was classified as not popular.
We found that sails-js-parser demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.